/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --navy-charcoal: #2C3E50;
    --warm-sand: #C5A087;
    --deep-burgundy: #8E3B46;
    --off-white: #F4F4F2;
    --muted-gold: #BFA678;
    --white: #FFFFFF;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--off-white);
    color: var(--navy-charcoal);
    line-height: 1.6;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   TIPOGRAFÍA
   ============================================ */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy-charcoal);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; color: var(--deep-burgundy); }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
    margin-bottom: 1.2rem;
    font-weight: 400;
    color: var(--navy-charcoal);
}

.italic-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(44, 62, 80, 0.9);
    display: block;
    margin-top: 1rem;
}

.copy-highlight {
    font-weight: 700;
    color: var(--navy-charcoal);
    border-bottom: 2px solid var(--muted-gold);
    display: inline-block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-2  { margin-bottom: 0.5rem !important; }
.mb-4  { margin-bottom: 1rem !important; }
.mb-6  { margin-bottom: 1.5rem !important; }
.mb-8  { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mt-12 { margin-top: 3rem !important; }

.text-lg       { font-size: 1.125rem; }
.leading-tight { line-height: 1.25; }
.font-bold     { font-weight: 700; }
.text-center   { text-align: center; }
.text-left     { text-align: left; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.readable-width {
    max-width: 680px;
    margin: 0 auto;
}

.prose {
    font-size: 1.1rem;
    text-align: left;
}

.prose ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ============================================
   HEADER
   ============================================ */
header {
    background-color: var(--off-white);
    padding: 25px 0;
    border-bottom: 1px solid rgba(197, 160, 135, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container--landing {
    justify-content: flex-start;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-charcoal);
    text-decoration: none;
    letter-spacing: 0.5px;
    border-left: 4px solid var(--deep-burgundy);
    padding-left: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--deep-burgundy);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--navy-charcoal);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover,
nav a.nav-active {
    color: var(--deep-burgundy);
}

nav a.nav-active {
    border-bottom: 2px solid var(--deep-burgundy);
    padding-bottom: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy-charcoal);
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-button {
    display: inline-block;
    background-color: var(--deep-burgundy);
    color: var(--white);
    padding: 18px 32px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid var(--deep-burgundy);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #702b34;
    border-color: #702b34;
    transform: translateY(-1px);
}

.btn {
    display: inline-block;
    background-color: var(--deep-burgundy);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: 2px solid var(--deep-burgundy);
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--deep-burgundy);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--navy-charcoal);
    border: 1px solid var(--navy-charcoal);
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: var(--navy-charcoal);
    color: white;
}

.btn-link {
    display: inline-block;
    margin-top: auto;
    color: var(--deep-burgundy);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-self: flex-start;
}

.btn-link:hover {
    border-bottom-color: var(--deep-burgundy);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.input-field {
    padding: 16px;
    width: 100%;
    border: 1px solid var(--warm-sand);
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
    color: var(--navy-charcoal);
    transition: all 0.3s ease;
    text-align: center;
}

.input-field:focus {
    border-color: var(--deep-burgundy);
    box-shadow: 0 0 0 2px rgba(142, 59, 70, 0.1);
}

/* ============================================
   SUBSCRIPTION BOX — DARK (Default)
   ============================================ */
.subscription-box-premium {
    background-color: var(--navy-charcoal);
    color: var(--white);
    padding: 40px;
    margin: 50px auto;
    border-radius: 8px;
    border-top: 6px solid var(--muted-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    width: 100%;
}

.subscription-box-premium h3 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.subscription-box-premium p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.subscription-box-premium .checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--white);
}

.subscription-box-premium .checkbox-container input {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.subscription-box-premium .checkbox-container a {
    color: var(--white);
    text-decoration: underline;
}

.subscription-box-premium .disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.subscription-box-premium .cta-button {
    background-color: var(--deep-burgundy);
    border-color: transparent;
    font-size: 1.1rem;
    padding: 20px;
}

.subscription-box-premium .cta-button:hover {
    background-color: var(--white);
    color: var(--deep-burgundy);
    border-color: var(--white);
}

/* ============================================
   SUBSCRIPTION BOX — WHITE Variant
   ============================================ */
.subscription-box-premium.bg-white {
    background-color: var(--white);
    border: 1px solid var(--warm-sand);
    border-top: 6px solid var(--muted-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subscription-box-premium.bg-white h3         { color: var(--navy-charcoal); }
.subscription-box-premium.bg-white p           { color: var(--navy-charcoal); }
.subscription-box-premium.bg-white .checkbox-container   { color: var(--navy-charcoal); }
.subscription-box-premium.bg-white .checkbox-container a { color: var(--deep-burgundy); }
.subscription-box-premium.bg-white .disclaimer { color: #555; }

.subscription-box-premium.bg-white .cta-button:hover {
    background-color: var(--navy-charcoal);
    color: var(--white);
    border-color: var(--navy-charcoal);
}

/* ============================================
   DIVIDERS
   ============================================ */
hr.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(
        to right,
        rgba(197, 160, 135, 0),
        rgba(197, 160, 135, 0.75),
        rgba(197, 160, 135, 0)
    );
    margin: 2rem 0;
}

/* ============================================
   BULLET LIST
   ============================================ */
ul.bullet-list {
    list-style: none;
    padding-left: 0;
}

ul.bullet-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.bullet-icon {
    color: var(--deep-burgundy);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px;
}

/* ============================================
   CHECKLIST (Inicio)
   ============================================ */
.checklist {
    list-style: none;
    margin-left: 0;
    margin-bottom: 30px;
    color: #4a5568;
    line-height: 1.8;
}

.checklist li {
    margin-bottom: 5px;
}

.checklist i {
    color: var(--deep-burgundy);
    margin-right: 10px;
}

/* ============================================
   HIGHLIGHTS & QUOTES
   ============================================ */
.highlight-box {
    background-color: rgba(197, 160, 135, 0.1);
    border-left: 4px solid var(--muted-gold);
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

.border-left-highlight {
    border-left: 4px solid var(--deep-burgundy);
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: var(--off-white);
    font-weight: 500;
}

.quote-style {
    border-left: 4px solid var(--muted-gold);
    padding: 20px;
    font-style: italic;
    color: #555;
    margin: 30px 0;
    background-color: #fbfbfb;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 80px 0 60px;
    background-color: #f0f0ed;
    border-bottom: 1px solid #e2e8f0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.problem-solution {
    background-color: var(--white);
    margin-top: 40px;
    padding: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

/* ============================================
   GRIDS
   ============================================ */
.services-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    transition: transform 0.3s;
    border-radius: 4px;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--muted-gold);
}

.service-card--featured {
    border: 2px solid var(--deep-burgundy);
    position: relative;
}

.service-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--deep-burgundy);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    padding: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ============================================
   ARTICLE / BLOG CARDS
   ============================================ */
.article-card {
    background: var(--white);
    border: 1px solid #eee;
    transition: transform 0.3s;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--muted-gold);
}

.article-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy-charcoal);
    line-height: 1.4;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    display: block;
}

/* ============================================
   BLOG VIEWS
   ============================================ */
.blog-view {
    display: block;
    animation: fadeIn 0.5s ease;
}

.article-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ARTICLE DETAIL
   ============================================ */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--warm-sand);
    padding-bottom: 2rem;
    text-align: left;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--navy-charcoal);
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--navy-charcoal);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    color: var(--deep-burgundy);
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-img img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 15px 15px 0px var(--muted-gold);
    object-fit: cover;
}

/* ============================================
   LANDING FOOTER LINK
   ============================================ */
.landing-footer-link {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed var(--warm-sand);
    text-align: right;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--navy-charcoal);
    color: var(--off-white);
    padding: 40px 0;
    margin-top: auto;
    border-top: 4px solid var(--muted-gold);
    font-size: 0.9rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--warm-sand);
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ============================================
   WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
    }

    .nav-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--off-white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-bottom: 1px solid var(--warm-sand);
    }

    nav ul.active {
        display: flex;
    }

    .subscription-box-premium {
        padding: 30px 20px;
    }

    .subscription-box-premium h3 {
        font-size: 1.1rem;
    }

    .problem-solution {
        padding: 30px 20px;
    }
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
}