:root {
  --bg: #f7f3ec;
  --ink: #16211e;
  --teal: #0e7c86;
  --teal-dark: #0a636b;
  --teal-light: #7fd1d8;
  --text-2: #4d5a55;
  --muted: #8a857a;
  --dark-2: #a9b8b2;
  --dark-3: #cfd9d4;
  --hairline: #ddd6c8;
  --hover-tint: #f1ece2;
  --map-bg: #fef9eb;
  --map-border: #e8e1d0;
  --gutter: clamp(20px, 4.2vw, 56px);
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  overflow-x: hidden;
}

h1, h2 { font-family: "Instrument Serif", serif; font-weight: 400; }
em { font-style: italic; }
a { text-decoration: none; color: inherit; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
}

.wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.wordmark span { color: var(--teal); }

.site-nav { display: flex; gap: 32px; align-items: center; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--ink); }

.nav-pill {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-pill:hover { background: var(--ink); color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 5vw, 64px) var(--gutter) 0;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.14), rgba(14, 124, 134, 0) 70%);
  pointer-events: none;
}

.hero-line {
  margin: 0;
  font-size: clamp(46px, 8.6vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s ease both;
}
.hero-line em { color: var(--teal); }

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-top: 36px;
  animation: fadeUp 0.9s ease both;
}
.hero-row p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 460px;
}

.cta-pill {
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 34px;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.cta-pill:hover { background: var(--teal-dark); }

/* ---------- Hero image ---------- */
.hero-image {
  margin: clamp(36px, 4.2vw, 56px) var(--gutter) 0;
  height: clamp(280px, 38vw, 520px);
  border-radius: 20px;
  overflow: hidden;
  animation: fadeUp 0.9s ease both;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ---------- Ticker ---------- */
.ticker {
  margin-top: clamp(36px, 4.2vw, 56px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: marquee 28s linear infinite; }
.ticker-track span {
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  color: var(--text-2);
  padding-right: 48px;
}
.ticker-track i { font-style: normal; color: var(--teal); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: clamp(48px, 5.3vw, 72px) var(--gutter);
}
.stat:first-child { padding-right: 48px; }
.stat:last-child { padding-left: 48px; border-left: 1px solid var(--hairline); }
.stat-number {
  font-family: "Instrument Serif", serif;
  font-size: clamp(56px, 6.2vw, 84px);
  line-height: 1;
  color: var(--teal);
}
.stat-caption {
  font-size: 15.5px;
  color: var(--text-2);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 340px;
}

/* ---------- Services ---------- */
.services { padding: 0 var(--gutter) 24px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.service-rows { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 32px;
  align-items: baseline;
  padding: 34px 0;
  border-top: 1px solid var(--hairline);
  transition: background 0.2s ease;
}
.service-row:last-child { border-bottom: 1px solid var(--hairline); }
.service-row:hover { background: var(--hover-tint); }
.service-num { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.service-title { font-family: "Instrument Serif", serif; font-size: clamp(28px, 2.8vw, 38px); }
.service-row p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* ---------- Why Florida ---------- */
.why-florida {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4.2vw, 56px);
  padding: clamp(48px, 5.3vw, 72px) var(--gutter);
  align-items: center;
}
.why-florida h2 {
  margin: 0;
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.1;
  text-wrap: pretty;
}
.why-florida h2 em { color: var(--teal); }
.why-florida p {
  margin: 24px 0 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 520px;
}

.map-panel {
  height: clamp(320px, 33vw, 440px);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: var(--map-bg);
  border: 1px solid var(--map-border);
}
.map-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.map-chip {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: rgba(14, 124, 134, 0.08);
  border: 1px solid rgba(14, 124, 134, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact {
  margin: 0 var(--gutter) clamp(36px, 4.2vw, 56px);
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(40px, 5.3vw, 72px) clamp(24px, 4.7vw, 64px);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 134, 0.35), rgba(14, 124, 134, 0) 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 4.7vw, 64px);
  position: relative;
}
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy h2 {
  margin: 0;
  font-size: clamp(40px, 4.3vw, 58px);
  line-height: 1.05;
  text-wrap: pretty;
}
.contact-copy h2 em { color: var(--teal-light); }
.contact-copy p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--dark-2); max-width: 380px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form[hidden] { display: none; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lead-form input,
.lead-form textarea {
  background: rgba(247, 243, 236, 0.08);
  border: 1px solid rgba(247, 243, 236, 0.25);
  border-radius: 10px;
  padding: 16px;
  font-size: 15px;
  font-family: Archivo, sans-serif;
  color: var(--bg);
  width: 100%;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(247, 243, 236, 0.55); }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal-light);
}
.lead-form textarea { resize: none; }
.lead-form input.invalid,
.lead-form textarea.invalid { border-color: #e07a5f; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }

.cf-turnstile { min-height: 65px; }

.submit-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 18px;
  font-size: 15px;
  font-weight: 700;
  font-family: Archivo, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.submit-btn:hover { background: var(--teal-dark); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

.form-error { font-size: 14px; color: #f0a08b; min-height: 1em; }
.form-error:empty { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.form-success[hidden] { display: none; }
.success-mark { font-size: 34px; color: var(--teal-light); }
.form-success p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--dark-3); max-width: 320px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 var(--gutter) 32px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Motion ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-line, .hero-row, .hero-image { animation: none; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-row { flex-direction: column; align-items: flex-start; }
  .service-row { grid-template-columns: 44px 1fr; gap: 12px 16px; padding: 26px 0; }
  .service-row p { grid-column: 2; }
  .why-florida { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat:first-child { padding-right: 0; }
  .stat:last-child { padding-left: 0; border-left: none; padding-top: 32px; border-top: 1px solid var(--hairline); }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-nav { gap: 18px; }
  .nav-link { display: none; }
  .form-pair { grid-template-columns: 1fr; }
  .hero-image { height: 300px; }
}
