:root {
  --ink: #18212f;
  --muted: #5c6878;
  --line: #dce3ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0e7c86;
  --coral: #d95d4f;
  --gold: #d8a437;
  --shadow: 0 18px 40px rgba(24, 33, 47, 0.16);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 234, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(14, 124, 134, 0.3);
}

.brand-title {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  color: #2c3746;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  border-radius: 999px;
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 48px) clamp(20px, 6vw, 96px) 108px;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(12, 21, 34, 0.76), rgba(12, 21, 34, 0.38) 52%, rgba(12, 21, 34, 0.24));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: var(--bg-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 800ms ease, transform 4200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #f6cf71;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--white);
  font-weight: 800;
  background: var(--coral);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(217, 93, 79, 0.28);
  cursor: pointer;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #bf493d;
}

.carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.dot {
  width: 13px;
  height: 13px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  cursor: pointer;
}

.dot.is-active {
  width: 34px;
  background: var(--gold);
}

.social-rail {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: 16px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.social-rail a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.social-rail a:hover,
.social-rail a:focus-visible {
  background: var(--teal);
}

.social-rail svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.content-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 96px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.content-section.alt {
  background: #edf7f6;
}

.content-section.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-text {
  max-width: 720px;
}

.section-number {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--coral);
  font-weight: 900;
}

.section-text h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.section-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid h3 {
  margin: 0 0 8px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.image-panel {
  min-height: 360px;
  background: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80") center/cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(22px, 4vw, 52px);
  padding: 56px clamp(20px, 6vw, 96px);
  color: rgba(255, 255, 255, 0.86);
  background: #18212f;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.1;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
  border-radius: 8px;
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 4px;
  }

  .site-nav a::after {
    bottom: 8px;
  }

  .content-section.split,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 92svh;
    padding: calc(var(--header-height) + 40px) 20px 96px;
  }

  .hero::after {
    background: rgba(12, 21, 34, 0.66);
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 14vw, 4.2rem);
  }

  .social-rail {
    right: 10px;
  }

  .social-rail a {
    width: 40px;
    height: 40px;
  }

  .content-section {
    padding: 58px 20px;
  }

  .image-panel {
    min-height: 260px;
  }

  .contact-form {
    padding: 20px;
  }
}
