:root {
  /* Light is the default theme; dark applies only when the visitor picks it (data-theme="dark" on <html>). */
  --bg: #f4f7fa;
  --bg-2: #e8eef3;
  --panel: #ffffff;
  --line: rgba(16, 44, 70, 0.12);
  --line-strong: rgba(16, 44, 70, 0.26);
  --text: #0b1724;
  --muted: #4d6072;
  --sky: #0a6fae;
  --green: #0b8a56;
  --accent-grad: linear-gradient(120deg, #1fc183 0%, #2aa9ec 100%);
  --on-accent: #04110c;
  --header-bg: rgba(244, 247, 250, 0.84);
  --glow: rgba(11, 138, 86, 0.09);
  --wa: #25d366;
  --radius: 14px;
  --wrap: 1160px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #05080d; --bg-2: #0a111a; --panel: #0e1824;
  --line: rgba(148, 197, 230, 0.14); --line-strong: rgba(148, 197, 230, 0.32);
  --text: #e8f1f8; --muted: #93a7b8; --sky: #8fd3ff; --green: #3ddc97;
  --accent-grad: linear-gradient(120deg, #3ddc97 0%, #4cc3ff 100%);
  --header-bg: rgba(5, 8, 13, 0.78); --glow: rgba(61, 220, 151, 0.13);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font: 500 12px/1 var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font: 600 19px/1 var(--font-head); letter-spacing: -0.02em; }
.brand__name span { color: var(--muted); font-weight: 500; }
.brand--sm .brand__mark { width: 26px; height: 26px; }
.brand--sm .brand__name { font-size: 16px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a { font: 600 12px/1 var(--font-head); padding: 7px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--text); color: var(--bg); }
.nav__links .nav__cta, .nav__cta {
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent-grad); color: var(--on-accent);
}
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn svg { margin: auto; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.theme-btn:hover { color: var(--text); border-color: var(--line-strong); }
.theme-btn svg:first-child { display: none; }
:root[data-theme="dark"] .theme-btn svg:first-child { display: block; }
:root[data-theme="dark"] .theme-btn svg:last-child { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links > a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links .nav__tools { margin-top: 18px; }
  .nav__links .nav__cta { margin-top: 16px; border-bottom: 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
/* The hero is a live drone feed: it stays dark in both themes, so it carries its own copy of the dark tokens. */
.hero {
  --bg: #05080d; --bg-2: #0a111a; --line: rgba(148, 197, 230, 0.14); --line-strong: rgba(148, 197, 230, 0.32);
  --text: #e8f1f8; --muted: #93a7b8; --sky: #8fd3ff; --green: #3ddc97;
  --accent-grad: linear-gradient(120deg, #3ddc97 0%, #4cc3ff 100%);
  background: var(--bg); color: var(--text); color-scheme: dark;
}
.hero__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(5,8,13,.15), var(--bg) 85%),
    linear-gradient(to bottom, transparent 60%, var(--bg));
}
.hero__inner { position: relative; z-index: 1; padding: 112px 20px 120px; }
.hero .hero__title { font-size: clamp(40px, 7vw, 84px); font-weight: 600; max-width: 13ch; margin: 22px 0 22px; }
.hero .hero__title em { font-style: normal; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-grad); color: var(--on-accent); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--sky); }

.hud {
  position: absolute; z-index: 1; right: 20px; bottom: 28px;
  font: 500 11px/1.7 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-align: right;
}
.hud b { color: var(--green); font-weight: 500; }
@media (max-width: 640px) { .hud { display: none; } .hero__inner { padding: 80px 20px 88px; } }

/* ---------- sectors strip ---------- */
.sectors { border-bottom: 1px solid var(--line); }
.sectors__row { display: grid; grid-template-columns: repeat(2, 1fr); }
.sector { padding: 34px 20px; display: flex; gap: 18px; align-items: flex-start; }
.sector + .sector { border-left: 1px solid var(--line); }
.sector__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--sky); }
.sector h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.sector p { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) {
  .sectors__row { grid-template-columns: 1fr; }
  .sector + .sector { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; margin-top: 16px; max-width: 16ch; }
.section__head p { color: var(--muted); max-width: 44ch; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--bg); padding: 36px 32px 34px; position: relative; transition: background .25s; }
.service:hover { background: var(--panel); }
.service__num { font: 500 13px/1 var(--font-head); color: var(--muted); letter-spacing: .1em; }
.service__icon { color: var(--green); margin: 26px 0 20px; }
.service h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.service p { color: var(--muted); margin-bottom: 22px; }
.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { padding: 30px 22px; } }

/* process */
.process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 600 14px/1 var(--font-head); color: var(--green); margin-bottom: 18px; }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; margin: 16px 0 18px; }
.contact__lede { color: var(--muted); margin-bottom: 28px; max-width: 40ch; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.contact__list li { display: flex; gap: 12px; align-items: center; }
.contact__list svg { color: var(--green); flex: none; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; transition: border-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2393a7b8' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; width: 100%; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .form { padding: 22px; } .form__row { grid-template-columns: 1fr; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer__tagline { font: 500 14px/1.4 var(--font-head); color: var(--muted); }
.footer a { color: var(--text); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--green); }
.footer__tagline a { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.footer__links a[aria-current="page"] { color: var(--green); }
.footer__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

/* ---------- legal pages ---------- */
.legal__body { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; margin: 16px 0 10px; }
.legal__date { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal__intro { font-size: 19px; color: var(--text); margin-bottom: 12px; }
.legal section { padding-top: 30px; }
.legal h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a:not(.btn) { color: var(--green); }
.legal__contact { margin: 36px 0 28px !important; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }

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

/* ---------- 3D hero ---------- */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; cursor: crosshair; }
.hero--3d .hero__canvas { opacity: 1; }
.hero--3d .hero__map { opacity: 0; transition: opacity 1.2s ease; }
.hero { min-height: min(88vh, 860px); display: flex; align-items: center; }
.hero__inner { pointer-events: none; }
.hero__inner a { pointer-events: auto; }
.hero::after {
  background:
    linear-gradient(90deg, rgba(5,8,13,.92) 0%, rgba(5,8,13,.55) 38%, transparent 62%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero::after { background: linear-gradient(to bottom, rgba(5,8,13,.9) 0%, rgba(5,8,13,.6) 45%, transparent 70%, var(--bg)); }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.hero.is-flash::before { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }

.hud { z-index: 3; pointer-events: none; }
.hud b { font-variant-numeric: tabular-nums; display: inline-block; min-width: 5ch; text-align: left; }
.hud__rec { color: #ff4d5e; margin-right: 6px; }
.hud__rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: blink 1.2s steps(2, start) infinite; }
.hud__tap { color: var(--sky); opacity: 0; transition: opacity .6s; }
.hero--3d .hud__tap { opacity: .9; }
@keyframes blink { to { visibility: hidden; } }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid var(--line-strong); border-radius: 12px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--green); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- service card glow ---------- */
.service { overflow: hidden; }
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 60%);
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service__icon svg { transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.service:hover .service__icon svg { transform: rotate(-8deg) scale(1.15); }

/* ---------- process flyer ---------- */
.process .wrap { position: relative; }
.flyer { position: relative; height: 56px; margin-bottom: -6px; }
.flyer__drone { position: absolute; left: 0; top: 0; color: var(--green); transform: translateX(var(--fx, 0px)) rotate(var(--fr, 0deg)); filter: drop-shadow(0 0 10px rgba(61,220,151,.5)); }
.flyer__drone .rotor { transform-box: fill-box; }
.flyer__drone .rotor circle { stroke-dasharray: 4 3; animation: spin .35s linear infinite; transform-box: fill-box; transform-origin: center; }
.flyer__drone svg { animation: hover 2.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hover { 50% { transform: translateY(-5px); } }
.step { transition: border-color .4s; }
.step.is-passed { border-top-color: var(--green); }
.step.is-passed::before { text-shadow: 0 0 12px rgba(61,220,151,.7); }
@media (max-width: 900px) { .flyer { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .flyer__drone svg, .flyer__drone .rotor circle, .hero__scroll::after { animation: none; }
}

/* ---------- pricing ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pricing { background: var(--bg); border-bottom: 1px solid var(--line); }
.btn--xs { padding: 8px 13px; font-size: 13px; white-space: nowrap; }
.btn--ghost.is-on { border-color: var(--green); color: var(--green); }
.btn--wa { background: var(--wa); color: var(--on-accent); justify-content: center; width: 100%; }
.btn--wa[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.pkgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.pkg { display: grid; gap: 20px; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-width: 0; }
.pkg--feat { background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--accent-grad) border-box; border-color: transparent; }
.pkg__top { display: grid; gap: 8px; }
.pkg__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pkg h3 { font-size: 22px; font-weight: 600; }
.pkg__tag { font: 600 11px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent-grad); color: var(--on-accent); white-space: nowrap; }
.pkg__tag--line { background: none; color: var(--sky); border: 1px solid currentColor; }
.pkg__for { color: var(--muted); font-size: 14px; }
.pkg__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.pkg__price strong { font: 600 42px/1 var(--font-head); letter-spacing: -0.03em; }
.pkg__price span { color: var(--muted); font-size: 13px; }
.pkg__price .pkg__mxn { width: 100%; font: 500 13px/1.3 var(--font-head); color: var(--sky); }
.pkg__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pkg__specs div { background: var(--bg-2); padding: 9px 11px; display: grid; gap: 2px; }
.pkg__specs dt { font: 500 10.5px/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pkg__specs dd { margin: 0; font: 600 14px/1.3 var(--font-head); font-variant-numeric: tabular-nums; }
.pkg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pkg__list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.pkg__list svg { color: var(--green); margin-top: 3px; }
.pkg .btn { justify-content: center; width: 100%; }
@media (max-width: 1100px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pkgs { grid-template-columns: minmax(0, 1fr); } }

.pricing__block { margin-top: 72px; }
.pricing__sub { display: grid; gap: 10px; margin-bottom: 22px; }
.pricing__sub h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.pricing__sub p { color: var(--muted); max-width: 60ch; }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.addons { width: 100%; border-collapse: collapse; min-width: 620px; }
.addons th, .addons td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.addons tr:last-child td { border-bottom: 0; }
.addons th { font: 500 11px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.addons td:first-child { font-weight: 600; }
.addons__note { color: var(--muted); font-size: 14px; }
.addons .addons__amt { text-align: right; font: 600 15px/1.4 var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addons__act { text-align: right; width: 1%; }
@media (max-width: 640px) {
  .addons { min-width: 0; }
  .addons thead { display: none; }
  .addons tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name amt" "note note" "act act"; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .addons tr:last-child { border-bottom: 0; }
  .addons td { padding: 0; border: 0; }
  .addons td:first-child { grid-area: name; }
  .addons .addons__amt { grid-area: amt; }
  .addons__note { grid-area: note; }
  .addons__act { grid-area: act; text-align: left; width: auto; padding-top: 8px !important; }
}

.plan { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 34px 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-strong); }
.plan h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin-top: 14px; }
.plan p { color: var(--muted); margin-top: 12px; max-width: 54ch; }
.plan__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan__rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.plan__r { display: flex; align-items: center; gap: 12px; }
.plan__r b { font-family: var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }

.terms { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.terms div { padding-top: 18px; border-top: 1px solid var(--line-strong); min-width: 0; }
.terms h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.terms p { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .plan { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; } .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .terms { grid-template-columns: minmax(0, 1fr); } }

/* quote builder */
.quote { margin-top: 88px; scroll-margin-top: 88px; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.quote__lines { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-width: 0; }
.qline { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.qline:last-child { border-bottom: 0; }
.qline__name { font-weight: 600; min-width: 0; }
.qline__name small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.qline__sum { font: 600 15px/1 var(--font-head); font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.qstep { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; }
.qstep button { width: 30px; height: 30px; background: none; border: 0; color: var(--text); cursor: pointer; font-size: 16px; line-height: 1; }
.qstep output { min-width: 22px; text-align: center; font: 600 14px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.qline__rm { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; width: 28px; height: 28px; border-radius: 6px; }
.qline__rm:hover { color: var(--text); }
.quote__empty { padding: 36px 20px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.quote__empty b { font-family: var(--font-head); font-size: 17px; }
.quote__empty p { color: var(--muted); font-size: 14px; max-width: 42ch; }
.quote__sum { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-strong); min-width: 0; }
.quote__totals { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.quote__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.quote__grand { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.quote__grand span { font: 600 16px/1 var(--font-head); }
.quote__grand strong { font: 600 30px/1 var(--font-head); letter-spacing: -0.02em; }
.quote__mxn { text-align: right; font: 600 16px/1.2 var(--font-head); color: var(--sky); }
.quote__rate { text-align: right; font-size: 12px; color: var(--muted); }
.quote__fields { display: grid; gap: 14px; }
.quote__fields .field textarea { min-height: 76px; }
.quote__tools { display: flex; gap: 10px; }
.quote__tools .btn { flex: 1; justify-content: center; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .qline { grid-template-columns: minmax(0, 1fr) auto auto; }
  .qline__name { grid-column: 1 / -1; }
  .qstep { justify-self: start; }
}

.qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
.qbar__in { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.qbar__sum { display: grid; gap: 2px; min-width: 0; font-variant-numeric: tabular-nums; }
.qbar__sum b { font: 600 18px/1.1 var(--font-head); }
.qbar__sum span { font-size: 12.5px; color: var(--muted); }
.qbar .btn { padding: 12px 18px; font-size: 14px; }
body.has-qbar { padding-bottom: 80px; }

.contact__wa { margin-top: 24px; color: var(--muted); font-size: 15px; }
.contact__wa a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.contact__wa a svg { color: var(--wa); }
.contact__wa a:hover { color: var(--green); }

/* ---------- promo (real estate video, top of home) ---------- */
.promo { padding: 64px 0 80px; border-bottom: 1px solid var(--line); background: var(--bg); }
.promo__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.promo h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; margin: 20px 0 20px; text-wrap: balance; }
.promo h1 em { font-style: normal; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo__lede { color: var(--muted); font-size: 18px; max-width: 48ch; }
.promo .hero__actions { margin-top: 30px; }
.promo .btn--ghost svg { color: var(--wa); }
.promo__media { position: relative; min-width: 0; }
.promo__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #05080d; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -30px rgba(5, 8, 13, 0.55); object-fit: cover; }
.promo__sound { position: absolute; right: 14px; top: 14px; font: 600 13px/1 var(--font-head); padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(232, 241, 248, 0.35); background: rgba(5, 8, 13, 0.7); color: #e8f1f8; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.promo__sound:hover { border-color: #e8f1f8; }
@media (max-width: 900px) {
  .promo { padding: 40px 0 56px; }
  .promo__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- construction page: 3 services + quote line ---------- */
.services--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .services--3 { grid-template-columns: 1fr; } }
.services__quote { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.services__quote svg { color: var(--green); flex: none; }

/* ---------- home: link banner to the construction page ---------- */
.xlink { padding: 56px 0 8px; }
.xlink__inner { display: flex; align-items: center; gap: 22px; padding: 26px 30px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); }
.xlink__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--sky); }
.xlink__text { flex: 1; min-width: 0; }
.xlink__text h2 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.xlink__text p { color: var(--muted); font-size: 15px; }
.xlink .btn { flex: none; }
@media (max-width: 760px) {
  .xlink__inner { flex-direction: column; align-items: flex-start; padding: 22px; }
  .xlink .btn { width: 100%; justify-content: center; }
}
