:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.12);

  --brand: #0f2b46;
  --brand-2: #123b5f;
  --accent: #f97316;
  --accent-2: #fb923c;

  --shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  --radius: 14px;

  --container: 1180px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.55);
  outline-offset: 2px;
}

.prose img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  margin: 16px 0;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.contact-panel a:not(.button),
.section .subhead a,
.card-text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.contact-panel a:not(.button):hover,
.section .subhead a:hover,
.card-text a:hover {
  text-decoration-thickness: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.04);
  color: var(--brand);
  font-weight: 850;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(15, 23, 42, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  object-fit: contain;
  object-position: center;
}

.brand span {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-size: 17px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links a {
  color: rgba(15, 23, 42, 0.78);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 6px;
  border-radius: 10px;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: rgba(15, 23, 42, 0.92);
}

.nav-links a[data-active="true"] {
  background: rgba(249, 115, 22, 0.12);
  color: rgba(15, 23, 42, 0.92);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1220;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.button.outline {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
  color: rgba(15, 23, 42, 0.9);
}

.button.outline:hover {
  background: rgba(15, 23, 42, 0.06);
}

.hero .button.outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero .button.outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section.alt .button.secondary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1220;
}

.nav-links .button.nav-cta {
  padding: 8px 12px;
  font-size: 14px;
  min-height: 36px;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}

.nav-links .button.nav-cta:hover {
  transform: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 64px 0 48px;
  min-height: 520px;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 43, 70, 0.92), rgba(15, 43, 70, 0.72));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.home-hero {
  background: var(--brand);
}

.home-hero::before {
  display: none;
}

.home-hero .hero-grid {
  align-items: start;
  gap: 36px;
}

.home-hero .hero-copy {
  min-width: 0;
}

.home-hero .hero-media {
  margin-bottom: 24px;
  max-width: 620px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.home-hero .hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  font-weight: 800;
}

.hero p {
  margin: 0 0 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 70ch;
}

.hero .hero-kicker {
  margin: -6px 0 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 90ch;
}

.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 750;
  font-size: 13px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 20px;
}

.hero-form {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  box-shadow: var(--shadow);
  color: var(--text);
  color-scheme: light;
}

.hero-form h2,
.hero-form h3 {
  margin: 0 0 6px;
  color: var(--brand);
}

.hero-form .subhead {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-form .form-success {
  color: var(--text);
}

.hero-form .button.primary {
  width: 100%;
}

.hero-card .stat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.hero-card strong {
  font-size: 15px;
}

.hero-card p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section.alt + .section.alt .container::before {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  margin: 0 auto 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
}

.section h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.section .subhead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 80ch;
}

.prose {
  max-width: 80ch;
}

.prose h2,
.prose h3 {
  margin-top: 34px;
}

.prose h3 {
  font-size: 22px;
  color: var(--text);
}

.prose p {
  margin: 0 0 16px;
  color: rgba(15, 23, 42, 0.86);
  font-size: 17px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
  color: rgba(15, 23, 42, 0.86);
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 10px;
}

.weather-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 16px;
}

.weather-label {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.7);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.weather-value {
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin-top: 6px;
}

.weather-meta {
  margin-top: 8px;
  color: rgba(15, 23, 42, 0.78);
  font-size: 14px;
}

.weather-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 750;
  color: rgba(15, 23, 42, 0.9);
}

.weather-list {
  margin-top: 6px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.86);
}

.weather-list strong {
  color: rgba(15, 23, 42, 0.92);
}

.weather-disclaimer {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.7);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.card .card-body {
  padding: 16px;
}

.card .card-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.card .card-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.card .card-text {
  margin: 0;
  color: rgba(15, 23, 42, 0.82);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}

.team-grid .card img {
  height: 180px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.gallery a:hover img {
  transform: scale(1.03);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.contact-panel h3 {
  margin: 0 0 10px;
  color: var(--brand);
}

p.form-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #0f172a;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 0 0 12px;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.9);
  font-size: 13px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  color: var(--text);
  color-scheme: light;
}

.form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(15, 23, 42, 0.55);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  padding: 44px 0 22px;
  margin-top: 40px;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #ffffff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer small {
  display: block;
  margin-top: 18px;
  opacity: 0.8;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 850;
  color: var(--brand);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.55);
  outline-offset: 2px;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-answer {
  padding: 0 16px 16px;
  color: rgba(15, 23, 42, 0.86);
  font-size: 16px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-media {
    max-width: 100%;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-4 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .weather-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero .hero-copy,
  .home-hero .hero-form {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1180px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 0;
  }

  .nav-links[data-open="false"] {
    display: none;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
    padding: 10px 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 0 44px;
    background-image: var(--hero-image-mobile, var(--hero-image, none));
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .section .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero h1 {
    font-size: 34px;
  }

  .nav {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 0;
  }

  .nav-links[data-open="false"] {
    display: none;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 100px;
  }

  .footer {
    padding-bottom: 80px;
  }
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 12px;
  padding: 12px var(--gutter) 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile-cta a {
  flex: 1;
}

@media (max-width: 640px) {
  .mobile-cta {
    display: flex;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (hover: none) {
  .header,
  .mobile-cta {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Home hero mobile contrast + proof section layout */
@media (max-width: 960px) {
  .home-hero .hero-copy {
    background: var(--brand);
    color: #ffffff;
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
  }

  .home-hero .hero-copy h1,
  .home-hero .hero-copy p,
  .home-hero .hero-copy .hero-kicker,
  .home-hero .hero-copy .badges .badge {
    color: #ffffff;
  }

  .home-hero .hero-copy .badges .badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .proof-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-actions,
.proof-actions,
.proof-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 18px; }
.proof-actions { margin-top: 14px; }
.proof-source-links { margin-top: 10px; margin-bottom: 0; }

.proof-layout {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.proof-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.proof-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.proof-seal { display: inline-flex; flex: 0 0 auto; }
.proof-trust-copy .card-text { margin: 8px 0 0; }

.proof-card-stack { display: grid; gap: 12px; }
.proof-card-stack .card-title { margin-bottom: 8px; }

.proof-actions .button,
.proof-card-actions .button { min-width: 0; }

.proof-card-actions .button { padding: 10px 16px; }

@media (min-width: 1101px) {
  .proof-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .proof-intro { min-height: 100%; }
}

/* Review quote cards */
.review-quote {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.review-quote .quote-body {
  padding: 20px 20px 0;
  flex: 1;
}
.review-quote .quote-mark {
  font-size: 52px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.18;
  font-family: Georgia, serif;
  margin-bottom: 6px;
}
.review-quote .quote-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.82);
  font-style: italic;
}
.review-quote .quote-attribution {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.review-quote .quote-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  font-style: normal;
}
.review-quote .quote-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  font-style: normal;
}
.review-quote .quote-source {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}
