:root {
  --ocean-deep: #063347;
  --ocean: #0a6b7c;
  --ocean-mid: #088395;
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.15);
  --sand: #f7f3eb;
  --sand-dark: #e5ddd0;
  --sunset: #f97316;
  --sunset-glow: rgba(249, 115, 22, 0.35);
  --white: #ffffff;
  --text: #0f2429;
  --text-muted: #4a6570;
  --shadow: 0 12px 40px rgba(6, 51, 71, 0.1);
  --shadow-lg: 0 24px 60px rgba(6, 51, 71, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-height: 76px;
  --max-width: 1140px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--sand);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 90%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(249, 115, 22, 0.08), transparent);
}

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

a {
  color: var(--ocean-mid);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sunset);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(247, 243, 235, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 51, 71, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(6, 51, 71, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ocean-deep);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ocean-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--ocean-deep);
  background: var(--teal-dim);
}

.nav-menu a.active {
  color: var(--ocean-deep);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(6, 51, 71, 0.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(460px, 78vh, 680px);
  margin-top: var(--nav-height);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(6, 51, 71, 0.88) 0%, rgba(6, 51, 71, 0.35) 45%, transparent 70%),
    linear-gradient(0deg, rgba(6, 51, 71, 0.92) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4.5rem;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-content p {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  opacity: 0.92;
  line-height: 1.7;
}

.hero-page .hero-content h1 {
  max-width: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Stats strip */
.stats-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(6, 51, 71, 0.06);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ocean-deep);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sunset) 0%, #fb923c 100%);
  color: var(--white);
  box-shadow: 0 4px 24px var(--sunset-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 8px 32px var(--sunset-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ocean-deep);
  border-color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--white);
  border-radius: 28px 28px 0 0;
  margin-top: -1px;
  box-shadow: 0 -8px 40px rgba(6, 51, 71, 0.04);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ocean-deep);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 0 2.75rem;
  line-height: 1.75;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  position: relative;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(6, 51, 71, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--ocean-mid), var(--sunset));
  z-index: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem 1.5rem 1.65rem;
}

.card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Feature blocks */
.feature-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--sand-dark);
}

.feature-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.feature-block:nth-child(even) .feature-images {
  order: -1;
}

.feature-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(8, 131, 149, 0.25);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--ocean-deep);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.feature-text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.feature-images {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feature-images figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-images img {
  transition: transform 0.4s ease;
}

.feature-images figure:hover img {
  transform: scale(1.03);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.contact-info {
  background: linear-gradient(155deg, var(--ocean-deep) 0%, var(--ocean) 60%, #0d8a9a 100%);
  color: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 70%);
  pointer-events: none;
}

.contact-info h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  position: relative;
}

.contact-info address {
  font-style: normal;
  line-height: 1.85;
  position: relative;
}

.contact-info a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--white);
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(6, 51, 71, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ocean-deep);
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--sand);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean-mid);
  box-shadow: 0 0 0 3px var(--teal-dim);
  background: var(--white);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--teal-dim);
  color: var(--ocean-deep);
}

.form-status.error {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  position: relative;
}

.social-links a {
  display: inline-flex;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 0 2rem;
  margin-top: 2rem;
}

.footer-wave {
  height: 56px;
  margin-top: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath fill='%23063347' d='M0,28 C150,56 350,0 600,28 C850,56 1050,0 1200,28 L1200,56 L0,56 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 1.5rem;
  align-items: center;
}

.footer-brand {
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.footer-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
}

.footer-col {
  text-align: center;
}

.footer-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

.wave-divider {
  height: 56px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,28 C200,0 400,56 600,28 C800,0 1000,56 1200,28 L1200,56 L0,56 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.cta-center {
  text-align: center;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-meta {
    justify-content: flex-end;
  }

  .footer-col {
    text-align: left;
  }

  .feature-block {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(6, 51, 71, 0.06);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu a {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }

  .hero-actions .btn-outline {
    margin-left: 0 !important;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg img,
  .card-image img,
  .feature-images img {
    transform: none !important;
  }
}
