:root {
  --bg: #0a0a0b;
  --bg-soft: #131315;
  --panel: #111214;
  --panel-2: #17181c;
  --panel-3: #1d1f24;
  --line: rgba(243, 199, 78, 0.16);
  --line-strong: rgba(243, 199, 78, 0.34);
  --gold: #f3c74e;
  --gold-strong: #ffdb72;
  --gold-soft: rgba(243, 199, 78, 0.12);
  --text: #f6f1df;
  --text-2: #ddd2b0;
  --muted: #b6ab8b;
  --muted-2: #8f8770;
  --success: #66d3a3;
  --success-bg: rgba(90, 204, 150, 0.14);
  --warning: #f5c66a;
  --warning-bg: rgba(245, 198, 106, 0.14);
  --whatsapp: #2ad66d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(243, 199, 78, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(243, 199, 78, 0.07), transparent 24%),
    linear-gradient(180deg, #080809 0%, #0d0d0f 100%);
  color: var(--text);
}
button, input { font: inherit; }
a { color: inherit; }
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(243, 199, 78, 0.04), transparent 45%),
    linear-gradient(315deg, rgba(243, 199, 78, 0.03), transparent 35%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  min-height: 86px;
  padding: 16px clamp(18px, 4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 199, 78, 0.1);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(243,199,78,0.12));
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  overflow: hidden;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gold-strong);
  font-weight: 900;
  letter-spacing: -.06em;
  font-size: 1.1rem;
}
.brand-copy strong,
.brand-copy small { display: block; }
.brand-copy strong {
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .77rem;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-schedule {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: .77rem;
  white-space: nowrap;
}
.header-whatsapp,
.direct-whatsapp-button,
.primary-button,
.whatsapp-button {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(243, 199, 78, 0.28);
  background: linear-gradient(180deg, rgba(243,199,78,0.18), rgba(243,199,78,0.08));
  color: var(--gold-strong);
  text-decoration: none;
  font-weight: 800;
  font-size: .84rem;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.header-whatsapp:hover,
.direct-whatsapp-button:hover,
.primary-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
}
.shell {
  width: min(1440px, calc(100% - 28px));
  margin: 22px auto 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(360px, 510px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.form-panel,
.map-panel {
  min-height: calc(100vh - 170px);
}
.form-panel-inner,
.map-card {
  height: 100%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 26%),
    linear-gradient(180deg, #101114 0%, #0d0e10 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-panel-inner {
  padding: clamp(24px, 4vw, 34px);
}
.intro .tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(243, 199, 78, 0.16);
  color: var(--gold-strong);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 18px 0 12px;
  color: var(--text);
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  letter-spacing: -.06em;
  line-height: 1.02;
}
.intro p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.75;
  font-size: .97rem;
}
.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 26px 0 30px;
}
.hero-points article {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-points strong,
.hero-points span { display: block; }
.hero-points strong {
  color: var(--text);
  font-size: .84rem;
}
.hero-points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}
.field { margin: 0 0 18px; }
.field label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
}
.field label span,
.field label strong {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.field label span { color: var(--muted); }
.field label strong { color: var(--gold-strong); }
input[type="text"],
input[type="tel"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 15px;
  outline: none;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  transition: border .15s, box-shadow .15s, background .15s;
}
input::placeholder { color: #8a8373; }
input:focus {
  border-color: rgba(243, 199, 78, 0.48);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 4px rgba(243, 199, 78, 0.08);
}
.help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .74rem;
}
.search-wrap { position: relative; }
.suggestions {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 235px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  background: #141519;
  box-shadow: 0 20px 45px rgba(0,0,0,.42);
}
.suggestion {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
}
.suggestion:hover { background: rgba(243, 199, 78, 0.07); }
.suggestion:last-child { border-bottom: 0; }
.package-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 22px;
  padding: 15px;
  border: 1px solid rgba(243, 199, 78, 0.14);
  border-radius: 16px;
  background: rgba(243, 199, 78, 0.05);
  cursor: pointer;
}
.package-check input {
  margin-top: 4px;
  accent-color: var(--gold);
}
.package-check strong,
.package-check small { display: block; }
.package-check strong {
  color: var(--text);
  font-size: .84rem;
}
.package-check small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .73rem;
}
.primary-button,
.whatsapp-button,
.direct-whatsapp-button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}
.primary-button {
  width: 100%;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #16110a;
  box-shadow: 0 14px 30px rgba(243, 199, 78, 0.22);
}
.primary-button:hover {
  box-shadow: 0 18px 34px rgba(243, 199, 78, 0.28);
}
.primary-button:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}
.form-error {
  margin: 12px 0 0;
  color: #ff9696;
  font-size: .82rem;
}
.direct-whatsapp-card,
.quote-card,
.info-grid article {
  border-radius: 18px;
}
.direct-whatsapp-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
}
.direct-whatsapp-card small,
.direct-whatsapp-card strong,
.direct-whatsapp-card p {
  display: block;
}
.direct-whatsapp-card small {
  color: var(--gold-strong);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.direct-whatsapp-card strong {
  margin-top: 7px;
  color: var(--text);
  font-size: 1rem;
}
.direct-whatsapp-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6;
}
.direct-whatsapp-button,
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
}
.direct-whatsapp-button,
.whatsapp-button {
  background: linear-gradient(180deg, #34e37b, #26cc67);
  color: #092b13;
  box-shadow: 0 14px 30px rgba(38, 204, 103, 0.18);
}
.quote-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(90, 204, 150, 0.22);
  background: linear-gradient(180deg, rgba(90, 204, 150, 0.12), rgba(90, 204, 150, 0.04));
}
.quote-card.consult {
  border-color: rgba(245, 198, 106, 0.26);
  background: linear-gradient(180deg, rgba(245, 198, 106, 0.12), rgba(245, 198, 106, 0.04));
}
.quote-card > div:nth-child(2) {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 60px);
}
.quote-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 900;
}
.quote-card.consult .quote-icon {
  background: var(--warning-bg);
  color: var(--warning);
}
.quote-card small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.quote-card strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 2rem;
}
.quote-card p {
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: .86rem;
  line-height: 1.55;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.info-grid article {
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.info-grid strong {
  color: var(--text);
  font-size: .82rem;
}
.info-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.55;
}
.map-card {
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.map-kicker {
  display: block;
  color: var(--gold-strong);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.map-header h2 {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 1.2rem;
  letter-spacing: -.03em;
}
.map-badge {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(243, 199, 78, 0.18);
  background: rgba(243, 199, 78, 0.08);
  color: var(--gold-strong);
  font-size: .76rem;
  font-weight: 800;
}
#map {
  position: relative;
  flex: 1;
  min-height: 640px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #dfe9ec;
}
.map-note {
  position: absolute;
  z-index: 500;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(10, 10, 11, 0.82);
  color: var(--text-2);
  font-size: .75rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243,199,78,0.12);
}
.map-note span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(243, 199, 78, 0.12);
}
.delivery-pin-wrap {
  background: transparent;
  border: 0;
}
.delivery-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #14110a;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  border: 2px solid rgba(10,10,11,0.25);
}
.zone-label {
  background: rgba(10, 10, 11, 0.92);
  border: 1px solid rgba(243, 199, 78, 0.2);
  color: var(--gold-strong);
  border-radius: 999px;
  padding: 3px 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.zone-label div {
  font-weight: 800;
  font-size: .75rem;
}
.leaflet-container a {
  color: #144f75;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: min(1440px, calc(100% - 28px));
  margin: 16px auto 26px;
  padding: 0 6px;
  color: #9f977f;
  font-size: .76rem;
}

@media (max-width: 1140px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .form-panel,
  .map-panel { min-height: auto; }
  .map-card { min-height: 760px; }
}

@media (max-width: 780px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .topbar-schedule {
    white-space: normal;
  }
  .shell {
    width: min(100% - 18px, 1440px);
    margin-top: 14px;
  }
  .form-panel-inner,
  .map-card {
    border-radius: 22px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  #map {
    min-height: 520px;
  }
  .map-note {
    left: 26px;
    right: 26px;
    bottom: 26px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding-inline: 14px;
  }
  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .header-whatsapp,
  .topbar-schedule { width: 100%; justify-content: center; text-align: center; }
  .shell {
    width: min(100% - 12px, 1440px);
  }
  .form-panel-inner,
  .map-card {
    padding: 18px;
  }
  h1 {
    font-size: 1.85rem;
  }
  .quote-card strong {
    font-size: 1.7rem;
  }
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-badge {
    align-self: flex-start;
  }
}
