/* =============================================
   HOPP — main.css
   Fiel al diseño Figma: Recoleta + DM Sans, blanco/crema/marrón
   ============================================= */

@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Recoleta';
  src: url('../fonts/Recoleta-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #ffffff;
  --off-white:  #f9f7f4;
  --cream:      #ede8df;
  --cream2:     #e5ddd0;
  --brown-dark: #2e2416;
  --brown-mid:  #5c4033;
  --brown-bg:   #3d2e1e;
  --text:       #1a1a1a;
  --text-mid:   #444;
  --text-muted: #888;
  --border:     #e0dbd3;
  --font-display: 'Recoleta', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --max-w: 1400px;
  --radius: 12px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--text); -webkit-font-smoothing: antialiased; }

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
    transition:box-shadow .25s ease;
}

.site-header.scrolled{
    box-shadow:0 4px 18px rgba(0,0,0,.08);
}

/* ---- ANNOUNCE BAR ---- */
.announce-bar { background: var(--brown-dark); overflow: hidden; height: 26px; display: flex; align-items: center; }

.announce-inner { display: flex; gap: 1.5rem; animation: marquee 22s linear infinite; white-space: nowrap; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); width: max-content; }
.announce-inner .dot { color: var(--brown-mid); opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---- NAVBAR ---- */

.navbar{
    background: var(--white);
    border-bottom:1px solid var(--border);
}

.nav-inner{
    max-width:1400px;
    margin:auto;
    padding:0 3rem;
    height:72px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}
.nav-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav-logo sup { font-size: 0.55rem; vertical-align: super; font-weight: 700; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-size: 0.9rem; font-weight: 400; transition: color 0.2s; padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--text); border-bottom-color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-icon { color: var(--text); text-decoration: none; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.nav-icon:hover { opacity: 0.6; }

/* ---- CONTAINERS ---- */
.container { max-width:1400px;

margin:auto;

padding:0 3rem;}

/* ---- HERO ---- */
/* ==========================================================
   HERO
   ========================================================== */

.hero{
    max-width:1400px;
    margin:0 auto;
    padding:2.5rem 4rem 0;

    display:grid;
    grid-template-columns:46% 54%;

    align-items:center;

    gap:5rem;

    min-height:500px;
}

.hero-text{
    display:flex;
    align-items:center;
    width:100%;
}

.hero-title{

    font-family:var(--font-display);

    font-size:clamp(4.5rem,6vw,5.8rem);

    line-height:.92;

    letter-spacing:-0.05em;

    color:var(--text);

    max-width:700px;
}

.hero-img{
    background:url("../img/banner_1.png") no-repeat right center;

    background-size:contain;
}

.hero-img img{
    width:100%;
    max-width:900px;
}

/* ---- STATS BAND ---- */

.stats-band{
    max-width:1400px;
    margin:2rem auto 0;
    padding:1.55rem 3rem;
    align-items:center;
    justify-content:center;
    gap:4rem;
    background:#fff;
    border:1px solid #ebe5df;
    border-radius:22px;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    font-family:var(--font-display);
    
    display:grid;
    grid-template-columns:
        auto
        auto
        auto
        auto
        auto;
    column-gap:4rem;
    align-items:center;
}

.stat-item{
    display:flex;
    align-items:center;
    gap:.38rem;
    white-space:nowrap;
}

.stat-item strong{
    font-family:var(--font-display);
    font-size:2rem;
    font-weight:700;
    line-height:1;
}

.stat-item sub{
    font-size:.55em;
    vertical-align:baseline;
    position:relative;
    bottom:-.08em;
}

.stat-item span{
    font-size:1.15rem;
    color:#433d39;
    line-height:1.1;
}

.stat-item > strong{
    font-family:var(--font-display);
    font-size:2rem;
    font-weight:700;
    line-height:1;
}

.stat-item span b,
.stat-item span strong{
    font-weight:700;
    font-size:2rem;
    font-family:inherit;
}

.stat-item-last{
    margin-left:clamp(2rem,4vw,5rem);
    font-size:2rem;
}

.stat-item-last span{
    font-weight:600;
    font-size:1.7rem;
}

/* ---- PRODUCTS SECTION ---- */
.products-section { padding: 7rem 0; }

.section-title-center { text-align: center; font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--text); line-height:1.2;margin-bottom: 4rem; }

.section-title-center strong { font-weight: 700; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.product-card { 
    background: var(--white); 
    border: none; 
    border-radius: 22px; 
    overflow: hidden; 
    display:flex;
    flex-direction:column;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.25s;
}

.product-card:hover { 
    transform:translateY(-4px);
    box-shadow:
        0 10px 28px rgba(0,0,0,.12);
    
}
.product-card-img { background:#fff; padding:.8rem 1rem .3rem; display: flex; align-items: center; justify-content: center; min-height: 165px; }

.product-card-img img { width: 100%; max-height: 220px; object-fit: contain;
}

.product-card-body { 
    padding:1.3rem;
    display:flex;
    flex-direction:column;
    flex:1;
}

.product-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-bottom: 0.35rem; }

.product-price sup { font-size: 0.75rem; vertical-align: super; font-weight: 500; }

.product-price .asterisk { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

.product-name { 
    font-size: 1rem; 
    color: var(--text-mid); 
    line-height: 1.45; 
    margin-bottom: 1.2rem; 
    font-weight: 300; 
    flex:1;
}

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 6px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; transition: all 0.2s; border: none; }

.btn-dark { background: var(--brown-dark); color: var(--white); width: 100%; 
    margin-top:auto;
}

.btn-dark:hover { background: var(--brown-mid); }

.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); width: 100%; }

.btn-outline:hover { border-color: var(--text); }

/* ---- WHY PAGE HERO ---- */
.why-hero {     
    max-width:1400px;
    margin:0 auto;
    padding:5rem 2rem;
    display:grid;
    grid-template-columns:46% 54%;
    gap:4rem;
    align-items:center; 
}

.why-hero h1 { font-family: var(--font-display); font-size: 4rem; font-weight: 700; letter-spacing: -0.01em; 

    line-height:1.05;

    margin-bottom:2rem;
}
.testimonial-quote { font-size: 1rem; line-height: 1.75; color: var(--text-mid); font-weight: 300; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-role { font-size: 0.82rem; color: var(--text-muted); border-bottom: 1.5px solid var(--text); padding-bottom: 2px; display: inline-block; margin-top: 0.15rem; }

.why-video {    
    width:360px;
    height:585px;
    margin:0 auto;
    border-radius:24px;
    overflow:hidden;
    position:relative;
    background:#F5F5F5; 
}
.why-video-placeholder { 
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)),
        url("../img/valeria_nutricionista.png") center center / cover no-repeat;
    color:#fff;
}
.play-btn { 
    width:72px;
    height:72px;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#4B4037;
    font-size:2rem;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:1rem;
}
.why-video img { width: 100%; height: 100%; object-fit: cover; background:url("../img/valeria_nutricionista.png") no-repeat right center}

.video-caption{
    text-align:center;
    color:#4B4037;
}

.video-caption strong{
    display:block;
    font-size:1rem;
}

.video-caption span{
    font-size:.85rem;
}

/* ---- NUTRITION SECTION ---- */
.nutrition-section { 
    background:#7A6C63;
    padding:5rem 0 6rem;
}

.nut-title { 
    text-align:center;
    font-family:var(--font-display);
    font-size:3rem;
    font-weight:400;
    color:#F8F3EC;
    line-height:1.2;
    margin-bottom:3rem;
}

.nut-title strong { font-weight: 700; }

.nut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.nut-card { 
    background:#F3F0DF;
    border-radius:26px;
    padding:2rem;
    overflow:hidden;    
}

.nut-card-top { 
    padding:1.5rem 1.5rem .5rem;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.nut-card-flavor { 
    font-family: var(--font-display); 
    font-weight: 700; 
    letter-spacing: -0.01em; 
    color: var(--text); 
    font-size:3.2rem;
    margin-bottom:.4rem;
    
}

.nut-card-img { 
    width:250px;
    height:auto;
    display:block;
    margin:.5rem auto 1rem;
}

.nut-table-wrap {
    background:#fff;
    padding:1rem;
    border:2px solid #4E463F;
    border-radius:2px;
    margin-top:-.5rem;
}

.nut-table-title { 
    font-weight: 700; 
    font-size: 1.1rem; 
    border-top: 2px solid var(--text); 
    border-bottom: 2px solid var(--text); 
    padding: 0.4rem 0; 
    margin-bottom: 0.5rem; 
}

.nut-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
table.nut-data { width: 100%; border-collapse: collapse; }
table.nut-data th, table.nut-data td { 
    font-size: 0.8rem; 
    padding: 0.25rem 0; 
    vertical-align: middle;
}
table.nut-data th { text-align: left; font-weight: 600; }
table.nut-data td { text-align: right; }
table.nut-data tr { border-bottom: 1px solid var(--border); }
table.nut-data tr.total-row td, table.nut-data tr.total-row th { font-weight: 700; border-top: 2px solid var(--text); padding-top: 0.4rem; }
table.nut-data tr.sub-row th { padding-left: 1rem; font-weight: 400; }

/* ---- ABOUT SECTION ---- */
.about-section { padding: 5rem 0; }
.about-grid { 
    display: grid; 
    grid-template-columns:42% 58%;
    gap:4.5rem;
    align-items:start;
}

.about-img { 
    border-radius:0;
    overflow:hidden;
}
.about-img img { 
    width:100%;
    height:720px;
    object-fit:cover;
    display:block;
}
.about-text h2 { 
    font-family: var(--font-display); 
    font-size: 3rem; 
    font-weight: 700; 
    letter-spacing: -0.01em; 
    line-height: 1.15; 
    margin-bottom: 2rem; 
    color: var(--text); 
}

.about-text p { 
    font-size: 1.18rem; 
    line-height: 1.8; 
    color: #4d4d4d; 
    margin-bottom: 1rem; 
    font-weight: 300; 
}
.about-list { 
    list-style: none; 
    margin: 1.5rem 0; 
    display: flex; 
    flex-direction: column; 
    gap: 0.6rem; 
}
.about-list li { font-size: 0.9rem; color: var(--text-mid); font-weight: 300; }
.about-list li::before { content: '· '; font-weight: 700; color: var(--text); }
.about-text .tagline { font-weight: 700; font-size: 0.9rem; color: var(--text); margin-top: 0.5rem; }

/* ---- PRODUCT DETAIL ---- */
.product-detail { max-width: var(--max-w); margin: 0 auto; padding: 3rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.pd-img { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.pd-img img { width: 100%; max-height: 380px; object-fit: contain; }
.pd-info h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.35rem; }
.pd-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.pd-features { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.25rem; }
.pd-feature { font-size: 0.9rem; color: var(--text-mid); font-weight: 300; display: flex; align-items: center; gap: 0.5rem; }
.pd-feature::before { content: '✓'; font-weight: 700; color: var(--text); }
.pd-tagline { font-size: 0.9rem; color: var(--text-mid); font-weight: 300; margin-bottom: 2rem; }

/* ---- PLANS ---- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.plan-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem; position: relative; transition: border-color 0.2s; cursor: pointer; text-align: center; }
.plan-card:hover { border-color: var(--brown-dark); }
.plan-card.featured { border-color: var(--brown-dark); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brown-dark); color: var(--white); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.7rem; border-radius: 3px; white-space: nowrap; }
.plan-icon { margin-bottom: 0.5rem; display: flex; justify-content: center; }
.plan-icon img { width: 48px; height: 48px; }
.plan-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.plan-units { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.plan-detail { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 0.75rem; font-weight: 300; }
.plan-price { font-weight: 700; font-size: 0.85rem; color: var(--text); margin-bottom: 0.15rem; }
.plan-total { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 300; }
.pd-disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; font-weight: 300; }

/* ===================================================
   FAQ
=================================================== */

.faq-section{

    max-width:1400px;

    margin:auto;

    padding:5rem 2rem 6rem;

}

.faq-grid{

    display:grid;

    grid-template-columns:38% 62%;

    gap:5rem;

    align-items:flex-start;

}

.faq-title h1{

    font-family:var(--font-display);

    font-size:clamp(2.5rem,4vw,4rem);

    line-height:1.05;

    letter-spacing:-.02em;

    color:var(--text);

}

.faq-content{

    display:flex;

    flex-direction:column;

    gap:2rem;
    max-width:700px;

}

.faq-item h3{

    font-size:1.15rem;

    font-weight:700;

    margin-bottom:.75rem;

    color:var(--text);
    line-height:1.4;

}
.faq-item{ width:100%;}
.faq-item p{

    font-size:.95rem;

    line-height:1.8;

    color:var(--text-mid);

    font-weight:300;
    overflow-wrap:break-word;
    word-break:normal;
}
/* ---- FOOTER ---- */
.footer { background: var(--brown-dark); color: rgba(255,255,255,0.65); padding: 3rem 2rem; text-align: center; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-logo { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--white); text-decoration: none; display: inline-block; margin-bottom: 0.75rem; }
.footer-logo sup { font-size: 0.7rem; }
.footer-tagline { font-size: 0.82rem; font-weight: 300; margin-bottom: 1.25rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .products-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-hero, .about-grid, .nut-grid, .product-detail { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .plans-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats-band { gap: 0.75rem; padding: 1rem; }
}
/* ==========================================
   TABLETS
========================================== */

@media (max-width: 768px){

    .stats-band{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:1.2rem;

        padding:1.5rem;

        border-radius:18px;
    }

    .stat-item{

        justify-content:center;
    }

    .stat-item-last{

        margin-left:0;
    }

}

/* ==========================================
   CELULARES
========================================== */

@media (max-width: 480px){

    .stats-band{

        grid-template-columns:1fr;

        gap:.9rem;

        padding:1.25rem;
    }

    .stat-item{

        justify-content:center;
        text-align:center;
    }

    .stat-item > strong{

        font-size:2rem;
    }

    .stat-item span{

        font-size:1rem;
    }

}

/* ===========================
   RESPONSIVE NAVBAR
=========================== */

.nav-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    font-size:28px;
    color:var(--text);
}

@media (max-width:768px){

    .nav-inner{

        padding:0 1rem;

    }

    .nav-links{

        display:none;

        position:absolute;

        top:72px;

        left:0;

        width:100%;

        background:#fff;

        flex-direction:column;

        gap:0;

        border-top:1px solid var(--border);

        box-shadow:0 10px 20px rgba(0,0,0,.08);

    }

    .nav-links.active{

        display:flex;

    }

    .nav-links a{

        padding:1rem;

        border-bottom:1px solid var(--border);

    }

    .nav-toggle{

        display:block;

    }

}
@media (max-width:768px){

    .faq-grid{

        grid-template-columns:1fr;

        gap:2rem;

    }

    .faq-title h1{

        font-size:2.4rem;

    }

}