:root {
  --ink: #14211c;
  --muted: #5d6b65;
  --forest: #0d3328;
  --forest-2: #174b3a;
  --green: #16875f;
  --mint: #dff3e8;
  --accent: #f4b740;
  --accent-dark: #d99a1d;
  --cream: #f7f4ed;
  --white: #ffffff;
  --line: #dce4df;
  --shadow: 0 18px 50px rgba(13, 51, 40, 0.11);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 14px; background: var(--white); color: var(--forest); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 78px; color: var(--white); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(13, 51, 40, .97); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 18px; font-weight: 600; }
.brand strong { color: var(--accent); font-weight: 800; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--forest); background: var(--accent); border-radius: 6px; }
.brand-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button) { color: rgba(255,255,255,.82); transition: color .2s; }
.main-nav > a:not(.button):hover { color: var(--white); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; padding: 9px; color: var(--white); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 24px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 16px; }
.button-primary { color: var(--forest); background: var(--accent); box-shadow: 0 8px 24px rgba(244,183,64,.2); }
.button-primary:hover { background: #ffc651; box-shadow: 0 10px 28px rgba(244,183,64,.3); }
.button-outline { color: var(--forest); border-color: #9cb2a8; background: transparent; }
.button-outline:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }
.button-light { color: var(--forest); background: var(--white); }
.button-light:hover { background: var(--accent); }
.button-accent { color: var(--forest); background: var(--accent); box-shadow: 0 12px 35px rgba(244,183,64,.25); }
.button-accent:hover { background: #ffc651; }
.text-link { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.text-link-dark { color: var(--forest); }

.hero { position: relative; min-height: min(780px, 92vh); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--forest); }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,35,27,.98) 0%, rgba(8,39,30,.9) 33%, rgba(8,39,30,.35) 61%, rgba(8,39,30,.05) 100%), linear-gradient(0deg, rgba(5,25,20,.25), transparent 45%), url("assets/hero-agencia-performance.png"); background-position: center, center, center; background-size: cover; transform: scale(1.01); }
.hero-content { position: relative; z-index: 1; padding-top: 92px; }
.hero-copy { width: min(650px, 62%); }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--green); }
.hero h1, .section-heading h2, .custom h2, .final-cta h2, .faq-intro h2 { margin: 0; font-family: Manrope, sans-serif; letter-spacing: 0; line-height: 1.08; }
.hero h1 { max-width: 650px; font-size: clamp(44px, 5.2vw, 72px); font-weight: 800; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.84); font-size: 19px; line-height: 1.6; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 13px 25px; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; color: rgba(255,255,255,.78); font-size: 13px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .icon { width: 17px; height: 17px; color: var(--accent); }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.proof-strip { background: var(--accent); }
.proof-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-grid div { min-height: 54px; padding: 0 25px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(13,51,40,.18); }
.proof-grid div:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong { color: var(--forest); font-family: Manrope, sans-serif; font-size: 18px; line-height: 1.3; }
.proof-grid span { color: rgba(13,51,40,.74); font-size: 13px; }

.section { padding: 108px 0; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2, .custom h2, .faq-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.section-heading h2 em { color: var(--green); }
.proposal { background: var(--cream); }
.proposal-copy { padding-top: 40px; color: var(--muted); font-size: 17px; }
.proposal-copy p { margin: 0 0 22px; }
.proposal-copy strong { color: var(--forest); }
.proposal-copy .lead-dark { color: var(--ink); font-size: 22px; line-height: 1.5; }
.centered { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered > p:last-child { max-width: 610px; margin: 20px auto 0; color: var(--muted); font-size: 17px; }

.pillars { background: var(--white); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar-card { position: relative; padding: 34px 30px 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 10px 38px rgba(13,51,40,.06); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.pillar-card:hover { transform: translateY(-5px); border-color: #a6c6b8; box-shadow: var(--shadow); }
.pillar-number { position: absolute; right: 22px; top: 18px; color: #aac5b8; font-family: Manrope, sans-serif; font-size: 46px; font-weight: 800; line-height: 1; }
.pillar-icon { width: 50px; height: 50px; margin-bottom: 25px; display: grid; place-items: center; color: var(--white); background: var(--forest); border-radius: 7px; }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h3 { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: 21px; }
.pillar-card > p { min-height: 82px; margin: 0; color: var(--muted); }
.pillar-card ul { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pillar-card li { position: relative; margin: 8px 0; padding-left: 18px; color: #42514a; font-size: 14px; }
.pillar-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.plans { color: var(--white); background: var(--forest); }
.plans-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; margin-bottom: 55px; }
.plans-intro > p { margin: 0 0 4px; color: rgba(255,255,255,.7); }
.plans .section-heading h2 { max-width: 660px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 31px 28px 28px; color: var(--ink); background: var(--white); border: 1px solid transparent; border-radius: 8px; }
.plan-card.featured { border: 2px solid var(--accent); transform: translateY(-12px); box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.popular-badge { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; color: var(--forest); background: var(--accent); border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.popular-badge .icon { width: 14px; height: 14px; fill: var(--forest); }
.plan-name { margin: 0; color: var(--forest); font-family: Manrope, sans-serif; font-size: 23px; font-weight: 800; }
.plan-fit { margin: 2px 0 20px; color: var(--muted); font-size: 14px; }
.price { margin: 0; display: flex; align-items: flex-start; color: var(--forest); font-family: Manrope, sans-serif; font-size: 52px; font-weight: 800; line-height: 1; }
.price > span { margin: 5px 5px 0 0; font-size: 17px; }
.price small { align-self: flex-end; margin: 0 0 5px 5px; color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 500; }
.ad-credit { margin: 25px 0 23px; padding: 13px 15px; color: var(--forest); background: var(--mint); border-left: 3px solid var(--green); }
.ad-credit p { margin: 0; font-size: 12px; line-height: 1.45; }
.ad-credit strong { margin-right: 3px; font-size: 15px; white-space: nowrap; }
.feature-list { flex: 1; margin: 0 0 26px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; margin: 13px 0; color: #4d5b55; font-size: 14px; }
.feature-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); stroke-width: 2.5; }
.feature-list strong { color: var(--ink); }
.plan-button { width: 100%; }
.plan-note { max-width: 860px; margin: 29px auto 0; display: flex; justify-content: center; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.58); font-size: 12px; text-align: center; }
.plan-note p { margin: 0; }

.custom { padding: 86px 0; color: var(--white); background: var(--green); }
.custom-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; }
.custom h2 { max-width: 690px; }
.custom-copy > p:not(.eyebrow) { max-width: 700px; margin: 21px 0 28px; color: rgba(255,255,255,.8); font-size: 17px; }
.custom-list { display: grid; gap: 10px; }
.custom-list div { display: flex; align-items: center; gap: 12px; padding: 16px 17px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.17); border-radius: 6px; }
.custom-list .icon { color: var(--accent); stroke-width: 2.5; }

.journey { background: var(--cream); }
.journey-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin: 0; padding: 0; list-style: none; }
.journey-grid::before { content: ""; position: absolute; top: 27px; left: 16.5%; right: 16.5%; height: 1px; background: #b8c9c0; }
.journey-grid li { position: relative; text-align: center; }
.journey-grid li > span { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 22px; display: grid; place-items: center; color: var(--white); background: var(--forest); border: 7px solid var(--cream); outline: 1px solid #a8bbb1; border-radius: 50%; font-family: Manrope, sans-serif; font-weight: 800; }
.journey-grid h3 { margin: 0 0 7px; font-family: Manrope, sans-serif; font-size: 19px; }
.journey-grid p { max-width: 300px; margin: 0 auto; color: var(--muted); font-size: 14px; }

.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro > p:not(.eyebrow) { margin: 22px 0; color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 4px; color: var(--ink); font-family: Manrope, sans-serif; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { color: var(--green); transition: transform .2s; }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion details p { margin: -3px 0 24px; padding-right: 46px; color: var(--muted); }

.final-cta { padding: 100px 0; color: var(--white); text-align: center; background: linear-gradient(rgba(8,38,29,.91), rgba(8,38,29,.94)), url("assets/hero-agencia-performance.png") center 46% / cover; }
.final-cta-content { max-width: 800px; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(38px, 5vw, 60px); }
.final-cta p { max-width: 660px; margin: 22px auto 28px; color: rgba(255,255,255,.78); font-size: 18px; }
.final-cta small { display: block; margin-top: 17px; color: rgba(255,255,255,.6); }

.site-footer { padding: 64px 0 22px; color: rgba(255,255,255,.68); background: #071d17; }
.footer-main { display: grid; grid-template-columns: 1.5fr .6fr .8fr; gap: 70px; padding-bottom: 45px; }
.brand-light { color: var(--white); }
.footer-brand p { max-width: 420px; margin: 19px 0 0; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links strong, .footer-contact strong { margin-bottom: 8px; color: var(--white); font-family: Manrope, sans-serif; }
.footer-links a:hover, .footer-contact > a:hover { color: var(--accent); }
.footer-contact > a { display: flex; align-items: center; gap: 8px; }
.socials { display: flex; gap: 9px; margin-top: 10px; }
.socials a, .socials span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.18); border-radius: 5px; }
.socials span { color: rgba(255,255,255,.42); cursor: help; }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { color: var(--forest); background: var(--accent); border-color: var(--accent); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.whatsapp-float { position: fixed; z-index: 80; right: 22px; bottom: 22px; min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 11px 17px; color: var(--white); background: #1fae61; border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.22); font-weight: 700; transition: transform .2s, background .2s; }
.whatsapp-float:hover { transform: translateY(-3px); background: #179b54; }
.whatsapp-float svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header.scrolled { backdrop-filter: none; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 101; inset: 0; min-height: 100vh; min-height: 100dvh; padding: 110px 28px max(40px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 10px; overflow-y: auto; background: var(--forest); transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a:not(.button) { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 18px; }
  .main-nav .button { margin-top: 12px; }
  .hero { min-height: 720px; }
  .hero-media { background-image: linear-gradient(90deg, rgba(7,35,27,.97) 0%, rgba(8,39,30,.78) 57%, rgba(8,39,30,.32) 100%), url("assets/hero-agencia-performance.png"); background-position: center, 58% center; }
  .hero-copy { width: min(620px, 75%); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
  .proof-grid div { min-height: 68px; }
  .proof-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .two-column, .plans-intro, .custom-wrap, .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .proposal-copy { padding-top: 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card > p { min-height: auto; }
  .plan-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; gap: 26px; }
  .plan-card.featured { transform: none; }
  .custom-list { grid-template-columns: repeat(2, 1fr); }
  .faq-intro { position: static; max-width: 620px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .site-header { height: 68px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 33px; height: 33px; }
  .hero { min-height: 680px; align-items: flex-end; padding-bottom: 82px; }
  .hero-media { background-image: linear-gradient(0deg, rgba(6,29,23,.98) 0%, rgba(7,35,27,.94) 45%, rgba(7,35,27,.27) 100%), url("assets/hero-agencia-performance.png"); background-position: center, 66% center; }
  .hero-content { padding-top: 280px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 40px; }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 25px; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-actions .text-link { text-align: center; }
  .hero-trust { margin-top: 25px; padding-top: 17px; gap: 9px 16px; }
  .hero-scroll { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 8px 13px; border-left: 1px solid rgba(13,51,40,.18); }
  .proof-grid div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-grid strong { font-size: 15px; }
  .proof-grid span { font-size: 11px; line-height: 1.4; }
  .section { padding: 76px 0; }
  .section-heading h2, .custom h2, .faq-intro h2 { font-size: 34px; }
  .proposal-copy .lead-dark { font-size: 19px; }
  .centered { margin-bottom: 38px; text-align: left; }
  .centered .eyebrow { justify-content: flex-start; }
  .centered > p:last-child { margin-left: 0; }
  .pillar-card { padding: 28px 23px; }
  .plans-intro { margin-bottom: 38px; }
  .plan-card { padding: 29px 22px 23px; }
  .price { font-size: 47px; }
  .custom { padding: 72px 0; }
  .custom-list { grid-template-columns: 1fr; }
  .custom-copy .button { width: 100%; }
  .journey-grid { grid-template-columns: 1fr; gap: 28px; }
  .journey-grid::before { top: 20px; bottom: 20px; left: 23px; right: auto; width: 1px; height: auto; }
  .journey-grid li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; text-align: left; }
  .journey-grid li > span { width: 48px; height: 48px; margin: 0; }
  .journey-grid p { max-width: none; margin: 0; }
  .accordion summary { font-size: 15px; }
  .accordion details p { padding-right: 8px; }
  .final-cta { padding: 78px 0; }
  .final-cta h2 { font-size: 38px; }
  .final-cta .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { display: none; }
  .mobile-cta { position: fixed; z-index: 90; inset: auto 0 0; display: block; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -6px 24px rgba(0,0,0,.12); }
  .mobile-cta a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--white); background: #1fae61; border-radius: 6px; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
