:root {
  --navy: #153149;
  --navy-2: #0d2539;
  --teal: #28a68a;
  --teal-dark: #147761;
  --ink: #172431;
  --muted: #5d6b77;
  --line: #dce5e9;
  --mist: #f2f7f7;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(13, 37, 57, .12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #71dbc3; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.eyebrow { margin: 0 0 .8rem; color: var(--teal-dark); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1rem; }
.lead { color: #445663; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.text-link { color: var(--teal-dark); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.muted { color: var(--muted); }

.topbar { background: var(--navy-2); color: #dfecef; font-size: .82rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 1.25rem; padding-block: .45rem; }
.topbar a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(21,49,73,.1); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--navy); text-decoration: none; }
.brand-logo { width: 205px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--navy); font-size: .9rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal-dark); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; color: var(--navy); background: var(--mist); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.15rem; border: 2px solid transparent; border-radius: 10px; background: var(--teal); color: #fff; font-size: .88rem; font-weight: 850; letter-spacing: .035em; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--teal-dark); }
.btn-dark { background: var(--navy); }
.btn-outline { border-color: var(--navy); background: transparent; color: var(--navy); }

.hero { position: relative; overflow: hidden; min-height: 660px; display: grid; align-items: center; background: var(--mist); }
.hero::after { content: ""; position: absolute; inset: 0 0 0 54%; background: linear-gradient(90deg, var(--mist), rgba(242,247,247,.16) 30%), url("accounting-workspace.webp") center/cover no-repeat; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 55% 45%; align-items: center; }
.hero-copy { padding: 5rem 3.5rem 5rem 0; }
.hero h1 { max-width: 820px; }
.hero h1 span { color: var(--teal-dark); }
.hero .lead { max-width: 690px; margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin: 2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid #cbd9de; list-style: none; color: #42535f; font-size: .88rem; font-weight: 700; }
.hero-trust li::before { content: "✓"; margin-right: .45rem; color: var(--teal-dark); font-weight: 900; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.statement { padding-left: 1.25rem; border-left: 5px solid var(--teal); color: var(--navy); font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 750; line-height: 1.35; }
.metrics { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { padding: 1.4rem; background: #fff; }
.metric strong { display: block; color: var(--navy); font-size: 1.7rem; }
.metric span { color: var(--muted); font-size: .86rem; }

.dark-section { position: relative; overflow: hidden; background: var(--navy); color: #e8f0f3; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { color: #71dbc3; }
.dark-section::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; right: -150px; top: -140px; border: 70px solid rgba(40,166,138,.17); transform: rotate(30deg); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-head p { max-width: 580px; margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.service-card { position: relative; z-index: 2; min-height: 300px; padding: 2rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.service-card .num { color: #71dbc3; font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.service-card h3 { margin-top: 3.5rem; font-size: 1.7rem; }
.service-card p { color: #c8d7dc; }
.service-card a { color: #fff; font-weight: 800; text-underline-offset: 5px; }
.service-card:hover { border-color: #71dbc3; background: rgba(255,255,255,.09); }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.audience-card { padding: 1.5rem; border-top: 4px solid var(--teal); background: var(--mist); }
.audience-card h3 { margin-bottom: .6rem; }
.audience-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.image-panel { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; background: var(--navy); color: #fff; }
.image-panel > img { width: 100%; height: 100%; object-fit: cover; }
.image-panel-copy { padding: clamp(2rem, 6vw, 5rem); align-self: center; }
.image-panel h2 { color: #fff; }
.image-panel .lead { color: #d7e2e6; }
.check-list { display: grid; gap: .8rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .58rem; width: .75rem; height: .75rem; background: var(--teal); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.process-step { counter-increment: process; padding: 1.5rem 0; border-top: 2px solid var(--line); }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 1.3rem; color: var(--teal-dark); font-weight: 900; }
.process-step p { color: var(--muted); font-size: .92rem; }

.profile-card { display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; padding: 2.4rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-badge { min-height: 260px; display: grid; place-items: center; padding: 1.5rem; background: var(--navy); color: #fff; text-align: center; }
.profile-badge strong { display: block; font-size: 3.5rem; line-height: 1; }
.profile-copy h3 { font-size: 2rem; }
.credential { color: var(--teal-dark); font-weight: 800; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }
.insight-card { display: flex; min-height: 280px; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.insight-card small { color: var(--teal-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.insight-card h3 { margin: 2rem 0 1rem; }
.insight-card p { color: var(--muted); font-size: .92rem; }
.insight-card a { margin-top: auto; color: var(--navy); font-weight: 850; }

.faq-list { display: grid; gap: .8rem; max-width: 900px; margin-top: 2rem; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
summary { padding: 1.15rem 3rem 1.15rem 1.2rem; color: var(--navy); font-weight: 800; cursor: pointer; }
details p { padding: 0 1.2rem 1.2rem; color: var(--muted); }
.cta-band { padding: 4.5rem 0; background: var(--teal); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; max-width: 760px; }
.cta-band .btn { background: var(--navy); }

.page-hero { padding: 5.5rem 0 4.5rem; background: var(--navy); color: #fff; }
.page-hero h1 { max-width: 970px; color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero .lead { max-width: 760px; margin-top: 1.3rem; color: #d3e0e4; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; color: #b8cbd2; font-size: .82rem; }
.breadcrumbs a { color: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin: 3rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p, .prose li { color: #44535f; }
.prose ul { padding-left: 1.2rem; }
.side-card { position: sticky; top: 110px; padding: 1.5rem; border-radius: var(--radius); background: var(--mist); }
.side-card h2 { font-size: 1.45rem; }
.side-card ul { padding: 0; list-style: none; }
.side-card li { border-bottom: 1px solid var(--line); }
.side-card li:last-child { border: 0; }
.side-card a { display: block; padding: .7rem 0; color: var(--navy); font-weight: 750; text-decoration: none; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin: 2rem 0; }
.feature { padding: 1.3rem; border: 1px solid var(--line); border-radius: 12px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: .4rem 0 0; font-size: .9rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
.contact-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card.dark { background: var(--navy); color: #fff; }
.contact-card.dark h2, .contact-card.dark h3 { color: #fff; }
.contact-card a { color: inherit; }

.site-footer { padding: 4rem 0 1.5rem; background: var(--navy-2); color: #c6d4da; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { padding: .45rem; border-radius: 10px; background: #fff; }
.site-footer .brand-logo { width: 235px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #d8e3e7; text-decoration: none; }
.site-footer a:hover { color: #71dbc3; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: grid; width: 58px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #16a979; color: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.23); text-decoration: none; font-weight: 900; }

@media (max-width: 980px) {
  .topbar { display: none; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; inset: 108px 0 auto; display: none; padding: 1rem; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav .btn { width: 100%; }
  .hero { min-height: auto; padding-bottom: 20rem; }
  .hero::after { inset: auto 0 0; height: 22rem; background: linear-gradient(180deg, var(--mist), rgba(242,247,247,.05) 28%), url("accounting-workspace.webp") center/cover no-repeat; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem 0; }
  .intro-grid, .image-panel, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .image-panel > img { max-height: 420px; }
  .audience-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 4rem 0; }
  .nav-wrap { min-height: 94px; }
  .brand-logo { width: 170px; }
  .site-nav { inset: 94px 0 auto; }
  .hero { padding-bottom: 15rem; }
  .hero::after { height: 17rem; }
  .section-head, .cta-band .container, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .card-grid, .audience-grid, .process, .insight-grid, .feature-list, .profile-card, .metrics, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .profile-card { padding: 1rem; }
  .profile-badge { min-height: 180px; }
  .page-hero { padding: 4rem 0 3rem; }
}

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