:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: #10182b;
  --surface-hover: #152038;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(16, 185, 129, 0.45);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-hover: #059669;
  --cyan: #06b6d4;
  --danger: #f43f5e;
  --warning: #f59e0b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text);
}

.brand-name span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a:not(.btn) {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0d9488);
  color: #03150e;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.16);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-whatsapp {
  margin-top: 0.65rem;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.42);
  color: #86efac;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: #25d366;
  color: #dcfce7;
}

.inline-link {
  color: #6ee7b7;
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #041d0f;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.48);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16), rgba(6, 182, 212, 0.06) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 58ch;
}

.hero-subtitle strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text);
}

.metric span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Terminal preview card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
}

.terminal-title {
  color: var(--text-muted);
}

.status-tag {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 600;
}

.terminal-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  min-height: 368px;
}

.typing-cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blinkCursor 0.9s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-status.typing {
  color: var(--cyan);
}

.code-line.indent {
  padding-left: 1.25rem;
}

.c-muted { color: #64748b; }
.c-key { color: #93c5fd; }
.c-str { color: #e2e8f0; }
.c-accent { color: #34d399; }
.c-crit { color: #fb7185; }
.c-high { color: #fbbf24; }
.c-med { color: #38bdf8; }

.terminal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 11, 20, 0.6);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Standards Bar */
.standards-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(16, 24, 43, 0.45);
  padding: 1.15rem 0;
}

.standards-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.standards-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.standards-list span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.modality-card,
.service-card {
  display: flex;
  flex-direction: column;
}

.modality-card:hover,
.service-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.modality-card.featured,
.service-card.featured-service {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.07), var(--surface) 45%);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.badge-dark {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.badge-accent {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.16);
  color: #67e8f9;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.card-desc {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-meta strong {
  color: var(--text);
}

/* Service Cards */
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.service-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.price-box {
  text-align: right;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border);
}

.price-label,
.price-unit {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.price-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #6ee7b7;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.delivery-time {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.disclaimer-note {
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Bloque Cumplimiento Ley 21.719 */
.compliance-banner {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(16, 185, 129, 0.06) 55%, var(--surface));
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.compliance-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
}

.compliance-copy p {
  margin: 0 0 0.85rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.compliance-copy p:last-child {
  margin-bottom: 0;
}

.compliance-copy strong {
  color: var(--text);
}

.compliance-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.compliance-stat {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid var(--border);
}

.compliance-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #67e8f9;
  margin-bottom: 0.2rem;
}

.compliance-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Blog & Artículos */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card h2,
.blog-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.blog-more-wrap {
  margin-top: 1.8rem;
  text-align: center;
}

.blog-cta-box {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), var(--surface) 60%);
  border: 1px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-cta-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.blog-cta-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 56ch;
}

.blog-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-cta-actions .btn-whatsapp {
  margin-top: 0;
}

.article-container {
  max-width: 780px;
}

.article-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-back:hover {
  color: var(--accent);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.article-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.article-lead {
  margin: 0 0 2rem;
  font-size: 1.06rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}

.article-body h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.12rem;
}

.article-body p {
  margin: 0 0 1.1rem;
  color: #cbd5e1;
  font-size: 0.98rem;
}

.article-body strong {
  color: var(--text);
}

.article-body code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(148, 163, 184, 0.14);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

.article-list {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.tag-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
}

/* Interactive Calculator */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}

.calc-group + .calc-group {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.calc-step-title {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-step-title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.calc-step-title p {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid var(--border);
  transition: all 0.18s ease;
  height: 100%;
}

.option-content strong {
  font-size: 0.95rem;
}

.option-content small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.option-price {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #6ee7b7;
}

.option-card input:checked + .option-content {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.radio-pill {
  position: relative;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid var(--border);
  transition: all 0.18s ease;
  height: 100%;
}

.radio-pill strong {
  font-size: 0.9rem;
}

.radio-pill small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.radio-pill input:checked + span {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.addons-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.45);
  border: 1px solid var(--border);
  cursor: pointer;
}

.addon-row input {
  margin-top: 4px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.addon-row strong {
  display: block;
  font-size: 0.9rem;
}

.addon-row small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Summary Sticky Card */
.calc-summary {
  position: sticky;
  top: 90px;
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), var(--surface) 38%);
}

.summary-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6ee7b7;
  margin-bottom: 0.4rem;
}

.summary-price-block {
  margin: 1rem 0 1.25rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid var(--border);
}

.summary-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.summary-range {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: #34d399;
  line-height: 1.25;
}

.summary-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.summary-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.meta-row span {
  color: var(--text-muted);
}

.summary-breakdown,
.summary-includes {
  margin-bottom: 1.15rem;
}

.summary-breakdown h4,
.summary-includes h4 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.summary-breakdown ul,
.summary-includes ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.summary-footnote {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.t-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.timeline-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.timeline-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.2rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.contact-info > p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mini-card {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.mini-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.mini-card span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.72rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
}

.consent-check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-feedback {
  font-size: 0.88rem;
  border-radius: 8px;
  display: none;
  padding: 0.9rem 1rem;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.form-feedback.error {
  display: block;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fecdd3;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #05080f;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-desc {
  margin: 0.75rem 0 0;
  max-width: 46ch;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .calculator-grid,
  .contact-grid,
  .compliance-banner {
    grid-template-columns: 1fr;
  }

  .calc-summary {
    position: static;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.25rem 4%;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2,
  .option-grid,
  .radio-row,
  .form-row,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-header {
    flex-direction: column;
  }

  .price-box {
    text-align: left;
  }
}
