/* =====================================================
   D'Alembert Construction Miami — Flood Protection
   Mobile-first, vanilla CSS
   ===================================================== */

:root {
  --bg: #0D0D0D;
  --bg-warm: #150C0C;
  --champagne: #E8DCC0;
  --gold: #C8A96B;
  --gold-light: #d8bd84;
  --gold-dark: #8B6A2E;
  --bronze: #8B7355;
  --text-light: #EDE7DA;
  --text-bright: #F4EFE4;
  --text-dim: rgba(237, 231, 218, 0.72);
  --text-dimmer: rgba(237, 231, 218, 0.64);
  --text-soft: rgba(237, 231, 218, 0.6);
  --text-mute: rgba(237, 231, 218, 0.5);
  --text-faint: rgba(237, 231, 218, 0.45);
  --text-ghost: rgba(237, 231, 218, 0.4);
  --border-gold: rgba(200, 169, 107, 0.16);
  --border-gold-soft: rgba(200, 169, 107, 0.22);
  --border-gold-mid: rgba(200, 169, 107, 0.3);
  --ink: #1E1410;
  --ink-soft: #3a2a20;
  --ink-dim: rgba(30, 20, 16, 0.72);
  --ink-mute: rgba(30, 20, 16, 0.5);
  --champagne-rule: rgba(139, 115, 85, 0.4);
  --shadow-headline: 0 2px 28px rgba(0, 0, 0, 0.45);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
}

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

/* Make the [hidden] attribute win over any author display: rules.
   Without this, .form-success {display:flex} overrides UA's [hidden]{display:none}
   and the success screen shows on initial load. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
input, textarea, button, select { font-family: inherit; }
textarea { resize: vertical; }
::placeholder { color: rgba(237, 231, 218, 0.32); }
input:focus, textarea:focus { outline: none; border-color: var(--gold) !important; }
button { background: none; border: none; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

@keyframes faqin {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 64px);
  background: rgba(13, 13, 13, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}
.brand-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: clamp(34px, 5vw, 44px); width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); }
.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold); }
.cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  text-decoration: none;
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s ease;
  white-space: nowrap;
}
.cta-outline:hover, .cta-outline:focus-visible { background: rgba(200, 169, 107, 0.1); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: var(--bg-warm);
  padding: 0;
  height: clamp(560px, 90vh, 920px);
  display: flex;
  flex-direction: column;
}
.hero-media {
  position: relative;
  flex: 3 1 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  line-height: 0;
}
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 22%,
    rgba(0, 0, 0, 0.08) 45%,
    transparent 64%);
}
.hero-headline {
  position: absolute;
  bottom: clamp(20px, 4.5vw, 56px);
  left: clamp(16px, 5vw, 64px);
  right: clamp(16px, 5vw, 64px);
  line-height: 0;
}
.hero-title {
  font-family: inherit;
  font-size: clamp(28px, 5.9vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  text-shadow: var(--shadow-headline);
}
.hero-title-line { display: block; }
.hero-title-soft { font-weight: 400; color: #E8DCC0; }
.hero-title-strong { font-weight: 800; color: #FFFFFF; }
@media (min-width: 720px) {
  .hero-title { white-space: nowrap; }
}

.hero-band {
  flex: 0 0 auto;
  background: var(--bg-warm);
  padding: clamp(14px, 1.3vw, 16px) clamp(16px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-tag {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(237, 231, 218, 0.7);
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 26px;
  background: var(--gold);
  color: var(--bg-warm);
  text-decoration: none;
  font-size: clamp(13px, 1.4vw, 14px);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.cta-primary:hover, .cta-primary:focus-visible { background: var(--gold-light); }
.cta-arrow { font-size: 17px; transform: translateY(-1px); }

/* =====================================================
   COUNTDOWN
   ===================================================== */
.countdown {
  background: var(--bg);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: clamp(44px, 6vw, 72px) clamp(16px, 5vw, 64px);
}
.countdown-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 56px);
}
.countdown-meta { max-width: 460px; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}
.countdown-title {
  margin-top: 14px;
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}
.countdown-text {
  margin-top: 14px;
  font-size: clamp(15px, 1.6vw, 16px);
  line-height: 1.6;
  color: var(--text-soft);
}
.countdown-display-wrap { flex: none; }
.countdown-display-label {
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.countdown-display {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
}
.clock-unit {
  text-align: center;
  min-width: clamp(58px, 8vw, 82px);
}
.clock-value {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.clock-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* =====================================================
   STAKES (champagne)
   ===================================================== */
.stakes {
  background: var(--champagne);
  color: var(--ink);
  padding: clamp(72px, 11vw, 150px) clamp(16px, 5vw, 64px);
}
.stakes-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (min-width: 760px) {
  .stakes-inner { grid-template-columns: repeat(2, 1fr); }
}
.stakes-rule {
  width: 46px;
  height: 2px;
  background: var(--bronze);
  margin-bottom: 30px;
}
.stakes-title {
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stakes-text {
  margin-top: 26px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 520px;
}
.stakes-side { display: flex; flex-direction: column; gap: 32px; }
.stat {
  border-top: 1px solid var(--champagne-rule);
  padding-top: 32px;
}
.stat-num {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-num-accent {
  color: var(--gold-dark);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 2px;
}
.stat-source {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stakes-key {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  font-weight: 600;
  color: var(--ink-soft);
}

/* =====================================================
   SOLUTION
   ===================================================== */
.solution {
  background: var(--bg);
  padding: clamp(72px, 11vw, 150px) clamp(16px, 5vw, 64px);
}
.solution-inner { max-width: 1180px; margin: 0 auto; }
.solution-header { max-width: 680px; }
.section-title {
  margin-top: 16px;
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}
.section-lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--text-dimmer);
}
.solution-grid {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-gold);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  overflow: hidden;
}
@media (min-width: 560px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature {
  background: var(--bg-warm);
  padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 220px;
}
.feature-icon { color: var(--gold); }
.feature-icon svg { display: block; }
.feature-text {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(237, 231, 218, 0.86);
}
.solution-tagline {
  margin-top: clamp(40px, 5vw, 56px);
  max-width: 760px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}
.solution-tagline-accent { color: var(--gold); }

/* =====================================================
   WHY D'ALEMBERT
   ===================================================== */
.why {
  background: var(--bg-warm);
  padding: clamp(80px, 13vw, 170px) clamp(16px, 5vw, 64px);
  border-top: 1px solid rgba(200, 169, 107, 0.12);
  scroll-margin-top: var(--header-h);
}
.why-inner { max-width: 920px; margin: 0 auto; }
.why-rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 34px;
}
.why-title {
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-bright);
  max-width: 780px;
}
.why-body {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 680px;
}
.why-para {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.7;
  color: var(--text-dim);
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery {
  background: var(--bg);
  padding: clamp(72px, 11vw, 150px) clamp(16px, 5vw, 64px);
  scroll-margin-top: var(--header-h);
}
.gallery-inner { max-width: 1180px; margin: 0 auto; }
.gallery-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.gallery-text {
  font-size: 15px;
  color: var(--text-mute);
  max-width: 280px;
}
.gallery-grid {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(200, 169, 107, 0.2);
  border-radius: 3px;
  overflow: hidden;
  background: #16100d;
  margin: 0;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 6, 4, 0.78) 0%,
    rgba(8, 6, 4, 0.12) 42%,
    transparent 64%);
  pointer-events: none;
}
.gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-bright);
}

/* =====================================================
   FAQ (champagne)
   ===================================================== */
.faq {
  background: var(--champagne);
  padding: clamp(72px, 11vw, 150px) clamp(16px, 5vw, 64px);
}
.faq-inner { max-width: 920px; margin: 0 auto; }
.faq-eyebrow { color: var(--gold-dark); }
.faq-title {
  margin-top: 16px;
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-list {
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--champagne-rule);
}
.faq-item { border-bottom: 1px solid var(--champagne-rule); }
.faq-button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px) 0;
  text-align: left;
  cursor: pointer;
}
.faq-q {
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-sign {
  flex: none;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(1px);
}
.faq-answer { animation: faqin 0.34s ease; }
.faq-answer p {
  margin-top: -4px;
  padding-bottom: clamp(20px, 3vw, 30px);
  max-width: 700px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-dim);
}

/* =====================================================
   ESTIMATE FORM
   ===================================================== */
.estimate {
  background: var(--bg-warm);
  padding: clamp(72px, 11vw, 150px) clamp(16px, 5vw, 64px);
  border-top: 1px solid rgba(200, 169, 107, 0.12);
  scroll-margin-top: var(--header-h);
}
.estimate-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (min-width: 860px) {
  .estimate-grid { grid-template-columns: 1fr 1fr; }
}
.estimate-info { padding-top: 8px; }
.estimate-rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}
.estimate-title {
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}
.estimate-lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--text-dimmer);
  max-width: 420px;
}
.contact-block {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(237, 231, 218, 0.78);
  text-decoration: none;
  font-size: clamp(15px, 1.6vw, 16px);
  word-break: break-word;
  transition: color 0.18s ease;
}
.contact-line:hover, .contact-line:focus-visible { color: var(--gold); }
.contact-label {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.form-card {
  background: var(--bg);
  border: 1px solid rgba(200, 169, 107, 0.18);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 44px);
}
.form-success {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.success-circle {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 30px;
}
.success-title {
  font-weight: 800;
  font-size: 26px;
  color: var(--text-bright);
}
.success-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 320px;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; gap: 14px; }
.form-row-split { grid-template-columns: 1fr; }
@media (min-width: 480px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field-label-soft {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(237, 231, 218, 0.32);
}
.field-req {
  color: var(--gold);
  margin-left: 2px;
  font-weight: 700;
}
.field-error {
  display: none;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #ff6b6b;
  letter-spacing: 0.01em;
}
.field.is-invalid .field-error { display: block; }
.field.is-invalid .field-input { border-color: #ff6b6b; }
.field.is-invalid .property-types .type-btn:not([aria-checked="true"]) {
  border-color: rgba(255, 107, 107, 0.55);
}
.field-input {
  background: var(--bg-warm);
  border: 1px solid var(--border-gold-soft);
  border-radius: 2px;
  padding: 13px 14px;
  color: var(--text-light);
  font-size: 15px;
  transition: border-color 0.18s ease;
  width: 100%;
}
.field-textarea { line-height: 1.5; min-height: 92px; }

.property-types { display: flex; gap: 10px; flex-wrap: wrap; }
.type-btn {
  padding: 11px 20px;
  background: var(--bg-warm);
  border: 1px solid var(--border-gold-soft);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(237, 231, 218, 0.7);
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.type-btn:hover, .type-btn:focus-visible { border-color: var(--gold); color: var(--text-light); }
.type-btn[aria-checked="true"], .type-btn.is-active {
  background: var(--gold);
  color: var(--bg-warm);
  border-color: var(--gold);
}

.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px dashed var(--border-gold-mid);
  border-radius: 2px;
  cursor: pointer;
  color: rgba(237, 231, 218, 0.55);
  font-size: 14px;
  transition: border-color 0.18s ease, color 0.18s ease;
  text-align: center;
  flex-wrap: wrap;
}
.file-drop:hover { border-color: var(--gold); color: var(--text-light); }
.file-drop-plus { color: var(--gold); font-size: 18px; }
.file-drop-input { display: none; }
.file-helper {
  font-size: 13px;
  color: var(--text-ghost);
  line-height: 1.5;
}

.photos-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.photo-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  background: var(--bg-warm);
  border: 1px solid var(--border-gold-soft);
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-light);
  min-width: 0;
}
.photo-chip-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-chip-size {
  flex: none;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.photo-chip-remove {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-mute);
  font-size: 18px;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease;
}
.photo-chip-remove:hover,
.photo-chip-remove:focus-visible {
  background: rgba(200, 169, 107, 0.14);
  color: var(--gold);
}
.photos-warn {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: #ff8b8b;
  margin-top: 4px;
}

.submit-btn {
  position: relative;
  margin-top: 8px;
  padding: 17px;
  background: var(--gold);
  color: var(--bg-warm);
  border: none;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, opacity 0.18s ease;
  min-height: 54px;
}
.submit-btn:hover, .submit-btn:focus-visible { background: var(--gold-light); }
.submit-btn[disabled],
.submit-btn.is-sending {
  cursor: not-allowed;
  opacity: 0.85;
  background: var(--gold);
}
.submit-btn.is-sending .submit-btn-label { visibility: hidden; }
.submit-btn.is-sending::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(21, 12, 12, 0.28);
  border-top-color: var(--bg-warm);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .submit-btn.is-sending::after { animation: none; }
}

.form-error {
  margin-top: -4px;
  padding: 12px 14px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 2px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #ff8b8b;
}
.form-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.honeypot-field input { width: 1px; height: 1px; opacity: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg);
  padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 64px) 44px;
  border-top: 1px solid var(--border-gold);
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 22px;
  color: var(--text-bright);
}
.brand-text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 380px;
}
.brand-tag {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bronze);
}
.contact-block-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  word-break: break-word;
  transition: color 0.18s ease;
}
.footer-link:hover, .footer-link:focus-visible { color: var(--gold); }
.contact-addr {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.5;
  font-style: normal;
}
.socials { display: flex; gap: 12px; }
.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold-mid);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.social-link:hover, .social-link:focus-visible {
  background: rgba(200, 169, 107, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.social-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-copy {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(200, 169, 107, 0.12);
  font-size: 13px;
  color: var(--text-ghost);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.legal-link {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.18s ease;
}
.legal-link:hover, .legal-link:focus-visible { color: var(--gold); }

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.wa-button {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.wa-button:hover, .wa-button:focus-visible {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.28);
}
.wa-icon {
  width: 26px;
  height: 26px;
  flex: none;
  display: block;
}
.wa-label { line-height: 1; }
@media (max-width: 480px) {
  .wa-button {
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  .wa-label { display: none; }
  .wa-icon { width: 30px; height: 30px; }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.faq-button:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* small phones: tighter header */
@media (max-width: 380px) {
  .site-nav { gap: 10px; }
  .nav-link { font-size: 11px; letter-spacing: 0.06em; }
  .cta-outline { padding: 9px 14px; font-size: 11px; letter-spacing: 0.06em; }
}

/* =====================================================
   LEGAL / PRIVACY PAGE
   ===================================================== */
.legal {
  background: var(--bg);
  padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 64px) clamp(64px, 10vw, 140px);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}
.legal-title {
  margin-top: 14px;
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-bright);
}
.legal-updated {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}
.legal-rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: clamp(32px, 5vw, 48px) 0 clamp(28px, 4vw, 40px);
}
.legal-intro {
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.75;
  color: var(--text-dim);
}
.legal-content {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}
.legal-section h2 {
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.legal-section p,
.legal-section li {
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.75;
  color: var(--text-dim);
}
.legal-section p + p { margin-top: 14px; }
.legal-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-section ul li::marker { color: var(--gold); }
.legal-section strong { color: var(--text-bright); font-weight: 700; }
.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 107, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease, color 0.18s ease;
  word-break: break-word;
}
.legal-section a:hover, .legal-section a:focus-visible {
  color: var(--gold-light);
  text-decoration-color: var(--gold-light);
}
.legal-contact {
  margin-top: clamp(32px, 5vw, 48px);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  background: var(--bg-warm);
}
.legal-contact strong { color: var(--text-bright); display: block; margin-bottom: 8px; }
.legal-contact p { color: var(--text-dim); line-height: 1.7; font-size: clamp(15px, 1.7vw, 17px); }
.legal-contact a { color: var(--gold); text-decoration: none; }
.legal-contact a:hover { color: var(--gold-light); }
.legal-back {
  margin-top: clamp(40px, 6vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.18s ease;
}
.legal-back:hover, .legal-back:focus-visible {
  background: rgba(200, 169, 107, 0.12);
}
