:root {
  --ink: #101827;
  --muted: #5f6877;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --line: #dfe5ee;
  --teal: #048f8f;
  --blue: #2257c6;
  --gold: #e79b22;
  --coral: #d94d45;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 229, 238, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  filter: drop-shadow(0 8px 16px rgba(16, 24, 39, 0.16));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #202b3c;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef5fb;
  outline: none;
}

.site-nav .nav-action {
  color: #ffffff;
  background: var(--teal);
}

.site-nav .nav-action:hover,
.site-nav .nav-action:focus-visible {
  background: #047575;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: min(760px, 94vh);
  display: flex;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 74px;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.25) 69%, rgba(16, 24, 39, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.8));
}

.hero-content {
  width: min(610px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: #263244;
  font-size: clamp(1.03rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 25px rgba(34, 87, 198, 0.28);
}

.button.primary:hover {
  background: #1d49a7;
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.button.ghost {
  color: var(--blue);
  background: #f0f5ff;
  border-color: #d6e2ff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 clamp(18px, 4vw, 28px);
}

.trust-strip div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  background: var(--ink);
  color: #ffffff;
}

.trust-strip div:first-child {
  border-radius: 8px 0 0 8px;
}

.trust-strip div:last-child {
  border-radius: 0 8px 8px 0;
}

.trust-strip strong {
  font-size: 1.03rem;
}

.trust-strip span {
  color: #cbd5e1;
  font-size: 0.88rem;
}

.section,
.work-band,
.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) clamp(18px, 4vw, 28px);
}

.family-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 70px);
  align-items: start;
}

.intro {
  max-width: 900px;
}

.contact-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.services-section {
  max-width: none;
  background: var(--soft);
}

.services-section .section-heading,
.services-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  min-height: 380px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(16, 24, 39, 0.04);
}

.service-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #e7edf5;
}

.service-card h3,
.service-card p {
  padding-left: 8px;
  padding-right: 8px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.work-band {
  max-width: none;
  background: #101827;
  color: #ffffff;
}

.work-band .section-heading,
.work-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.work-band .eyebrow {
  color: #67e8f9;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-grid figure {
  margin: 0;
  min-height: 286px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.work-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #e7edf5;
}

.work-grid figcaption {
  color: #dce6f3;
  font-weight: 750;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-list article:first-child {
  grid-column: 1 / -1;
  border-color: rgba(4, 143, 143, 0.28);
  background: #effafa;
}

.team-list strong,
.team-list span {
  display: block;
}

.team-list span {
  margin-top: 5px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-links span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.contact-links strong {
  overflow-wrap: anywhere;
}

.order-form {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 14px;
}

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

.order-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #263244;
  font-size: 0.92rem;
  font-weight: 750;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.order-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(34, 87, 198, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #dce6f3;
  background: var(--ink);
}

.site-footer div,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 4px;
  color: #aebbd0;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

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

  .site-nav {
    position: fixed;
    inset: 77px 14px auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.95) 54%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18));
  }

  .hero-image {
    object-position: 58% center;
  }

  .trust-strip,
  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip div:first-child,
  .trust-strip div:last-child {
    border-radius: 0;
  }

  .family-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 100px 18px 48px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .services-grid,
  .work-grid,
  .team-list,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    padding: 0;
  }

  .trust-strip div {
    min-height: 78px;
  }

  .section,
  .work-band,
  .contact-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .service-card {
    min-height: auto;
  }

  .work-grid figure {
    min-height: 220px;
  }

  .site-footer {
    display: grid;
  }
}

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

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