:root{
    --forest:#0F3D2E;
    --forest-deep:#092A20;
    --leaf:#2D6A4F;
    --fresh:#40916C;
    --mint:#95D5B2;
    --mint-pale:#D8F3E3;
    --river:#1D6FA5;
    --sand:#F6F3EA;
    --sand-warm:#EFEADB;
    --ink:#122019;
    --ink-soft:#3E4A44;
    --compass:#B8863B;
    --line: rgba(18,32,25,0.12);
    --radius: 14px;
    --maxw: 1180px;
    --shadow: 0 20px 45px -25px rgba(9,42,32,0.45);
}

  *{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
    margin:0;
    font-family:'Inter', sans-serif;
    color:var(--ink);
    background:var(--sand);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
    font-family:'Fraunces', serif;
    margin:0;
    color:var(--forest-deep);
    letter-spacing:-0.01em;
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{margin:0; padding:0; list-style:none;}
section{position:relative;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}

.eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--mint);
    display:inline-flex;
    align-items:center;
    gap:10px;
}
.eyebrow::before{
    content:'';
    width:7px; height:7px;
    border-radius:50%;
    background:var(--mint);
    box-shadow:0 0 0 4px rgba(149,213,178,0.25);
}
.eyebrow.dark{color:var(--leaf);}
.eyebrow.dark::before{background:var(--leaf); box-shadow:0 0 0 4px rgba(45,106,79,0.15);}

/* ---------- reveal on scroll ---------- */
.reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{opacity:1; transform:translateY(0);}

  /* ---------- header ---------- */
header.site{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    background:rgba(9,42,32,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.08);
    transition:background 0.3s ease;
}
.header-inner{
    max-width:var(--maxw);
    margin:0 auto;
    padding:12px 32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:46px; width:auto;}
nav.main-nav ul{display:flex; gap:30px;}
nav.main-nav a{
    font-size:14.5px;
    font-weight:500;
    color:#EAF3ED;
    opacity:0.85;
    transition:opacity 0.2s ease;
    position:relative;
}
nav.main-nav a:hover{opacity:1;}
nav.main-nav a::after{
    content:'';
    position:absolute; left:0; bottom:-6px;
    width:0; height:1.5px;
    background:var(--mint);
    transition:width 0.25s ease;
}
nav.main-nav a:hover::after{width:100%;}

.header-cta{
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.05em;
    border:1px solid rgba(255,255,255,0.3);
    color:#fff;
    padding:9px 16px;
    border-radius:999px;
    white-space:nowrap;
    transition:background 0.2s ease, border-color 0.2s ease;
}
.header-cta:hover{background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.6);}

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:6px;
}
.menu-toggle span{width:24px; height:2px; background:#fff; display:block; border-radius:2px;}

  /* ---------- hero ---------- */
.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
    radial-gradient(ellipse 900px 500px at 85% 15%, rgba(64,145,108,0.35), transparent 60%),
    linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 65%, #0C3527 100%);
    overflow:hidden;
    padding-top:88px;
}
.contour-bg{
    position:absolute; inset:0;
    opacity:0.35;
    pointer-events:none;
}
.compass-mark{
    position:absolute;
    right:6%;
    top:50%;
    transform:translateY(-50%);
    width:min(38vw, 420px);
    opacity:0.9;
    animation:spin 90s linear infinite;
    transform-origin:center;
}
@keyframes spin{
    from{transform:translateY(-50%) rotate(0deg);}
    to{transform:translateY(-50%) rotate(360deg);}
}
.hero-content{
    position:relative;
    z-index:2;
    max-width:680px;
    padding:60px 32px 90px;
}
.hero h1{
    font-size:clamp(2.3rem, 4.6vw, 3.6rem);
    color:#fff;
    font-weight:600;
    line-height:1.12;
    margin:18px 0 20px;
}
.hero h1 em{
    font-style:italic;
    color:var(--mint);
}
.hero p.sub{
    font-size:17.5px;
    color:#D9E9DF;
    max-width:520px;
    margin-bottom:34px;
}
.btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 28px;
    border-radius:999px;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    border:none;
    transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary{
    background:var(--mint);
    color:var(--forest-deep);
    box-shadow:0 14px 30px -10px rgba(149,213,178,0.55);
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 18px 36px -10px rgba(149,213,178,0.7);}
.btn-ghost{
    background:transparent;
    border:1px solid rgba(255,255,255,0.35);
    color:#fff;
}
.btn-ghost:hover{background:rgba(255,255,255,0.08);}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap;}

.hero-coord{
    margin-top:56px;
    display:flex;
    gap:28px;
    flex-wrap:wrap;
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    color:rgba(217,233,223,0.65);
    border-top:1px solid rgba(255,255,255,0.12);
    padding-top:18px;
    max-width:560px;
}
.hero-coord span b{color:var(--mint); display:block; font-size:14px; margin-bottom:2px;}

  /* ---------- scroll cue ---------- */
.scroll-cue{
    position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
    color:rgba(255,255,255,0.55);
    font-family:'JetBrains Mono', monospace;
    font-size:11px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    display:flex; flex-direction:column; align-items:center; gap:8px;
    z-index:2;
}
.scroll-cue::after{
    content:'';
    width:1px; height:34px;
    background:linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
    animation:pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line{0%,100%{opacity:0.3;} 50%{opacity:1;}}

  /* ---------- section headings ---------- */
.section-head{
    max-width:640px;
    margin-bottom:48px;
}
.section-head h2{
    font-size:clamp(1.7rem, 3vw, 2.4rem);
    margin-top:14px;
    font-weight:600;
}
.section-head p{
    margin-top:14px;
    color:var(--ink-soft);
    font-size:16px;
    max-width:560px;
}

  /* ---------- sectors ---------- */
.sectors{
    background:var(--sand);
    padding:96px 0 100px;
}
.sector-track-wrap{
    position:relative;
}
.sector-track{
    display:flex;
    gap:18px;
    overflow-x:auto;
    padding:6px 4px 24px;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    scrollbar-color:var(--fresh) transparent;
}
.sector-track::-webkit-scrollbar{height:6px;}
.sector-track::-webkit-scrollbar-thumb{background:var(--fresh); border-radius:4px;}

.sector-card{
    scroll-snap-align:start;
    flex:0 0 240px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:26px 22px;
    transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .sector-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:transparent;
  }
  .sector-icon{
    width:44px; height:44px;
    border-radius:12px;
    background:var(--mint-pale);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
    color:var(--forest);
  }
  .sector-icon svg{width:22px; height:22px;}
  .sector-card h4{
    font-family:'Inter', sans-serif;
    font-size:16px;
    font-weight:600;
    color:var(--forest-deep);
    margin-bottom:6px;
  }
  .sector-card p{font-size:13.5px; color:var(--ink-soft);}

  .sector-card.add-more{
    background:transparent;
    border:1.5px dashed var(--fresh);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    color:var(--leaf);
  }
  .sector-card.add-more .plus{
    font-size:26px;
    font-family:'JetBrains Mono', monospace;
    margin-bottom:10px;
  }

  .track-nav{
    display:flex; gap:10px; margin-top:8px;
  }
  .track-btn{
    width:38px; height:38px;
    border-radius:50%;
    border:1px solid var(--line);
    background:#fff;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    transition:background 0.2s ease, border-color 0.2s ease;
  }
  .track-btn:hover{background:var(--forest); border-color:var(--forest);}
  .track-btn:hover svg{stroke:#fff;}
  .track-btn svg{stroke:var(--forest); transition:stroke 0.2s ease;}

  /* ---------- services ---------- */
  .services{
    background:var(--forest-deep);
    padding:100px 0 110px;
    position:relative;
  }
  .services .eyebrow{color:var(--mint);}
  .services .section-head h2{color:#fff;}
  .services .section-head p{color:rgba(217,233,223,0.75);}

  .service-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
  }
  .service-card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.09);
    border-radius:var(--radius);
    padding:30px 24px;
    transition:background 0.25s ease, transform 0.25s ease;
  }
  .service-card:hover{
    background:rgba(255,255,255,0.08);
    transform:translateY(-4px);
  }
  .service-num{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    color:var(--mint);
    opacity:0.8;
  }
  .service-card h3{
    color:#fff;
    font-size:19px;
    font-weight:600;
    margin:16px 0 10px;
    line-height:1.3;
  }
  .service-card p{
    color:rgba(217,233,223,0.72);
    font-size:14px;
  }
  .service-icon{
    width:38px; height:38px;
    margin-bottom:6px;
    color:var(--mint);
  }
  .service-icon svg{width:100%; height:100%;}

  /* ---------- about ---------- */
  .about{
    background:var(--sand-warm);
    padding:100px 0;
  }
  .about .wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
  }
  .about-visual{
    position:relative;
    aspect-ratio:1/1;
    border-radius:20px;
    background:linear-gradient(160deg, var(--forest) 0%, var(--leaf) 55%, var(--river) 100%);
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .about-photo{width:100%; height:100%; object-fit:cover;}
  .about-badge{
    position:absolute;
    bottom:22px; left:22px;
    background:rgba(255,255,255,0.94);
    border-radius:12px;
    padding:14px 18px;
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    color:var(--forest-deep);
    line-height:1.5;
    box-shadow:var(--shadow);
  }
  .about-badge b{display:block; font-size:20px; font-family:'Fraunces', serif; font-weight:600;}

  .about-copy h2{font-size:clamp(1.7rem, 3vw, 2.3rem); margin:16px 0 20px; font-weight:600;}
  .about-copy p{color:var(--ink-soft); font-size:16px; margin-bottom:16px;}
  .about-list{margin-top:26px; display:grid; gap:14px;}
  .about-list li{
    display:flex; gap:12px; align-items:flex-start;
    font-size:14.5px; color:var(--ink);
  }
  .about-list li svg{flex:0 0 auto; margin-top:2px; color:var(--leaf);}

  /* ---------- flyers ---------- */
  .flyers{
    background:
      linear-gradient(rgba(246,243,234,0.78), rgba(246,243,234,0.78)),
      url("Fondo4ktractor.png") center/cover no-repeat;
    padding:96px 0 100px;
  }
  .flyers .section-head{margin-bottom:34px;}
  .flyer-carousel{
    display:flex;
    align-items:center;
    gap:18px;
  }
  .flyer-viewport{
    width:100%;
    overflow:hidden;
    border-radius:var(--radius);
    background:var(--sand-warm);
    box-shadow:var(--shadow);
  }
  .flyer-track{
    display:flex;
    transform:translateX(0);
    transition:transform 0.5s ease;
  }
  .flyer-slide{
    flex:0 0 100%;
    width:100%;
    height:min(58vw, 560px);
    min-height:280px;
    object-fit:contain;
    background:var(--sand-warm);
  }
  .flyer-btn{
    flex:0 0 42px;
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:50%;
    background:#fff;
    color:var(--forest);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .flyer-btn:hover{background:var(--forest); color:#fff; transform:scale(1.05);}
  .flyer-dots{display:flex; justify-content:center; gap:8px; margin-top:20px;}
  .flyer-dot{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:50%;
    background:rgba(45,106,79,0.3);
    cursor:pointer;
    transition:transform 0.2s ease, background 0.2s ease;
  }
  .flyer-dot.active{background:var(--leaf); transform:scale(1.35);}

  /* ---------- cta strip ---------- */
  .cta-strip{
    background:var(--mint-pale);
    padding:60px 0;
  }
  .cta-strip .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap;
  }
  .cta-strip h3{font-size:22px; font-weight:600; max-width:480px;}
  .btn-dark{
    background:var(--forest-deep);
    color:#fff;
  }
  .btn-dark:hover{background:var(--forest);}

  /* ---------- footer ---------- */
  footer.site{
    background:var(--forest-deep);
    color:rgba(217,233,223,0.75);
    padding:70px 0 26px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:50px;
    border-bottom:1px solid rgba(255,255,255,0.1);
  }
  .footer-brand img{height:44px; margin-bottom:16px;}
  .footer-brand p{font-size:13.5px; max-width:260px; color:rgba(217,233,223,0.6);}
  .footer-col h5{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--mint);
    margin-bottom:16px;
  }
  .footer-col ul{display:grid; gap:11px;}
  .footer-col a, .footer-col span{font-size:14px; color:rgba(217,233,223,0.78);}
  .footer-col a:hover{color:#fff;}
  .footer-col li{display:flex; gap:10px; align-items:flex-start;}
  .footer-col li svg{flex:0 0 auto; margin-top:2px; opacity:0.7;}
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding-top:22px;
    font-size:12.5px;
    color:rgba(217,233,223,0.45);
    font-family:'JetBrains Mono', monospace;
  }

  /* ---------- whatsapp float ---------- */
  .wa-float{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:200;
    width:60px; height:60px;
    border-radius:50%;
    background:#25D366;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 12px 28px -8px rgba(0,0,0,0.45);
    animation:wa-pulse 2.6s ease-in-out infinite;
    transition:transform 0.2s ease;
  }
  .wa-float:hover{transform:scale(1.07);}
  .wa-float svg{width:30px; height:30px;}
  @keyframes wa-pulse{
    0%,100%{box-shadow:0 12px 28px -8px rgba(0,0,0,0.45), 0 0 0 0 rgba(37,211,102,0.5);}
    50%{box-shadow:0 12px 28px -8px rgba(0,0,0,0.45), 0 0 0 12px rgba(37,211,102,0);}
  }
  .wa-tooltip{
    position:fixed;
    right:92px;
    bottom:38px;
    background:#fff;
    color:var(--forest-deep);
    font-size:13px;
    font-weight:600;
    padding:9px 14px;
    border-radius:8px;
    box-shadow:var(--shadow);
    z-index:200;
    opacity:0;
    pointer-events:none;
    transform:translateX(6px);
    transition:opacity 0.25s ease, transform 0.25s ease;
    white-space:nowrap;
  }
  .wa-tooltip.show{opacity:1; transform:translateX(0);}

  @media (max-width: 980px){
    .service-grid{grid-template-columns:repeat(2, 1fr);}
    .about .wrap{grid-template-columns:1fr; gap:40px;}
    .footer-grid{grid-template-columns:1fr 1fr; row-gap:36px;}
  }
  @media (max-width: 720px){
    nav.main-nav{
      position:fixed; top:74px; left:0; right:0;
      background:var(--forest-deep);
      padding:20px 32px 30px;
      transform:translateY(-130%);
      opacity:0;
      transition:transform 0.3s ease, opacity 0.3s ease;
      border-bottom:1px solid rgba(255,255,255,0.1);
    }
    nav.main-nav.open{transform:translateY(0); opacity:1;}
    nav.main-nav ul{flex-direction:column; gap:18px;}
    .menu-toggle{display:flex;}
    .header-cta{display:none;}
    .service-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr; gap:30px;}
    .compass-mark{opacity:0.4;}
    .cta-strip .wrap{flex-direction:column; align-items:flex-start;}
    .flyers{padding:76px 0 80px;}
    .flyer-carousel{gap:8px;}
    .flyer-btn{flex-basis:36px; width:36px; height:36px;}
    .flyer-slide{height:68vw; min-height:220px;}
  }