:root {
  --yellow: #f5bd18;
  --yellow-2: #ffd43c;
  --yellow-soft: #fff5cf;
  --ink: #171715;
  --ink-2: #272724;
  --paper: #faf9f5;
  --white: #fff;
  --muted: #686761;
  --line: #dfddd5;
  --green: #25d366;
  --container: min(1180px, calc(100% - 40px));
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 15px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: white; font-weight: 800; }
.skip-link:focus { top: 15px; }

.topbar { height: 34px; display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--yellow); font-size: 11px; font-weight: 750; }
.topbar a { border-bottom: 1px solid rgba(0,0,0,.4); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 58px; height: 58px; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 29px; font-size: 13px; font-weight: 750; }
.nav > a:not(.btn):hover { color: #a07a00; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.menu-toggle i { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: .25s; }

.btn { min-height: 54px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 850; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 43px; padding: 0 18px; }
.btn-dark { background: var(--ink); color: white; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 13px 30px rgba(245,189,24,.2); }
.btn-primary:hover { background: var(--yellow-2); box-shadow: 0 16px 38px rgba(245,189,24,.3); }
.btn-white { background: white; color: var(--ink); }

.hero { position: relative; min-height: 690px; overflow: hidden; background: #e9e3d9; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(250,249,245,.98) 0%, rgba(250,249,245,.9) 32%, rgba(250,249,245,.1) 63%, rgba(250,249,245,0) 100%), url('../assets/caap-hero.webp'); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; width: 490px; height: 490px; left: -285px; bottom: -210px; border: 1px solid rgba(245,189,24,.48); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; min-height: 690px; padding: 60px 0; display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.hero-copy { min-width: 0; }
.kicker, .eyebrow { color: #947000; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.kicker span { width: 28px; height: 2px; background: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(48px, 5.2vw, 72px); line-height: .98; letter-spacing: -.06em; }
h1 em, h2 em { color: #9c7600; font-style: normal; font-weight: 520; }
.hero-copy > p { max-width: 610px; color: #4f4e49; font-size: 17px; line-height: 1.7; }
.hero-benefits { display: grid; gap: 10px; padding: 0; margin: 26px 0 0; list-style: none; font-size: 13px; font-weight: 700; }
.hero-benefits li { display: flex; align-items: center; gap: 10px; }
.hero-benefits span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: white; color: #8d6b00; }

.lead-card { min-width: 0; padding: 31px; border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 28px 70px rgba(28,24,13,.18); }
.lead-badge { display: inline-flex; padding: 7px 10px; border-radius: 99px; background: var(--yellow-soft); color: #806100; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.lead-card h2 { margin: 15px 0 7px; font-size: 30px; letter-spacing: -.04em; }
.lead-card > p { margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.lead-card form { display: grid; gap: 8px; }
.lead-card label { margin-top: 5px; font-size: 10px; font-weight: 850; }
.lead-card input, .lead-card select { min-width: 0; width: 100%; height: 47px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #555; font-size: 12px; outline: none; }
.lead-card input:focus, .lead-card select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,189,24,.13); }
.lead-card .btn { width: 100%; margin-top: 10px; }
.lead-card small { text-align: center; color: #85837d; font-size: 9px; }

.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid > div { padding: 27px 20px; display: flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 1px solid var(--line); }
.trust-grid span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow-soft); color: #876600; font-size: 9px; font-weight: 900; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.trust-grid strong { color: var(--ink); font-size: 12px; }

.section { padding: 102px 0; }
.heading { margin-bottom: 44px; }
.heading.centered { text-align: center; }
.heading.centered h2 { max-width: 780px; margin-inline: auto; }
.eyebrow { display: inline-block; margin-bottom: 17px; }
.eyebrow.light { color: var(--yellow); }
h2 { margin-bottom: 18px; font-size: clamp(37px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.05em; }
.heading-split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: end; }
.heading-split p { margin-bottom: 6px; color: var(--muted); line-height: 1.7; }

.fit { background: var(--paper); }
.fit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.fit-grid article { min-height: 345px; padding: 35px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.fit-grid .dark-card { border-color: var(--ink); background: var(--ink); color: white; }
.fit-grid .yellow-card { border-color: var(--yellow); background: var(--yellow); }
.fit-label { align-self: flex-start; padding: 7px 10px; border-radius: 99px; background: var(--yellow-soft); color: #806100; font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.dark-card .fit-label { background: #343431; color: var(--yellow); }
.yellow-card .fit-label { background: rgba(255,255,255,.55); color: var(--ink); }
.fit-grid h3 { margin: 40px 0 13px; font-size: 27px; line-height: 1.15; letter-spacing: -.04em; }
.fit-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.dark-card p { color: #aaa; }
.yellow-card p { color: rgba(0,0,0,.66); }
.fit-grid a { margin-top: auto; font-size: 12px; font-weight: 850; }
.fit-grid a span { color: #987300; }
.dark-card a span { color: var(--yellow); }

.problems { background: var(--ink); color: white; }
.problems-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; }
.problems-copy { position: sticky; top: 125px; align-self: start; }
.problems-copy > p { max-width: 460px; color: #aaa; line-height: 1.7; }
.problems-copy .btn { margin-top: 22px; }
.problem-list { border-top: 1px solid #3b3b38; }
.problem-list article { padding: 25px 0; display: grid; grid-template-columns: 52px 1fr; gap: 19px; border-bottom: 1px solid #3b3b38; }
.problem-list article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2d2d2a; color: var(--yellow); font-size: 20px; }
.problem-list h3 { margin: 1px 0 6px; font-size: 19px; }
.problem-list p { margin: 0; color: #999; font-size: 12px; line-height: 1.6; }

.services { background: white; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { position: relative; min-height: 330px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article > span { position: absolute; top: 25px; right: 25px; color: #aaa; font-size: 9px; }
.service-icon { display: grid; place-items: center; width: 53px; height: 53px; margin: 20px 0 48px; border-radius: 14px; background: var(--yellow-soft); color: #896700; }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-grid h3 { font-size: 21px; letter-spacing: -.03em; }
.service-grid p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.service-grid .service-cta { display: flex; flex-direction: column; justify-content: center; background: var(--yellow); }
.service-cta small { font-size: 9px; font-weight: 900; letter-spacing: .11em; }
.service-cta h3 { max-width: 270px; margin: 20px 0 26px; font-size: 29px; }
.service-cta .btn { align-self: flex-start; }

.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 31px 27px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps > li > span { display: block; margin-bottom: 42px; color: #9b7500; font-size: 10px; font-weight: 900; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.process-cta { margin-top: 25px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 12px; background: white; border: 1px solid var(--line); }
.process-cta p { margin: 0; color: var(--muted); font-size: 13px; }
.process-cta a { flex: 0 0 auto; font-size: 12px; font-weight: 850; }

.faq { background: white; }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.faq-copy { position: sticky; top: 125px; align-self: start; }
.faq-copy p { color: var(--muted); line-height: 1.65; }
.faq-copy > a { font-size: 12px; font-weight: 850; border-bottom: 1px solid #aaa; padding-bottom: 4px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow-soft); color: #896700; font-size: 19px; transition: .2s; }
.accordion details[open] summary span { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.accordion details p { margin: -5px 55px 25px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.final-cta { position: relative; overflow: hidden; padding: 92px 0; background: var(--ink); color: white; }
.final-cta::after { content: ""; position: absolute; width: 450px; height: 450px; right: -210px; top: -280px; border: 1px solid rgba(245,189,24,.22); border-radius: 50%; }
.final-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.final-grid h2 { max-width: 760px; margin-bottom: 13px; }
.final-grid p { margin: 0; color: #999; }
.final-grid .btn { justify-self: end; }

footer { padding: 64px 0 25px; background: #0d0d0c; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr .8fr; gap: 55px; padding-bottom: 50px; }
.footer-grid img { width: 80px; height: 80px; object-fit: cover; border-radius: 7px; margin-bottom: 15px; }
footer h3 { color: var(--yellow); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
footer p { color: #858580; font-size: 11px; line-height: 1.7; }
footer a { display: block; margin: 11px 0; color: #aaa; font-size: 12px; }
footer a:hover { color: white; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #292926; }
.footer-bottom p { margin: 0; font-size: 10px; }

.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 46; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; box-shadow: 0 12px 30px rgba(0,0,0,.28); animation: nudge 5s ease-in-out infinite; }
.whatsapp::before, .whatsapp::after { content: ""; position: absolute; inset: -1px; z-index: -1; border: 2px solid rgba(37,211,102,.65); border-radius: 50%; opacity: 0; animation: ring 3s ease-out infinite; }
.whatsapp::after { animation-delay: 1s; }
.whatsapp svg { width: 31px; fill: currentColor; animation: icon 5s ease-in-out infinite; }
.mobile-cta { display: none; }
@keyframes ring { 0%,32%{transform:scale(1);opacity:0}38%{opacity:.75}68%,100%{transform:scale(1.62);opacity:0} }
@keyframes nudge { 0%,78%,100%{transform:translateY(0)}82%{transform:translateY(-5px)}86%{transform:translateY(0)}90%{transform:translateY(-3px)}94%{transform:translateY(0)} }
@keyframes icon { 0%,79%,95%,100%{transform:rotate(0)}83%{transform:rotate(-9deg)}87%{transform:rotate(8deg)}91%{transform:rotate(-5deg)} }

@media (max-width: 980px) {
  .nav { gap: 17px; }
  .nav > a:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: 1fr .78fr; gap: 35px; }
  .trust-grid, .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .fit-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  :root { --container: min(1180px, calc(100% - 30px)); }
  .topbar { height: 32px; gap: 10px; font-size: 9px; }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 54px; height: 54px; }
  .menu-toggle { display: block; z-index: 2; }
  .menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; z-index: 10; top: 70px; left: 0; right: 0; height: calc(100vh - 70px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 22px; background: white; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .22s, transform .22s, visibility .22s; overflow-y: auto; box-shadow: 0 24px 35px rgba(0,0,0,.16); }
  .nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav > a:not(.btn) { display: block; padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 22px; }
  .hero { padding-bottom: 70px; }
  .hero-image { position: relative; height: 300px; background-image: linear-gradient(0deg, var(--paper) 0%, rgba(250,249,245,0) 48%), url('../assets/caap-hero.webp'); background-position: 63% center; }
  .hero-grid { min-height: 0; padding: 0; margin-top: -12px; grid-template-columns: 1fr; gap: 35px; }
  h1 { font-size: clamp(43px, 12.5vw, 58px); }
  .hero-copy > p { font-size: 15px; }
  .lead-card { padding: 24px 20px; }
  .trust-grid, .fit-grid, .problems-grid, .service-grid, .steps, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 1px solid var(--line); }
  .section { padding: 75px 0; }
  .heading-split { grid-template-columns: 1fr; gap: 22px; }
  .problems-grid, .faq-grid { gap: 40px; }
  .problems-copy, .faq-copy { position: static; }
  .problems-copy .btn { width: 100%; }
  .service-grid article { min-height: 310px; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-cta { align-items: flex-start; flex-direction: column; }
  .final-grid { gap: 25px; }
  .final-grid .btn { justify-self: stretch; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-cta { position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; display: block; padding: 10px 82px 10px 12px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-cta a { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 8px; background: var(--yellow); font-size: 13px; font-weight: 900; }
  .whatsapp { right: 16px; bottom: 15px; width: 56px; height: 56px; }
  footer { padding-bottom: 90px; }
}

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