:root {
  --ink: #121826;
  --muted: #5f6b7a;
  --line: #e2e7ee;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --deep: #16243a;
  --accent: #1f7a5a;
  --accent-dark: #155a42;
  --gold: #c89132;
  --shadow: 0 24px 70px rgba(18, 24, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 231, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--deep);
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  gap: 30px;
  color: #35435a;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--accent);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(400px, calc(100vh - 72px));
  display: grid;
  align-items: start;
  overflow: hidden;
  background: #f7f5ef;
}

.hero-pattern,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-pattern {
  overflow: hidden;
  background:
    linear-gradient(rgba(22, 36, 58, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 36, 58, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(200, 145, 50, 0.22), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(31, 122, 90, 0.18), transparent 28%),
    linear-gradient(135deg, #fbfaf6 0%, #f4efe3 52%, #eef3f3 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.hero-pattern::before {
  content: "";
  position: absolute;
  inset: 10% 8% 10% auto;
  width: min(42vw, 500px);
  border: 1px solid rgba(22, 36, 58, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(22, 36, 58, 0.08) 39px 40px);
  transform: rotate(-3deg);
}

.hero-pattern span {
  position: absolute;
  right: max(32px, 12vw);
  color: rgba(22, 36, 58, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.4vw, 42px);
  font-style: italic;
}

.hero-pattern span:nth-child(1) {
  top: 22%;
}

.hero-pattern span:nth-child(2) {
  top: 39%;
  right: max(70px, 18vw);
  color: rgba(184, 128, 40, 0.72);
}

.hero-pattern span:nth-child(3) {
  top: 56%;
}

.hero-pattern span:nth-child(4) {
  top: 72%;
  right: max(88px, 20vw);
  color: rgba(22, 36, 58, 0.32);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.94) 0%, rgba(251, 250, 246, 0.82) 46%, rgba(251, 250, 246, 0.38) 100%),
    linear-gradient(0deg, rgba(251, 250, 246, 0.24) 0%, rgba(251, 250, 246, 0) 56%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 0;
  color: var(--deep);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.split-section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(28px, 3.5vw, 42px);
}

.hero-copy {
  max-width: 600px;
  margin: 14px 0 0;
  color: rgba(18, 24, 38, 0.84);
  font-size: 17px;
  line-height: 1.55;
}

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

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.primary-button {
  color: white;
  background: var(--accent);
}

.primary-button:hover,
.nav-cta:hover {
  background: var(--accent-dark);
}

.secondary-button {
  color: var(--deep);
  border: 1px solid rgba(22, 36, 58, 0.18);
  background: rgba(255, 255, 255, 0.6);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.quick-strip {
  width: min(1120px, calc(100% - 48px));
  margin: -54px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.credentials-section {
  width: min(1120px, calc(100% - 48px));
  margin: -54px auto 0;
  position: relative;
  z-index: 4;
}

.compact-heading {
  margin-bottom: 14px;
}

.credentials-section .quick-strip {
  width: 100%;
  margin: 0;
}

.quick-strip div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.section,
.split-section,
.contact-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 94px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.section h2,
.split-section h2,
.contact-section h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.service-card span,
.steps span {
  color: var(--accent);
  font-weight: 900;
}

.service-card h3,
.steps h3 {
  margin: 36px 0 12px;
  font-size: 21px;
}

.service-card p,
.steps p,
.text-stack p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}

.split-section {
  padding: 84px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.text-stack p:first-child {
  margin-top: 0;
}

.about-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: #35435a;
  font-size: 16px;
  line-height: 1.55;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contrast {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  padding-right: max(24px, calc((100vw - 1120px) / 2));
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps div {
  padding: 0 24px 0 0;
}

.reviews-section {
  padding-top: 92px;
  padding-bottom: 0;
}

.quote-rotator {
  height: 188px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep);
}

.quote-track {
  animation: quoteRoll 42s infinite;
}

.quote-slide {
  height: 188px;
  padding: 32px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.quote-slide p {
  max-width: 900px;
  margin: 0;
  color: white;
  font-size: 23px;
  line-height: 1.45;
}

.quote-slide span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 900;
}

@keyframes quoteRoll {
  0%, 12% {
    transform: translateY(0);
  }
  16%, 28% {
    transform: translateY(-188px);
  }
  32%, 44% {
    transform: translateY(-376px);
  }
  48%, 60% {
    transform: translateY(-564px);
  }
  64%, 76% {
    transform: translateY(-752px);
  }
  80%, 92% {
    transform: translateY(-940px);
  }
  100% {
    transform: translateY(0);
  }
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 250px;
  padding: 28px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  background: white;
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.review-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  margin-top: 92px;
  margin-bottom: 92px;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--soft);
}

.contact-copy p {
  max-width: 460px;
  margin-bottom: 28px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
}

.contact-methods a {
  color: var(--ink);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #35435a;
  font-size: 14px;
  font-weight: 800;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 122, 90, 0.18);
  border-color: var(--accent);
}

.form-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-button:hover {
  background: #223653;
}

.site-footer {
  min-height: 84px;
  padding: 0 32px;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 880px) {
  .site-header {
    min-height: auto;
    padding: 16px 20px;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    overflow-x: auto;
  }

  .hero {
    min-height: 390px;
  }

  .hero-content {
    width: min(100% - 36px, 720px);
    padding: 20px 0 0;
  }

  .hero-pattern::before {
    inset: 18% -20% 12% auto;
    width: 360px;
    opacity: 0.6;
  }

  .hero-pattern span {
    right: 22px;
    opacity: 0.42;
  }

  .quick-strip,
  .service-grid,
  .split-section,
  .steps,
  .review-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .credentials-section {
    width: 100%;
    margin-top: 0;
  }

  .quick-strip {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .split-section {
    padding: 72px 0;
  }

  .split-section {
    gap: 24px;
  }

  .contact-section {
    margin-top: 72px;
    margin-bottom: 72px;
    padding: 34px 24px;
  }

  .quote-rotator,
  .quote-slide {
    height: 230px;
  }

  .quote-slide p {
    font-size: 19px;
  }

  @keyframes quoteRoll {
    0%, 12% {
      transform: translateY(0);
    }
    16%, 28% {
      transform: translateY(-230px);
    }
    32%, 44% {
      transform: translateY(-460px);
    }
    48%, 60% {
      transform: translateY(-690px);
    }
    64%, 76% {
      transform: translateY(-920px);
    }
    80%, 92% {
      transform: translateY(-1150px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .site-footer {
    padding: 24px 20px;
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .section,
  .split-section,
  .contact-section {
    width: min(100% - 32px, 1120px);
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-pattern span {
    font-size: 26px;
  }

  .contact-section {
    padding: 24px 16px;
  }

  .contact-form {
    padding: 16px;
  }

  .booking-label {
    font-size: 18px;
  }

  .quote-rotator,
  .quote-slide {
    height: 270px;
  }

  .quote-slide {
    padding: 24px;
  }

  .quote-slide p {
    font-size: 18px;
  }

  @keyframes quoteRoll {
    0%, 12% {
      transform: translateY(0);
    }
    16%, 28% {
      transform: translateY(-270px);
    }
    32%, 44% {
      transform: translateY(-540px);
    }
    48%, 60% {
      transform: translateY(-810px);
    }
    64%, 76% {
      transform: translateY(-1080px);
    }
    80%, 92% {
      transform: translateY(-1350px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .primary-button,
  .secondary-button,
  .form-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-track {
    animation: none;
  }
}
