/* ==========================================================================
   CSS VARIABLES & AGAVE CENOTE DESIGN (DUVAYOX.ONE)
   ========================================================================== */
:root {
    --c-agave-dark: #064e3b; /* Emerald 900 */
    --c-agave: #0f766e; /* Teal 700 */
    --c-cenote: #0284c7; /* Sky 600 - Deep Cyan */
    --c-sand: #f5f5f4; /* Stone 100 */
    --c-clay: #b45309; /* Amber 700 - Accent */
    --c-dark: #1c1917; /* Stone 900 */
    --c-text: #44403c; /* Stone 600 */
    --c-white: #ffffff;
    --c-line: #e7e5e4; /* Stone 200 */

    --pad-x: clamp(15px, 5vw, 30px);
    --pad-y: clamp(70px, 9vw, 120px);
    
    --rad-sm: 6px;
    --rad-md: 16px;
    
    --shadow-soft: 0 10px 30px rgba(6, 78, 59, 0.08);
    --shadow-wipe: 0 -15px 40px rgba(0, 0, 0, 0.1);
    --trans: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--c-sand);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--c-agave-dark); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--c-agave); }
p { font-size: clamp(1.05rem, 1.5vw, 1.15rem); margin-bottom: 1.5rem; }

a { text-decoration: none; color: inherit; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--rad-md); }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }
.sec-p { padding: var(--pad-y) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-white); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-soft); }

.nav-mob-pad {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 10px; /* СТРОГО 10PX НА МОБИЛЬНОМ */
    max-width: 1200px; margin: 0 auto; position: relative;
}

@media (min-width: 768px) { .nav-mob-pad { padding: 20px var(--pad-x); } }

.brand { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--c-agave-dark); letter-spacing: -1px; }
.brand span { color: var(--c-cenote); }

.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.burger span { width: 30px; height: 3px; background: var(--c-agave-dark); border-radius: 2px; }
#menu-tog { display: none; }

.desk-nav { display: none; }
.desk-nav ul { display: flex; gap: 35px; align-items: center; }
.desk-nav a { font-weight: 700; color: var(--c-text); font-size: 1.05rem; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-cenote); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-agave-dark); padding: 15px 20px 25px; box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.mob-nav a { display: block; font-weight: 700; color: var(--c-white); padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mob-nav li:last-child a { border-bottom: none; }
#menu-tog:checked ~ .mob-nav { display: block; }

@media (min-width: 992px) {
    .burger { display: none; }
    .desk-nav { display: block; }
    .mob-nav { display: none !important; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; font-weight: 800; font-size: 1.1rem; border-radius: var(--rad-sm); cursor: pointer; transition: var(--trans); border: 2px solid transparent; font-family: 'Outfit', sans-serif; }
.btn-c { background: var(--c-cenote); color: var(--c-white); }
.btn-c:hover { background: var(--c-agave-dark); color: var(--c-white); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-o { background: transparent; border-color: var(--c-agave-dark); color: var(--c-agave-dark); }
.btn-o:hover { background: var(--c-agave-dark); color: var(--c-white); }

/* ==========================================================================
   GENERAL GRIDS
   ========================================================================== */
.g-2 { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 992px) { .g-2 { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ==========================================================================
   INDEX: Z-PATTERN & METABOLIC CLOCK
   ========================================================================== */
/* Z-Pattern Features */
.z-row { display: flex; flex-direction: column; gap: 30px; margin-bottom: 60px; align-items: center; }
.z-row:last-child { margin-bottom: 0; }
.z-img { width: 100%; max-width: 400px; aspect-ratio: 1/1; background: var(--c-white); border-radius: var(--rad-md); display: flex; align-items: center; justify-content: center; font-size: 6rem; box-shadow: var(--shadow-soft); border: 1px solid var(--c-line); }
.z-txt { width: 100%; }
@media (min-width: 768px) {
    .z-row { flex-direction: row; gap: 60px; justify-content: space-between; }
    .z-row:nth-child(even) { flex-direction: row-reverse; }
    .z-img, .z-txt { width: 45%; }
}

/* Metabolic Clock (El Reloj Metabólico) */
.clock-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .clock-grid { grid-template-columns: repeat(4, 1fr); } }
.clock-card { background: var(--c-white); padding: 30px; border-radius: var(--rad-md); border-top: 4px solid var(--c-cenote); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: var(--trans); }
.clock-card:hover { transform: translateY(-5px); border-color: var(--c-clay); }
.time-badge { display: inline-block; background: var(--c-agave); color: white; padding: 5px 12px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; margin-bottom: 15px; align-self: flex-start; }
.clock-card h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--c-dark); }
.clock-card p { font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   PROGRAM: STICKY SECTION WIPES & SIDE-BY-SIDE FAQ
   ========================================================================== */
.wipe-container { position: relative; padding-bottom: 100px; }
.wipe-step { position: sticky; top: 100px; min-height: 60vh; padding: 60px; background: var(--c-white); border-radius: var(--rad-md); box-shadow: var(--shadow-wipe); border-top: 6px solid var(--c-agave-dark); display: flex; flex-direction: column; justify-content: center; margin-bottom: 100px; }
.wipe-step:nth-child(2) { top: 120px; background: var(--c-sand); border-color: var(--c-cenote); }
.wipe-step:nth-child(3) { top: 140px; background: var(--c-agave-dark); color: white; border-color: var(--c-clay); }
.wipe-step:nth-child(3) h2, .wipe-step:nth-child(3) h3, .wipe-step:nth-child(3) p { color: white; }
.w-num { font-size: 4rem; font-family: 'Outfit', sans-serif; font-weight: 900; opacity: 0.2; position: absolute; top: 20px; right: 40px; line-height: 1; }

/* Side-by-Side FAQ */
.sbs-faq { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 992px) { .sbs-faq { flex-direction: row; align-items: flex-start; } }
.sbs-left { width: 100%; }
@media (min-width: 992px) { .sbs-left { width: 35%; position: sticky; top: 120px; } }
.sbs-left h2 { margin-bottom: 15px; }
.sbs-right { width: 100%; display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 992px) { .sbs-right { width: 65%; } }
.faq-block { background: var(--c-white); padding: 30px; border-radius: var(--rad-md); border-left: 4px solid var(--c-cenote); box-shadow: var(--shadow-soft); }
.faq-block h4 { font-size: 1.25rem; margin-bottom: 10px; }
.faq-block p { margin: 0; }

/* ==========================================================================
   MISSION: HORIZONTAL TIMELINE & HOVER-REVEAL GRID
   ========================================================================== */
/* Horizontal Timeline */
.scroll-timeline { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 30px; padding: 20px 0 40px; scrollbar-width: none; }
.scroll-timeline::-webkit-scrollbar { display: none; }
.time-node { flex: 0 0 85%; scroll-snap-align: center; background: var(--c-white); padding: 40px; border-radius: var(--rad-md); border-top: 4px solid var(--c-agave); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .time-node { flex: 0 0 45%; } }
@media (min-width: 1024px) { .time-node { flex: 0 0 30%; } }
.tn-year { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 900; color: var(--c-cenote); line-height: 1; margin-bottom: 15px; }

/* Hover-Reveal Grid */
.reveal-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .reveal-grid { grid-template-columns: repeat(3, 1fr); } }
.reveal-card { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--c-agave-dark); border-radius: var(--rad-md); color: white; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; box-shadow: var(--shadow-soft); }
.reveal-title { font-size: 2rem; font-weight: 800; z-index: 1; color: white; transition: var(--trans); }
.reveal-content { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: var(--c-cenote); transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1); padding: 30px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.reveal-card:hover .reveal-content { top: 0; }
.reveal-card:hover .reveal-title { opacity: 0; }
.reveal-content h4 { color: white; font-size: 1.5rem; margin-bottom: 10px; }
.reveal-content p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.frm-ui { background: var(--c-white); padding: clamp(30px, 5vw, 50px); border-radius: var(--rad-md); box-shadow: var(--shadow-soft); max-width: 700px; margin: 0 auto; border-top: 6px solid var(--c-agave-dark); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 700; color: var(--c-dark); margin-bottom: 8px; font-size: 0.95rem; }
.f-row input, .f-row textarea { width: 100%; padding: 16px; border: 2px solid var(--c-line); border-radius: var(--rad-sm); font-family: inherit; font-size: 1rem; background: var(--c-sand); transition: var(--trans); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--c-cenote); background: var(--c-white); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-agave-dark); color: #d6d3d1; padding: 80px 0 30px; margin-top: 80px; }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 768px) { .ftr-g { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.f-logo { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 15px; display: block; letter-spacing: -1px; }
.f-logo span { color: var(--c-cenote); }
.f-desc { font-size: 0.95rem; line-height: 1.7; }
.f-h { font-family: 'Outfit', sans-serif; color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-weight: 600; transition: var(--trans); }
.f-links a:hover { color: var(--c-cenote); padding-left: 5px; }
.f-copy { border-top: 1px solid #065f46; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a7f3d0; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 25px 30px; border-radius: var(--rad-md); z-index: 9999; display: flex; flex-direction: column; gap: 20px; transform: translateY(150%); transition: 0.5s ease; box-shadow: var(--shadow-soft); border: 2px solid var(--c-cenote); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--c-text); }
.ck-txt a { color: var(--c-cenote); font-weight: 700; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { padding: 12px 25px; border: none; border-radius: var(--rad-sm); font-weight: 700; cursor: pointer; flex: 1; transition: var(--trans); font-size: 0.95rem; text-align: center; font-family: inherit; }
.b-ck.y { background: var(--c-cenote); color: #fff; }
.b-ck.y:hover { background: var(--c-agave-dark); }
.b-ck.n { background: var(--c-line); color: var(--c-dark); }
.b-ck.n:hover { background: var(--c-dark); color: #fff; }
@media (min-width: 768px) { #ck-bnnr { flex-direction: row; align-items: center; justify-content: space-between; } .ck-acts { width: auto; flex-shrink: 0; } .b-ck { flex: none; } }