@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

  :root{
    --green: #153022;
    --green-light: #244a35;
    --cream: #FAF6EE;
    --neutral: #DBD8C8;
    --ink: #12241a;
    --black: #0A130E;
    --black-2: #101E16;
    --teal: #6FB79A;
  }

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

  html{ scroll-behavior:smooth; }

  body{
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
  }

  h1,h2,h3{
    font-family: 'Fraunces', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  a{ color: inherit; text-decoration: none; }

  .wrap{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }

  section[id]{ scroll-margin-top: 110px; }

  /* ---------- NAV ---------- */
  header{
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    z-index: 100;
    display:flex;
    justify-content:center;
    padding: 0 20px;
  }
  nav{
    display:flex;
    align-items:center;
    gap: 44px;
    background: rgba(21, 48, 34, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(250,246,238,.1);
    border-radius: 999px;
    padding: 12px 14px 12px 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,.3);
  }
  .logo{
    font-family:'Fraunces', serif;
    font-size: 17px;
    font-weight:600;
    color: var(--cream);
    display:flex;
    align-items:center;
    gap:9px;
    white-space:nowrap;
  }
  .logo .dot{
    width:8px; height:8px; border-radius:50%;
    background: var(--teal);
    display:inline-block;
  }
  .navlinks{ display:flex; gap:30px; font-size:14.5px; }
  .navlinks a{ color: rgba(250,246,238,.75); transition: color .15s; }
  .navlinks a:hover{ color: var(--cream); }
  .nav-cta{
    background: var(--cream);
    color: var(--green);
    padding:10px 20px;
    border-radius:999px;
    font-size:14px;
    font-weight:600;
    white-space:nowrap;
  }
  .nav-cta:hover{ background:#fff; }
  .burger{ display:none; }

  /* ---------- HERO ---------- */
  .hero{
    background: radial-gradient(ellipse 100% 70% at 15% 0%, #eef1e6 0%, var(--cream) 45%, var(--neutral) 130%);
    color: var(--ink);
    position:relative;
    overflow:hidden;
  }
  .hero-graphic{
    position:absolute;
    top:70px; right:2%; bottom:20px;
    width:46%;
    pointer-events:none;
  }
  .hero-graphic svg{ width:100%; height:100%; display:block; overflow:visible; }

  /* ---------- SEMILLA GERMINANDO (logo animado) ----------
     Los estados "desde" viven SOLO en los keyframes: si el usuario prefiere
     movimiento reducido, se apagan las animaciones y queda el logo completo. */
  .sg-glow{ transform-box:fill-box; transform-origin:center; animation: sg-glow 5s ease-in-out 3.2s infinite alternate; }
  .sg-ring{ stroke-dasharray:1414; stroke-dashoffset:0; animation: sg-ring 1.7s cubic-bezier(.65,.05,.25,1) .15s both; }
  .sg-seed{ transform-box:fill-box; transform-origin:center; animation: sg-seed .9s cubic-bezier(.34,1.4,.64,1) .55s both; }
  .sg-crack{ stroke-dasharray:130; stroke-dashoffset:0; animation: sg-crack .7s ease-out 1.35s both; }
  .sg-stem{ transform-box:fill-box; transform-origin:50% 100%; animation: sg-stem 1.1s cubic-bezier(.3,.8,.3,1) 1.9s both; }
  .sg-leaf-l{ transform-box:fill-box; transform-origin:100% 100%; animation: sg-leaf-l 1.2s cubic-bezier(.34,1.5,.64,1) 2.7s both; }
  .sg-leaf-r{ transform-box:fill-box; transform-origin:0% 100%;   animation: sg-leaf-r 1.2s cubic-bezier(.34,1.5,.64,1) 3.0s both; }
  .sg-sway-l{ transform-box:fill-box; transform-origin:100% 100%; animation: sg-sway-l 5.5s ease-in-out 4.4s infinite alternate; }
  .sg-sway-r{ transform-box:fill-box; transform-origin:0% 100%;   animation: sg-sway-r 6.2s ease-in-out 4.6s infinite alternate; }

  @keyframes sg-ring { from{ stroke-dashoffset:1414; } to{ stroke-dashoffset:0; } }
  @keyframes sg-seed { from{ opacity:0; transform:scale(.4) rotate(-25deg); } to{ opacity:1; transform:scale(1) rotate(0); } }
  @keyframes sg-crack{ from{ stroke-dashoffset:130; } to{ stroke-dashoffset:0; } }
  @keyframes sg-stem { from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
  @keyframes sg-leaf-l{ from{ opacity:0; transform:scale(0) rotate(-28deg); } 30%{ opacity:1; } to{ opacity:1; transform:scale(1) rotate(0); } }
  @keyframes sg-leaf-r{ from{ opacity:0; transform:scale(0) rotate(28deg); }  30%{ opacity:1; } to{ opacity:1; transform:scale(1) rotate(0); } }
  @keyframes sg-sway-l{ from{ transform:rotate(0); } to{ transform:rotate(-3.2deg); } }
  @keyframes sg-sway-r{ from{ transform:rotate(0); } to{ transform:rotate(3.2deg); } }
  @keyframes sg-glow { from{ opacity:.55; transform:scale(.94); } to{ opacity:1; transform:scale(1.06); } }

  @media (prefers-reduced-motion: reduce){
    .hero-graphic *{ animation:none !important; }
  }
  .hero-inner{
    max-width: 1180px;
    margin:0 auto;
    padding: 190px 32px 100px;
    position:relative;
    z-index:2;
  }
  .hero-text{ max-width: 600px; }
  .eyebrow{
    font-size:15px;
    color: var(--green-light);
    font-weight:500;
    margin-bottom:14px;
  }
  .hero h1{
    font-size: clamp(46px, 6.4vw, 84px);
    line-height: 1;
    font-weight: 500;
    color: var(--green);
  }
  .hero-desc{
    margin-top: 26px;
    max-width: 46ch;
    font-size:17px;
    line-height:1.65;
    color: #3d3d33;
  }
  .hero-actions{ margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; }
  .btn-primary{
    background: var(--green);
    color: var(--cream);
    padding: 13px 26px;
    border-radius:2px;
    font-size:14.5px;
    font-weight:600;
  }
  .btn-primary:hover{ background: var(--green-light); }
  .btn-ghost{
    border:1px solid rgba(21,48,34,.3);
    color: var(--green);
    padding: 13px 26px;
    border-radius:2px;
    font-size:14.5px;
  }
  .btn-ghost:hover{ background: rgba(21,48,34,.05); }

  /* ---------- AGENCIAS ---------- */
  .agencies{ padding: 100px 32px; }
  .section-head{ max-width: 640px; margin-bottom:56px; }
  .section-head.center{ max-width:640px; margin-left:auto; margin-right:auto; text-align:center; }
  .section-head .kicker{
    font-size:14px;
    color: var(--green-light);
    font-weight:600;
    margin-bottom:12px;
  }
  .section-head h2{
    font-size: clamp(28px,3.4vw,38px);
    color: var(--green);
  }
  .section-head p{
    margin-top:16px;
    color:#5b5a4d;
    font-size:16px;
    max-width:56ch;
  }
  .section-head.center p{ margin-left:auto; margin-right:auto; }

  .agency-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
  }
  .agency-card{
    background: linear-gradient(150deg, var(--green) 0%, var(--green-light) 45%, #6f7864 100%);
    border-radius:14px;
    padding: 34px 26px 28px;
    display:flex;
    flex-direction:column;
    min-height: 300px;
    color: var(--cream);
  }
  .agency-card .icon{
    width:44px; height:44px;
    border:1px solid rgba(250,246,238,.35);
    border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    margin-bottom:26px;
  }
  .agency-card .icon svg{ width:22px; height:22px; stroke:var(--cream); }
  .agency-card h3{
    font-size:20px;
    color: var(--cream);
    margin-bottom:10px;
    font-weight:600;
  }
  .agency-card p{
    font-size:14px;
    color: rgba(250,246,238,.75);
    flex-grow:1;
    line-height:1.55;
  }
  .agency-card .go{
    margin-top:22px;
    display:inline-flex;
    align-self:flex-start;
    font-size:13.5px;
    font-weight:600;
    color: var(--cream);
    border:1px solid rgba(250,246,238,.4);
    padding:9px 18px;
    border-radius:6px;
    transition: background .15s, border-color .15s;
  }
  .agency-card .go:hover{
    background: rgba(250,246,238,.1);
    border-color: rgba(250,246,238,.7);
  }

  /* ---------- ABOUT ---------- */
  .about{ padding: 100px 32px; background: var(--neutral); }
  .about-inner{ }
  .about-inner p{ margin-top:16px; color:#4a4a3e; font-size:16px; max-width:64ch; }
  .about-grid{
    margin-top:52px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:28px;
  }
  .about-item{
    background: var(--cream);
    border-radius:4px;
    padding: 28px 26px;
  }
  .about-item h3{
    font-size:17px;
    color: var(--green);
    margin-bottom:10px;
  }
  .about-item p{
    font-size:14px;
    color:#5b5a4d;
  }

  /* ---------- STATS ---------- */
  .stats{
    background: var(--green);
    color: var(--cream);
  }
  .stats-inner{
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .stat{
    padding: 56px 32px;
    border-left:1px solid rgba(250,246,238,.14);
  }
  .stat:first-child{ border-left:none; }
  .stat .figure{
    font-family:'Fraunces', serif;
    font-size:44px;
  }
  .stat .label{
    margin-top:8px;
    font-size:14px;
    color: rgba(250,246,238,.7);
  }
  .stat-logo{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .stats-logo{
    max-height:120px;
    width:auto;
    display:block;
  }

  /* ---------- LOGOS ---------- */
  /* ---------- LOGOS MARQUEE ---------- */
  .logos-band{
    padding: 64px 0;
    border-bottom:1px solid var(--neutral);
  }
  .logos-band .caption{
    font-size:14px;
    color:#8a8770;
    margin-bottom:30px;
  }
  .marquee{
    overflow:hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  }
  .marquee-track{
    display:flex;
    align-items:center;
    gap: 56px;
    width: max-content;
    animation: marquee-scroll 26s linear infinite;
  }
  .marquee-track img,
  .marquee-track svg{
    height: 44px;
    width:auto;
    object-fit:contain;
    opacity:.78;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease;
  }
  .marquee-track img:hover,
  .marquee-track svg:hover{ opacity:1; filter:grayscale(0); }
  @keyframes marquee-scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce){
    .marquee-track{ animation: none; }
  }

  /* ---------- CLIENT IMPACT ---------- */
  .impact{ padding:100px 32px; }
  .impact-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top:56px;
  }
  .impact-card{
    border:1px solid var(--neutral);
    border-radius:4px;
    padding: 30px 26px;
    background:#fff;
  }
  .impact-card .tag{
    display:inline-block;
    font-size:12.5px;
    font-weight:600;
    color: var(--green);
    background: var(--neutral);
    padding:5px 11px;
    border-radius:2px;
    margin-bottom:18px;
  }
  .impact-card h3{
    font-size:18px;
    color:var(--ink);
    margin-bottom:10px;
  }
  .impact-card p{
    font-size:14px;
    color:#5b5a4d;
  }

  /* ---------- CTA STRIP ---------- */
  .cta-strip{
    background: var(--neutral);
    padding: 80px 32px;
  }
  .cta-strip .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
    flex-wrap:wrap;
  }
  .cta-strip h2{
    font-size: clamp(26px,3vw,34px);
    color: var(--green);
    max-width: 20ch;
  }
  .cta-strip .btn-primary{
    background: var(--green);
    color: var(--cream);
    flex-shrink:0;
  }
  .cta-strip .btn-primary:hover{ background: var(--green-light); }

  /* ---------- FOOTER ---------- */
  footer{
    background: var(--green);
    color: rgba(250,246,238,.75);
    padding: 64px 32px 32px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom:48px;
    border-bottom: 1px solid rgba(250,246,238,.14);
  }
  .footer-grid .logo{ color: var(--cream); margin-bottom:14px; }
  .footer-grid p{ font-size:13.5px; max-width:32ch; }
  .footer-grid h4{
    font-size:13px;
    color: var(--cream);
    font-weight:600;
    margin-bottom:16px;
  }
  .footer-grid ul{ list-style:none; }
  .footer-grid li{ margin-bottom:10px; font-size:13.5px; }
  .footer-grid a:hover{ color: var(--cream); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    padding-top:24px;
    font-size:12.5px;
    color: rgba(250,246,238,.5);
    flex-wrap:wrap;
    gap:12px;
  }

  @media (max-width: 860px){
    .navlinks{ display:none; }
    .hero-inner{ padding-top:150px; }
    .hero-graphic{ display:none; }
    .agency-grid{ grid-template-columns: repeat(2,1fr); }
    .stats-inner{ grid-template-columns:1fr; }
    .stat{ border-left:none; border-top:1px solid rgba(250,246,238,.14); }
    .stat:first-child{ border-top:none; }
    .impact-grid{ grid-template-columns:1fr; }
    .about-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width: 520px){
    .agency-grid{ grid-template-columns:1fr; }
  }
