/* MDB Grupo Comercial · Predio industrial Gachancipá
   Concepto: ficha corporativa sobria. Blanco y azul institucional, el dorado solo marca acción y datos.
   Layout: columna de 1200px alineada a la izquierda, mucho aire, fotografía aérea como protagonista. */
:root {
  --bg: #ffffff;
  --surface: #f4f6f9;
  --raised: #ffffff;
  --heading: #0b2345;
  --text: #2a3750;
  --muted: #5b6982;
  --line: #e1e6ee;
  --gold: #d0a027;
  --gold-ink: #8a6912;
  --btn-bg: #0b2345;
  --btn-fg: #ffffff;
  --btn-hover: #17386a;
  --band: #0b2345;
  --band-text: #d7dfeb;
  --band-line: rgba(255, 255, 255, 0.14);
  --navy-fixed: #0b2345;
  --overlay: rgba(4, 12, 26, 0.92);
  --ok: #1f7a4d;
  --err: #b42318;
  --focus: #d0a027;
  --shadow: 0 1px 2px rgba(11, 35, 69, 0.06), 0 12px 32px -12px rgba(11, 35, 69, 0.16);

  --f-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --f-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --r-sm: 8px;
  --r: 14px;
  --maxw: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #07142a;
    --surface: #0b1c36;
    --raised: #0f2343;
    --heading: #eef2f8;
    --text: #c8d2e2;
    --muted: #93a2ba;
    --line: #1b3152;
    --gold: #ddb04a;
    --gold-ink: #e3bd62;
    --btn-bg: #ddb04a;
    --btn-fg: #0b2345;
    --btn-hover: #e8c26a;
    --band: #0c1f3d;
    --band-text: #c8d2e2;
    --band-line: rgba(255, 255, 255, 0.1);
    --ok: #4cc38a;
    --err: #ff8a7a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #07142a;
  --surface: #0b1c36;
  --raised: #0f2343;
  --heading: #eef2f8;
  --text: #c8d2e2;
  --muted: #93a2ba;
  --line: #1b3152;
  --gold: #ddb04a;
  --gold-ink: #e3bd62;
  --btn-bg: #ddb04a;
  --btn-fg: #0b2345;
  --btn-hover: #e8c26a;
  --band: #0c1f3d;
  --band-text: #c8d2e2;
  --band-line: rgba(255, 255, 255, 0.1);
  --ok: #4cc38a;
  --err: #ff8a7a;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 40; background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); color: var(--heading); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.small { font-size: 0.9375rem; color: var(--muted); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 64px);
  margin-inline: auto;
  padding-left: max(var(--gutter), 2rem);
  padding-right: max(var(--gutter-r), 2rem);
}
@media (max-width: 640px) {
  .wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 10px;
  font: 600 0.9375rem/1.2 var(--f-display); letter-spacing: 0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-quiet { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--heading); }
.btn-block { width: 100%; }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-wa:hover { background: #18733f; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; flex: none; }
.logo { width: 150px; height: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo-light { display: none; }
  :root:not([data-theme='light']) .logo-dark { display: block; }
}
:root[data-theme='dark'] .logo-light { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 500 0.9375rem var(--f-display); text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--heading); }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font: 600 0.8125rem var(--f-display); text-decoration: none; color: var(--muted); padding: 5px 11px; border-radius: 999px; }
.lang a[aria-current='page'] { background: var(--surface); color: var(--heading); }
.theme {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px;
  background: transparent; color: var(--heading); border: 1px solid var(--line); cursor: pointer;
}
.theme:hover { border-color: var(--heading); }
.i-moon { display: block; } .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .i-moon { display: none; }
  :root:not([data-theme='light']) .i-sun { display: block; }
}
:root[data-theme='dark'] .i-moon { display: none; }
:root[data-theme='dark'] .i-sun { display: block; }
@media (max-width: 1020px) { .nav { display: none; } .tools { margin-left: auto; } }
@media (max-width: 520px) { .hide-sm { display: none; } .logo { width: 128px; } }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-copy { max-width: 860px; }
.hero h1 {
  font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.4rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -0.035em;
}
.hero .lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-width: 40em; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ''; width: 18px; height: 1px; background: var(--gold); flex: none; }
.hero-media { position: relative; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface); max-width: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(7, 20, 42, 0.72); color: #fff; font-size: 0.8125rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
@media (max-width: 720px) { .hero-media { aspect-ratio: 4 / 3; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dd { font: 400 clamp(1.9rem, 1.3rem + 2vw, 2.9rem)/1 var(--f-display); color: var(--heading); letter-spacing: -0.03em; }
.fact dd small { font-size: 0.42em; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.fact dt { font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
}

/* Secciones */
.section { padding-block: clamp(64px, 8vw, 112px); }
.tint { background: var(--surface); }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.sec-head p { color: var(--muted); font-size: 1.0625rem; }
.sec-head h2::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 20px; }

/* Lotes */
.lots { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.plan svg { width: 100%; height: auto; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.plan figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.lot-shape { fill: rgba(208, 160, 39, 0); stroke: rgba(255, 255, 255, 0); stroke-width: 3; cursor: pointer; transition: fill 0.2s, stroke 0.2s; }
.lot-shape:hover, .lot-shape.on { fill: rgba(208, 160, 39, 0.38); stroke: #d0a027; }
.lot-tag { pointer-events: none; }
.lot-tag rect { fill: #0b2345; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.lot-tag text { fill: #fff; font: 600 17px var(--f-display); letter-spacing: 0.02em; }
.lot-tag.on rect { fill: #d0a027; stroke: #0b2345; }
.lot-tag.on text { fill: #0b2345; }

.lot-panel { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--raised); }
.lot { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.lot-pick {
  flex: 1; min-width: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 2px 16px; align-items: baseline;
  text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 18px 8px 18px 22px; cursor: pointer;
  position: relative;
}
.lot-pick::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.lot-pick:hover .lot-name { color: var(--heading); }
.lot-pick[aria-pressed='true']::before { background: var(--gold); }
.lot-pick[aria-pressed='true'] .lot-name { color: var(--heading); }
.lot-name { font: 600 0.9375rem var(--f-display); color: var(--muted); }
.lot-area { font: 500 1.5rem/1.2 var(--f-display); color: var(--heading); letter-spacing: -0.02em; }
.lot-area small { font-size: 0.6em; color: var(--muted); letter-spacing: 0; }
.lot-detail { grid-column: 2; font-size: 0.9375rem; color: var(--muted); }
.lot-ask {
  flex: none; margin-right: 18px; font: 600 0.875rem var(--f-display); color: var(--gold-ink);
  text-decoration: none; padding: 8px 2px; border-bottom: 1px solid transparent;
}
.lot-ask:hover { border-bottom-color: currentColor; }
.lot-total { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 20px 18px 20px 22px; background: var(--surface); }
.lot-total .lot-name { color: var(--heading); grid-column: 1 / -1; }
.lot-total .lot-area { grid-column: 1 / 3; }
.lot-total .lot-detail { grid-column: 1 / 3; }
.lot-total .lot-ask { grid-column: 3; grid-row: 2; margin: 0; }
@media (max-width: 960px) { .lots { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .lot-pick { grid-template-columns: 58px minmax(0, 1fr); padding-left: 18px; } .lot-area { font-size: 1.3rem; } }

/* Norma y servicios */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.split .sec-head { margin-bottom: 28px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.specs { border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 0.9375rem; }
.specs dd { color: var(--heading); font-weight: 600; }
@media (max-width: 480px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }
.services { display: grid; gap: 4px; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.svc-icon { color: var(--gold-ink); padding-top: 2px; }
.services h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.services p { color: var(--muted); font-size: 0.9875rem; }

/* Ubicación */
.loc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.loc-media img { width: 100%; border-radius: var(--r); aspect-ratio: 1152 / 750; object-fit: cover; }
.loc-media figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
.dist h3 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.dist ul { display: flex; flex-direction: column; gap: 22px; }
.dist-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.dist-name { font: 600 1.0625rem var(--f-display); color: var(--heading); }
.dist-name small { font: 400 0.875rem var(--f-body); color: var(--muted); margin-left: 10px; }
.dist-val { font: 500 1.25rem var(--f-display); color: var(--heading); white-space: nowrap; }
.dist-bar { display: block; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; max-width: 100%; }
.video picture, .video img { width: 100%; height: 100%; object-fit: cover; }
.video img { filter: brightness(0.72); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: #fff; text-decoration: none; font: 600 1rem var(--f-display); cursor: pointer;
}
.video-play svg { transition: transform 0.2s; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
.video-play:hover svg { transform: scale(1.05); }
.video-play span { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g-item { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.g-item:hover img { transform: scale(1.03); }
.g-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; background: rgba(7, 20, 42, 0.7); color: #fff; opacity: 0; transition: opacity 0.2s;
}
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--overlay); color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.lb-count { font: 500 0.9375rem var(--f-display); color: #c8d2e2; }
.lb-fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 72px calc(24px + env(safe-area-inset-bottom, 0px)); min-height: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lb-fig figcaption { font-size: 0.9375rem; color: #c8d2e2; text-align: center; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) {
  .lb-fig { padding-inline: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-fig { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* Proceso */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.process li { padding: 28px 28px 0 0; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-ink); font: 600 0.875rem var(--f-display); margin-bottom: 18px; }
.process h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 28px; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 24px 0 0; border-left: 0; }
  .process li + li { border-top: 1px solid var(--line); margin-top: 24px; }
}

/* Contacto */
.contact { background: var(--band); color: var(--band-text); padding-block: clamp(64px, 8vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.contact h2::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.contact .lead { margin-top: 18px; font-size: 1.0625rem; color: var(--band-text); }
.contact h3 { color: #fff; font-size: 0.9375rem; font-weight: 600; margin: 36px 0 14px; }
.docs { display: flex; flex-direction: column; gap: 10px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; }
.docs svg { color: #ddb04a; flex: none; margin-top: 4px; }
.advisor { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--band-line); display: flex; flex-direction: column; gap: 2px; font-size: 0.9375rem; }
.advisor-name { font: 600 1.0625rem var(--f-display); color: #fff; }
.advisor-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.advisor-phone a { font: 600 1.0625rem var(--f-display); color: #ddb04a; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.advisor-phone a:hover { text-decoration: underline; }
.contact .small { color: #9fb0c8; margin-top: 16px; }

.form-card { background: var(--raised); color: var(--text); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label { font: 600 0.875rem var(--f-display); color: var(--heading); }
.field input[type='text'], .field input[type='email'], .field input[type='tel'], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--heading);
  font: 400 1rem/1.4 var(--f-body); transition: border-color 0.15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b6982' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.field [aria-invalid='true'] { border-color: var(--err); }
.err { font-size: 0.8125rem; color: var(--err); min-height: 0; }
.err:empty { display: none; }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #0b2345; flex: none; }
.check label { font: 400 0.9rem/1.5 var(--f-body); color: var(--muted); flex: 1; min-width: 0; }
.check label a { color: var(--heading); }
.check .err { flex-basis: 100%; padding-left: 32px; }
.broker-note { font-size: 0.875rem; color: var(--muted); background: var(--surface); border-radius: var(--r-sm); padding: 10px 14px; border-left: 3px solid var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 18px 0 0; color: var(--err); font-size: 0.9375rem; }
#lead-form .btn-block { margin-top: 22px; }
.cf-turnstile { min-height: 65px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0; }
.form-ok:focus { outline: none; }
.ok-mark { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.ok-mark svg { width: 22px; height: 22px; }
.contact .form-ok h3 { font-size: 1.5rem; font-weight: 500; color: var(--heading); margin: 0; }
.form-ok p { color: var(--muted); }
.ok-ref strong { color: var(--heading); font-family: var(--f-display); }
.form-ok .btn { margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 0.9375rem; color: var(--muted); }
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand .logo { width: 132px; }
.foot-legal { max-width: 38rem; font-size: 0.875rem; }
.foot-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.foot-links a { color: var(--heading); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } .foot-links { align-items: flex-start; text-align: left; } }

/* Cookies */
.cookie {
  position: fixed; z-index: 50; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-inline: auto; background: var(--raised); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center;
}
.cookie p { font-size: 0.9375rem; flex: 1 1 260px; }
.cookie-btns { display: flex; gap: 8px; }

/* Política */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; margin: 20px 0 8px; }
.legal h2 { font-size: 1.125rem; font-weight: 600; margin: 32px 0 8px; }
.legal p { color: var(--text); }
.back { font: 600 0.9375rem var(--f-display); color: var(--gold-ink); text-decoration: none; }

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