:root {
  --blue: #0b5fa5;
  --navy: #07263d;
  --ink: #11243a;
  --muted: #587084;
  --ice: #eef7ff;
  --white: #ffffff;
  --red: #c7272f;
  --gold: #f6c65b;
  --green: #2e7d63;
  --line: #d8e7f3;
  --shadow: 0 18px 45px rgba(7, 38, 61, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

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

input,
select,
textarea {
  font-size: 16px;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  color: var(--white);
  background: rgba(7, 38, 61, 0.28);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 38, 61, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold);
}

.brand__name,
.brand__tag {
  display: block;
}

.brand__name {
  font-weight: 800;
  line-height: 1.1;
}

.brand__tag {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.header-call {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  background: transparent;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-quick-actions {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 150px 0 92px;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 38, 61, 0.88), rgba(7, 38, 61, 0.58) 45%, rgba(7, 38, 61, 0.16)),
    linear-gradient(0deg, rgba(7, 38, 61, 0.74), rgba(7, 38, 61, 0.1));
}

.hero__content {
  position: relative;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 12vw, 7.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

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

.button--primary:hover,
.button--primary:focus-visible {
  background: #a91d25;
}

.button--secondary {
  color: var(--navy);
  background: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: var(--white);
}

.trust-strip__item {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

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

.trust-strip__item span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.trust-strip__item strong {
  margin-top: 4px;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.section {
  padding: 86px 0;
}

.section--intro {
  background: var(--ice);
}

.intro-grid,
.process-grid,
.review-grid,
.area-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(7, 38, 61, 0.06);
}

.service-card__label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.service-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
}

.service-card--accent {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.service-card--accent p,
.service-card--accent a,
.service-card--accent .service-card__label {
  color: rgba(255, 255, 255, 0.82);
}

.process-section {
  background: linear-gradient(135deg, var(--navy), #123d5c);
  color: var(--white);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 96px;
  padding: 20px 20px 20px 78px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.process-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

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

.process-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-section {
  background: var(--ice);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--navy);
}

.gallery-item--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(7, 38, 61, 0.78);
  font-weight: 800;
  text-align: left;
}

.review-section {
  background: var(--white);
}

.review-grid {
  align-items: stretch;
}

.review-grid p {
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.review-stat {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(199, 39, 47, 0.82), rgba(7, 38, 61, 0.82)),
    url("../img/facebook/hero-boat-detailing.jpg") center/cover;
  box-shadow: var(--shadow);
}

.review-stat span {
  font-weight: 800;
  text-transform: uppercase;
}

.review-stat strong {
  display: block;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.95;
}

.review-stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.area-section {
  background: #f7fbff;
}

.area-map {
  min-height: 380px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 30% 32%, rgba(246, 198, 91, 0.92), transparent 0 16%, transparent 17%),
    linear-gradient(135deg, rgba(11, 95, 165, 0.92), rgba(46, 125, 99, 0.72)),
    url("../img/facebook/gallery-07.jpg") center/cover;
  box-shadow: var(--shadow);
}

.area-map span {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(7, 38, 61, 0.76);
  font-weight: 900;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.area-tags span {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--ice);
  font-weight: 800;
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

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

.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-methods span,
.contact-methods strong {
  display: block;
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.estimate-form {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-row--split {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: #fbfdff;
}

textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #041727;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 6px 0 0;
}

.site-footer a {
  display: block;
  text-align: right;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 23, 39, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-width: 76px;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 10px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .site-header.is-open .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 88vh;
  }

  .trust-strip,
  .services-grid,
  .intro-grid,
  .process-grid,
  .review-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .brand__name {
    max-width: 168px;
    font-size: 0.94rem;
  }

  .brand__tag {
    font-size: 0.74rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-quick-actions {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(7, 38, 61, 0.95);
    box-shadow: 0 14px 34px rgba(4, 23, 39, 0.28);
  }

  .mobile-quick-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 900;
  }

  .mobile-quick-actions a:first-child {
    border: 1px solid rgba(255, 255, 255, 0.28);
  }

  .mobile-quick-actions a:last-child {
    background: var(--red);
  }

  .hero {
    min-height: 92svh;
    padding: 116px 0 42px;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__content {
    margin-left: 14px;
    margin-right: 14px;
  }

  .hero__actions {
    display: grid;
    gap: 10px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.45rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 38, 61, 0.92), rgba(7, 38, 61, 0.54)),
      linear-gradient(0deg, rgba(7, 38, 61, 0.78), rgba(7, 38, 61, 0.12));
  }

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

  .trust-strip__item {
    padding: 16px 10px;
  }

  .section {
    padding: 58px 0;
  }

  .service-card {
    min-height: 0;
    padding: 20px;
  }

  .process-list li {
    padding: 18px 16px 18px 68px;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 245px;
    gap: 12px;
  }

  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }

  .estimate-form {
    padding: 18px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }

  .footer-grid {
    display: grid;
  }

  .site-footer a {
    text-align: left;
  }
}
