:root {
  color-scheme: light;
  --ink: #112824;
  --dark: #102522;
  --lime: #c9fc73;
  --paper: #f5f6ef;
  --muted: #465a52;
  --line: #d7ded2;
  --mono: Consolas, "Courier New", monospace;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--dark); color: #f5f9ee; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #3d986a; outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 2; padding: 10px; background: white; color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid #314b42; }
.header-inner, nav, .brand, .hero-actions, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: 16px; }
.brand { gap: 10px; font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: .035em; text-decoration: none; }
.brand svg { flex: none; }
.brand small { display: block; margin-top: 4px; font: 10px var(--mono); letter-spacing: .13em; color: #b8c9bf; }
nav { gap: clamp(16px, 3vw, 34px); font-size: 14px; }
nav a { text-decoration: none; }
nav a:not(.button):hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 4px; background: var(--lime); color: var(--ink); font-weight: 750; text-decoration: none; }
.button:hover { background: #dafca8; }
.button-small { min-height: 40px; padding: 8px 14px; }

.hero { background: radial-gradient(ellipse at 88% 55%, #1c3b33, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(28px, 5vw, 76px); padding-block: clamp(48px, 8vw, 108px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #c0d3c8; font: 700 12px/1.5 var(--mono); letter-spacing: .085em; }
.eyebrow span, .diagram-label b { flex: none; width: 8px; height: 8px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
h1 { margin-bottom: 23px; font-size: clamp(43px, 5.3vw, 76px); }
h1 em { color: var(--lime); font-style: normal; }
.lede { max-width: 45ch; margin-bottom: 28px; color: #d0ddd5; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.hero-actions { flex-wrap: wrap; gap: 15px 23px; }
.text-link { padding: 10px 0; font-weight: 650; text-decoration: none; }
.text-link span { margin-left: 6px; color: var(--lime); }

.blueprint { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #4b695e; border-radius: 5px; background-color: #142e2a; background-image: linear-gradient(#23423b 1px, transparent 1px), linear-gradient(90deg, #23423b 1px, transparent 1px); background-size: 27px 27px; }
.diagram-label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 14px; background: #132c28; border-bottom: 1px solid #4b695e; color: #d0ddd5; font: 11px var(--mono); }
.diagram-label b { display: inline-block; width: 6px; height: 6px; vertical-align: 1px; }
.blueprint svg { display: block; width: 100%; height: auto; }
.blueprint figcaption { padding: 10px 14px; background: #132c28; border-top: 1px solid #4b695e; color: #c0d3c8; font: 11px/1.5 var(--mono); }

.section { padding-block: clamp(52px, 7vw, 95px); }
.light { color: var(--ink); background: var(--paper); }
.light .eyebrow { color: #3b584d; }
.light .eyebrow span { background: #437b59; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 4.4vw, 61px); }
.section p:not(.eyebrow) { font-size: 16px; line-height: 1.6; }
.light p:not(.eyebrow) { color: var(--muted); }
.section-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 28px; margin-bottom: 24px; }
.section-intro p { max-width: 50ch; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-grid article { display: flex; flex-direction: column; align-items: flex-start; min-height: 212px; padding: 23px; background: #fbfcf7; }
.service-number { margin-bottom: 18px; color: #4e675a; font: 700 12px var(--mono); }
h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.service-grid a { margin-top: auto; padding-block: 5px; font-weight: 700; text-underline-offset: 4px; }
.service-grid a:hover { color: #276548; }
.service-grid .service-cta { justify-content: center; background: #e7f1da; }
.service-cta a { margin-top: 0; }

.case { background: #1a3730; }
.case-grid, .quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: clamp(25px, 6vw, 86px); }
.case p:not(.eyebrow) { max-width: 48ch; color: #d0ddd5; }
.case-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid #557367; background: #557367; }
.case-stats div { display: flex; flex-direction: column-reverse; gap: 4px; padding: clamp(13px, 2vw, 24px); background: #1a3730; }
.case-stats dt { color: #d0ddd5; font-size: 14px; }
.case-stats dd { margin: 0; color: var(--lime); font-size: clamp(34px, 4vw, 54px); font-weight: 750; letter-spacing: -.05em; }

.quote-grid > div > p { max-width: 43ch; }
.local-note { padding-left: 13px; border-left: 3px solid #6c9c75; }
.quote-form { padding: clamp(17px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.wide { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 10px; border: 1px solid #8fa199; border-radius: 4px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.quote-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-result textarea { font: 14px/1.5 var(--mono); background: var(--paper); }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.outline { min-height: 42px; background: transparent; border-color: #688175; }
#estado { margin: 8px 0 0; }
.footer-inner { min-height: 82px; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-block: 17px; color: #d0ddd5; font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 0.85fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .hero-grid, .section-intro, .case-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .blueprint { width: min(100%, 530px); }
  .section-intro { gap: 0; }
}
@media (max-width: 465px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 12px; gap: 8px; }
  nav { width: 100%; justify-content: space-between; gap: 8px; }
  .service-grid, .fields { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
