:root {
  --ink: #06262e;
  --ink-soft: #1a3f48;
  --lagoon: #053d4a;
  --lagoon-deep: #032830;
  --aqua: #2ec4b6;
  --aqua-bright: #5eead4;
  --sun: #f4d35e;
  --foam: #e8f6f4;
  --sand: #f7f3eb;
  --mist: rgba(232, 246, 244, 0.72);
  --line: rgba(5, 61, 74, 0.12);
  --white: #ffffff;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(244, 211, 94, 0.12), transparent 50%),
    linear-gradient(180deg, #f3faf9 0%, var(--sand) 40%, #eef8f6 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lagoon);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(3, 40, 48, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(3, 40, 48, 0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 70% 28%, var(--sun) 0 18%, transparent 19%),
    linear-gradient(160deg, var(--aqua) 0%, var(--lagoon) 100%);
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 28%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.35);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--aqua-bright);
}

.header-phone {
  display: none;
  margin-left: 0.5rem;
  color: var(--sun);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease-out);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(3, 40, 48, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
  border-bottom: 0;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--aqua);
  color: var(--lagoon-deep);
  box-shadow: 0 10px 30px rgba(46, 196, 182, 0.35);
}

.btn-primary:hover {
  background: var(--aqua-bright);
  color: var(--lagoon-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-lg {
  min-height: 3.35rem;
  padding-inline: 1.6rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-drift 18s var(--ease-out) infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 40, 48, 0.42) 0%, rgba(3, 40, 48, 0.12) 38%, rgba(3, 40, 48, 0.55) 68%, rgba(3, 40, 48, 0.88) 100%),
    radial-gradient(ellipse at 75% 25%, rgba(46, 196, 182, 0.22), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 1.25rem 2rem;
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--aqua-bright);
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.15s forwards;
}

.hero h1 {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  max-width: 12ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 0.95s var(--ease-out) 0.28s forwards;
}

.hero-lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.95s var(--ease-out) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.95s var(--ease-out) 0.52s forwards;
}

.hero-meta {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.65s forwards;
}

.hero-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aqua);
  opacity: 0.8;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.section-lede {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 34rem;
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s ease, padding-left 0.35s var(--ease-out);
}

.service-list li:hover {
  padding-left: 0.5rem;
  background: linear-gradient(90deg, rgba(46, 196, 182, 0.08), transparent 60%);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--aqua);
  font-size: 1rem;
  padding-top: 0.2rem;
}

.service-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.service-list p {
  color: var(--ink-soft);
  max-width: 42rem;
}

/* Process */
.process {
  padding-top: 2rem;
}

.process-grid {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1.75rem;
  background:
    linear-gradient(145deg, rgba(5, 61, 74, 0.96), rgba(3, 40, 48, 0.98)),
    radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.35), transparent 40%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process-grid::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 211, 94, 0.22), transparent 65%);
  pointer-events: none;
}

.process-copy,
.steps {
  position: relative;
  z-index: 1;
}

.process .eyebrow {
  color: var(--aqua-bright);
}

.process .section-lede {
  color: rgba(255, 255, 255, 0.75);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  padding-left: 1.15rem;
  border-left: 2px solid rgba(46, 196, 182, 0.45);
}

.steps h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

/* Gallery */
.gallery-rail {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--lagoon);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Trust */
.trust {
  padding-top: 2rem;
}

.trust-band {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-facts {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.trust-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.3rem;
}

.trust-facts dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Contact */
.contact-panel {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy .btn {
  margin-top: 1.5rem;
}

.maps-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--lagoon);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(5, 61, 74, 0.1);
  box-shadow: 0 20px 50px rgba(5, 61, 74, 0.08);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(5, 61, 74, 0.16);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.2);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--lagoon);
  font-weight: 500;
}

.form-note.is-error {
  color: #b42318;
}

/* Footer */
.site-footer {
  background: var(--lagoon-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 1.25rem 2rem;
  margin-top: 2rem;
}

.footer-brand {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-cols {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cols h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-bright);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.footer-cols a {
  color: var(--white);
  text-decoration: none;
}

.footer-cols a:hover {
  color: var(--aqua-bright);
}

.footer-fine {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .header-phone {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .gallery-rail {
    grid-template-columns: 1.4fr 1fr;
    grid-auto-rows: 280px;
  }

  .gallery-item--wide {
    aspect-ratio: auto;
  }

  .gallery-item:not(.gallery-item--wide) {
    aspect-ratio: auto;
  }

  .trust-band {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 3rem;
  }

  .contact-panel {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
    padding: 1.75rem;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .gallery-rail {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 320px 280px;
  }

  .gallery-item--wide:first-child {
    grid-row: 1 / 3;
  }

  .service-list li {
    grid-template-columns: 4rem 1fr;
    gap: 2rem;
    padding: 1.85rem 0;
  }

  .service-list h3 {
    font-size: 1.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .brand-lockup,
  .hero h1,
  .hero-lede,
  .hero-actions,
  .hero-meta,
  .reveal,
  .gallery-item img,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
