:root {
  --ink: #17323a;
  --deep: #0c252d;
  --muted: #65777b;
  --paper: #f6f2e9;
  --foam: #e4f1ed;
  --sea: #187f86;
  --sea-dark: #0e5e66;
  --coral: #ef7d58;
  --sand: #d8c096;
  --white: #fffdf8;
  --line: rgba(23, 50, 58, 0.16);
  --shadow: 0 28px 80px rgba(12, 37, 45, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(239, 125, 88, 0.16), transparent 26rem),
    linear-gradient(135deg, #fbf7ee 0%, #e8f2ef 52%, #f6f2e9 100%);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(23, 50, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 58, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 253, 248, 0.36);
  background: rgba(246, 242, 233, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 112px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(12, 37, 45, 0.18));
}

.brand-text {
  display: grid;
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 0.98;
}

.brand-text strong {
  font-size: 1.2rem;
}

.brand-text small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(255, 253, 248, 0.7);
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--deep);
  box-shadow: 0 12px 28px rgba(12, 37, 45, 0.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--deep);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 96px);
  padding: 74px 0 56px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 37, 45, 0.68), rgba(12, 37, 45, 0.08) 56%),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2200&q=80") center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 56% 92%, 0 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  align-items: end;
  gap: 54px;
}

.hero-copy {
  max-width: 760px;
  padding-top: 64px;
  color: var(--white);
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.46);
  background: rgba(255, 253, 248, 0.12);
}

.button-full {
  width: 100%;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: var(--radius);
}

.hero-points p {
  margin: 0;
  padding: 18px;
  min-height: 116px;
  color: rgba(255, 253, 248, 0.9);
  background: rgba(12, 37, 45, 0.42);
  backdrop-filter: blur(10px);
}

.hero-points span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.quote-card,
.contact-card {
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.quote-card {
  margin-bottom: 24px;
  padding: 30px;
}

.quote-card h2 {
  margin: 0;
  font-size: 2.1rem;
}

.quote-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0;
}

.quote-stats div {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: var(--foam);
}

.quote-stats strong {
  display: block;
  font-size: 1.35rem;
}

.quote-stats span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-strip {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--deep);
  color: var(--white);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.trust-items p {
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1.2fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.section-heading p:last-child,
.contact-grid > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.service-card {
  display: grid;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(12, 37, 45, 0.1);
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  min-height: 360px;
}

.service-card h3,
.service-card p {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-inline: 24px;
}

.service-card h3 {
  align-self: end;
  margin-top: 0;
  margin-bottom: 104px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.service-card p {
  align-self: end;
  margin-top: 0;
  margin-bottom: 24px;
  color: rgba(255, 253, 248, 0.88);
  font-weight: 700;
}

.service-image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.88);
}

.service-card::after {
  grid-area: 1 / 1;
  content: "";
  background: linear-gradient(180deg, transparent 30%, rgba(12, 37, 45, 0.82));
}

.section-alt {
  background: linear-gradient(115deg, var(--deep), #164b50);
  color: var(--white);
}

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

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  color: rgba(255, 253, 248, 0.86);
  font-weight: 800;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  color: var(--ink);
}

.contact-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-card label:has(textarea),
.contact-card .button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf8f1;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  outline: 0;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 4px rgba(24, 127, 134, 0.14);
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 253, 248, 0.76);
  background: #071a20;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-shell p {
  margin: 0;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 640px);
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 96px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    color: var(--ink);
  }

  .site-nav .nav-cta {
    color: var(--white);
    text-align: center;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-backdrop {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 96%);
  }

  .hero-grid,
  .section-heading,
  .service-grid,
  .contact-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-points {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-points p {
    min-height: 0;
  }

  .quote-card {
    margin-bottom: 0;
  }

  .section {
    padding: 70px 0;
  }

  .service-card,
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    min-height: 360px;
  }

  .footer-shell {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 86px;
    max-height: 70px;
  }

  .nav-shell {
    min-height: 78px;
  }

  .site-nav {
    top: 78px;
  }

  h1 {
    font-size: 3.2rem;
  }

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

  .quote-card,
  .contact-card {
    padding: 20px;
  }
}
