:root {
  --ink: #17201b;
  --muted: #5c6760;
  --green-950: #123d2a;
  --green-800: #1d5c40;
  --green-600: #2f7d58;
  --green-100: #e8f2ec;
  --gold: #c79b42;
  --line: #dce3de;
  --surface: #f7f9f7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 54, 38, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--green-600); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

.topline { color: #dce9e1; background: var(--green-950); font-size: .86rem; }
.topline-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline-inner span, .topline-inner a { display: inline-flex; align-items: center; gap: 7px; }
.topline svg { width: 15px; height: 15px; }
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,227,222,.9); backdrop-filter: blur(10px); }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; color: var(--white); background: var(--green-800); border: 2px solid var(--gold); font-family: Georgia, serif; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1.15rem; }
.brand small { color: var(--muted); font-size: .72rem; }
.main-menu { display: flex; align-items: center; gap: 28px; }
.main-menu > a:not(.button) { padding: 26px 0 22px; color: #4c5750; border-bottom: 3px solid transparent; font-weight: 650; }
.main-menu > a.active, .main-menu > a:not(.button):hover { color: var(--green-800); border-bottom-color: var(--gold); }
.menu-toggle { width: 44px; height: 44px; display: none; place-items: center; color: var(--green-950); background: transparent; border: 1px solid var(--line); border-radius: 6px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; color: var(--white); background: var(--green-800); border: 1px solid var(--green-800); border-radius: 6px; font-weight: 750; transition: .2s ease; }
.button:hover { background: var(--green-950); border-color: var(--green-950); transform: translateY(-1px); }
.button-outline { color: var(--green-950); background: rgba(255,255,255,.92); border-color: rgba(18,61,42,.3); }
.button-outline:hover { color: var(--white); }
.button-sm { min-height: 42px; padding-inline: 18px; }

.hero { min-height: min(720px, calc(100vh - 116px)); display: grid; align-items: center; position: relative; overflow: hidden; background: #edf1ed url("images/hero-consultoria.png") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,249,247,.98) 0%, rgba(247,249,247,.94) 35%, rgba(247,249,247,.28) 68%, rgba(247,249,247,.05) 100%); }
.hero-content { position: relative; width: min(620px, 56vw); padding: 76px 0 96px; }
.hero h1 { color: var(--green-950); }
.hero-lead { max-width: 570px; margin: 24px 0 32px; color: #3e4942; font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 20px; color: #354139; font-size: .9rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 18px; color: var(--green-600); }

.section { padding: 96px 0; }
.section-muted { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { margin-top: 16px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 330px; position: relative; padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b8c9be; box-shadow: var(--shadow); }
.service-number { position: absolute; top: 24px; right: 26px; color: #b2bbb5; font-size: .8rem; font-weight: 800; }
.icon-box { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 50px; color: var(--green-800); background: var(--green-100); border-radius: 6px; }
.icon-box svg { width: 27px; height: 27px; }
.service-card p { margin-top: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.statement { position: relative; padding: 54px; color: var(--white); background: var(--green-950); border-radius: var(--radius); box-shadow: var(--shadow); }
.statement::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(199,155,66,.45); border-radius: 4px; pointer-events: none; }
.statement blockquote { position: relative; z-index: 1; margin: 0; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; }
.statement p { position: relative; z-index: 1; margin-top: 20px; color: #bed1c5; }
.content-copy p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; width: 20px; margin-top: 3px; color: var(--green-600); }

.cta-band { padding: 58px 0; color: var(--white); background: var(--green-800); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 720px; font-size: clamp(1.8rem, 4vw, 2.75rem); }
.cta-inner .button { flex: 0 0 auto; color: var(--green-950); background: var(--white); border-color: var(--white); }

.page-hero { padding: 88px 0 72px; color: var(--white); background: var(--green-950); }
.page-hero .eyebrow { color: #d7b66f; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.page-hero p:last-child { max-width: 720px; margin-top: 20px; color: #c8d8ce; font-size: 1.08rem; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 50px; background: var(--line); border: 1px solid var(--line); }
.fact { padding: 28px; background: var(--white); }
.fact strong { display: block; color: var(--green-800); font-size: 1.15rem; }
.fact span { color: var(--muted); font-size: .9rem; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 42px; }
.process article { padding-top: 24px; border-top: 3px solid var(--gold); }
.process strong { color: var(--green-600); font-size: .8rem; letter-spacing: .1em; }
.process h3 { margin-top: 10px; }
.process p { margin-top: 12px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact-list { display: grid; gap: 14px; margin-top: 30px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item svg { flex: 0 0 auto; width: 22px; color: var(--green-600); }
.contact-item strong, .contact-item span { display: block; }
.contact-item span { color: var(--muted); }
.contact-panel { padding: 42px; background: var(--green-950); color: var(--white); border-radius: var(--radius); }
.contact-panel p { margin: 16px 0 28px; color: #c5d7cc; }
.contact-panel .button { width: 100%; margin-top: 10px; color: var(--green-950); background: var(--white); border-color: var(--white); }
.contact-panel .button.is-disabled { cursor: not-allowed; color: #6d746f; background: #dde2df; border-color: #dde2df; }
.business-data { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.business-data p + p { margin-top: 8px; }

.legal { padding: 72px 0 100px; }
.legal h2 { margin: 42px 0 14px; font-size: 1.55rem; }
.legal h3 { margin: 28px 0 10px; font-size: 1.1rem; }
.legal p, .legal li { color: #465149; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal-note { padding: 18px 20px; background: var(--green-100); border-left: 4px solid var(--green-600); }

.footer-main { padding: 64px 0 48px; color: #d8e3dc; background: #10291d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr 1.4fr; gap: 48px; }
.brand-footer { color: var(--white); }
.brand-footer small { color: #aebdb4; }
.footer-summary { max-width: 320px; margin-top: 20px; color: #9fb0a6; }
.footer-main h2 { margin-bottom: 18px; color: var(--white); font-family: inherit; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-main div > a:not(.brand), .footer-main div > span { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0; color: #aebdb4; font-size: .9rem; }
.footer-main div > a:not(.brand):hover { color: var(--white); }
.footer-main svg { flex: 0 0 auto; width: 16px; margin-top: 4px; }
.footer-legal { padding: 18px 0; color: #8fa095; background: #0a1c13; font-size: .78rem; }
.footer-legal .container { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .main-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 14px 20px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 22px rgba(0,0,0,.08); }
  .main-menu.open { display: grid; }
  .main-menu > a:not(.button) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-menu > a.active { border-bottom-color: var(--gold); }
  .hero { min-height: 650px; background-position: 66% center; }
  .hero::before { background: linear-gradient(90deg, rgba(247,249,247,.98), rgba(247,249,247,.88) 58%, rgba(247,249,247,.2)); }
  .hero-content { width: min(620px, 78vw); }
  .services-grid, .facts-grid, .process { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .topline-inner { min-height: 44px; justify-content: center; }
  .topline-inner > span { display: none; }
  .nav-inner { min-height: 70px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { min-height: 670px; align-items: end; background-position: 68% top; }
  .hero::before { background: linear-gradient(0deg, rgba(247,249,247,1) 5%, rgba(247,249,247,.96) 46%, rgba(247,249,247,.18) 88%); }
  .hero-content { width: 100%; padding: 260px 0 56px; }
  h1 { font-size: 2.65rem; }
  .hero-lead { margin: 18px 0 24px; font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 10px; margin-top: 24px; }
  .section { padding: 72px 0; }
  .service-card, .statement, .contact-panel { padding: 28px; }
  .icon-box { margin-bottom: 32px; }
  .page-hero { padding: 64px 0 54px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-legal .container { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
