:root {
  --brand-primary: #005a87;
  --brand-secondary: #315b7c;
  --brand-accent: #6f8f42;
  --bg: #ffffff;
  --bg-alt: #f4f8f7;
  --surface: #ffffff;
  --text: #16202a;
  --text-muted: #52616d;
  --border: #dce7e9;
  --cta: #0a6f8f;
  --cta-hover: #084f68;
  --cta-text: #ffffff;
  --ppc-form-bg: #071723;
  --ppc-form-bg-alt: #0c2232;
  --ppc-form-text: #ffffff;
  --ppc-form-muted: rgba(255,255,255,.76);
  --ppc-form-border: rgba(255,255,255,.16);
  --shadow: 0 20px 60px rgba(12, 36, 48, .13);
  --radius: 8px;
  color-scheme: light;
}

* {
  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(--text);
  background: var(--bg);
  letter-spacing: 0;
}

body.booking-modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.narrow {
  width: min(880px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--text);
  color: white;
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.top-strip {
  background: #0d2533;
  color: white;
  font-size: .88rem;
}

.top-strip-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand img,
.footer-logo {
  width: 128px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .94rem;
  font-weight: 700;
  padding: .45rem .1rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .78rem 1.1rem;
  border-radius: 8px;
  background: var(--cta);
  color: var(--cta-text);
  border: 1px solid var(--cta);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(10,111,143,.22);
  cursor: pointer;
}

.button:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.button-small {
  min-height: 42px;
  padding: .65rem .85rem;
  white-space: nowrap;
}

.button-secondary {
  background: transparent;
  color: var(--brand-primary);
  border-color: rgba(0,90,135,.25);
  box-shadow: none;
}

.button-secondary:hover {
  color: white;
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.icon-check {
  color: var(--brand-accent);
}

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: #102d3c;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,24,34,.86), rgba(5,24,34,.58), rgba(5,24,34,.22));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: end;
  padding-block: 7rem 4rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--brand-accent);
  text-transform: uppercase;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: 0;
}

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

h1 {
  font-size: 5.4rem;
  line-height: .95;
  margin-bottom: 1rem;
  max-width: 11ch;
}

h2 {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: .9rem;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero p,
.ppc-hero p,
.site-footer p {
  color: rgba(255,255,255,.82);
}

.hero-copy > p {
  max-width: 680px;
  font-size: 1.16rem;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.hero-card {
  background: rgba(255,255,255,.93);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.45);
}

.hero-card span {
  display: block;
  color: var(--brand-primary);
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  margin-block: .4rem .7rem;
}

.hero-card p {
  color: var(--text-muted);
  margin: 0;
}

.trust-strip {
  background: #0d2533;
  color: white;
  padding: 1.2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-grid div {
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 1rem;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  color: rgba(255,255,255,.7);
  margin-top: .2rem;
}

.section,
.page-hero {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card,
.feature-card,
.ppc-benefit-card,
blockquote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22,32,42,.06);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div,
.feature-card {
  padding: 1.2rem;
}

.service-card h2,
.feature-card h2 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.service-card p,
.feature-card p {
  margin-bottom: .9rem;
}

.service-card a {
  color: var(--brand-primary);
  font-weight: 900;
  text-decoration: none;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: 2.5rem;
  align-items: center;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.step-list {
  display: grid;
  gap: 1rem;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.step-item > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  font-weight: 900;
}

.step-item h3 {
  margin-bottom: .3rem;
}

.step-item p {
  margin: 0;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.image-stack img,
.rounded-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.image-stack img:first-child {
  transform: translateY(-1rem);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1.2rem;
}

blockquote p {
  color: var(--text);
  font-weight: 700;
}

blockquote cite {
  color: var(--brand-primary);
  font-style: normal;
  font-weight: 900;
}

.final-cta,
.ppc-final {
  padding: 4rem 0;
  background: #0d2533;
  color: white;
}

.final-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.final-grid h2 {
  max-width: 760px;
}

.final-grid p {
  max-width: 700px;
}

.site-footer {
  background: #071723;
  color: white;
  padding: 4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}

.footer-grid h2 {
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  margin: .45rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.68);
}

.footer-bottom a {
  color: white;
  margin-left: 1rem;
}

.page-hero {
  background: linear-gradient(180deg, #f4f8f7, #fff);
}

.page-hero h1 {
  color: var(--text);
  max-width: 13ch;
}

.page-hero p {
  font-size: 1.1rem;
}

.contact-grid {
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: .65rem;
  margin: 1.3rem 0;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--brand-primary);
  font-weight: 900;
  text-decoration: none;
}

.contact-form-card,
.ppc-form-card {
  background: var(--ppc-form-bg);
  color: var(--ppc-form-text);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--ppc-form-border);
  box-shadow: var(--shadow);
}

.contact-form-card h2,
.ppc-form-card h2 {
  color: white;
  font-size: 1.55rem;
  margin-bottom: .45rem;
}

.contact-form-card p,
.ppc-form-card p {
  color: var(--ppc-form-muted);
}

.form-embed-wrap,
.calendar-embed-wrap {
  min-height: 640px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ppc-form-bg);
  border: 1px solid var(--ppc-form-border);
}

.form-embed-wrap[data-form-kind="ppc"] {
  min-height: 500px;
}

.form-embed-placeholder {
  min-height: 640px;
  display: grid;
  align-content: center;
  gap: .8rem;
  padding: 1rem;
}

.form-embed-wrap[data-form-kind="ppc"] .form-embed-placeholder {
  min-height: 500px;
}

.form-embed-placeholder span {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.form-embed-placeholder span:nth-child(2) {
  width: 76%;
}

.form-embed-placeholder span:nth-child(3) {
  width: 58%;
}

.form-embed-placeholder em {
  color: rgba(255,255,255,.7);
  font-style: normal;
  font-weight: 800;
}

.form-embed-wrap[data-form-status="pending"],
.calendar-embed-wrap[data-form-status="pending"] {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: rgba(255,255,255,.78);
  text-align: center;
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.portfolio-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d2533;
}

.portfolio-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portfolio-grid figcaption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(7,23,35,.78);
  color: white;
  font-size: .78rem;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}

.area-grid div {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-weight: 800;
}

.legal-page {
  padding: 5rem 0;
  max-width: 880px;
}

.legal-page h1 {
  max-width: none;
  font-size: 3rem;
  color: var(--text);
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.sitemap-list a {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.ppc-page {
  background: #f5f8f8;
}

.ppc-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.ppc-brand img {
  width: 128px;
}

.ppc-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: #071723;
  color: white;
}

.ppc-hero-bg,
.ppc-hero-overlay {
  position: absolute;
  inset: 0;
}

.ppc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ppc-hero-overlay {
  background: linear-gradient(90deg, rgba(5,20,31,.93), rgba(5,20,31,.72), rgba(5,20,31,.5));
}

.ppc-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0;
}

.ppc-copy h1 {
  max-width: 12ch;
}

.ppc-copy > p {
  max-width: 680px;
  font-size: 1.08rem;
}

.ppc-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
}

.ppc-bullets li {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: .75rem;
  font-weight: 800;
}

.scheduler-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1px solid var(--ppc-form-border);
  border-radius: var(--radius);
  padding: .75rem;
  margin: 1rem 0 .8rem;
  background: rgba(255,255,255,.06);
}

.scheduler-option p {
  margin: 0;
  font-size: .9rem;
}

.scheduler-option button {
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: white;
  border-radius: 8px;
  padding: .55rem .7rem;
  font-weight: 900;
  cursor: pointer;
}

.form-choice-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .7rem;
  margin: .85rem 0;
  color: var(--ppc-form-muted);
  font-size: .82rem;
  font-weight: 800;
}

.form-choice-divider::before,
.form-choice-divider::after {
  content: "";
  height: 1px;
  background: var(--ppc-form-border);
}

.ppc-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.ppc-trust div {
  background: white;
  padding: 1.1rem;
  text-align: center;
  color: var(--brand-primary);
  font-weight: 900;
}

.ppc-section {
  padding: 4.5rem 0;
  background: white;
}

.ppc-section-alt {
  background: var(--bg-alt);
}

.ppc-benefit-grid {
  display: grid;
  gap: 1rem;
}

.ppc-benefit-card {
  padding: 1.1rem;
}

.ppc-benefit-card h3 {
  margin-bottom: .4rem;
}

.ppc-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ppc-process article {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.ppc-process span {
  color: var(--brand-primary);
  font-weight: 900;
}

.ppc-footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 2rem);
  background: #071723;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.ppc-footer a {
  color: white;
  margin-left: .9rem;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.booking-modal.is-visible {
  pointer-events: auto;
}

.booking-modal.is-open {
  opacity: 1;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 18, 31, .78);
}

.booking-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ppc-form-bg);
  border: 1px solid var(--ppc-form-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 25px 80px rgba(0,0,0,.38);
}

.booking-modal-dialog h2,
.booking-modal-dialog p {
  color: white;
}

.booking-modal-close {
  position: absolute;
  right: .8rem;
  top: .8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.calendar-embed-wrap {
  min-height: 920px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .desktop-only,
  .site-nav {
    display: none;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .hero-grid,
  .ppc-hero-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 5rem 3rem;
  }

  .trust-grid,
  .service-grid,
  .three-grid,
  .review-grid,
  .portfolio-grid,
  .area-grid,
  .sitemap-list,
  .ppc-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .ppc-bullets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container,
  .narrow,
  .ppc-hero-grid {
    width: min(100% - 28px, 1160px);
  }

  .top-strip-inner,
  .footer-bottom,
  .final-grid,
  .ppc-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .button-small {
    width: auto;
  }

  .brand img,
  .ppc-brand img {
    width: 106px;
  }

  .trust-grid,
  .service-grid,
  .three-grid,
  .review-grid,
  .portfolio-grid,
  .area-grid,
  .sitemap-list,
  .ppc-process,
  .ppc-trust {
    grid-template-columns: 1fr;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child {
    transform: none;
  }

  .ppc-hero {
    min-height: auto;
  }

  .ppc-hero-grid {
    padding: 3rem 0;
  }

  .scheduler-option {
    display: block;
  }

  .scheduler-option button {
    margin-top: .6rem;
    width: 100%;
  }

  .calendar-embed-wrap {
    min-height: 760px;
  }
}
