/* ============================================================
   Curae Property Management — Design System v2
   Modern, sleek, blue-green (teal → cyan) theme
   ============================================================ */

:root {
  /* Core palette — teal shifting toward cyan/blue */
  --ink: #0b1f22;
  --ink-soft: #46616a;
  --primary: #0f766e;
  --primary-dark: #083f3b;
  --primary-mid: #0e8f83;
  --primary-light: #14b8a6;
  --accent: #22d3ee;
  --bg: #f5faf9;
  --surface: #ffffff;
  --border: #e1ebe8;
  --border-soft: #edf4f2;

  /* Spacing / radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Shadows (tinted) */
  --shadow-sm: 0 1px 2px rgba(11, 31, 34, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 31, 34, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 34, 0.16);
  --shadow-glow: 0 10px 40px rgba(20, 184, 166, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

svg.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.08s; }
.reveal-delay-2.in-view { transition-delay: 0.16s; }
.reveal-delay-3.in-view { transition-delay: 0.24s; }
.reveal-delay-4.in-view { transition-delay: 0.32s; }
.reveal-delay-5.in-view { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo .mark, .footer-logo .mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 11px;
  box-shadow: var(--shadow-glow);
}

nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a:not(.nav-cta) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: color 0.2s ease, background 0.2s ease;
}

nav a:not(.nav-cta):hover { color: var(--ink); background: var(--border-soft); }

nav a.active-link { color: var(--primary); background: rgba(15, 118, 110, 0.08); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: inline-block;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 184, 166, 0.35); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--border-soft);
  border: none;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 184, 166, 0.38); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #082f2c 0%, #0f6f68 55%, #0c8f8a 100%);
  color: #fff;
  padding: 130px 0 110px;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
}
.hero::before {
  width: 480px; height: 480px;
  background: var(--accent);
  top: -180px; right: -120px;
}
.hero::after {
  width: 380px; height: 380px;
  background: #0ea5a0;
  bottom: -160px; left: -100px;
}

.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: #d7f5ef;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25); }

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), #7ef0d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.08rem;
  color: #d8ece7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.hero-card .item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  color: #eafaf6;
}
.hero-card .item:last-child { border-bottom: none; }
.hero-card .check-circle {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.18);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hero-card .check-circle svg { width: 16px; height: 16px; }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--surface);
  padding: 0;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stats .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}
.stat h3 { font-size: 1.6rem; color: var(--primary); }
.stat span { color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--r-full);
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 118, 110, 0.25);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(34, 211, 238, 0.14));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

.step-card { position: relative; }
.step-num {
  position: absolute;
  top: -14px; left: 28px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* ---------- Split / why choose ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.check-list { margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; color: var(--ink-soft); }
.check-list .check-circle {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.check-list .check-circle svg { width: 14px; height: 14px; }

.split-visual {
  position: relative;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
  border-radius: var(--r-lg);
  min-height: 360px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 55%);
}
.split-visual .visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  gap: 8px;
  padding: 30px;
}
.split-visual .visual-mark {
  width: 78px; height: 78px;
  border-radius: 22px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  backdrop-filter: blur(6px);
  margin-bottom: 10px;
}
.split-visual .visual-content p { color: #e2f6f1; font-size: 0.95rem; max-width: 260px; }

.split-visual.has-photo {
  background-image:
    linear-gradient(160deg, rgba(8,63,59,0.72), rgba(15,118,110,0.4) 55%, rgba(20,184,166,0.18)),
    var(--photo);
  background-size: cover;
  background-position: center;
}
.split-visual.has-photo .visual-content { justify-content: flex-end; align-items: flex-start; text-align: left; }
.split-visual.has-photo .visual-content p {
  max-width: 320px;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(8,31,34,0.35);
  backdrop-filter: blur(4px);
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- Photo banner (full-width photo, e.g. services page) ---------- */
.photo-banner {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.photo-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px 22px;
  margin-bottom: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] { border-color: rgba(15,118,110,0.3); box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chevron { transition: transform 0.3s var(--ease); color: var(--primary); flex-shrink: 0; }
.faq details[open] summary .chevron { transform: rotate(180deg); }
.faq .faq-answer { color: var(--ink-soft); padding-bottom: 22px; font-size: 0.96rem; max-width: 640px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-mid));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-radius: var(--r-lg);
  margin: 0 24px;
  max-width: 1180px;
  margin-inline: auto;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(90px);
  opacity: 0.35;
  top: -180px; right: -80px;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; color: #fff; }
.cta-banner p { color: #d8ece7; margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer { background: #071e1c; color: #a9c9c1; padding: 64px 0 26px; margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
footer h4 { color: #fff; margin-bottom: 18px; font-size: 0.95rem; font-weight: 700; }
footer li { margin-bottom: 11px; font-size: 0.9rem; }
footer a { transition: color 0.2s ease; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 0.84rem; color: #5c8079; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #082f2c 0%, #0f6f68 60%, #0c8f8a 100%);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
}
.page-header::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.4;
  top: -160px; left: 50%;
  transform: translateX(-50%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.page-header p { color: #d8ece7; max-width: 560px; margin: 0 auto; font-size: 1.02rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }

label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }

input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 16px; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-md); }

/* ---------- Rental Report tool ---------- */
.report-result { display: none; margin-top: 28px; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--primary-dark), var(--primary)); color: #fff; box-shadow: var(--shadow-lg); }
.report-result.visible { display: block; }
.report-result .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #bfe9e2; margin-bottom: 6px; }
.report-result .range { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: 10px; }
.report-result p { color: #d8ece7; font-size: 0.92rem; margin-bottom: 0; }
.report-disclaimer { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; }
.report-lead { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.2); }
.report-lead label { color: #fff; }
.report-lead .lead-row { display: flex; gap: 10px; flex-wrap: wrap; }
.report-lead input { flex: 1; min-width: 200px; }
.report-lead-success { display: none; font-size: 0.88rem; color: #d8ece7; margin-top: 10px; }
.report-lead-success.visible { display: block; }

.contact-info-card {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-info-card .item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info-card .item:last-child { margin-bottom: 0; }
.contact-info-card .icon-badge { background: rgba(255,255,255,0.14); color: #fff; width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 4px; color: #fff; }
.contact-info-card p { color: #d8ece7; font-size: 0.9rem; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: var(--primary-dark);
  padding: 16px 20px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- About / values ---------- */
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }

.pull-quote {
  border-left: 3px solid var(--primary-light);
  padding-left: 24px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0;
  font-style: italic;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 150;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 180;
  box-shadow: 0 -8px 24px rgba(11,31,34,0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 260px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(2)::after { display: none; }
  .grid-3, .grid-2, .footer-grid, .value-list, .form-grid { grid-template-columns: 1fr; }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    margin-top: 10px;
  }
  nav ul.open { display: flex; }
  nav a:not(.nav-cta) { padding: 12px 14px; border-radius: var(--r-sm); }
  .nav-cta { text-align: center; margin-left: 0; margin-top: 6px; }

  .nav-toggle { display: flex; }
  section.block { padding: 76px 0; }
  .hero { padding: 90px 0 60px; }
  .page-header { padding: 70px 0 50px; }
  .cta-banner { padding: 56px 0; margin: 0 16px; }
  .photo-banner img { max-height: 260px; }
  .form-card, .contact-info-card { padding: 28px; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 72px; }

  /* Push back-to-top above the sticky mobile CTA bar so they don't overlap */
  .back-to-top { bottom: 96px; }

  /* Keep form fields at 16px so iOS Safari doesn't auto-zoom on focus */
  input, textarea, select { font-size: 16px; }
}

@media (max-width: 560px) {
  .nav-cta { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 76px 0 48px; }
  .page-header { padding: 56px 0 40px; }
  .cta-banner { padding: 44px 0; margin: 0 12px; border-radius: var(--r-md); }
  .form-card, .contact-info-card { padding: 22px; }
  .btn { padding: 13px 22px; }
  .stats .container { padding: 26px 16px; gap: 20px 0; }
  .split-visual { min-height: 220px; }
}
