/* ==========================================================================
   CSS VARIABLES & NOPAL ADOBE DESIGN (HABONEF.ONE)
   ========================================================================== */
:root {
    --c-nopal: #166534; /* Green 800 */
    --c-nopal-dark: #14532d; /* Green 900 */
    --c-adobe: #b91c1c; /* Red 700 - Terracotta */
    --c-adobe-light: #ef4444; /* Red 500 */
    --c-sand: #fdfbf7; /* Desert Sand / Off-white */
    --c-dark: #1c1917; /* Stone 900 */
    --c-text: #44403c; /* Stone 600 */
    --c-line: #d6d3d1; /* Stone 300 */
    --c-white: #ffffff;

    --p-safe: clamp(15px, 5vw, 30px);
    --p-sec: clamp(70px, 9vw, 120px);
    
    --rad-sm: 4px;
    --rad-md: 12px;
    --rad-full: 50%;
    
    --shadow-base: 0 8px 25px rgba(22, 101, 52, 0.08);
    --shadow-hard: 15px 15px 0 rgba(185, 28, 28, 0.15);
    --trans: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Rubik', system-ui, serif;
    background-color: var(--c-sand);
    color: var(--c-text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .sans-serif { font-family: 'Oswald', sans-serif; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); color: var(--c-nopal-dark); font-weight: 800; line-height: 1.05; margin-bottom: 1.2rem; text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--c-nopal-dark); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--c-adobe); font-weight: 600; margin-bottom: 0.8rem; }
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(--p-safe); }
.sec-p { padding: var(--p-sec) 0; }
.txt-c { text-align: center; }

/* ==========================================================================
   HEADER (STRICT 10PX MOBILE PADDING)
   ========================================================================== */
.site-hdr { background: var(--c-sand); border-bottom: 2px solid var(--c-nopal); position: sticky; top: 0; z-index: 1000; }

.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(--p-safe); } }

.brand { font-size: 2.2rem; font-weight: 800; color: var(--c-dark); letter-spacing: -1px; text-transform: uppercase; }
.brand span { color: var(--c-nopal); }

.burger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.burger span { width: 32px; height: 3px; background: var(--c-nopal-dark); transition: var(--trans); }
#menu-tog { display: none; }

.desk-nav { display: none; }
.desk-nav ul { display: flex; gap: 35px; align-items: center; }
.desk-nav a { font-weight: 600; color: var(--c-dark); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 1px; }
.desk-nav a:hover, .desk-nav a.active { color: var(--c-adobe); }

.mob-nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--c-white); padding: 15px 20px 25px; box-shadow: 0 15px 25px rgba(0,0,0,0.1); border-bottom: 4px solid var(--c-adobe);
}
.mob-nav a { display: block; font-weight: 600; color: var(--c-dark); padding: 15px 0; border-bottom: 1px solid var(--c-line); text-transform: uppercase; }
.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: 700; font-size: 1.1rem; cursor: pointer; transition: var(--trans); border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; border-radius: var(--rad-sm); font-family: 'Oswald', sans-serif; }
.btn-n { background: var(--c-nopal); color: #fff; box-shadow: var(--shadow-base); }
.btn-n:hover { background: var(--c-dark); transform: translateY(-3px); }
.btn-a { background: transparent; border-color: var(--c-adobe); color: var(--c-adobe); }
.btn-a:hover { background: var(--c-adobe); color: #fff; }

/* ==========================================================================
   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; } }
@media (max-width: 768px) { .g-2 { display: flex; flex-direction: column;} }

.g-3 { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .g-3 { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   INDEX: CIRCULAR HERO & EL SEMÁFORO METABÓLICO
   ========================================================================== */
.circ-hero-img { border-radius: var(--rad-full); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-hard); border: 10px solid var(--c-white); margin: 0 auto; max-width: 500px; }
.circ-hero-img img { border-radius: 0; height: 100%; object-fit: cover; }

.stair-card { background: var(--c-white); padding: 40px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border-top: 4px solid var(--c-nopal); }
@media (min-width: 768px) {
    .stair-card:nth-child(2) { transform: translateY(30px); }
    .stair-card:nth-child(3) { transform: translateY(60px); }
}

/* El Semáforo Metabólico (Index Sec 4) */
.semaforo-wrap { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; position: relative; }
.semaforo-wrap::before { content: ''; position: absolute; left: 40px; top: 0; bottom: 0; width: 6px; background: var(--c-dark); border-radius: 3px; z-index: 1; }
@media (min-width: 768px) { .semaforo-wrap::before { left: 50%; transform: translateX(-3px); } }

.sem-item { display: flex; align-items: center; gap: 20px; position: relative; z-index: 2; flex-direction: column; text-align: center; }
@media (min-width: 768px) { 
    .sem-item { flex-direction: row; text-align: left; }
    .sem-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
}

.sem-light { width: 80px; height: 80px; border-radius: var(--rad-full); border: 6px solid var(--c-dark); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; box-shadow: 0 0 20px rgba(0,0,0,0.2); }
.sl-red { background: #ef4444; box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); }
.sl-yel { background: #eab308; box-shadow: 0 0 30px rgba(234, 179, 8, 0.6); }
.sl-grn { background: #22c55e; box-shadow: 0 0 30px rgba(34, 197, 94, 0.6); }

.sem-txt { background: var(--c-white); padding: 30px; border-radius: var(--rad-md); box-shadow: var(--shadow-base); border: 2px solid var(--c-line); flex: 1; width: 100%; }

/* ==========================================================================
   PROGRAM: GIANT NUMBER BLOCKS (50/50)
   ========================================================================== */
.gnb-row { display: flex; flex-direction: column; min-height: 50vh; }
.gnb-num { display: flex; align-items: center; justify-content: center; padding: 60px 20px; background: var(--c-nopal); color: var(--c-white); font-family: 'Oswald', sans-serif; font-size: clamp(8rem, 20vw, 15rem); font-weight: 900; line-height: 0.8; }
.gnb-txt { display: flex; flex-direction: column; justify-content: center; padding: 60px 20px; background: var(--c-white); }
@media (min-width: 992px) {
    .gnb-row { flex-direction: row; }
    .gnb-row:nth-child(even) { flex-direction: row-reverse; }
    .gnb-num, .gnb-txt { width: 50%; padding: 80px 5%; }
    .gnb-row:nth-child(even) .gnb-num { background: var(--c-adobe); }
    .gnb-row:nth-child(3) .gnb-num { background: var(--c-dark); }
}

/* Horizontal Scroll FAQ */
.hz-faq-wrap { display: flex; gap: 20px; overflow-x: auto; padding: 20px 0 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hz-faq-wrap::-webkit-scrollbar { display: none; }
.hz-card { 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-nopal); box-shadow: var(--shadow-base); }
@media (min-width: 768px) { .hz-card { flex: 0 0 45%; } }
@media (min-width: 1024px) { .hz-card { flex: 0 0 30%; } }

/* ==========================================================================
   MISSION: STICKY HALF-SCREEN
   ========================================================================== */
.sticky-half-wrap { display: flex; flex-direction: column; }
.sh-left { padding: 60px 20px; background: url('img/bg-1.jpg') center/cover; position: relative; min-height: 40vh; display: flex; align-items: center; justify-content: center; }
.sh-left::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(28, 25, 23, 0.7); }
.sh-left h1 { position: relative; z-index: 2; color: var(--c-white); text-align: center; }

.sh-right { padding: 60px 20px; background: var(--c-sand); }

@media (min-width: 992px) {
    .sticky-half-wrap { flex-direction: row; align-items: flex-start; }
    .sh-left { width: 45%; height: 100vh; position: sticky; top: 0; padding: 0 5%; }
    .sh-right { width: 55%; padding: 100px 5%; }
}

.val-box { background: var(--c-white); padding: 40px; margin-bottom: 30px; border-left: 6px solid var(--c-adobe); box-shadow: var(--shadow-base); }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.f-container { background: var(--c-white); padding: clamp(40px, 6vw, 60px); box-shadow: var(--shadow-hard); max-width: 700px; margin: 0 auto; border: 1px solid var(--c-line); }
.f-row { margin-bottom: 25px; }
.f-row label { display: block; font-weight: 700; color: var(--c-dark); margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; font-family: 'Oswald', sans-serif; }
.f-row input, .f-row textarea { width: 100%; padding: 18px; 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-nopal); background: var(--c-white); }
.f-row textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   FOOTER (STRICT DATES)
   ========================================================================== */
.site-ftr { background: var(--c-dark); color: #d6d3d1; padding: 80px 0 30px; margin-top: 80px; }
.ftr-g { display: grid; grid-template-columns: 1fr; gap: 50px; margin-bottom: 60px; }
@media (min-width: 768px) { .ftr-g { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.f-logo { font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 800; color: #fff; margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: -1px; }
.f-logo span { color: var(--c-nopal); }
.f-desc { font-size: 1rem; line-height: 1.7; }
.f-h { font-family: 'Oswald', sans-serif; color: #fff; font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.f-links li { margin-bottom: 12px; }
.f-links a { font-weight: 600; transition: var(--trans); }
.f-links a:hover { color: var(--c-nopal); padding-left: 8px; }
.f-copy { border-top: 1px solid #44403c; padding-top: 30px; text-align: center; font-size: 0.95rem; color: #a8a29e; }

/* ==========================================================================
   COOKIE BANNER (2 BUTTONS, LINK IN TEXT)
   ========================================================================== */
#ck-bnnr { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--c-white); padding: 30px; border-radius: var(--rad-sm); z-index: 9999; display: flex; flex-direction: column; gap: 20px; transform: translateY(150%); transition: 0.5s ease; box-shadow: var(--shadow-hard); border: 2px solid var(--c-nopal); max-width: 900px; margin: 0 auto; }
#ck-bnnr.show { transform: translateY(0); }
.ck-txt { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--c-text); }
.ck-txt a { color: var(--c-adobe); font-weight: 800; text-decoration: underline; }
.ck-acts { display: flex; gap: 10px; }
.b-ck { font-family: 'Oswald', sans-serif; padding: 15px 30px; border: none; border-radius: var(--rad-sm); font-weight: 700; cursor: pointer; flex: 1; transition: var(--trans); font-size: 1rem; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
.b-ck.y { background: var(--c-nopal); color: #fff; }
.b-ck.y:hover { background: var(--c-dark); }
.b-ck.n { background: transparent; border: 2px solid var(--c-dark); 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; } }