/* Shoretech Marine Website Styles */

:root {
  --ink: #102027;
  --deep: #071317;
  --navy: #102b35;
  --teal: #2d6f73;
  --sand: #e8dfcf;
  --bone: #f7f4ee;
  --gold: #b58b54;
  --muted: #6f7a7c;
  --line: rgba(16, 32, 39, 0.14);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(7, 19, 23, 0.20);
  --radius: 28px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, Avenir, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--bone);
  line-height: 1.55;
}

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

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 42px;
  background: rgba(7, 19, 23, 0.72);
  backdrop-filter: blur(18px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.03em;
}

nav a { opacity: 0.86; }
nav a:hover { opacity: 1; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 80;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .22s ease, opacity .22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.phone-pill {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7,19,23,0.86), rgba(16,43,53,0.58), rgba(45,111,115,0.22)),
    radial-gradient(circle at 72% 32%, rgba(181,139,84,0.42), transparent 30%),
    url("../assets/images/family-swim-pier-diving-deck-desktop.jpg") center / cover;
  background:
    linear-gradient(120deg, rgba(7,19,23,0.86), rgba(16,43,53,0.58), rgba(45,111,115,0.22)),
    radial-gradient(circle at 72% 32%, rgba(181,139,84,0.42), transparent 30%),
    image-set(
      url("../assets/images/family-swim-pier-diving-deck-desktop.webp") type("image/webp"),
      url("../assets/images/family-swim-pier-diving-deck-desktop.jpg") type("image/jpeg")
    ) center / cover;
}

/* Phones get the 800px homepage hero, matching the .page-hero mobile behaviour. */
@media (max-width: 800px) {
  .hero {
    background:
      linear-gradient(120deg, rgba(7,19,23,0.86), rgba(16,43,53,0.58), rgba(45,111,115,0.22)),
      radial-gradient(circle at 72% 32%, rgba(181,139,84,0.42), transparent 30%),
      url("../assets/images/family-swim-pier-diving-deck-mobile.jpg") center / cover;
    background:
      linear-gradient(120deg, rgba(7,19,23,0.86), rgba(16,43,53,0.58), rgba(45,111,115,0.22)),
      radial-gradient(circle at 72% 32%, rgba(181,139,84,0.42), transparent 30%),
      image-set(
        url("../assets/images/family-swim-pier-diving-deck-mobile.webp") type("image/webp"),
        url("../assets/images/family-swim-pier-diving-deck-mobile.jpg") type("image/jpeg")
      ) center / cover;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  padding: 150px 42px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.65fr);
  gap: 64px;
  align-items: end;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: -0.055em;
  max-width: 960px;
}

.hero-copy {
  max-width: 690px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255,255,255,0.82);
  margin: 28px 0 34px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.centered { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: var(--deep);
  background: var(--gold);
  box-shadow: 0 16px 40px rgba(181,139,84,0.28);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
}

.hero-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-card h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.hero-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  color: rgba(255,255,255,0.82);
}

.hero-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
}

.hero-card li::before {
  content: "•";
  color: var(--gold);
  font-size: 28px;
  line-height: 20px;
}

section { padding: 108px 42px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.045em;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 680px;
}

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

/* Two equal doors into the business — the Residential / Commercial first choice.
   .feature-split is 0.95fr/1.05fr and would make one card wider than the other. */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.service-card {
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 56px rgba(7, 19, 23, 0.08);
  display: grid;
  grid-template-rows: 210px 1fr;
  border: 1px solid var(--line);
}

.placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(7,19,23,0.15), rgba(45,111,115,0.38)),
    radial-gradient(circle at 78% 24%, rgba(181,139,84,0.70), transparent 25%),
    linear-gradient(135deg, #a7b9b8, #e8dfcf);
}

.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(255,255,255,0.22) 46% 48%, transparent 49%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 16px);
  opacity: 0.65;
}

.placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-image,
.project-photo {
  display: block;
  position: relative;
  overflow: hidden;
}

.service-image img,
.project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content { padding: 28px; }

.service-content h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 13px;
}

.service-content p {
  color: var(--muted);
  margin: 0;
}

.dark-band {
  background: var(--deep);
  color: var(--white);
  position: relative;
}

.dark-band .lead,
.dark-band p { color: rgba(255,255,255,0.72); }

.feature-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.big-image {
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.16);
}

.big-image img {
  object-position: center;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  background: rgba(255,255,255,0.055);
}

.number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid rgba(181,139,84,0.45);
  font-family: var(--serif);
  font-size: 24px;
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.materials { background: var(--sand); }

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

.material-card {
  padding: 26px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(16,32,39,0.12);
  border-radius: 24px;
  min-height: 250px;
}

.material-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

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

.showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.showcase-main,
.showcase-side {
  border-radius: 34px;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
}

.showcase-side {
  display: grid;
  gap: 26px;
  min-height: auto;
  border: none;
}

.showcase-side .placeholder,
.showcase-side .project-photo {
  min-height: 267px;
  border-radius: 30px;
  border: 1px solid var(--line);
}

/* Side tiles are fixed cover-cropped frames. Without a definite ratio each tile
   sizes to its own photograph's intrinsic height, so one portrait shot stretches
   the column and squeezes the main image into a narrow vertical crop. */
.showcase-side .project-photo {
  aspect-ratio: 3 / 2;
}

/* Three equal upright frames for construction-detail photography, which is shot
   vertically far more often than not. .showcase assumes landscape and centre-crops
   a portrait shot to about a third of itself — no good when the detail IS the point. */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.detail-grid .project-photo {
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  border: 1px solid var(--line);
}

/* Landscape variant, for photographs of whole structures rather than upright details. */
.detail-grid.is-landscape .project-photo {
  aspect-ratio: 3 / 2;
}

/* Design sheets, not photographs. A drawing must never be cover-cropped — the
   title block and the bill of materials live at the edges, which is exactly what
   `.project-photo img { object-fit: cover }` slices off. Shared by every page
   that shows a sheet so they all render identically. */
.drawing-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
}

.drawing-grid .drawing-wide { grid-column: 1 / -1; }

.drawing-grid a { display: block; }

.drawing-sheet {
  display: block;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.drawing-sheet img {
  height: auto;
  aspect-ratio: 2600 / 1708;
  object-fit: contain;
}

.drawing-caption {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.cta {
  padding: 96px 42px;
  background:
    linear-gradient(120deg, rgba(7,19,23,0.92), rgba(16,43,53,0.78)),
    radial-gradient(circle at 20% 20%, rgba(181,139,84,0.35), transparent 28%);
  color: var(--white);
  text-align: center;
}

.cta .container { max-width: 880px; }
.cta h2 { margin-bottom: 22px; }

.cta p {
  color: rgba(255,255,255,0.72);
  font-size: 20px;
  margin-bottom: 32px;
}

.contact { background: var(--bone); }

.contact-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 38px;
  background: var(--white);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(7,19,23,0.10);
  border: 1px solid var(--line);
}

.contact-info {
  background: var(--deep);
  color: var(--white);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
}

.contact-info p {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
}

.contact-info .large-phone {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--muted);
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(16,32,39,0.16);
  background: #fbfaf7;
  border-radius: 16px;
  padding: 15px 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.full { grid-column: 1 / -1; }

.submit {
  border: none;
  cursor: pointer;
  justify-self: start;
  margin-top: 8px;
}

footer {
  background: var(--deep);
  color: rgba(255,255,255,0.72);
  padding: 46px 42px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

/* Credibility stats band */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 58px 42px;
}

.stats-row {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat { text-align: center; }

.stat .num {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat .lbl {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* Service area (local SEO) */
.area { background: var(--bone); }

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.area-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
}

.area-col h3 {
  font-size: 25px;
  margin-bottom: 16px;
}

.area-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 22px;
  color: var(--muted);
}

.area-col li {
  padding: 5px 0;
  break-inside: avoid;
}

.area-note {
  margin-top: 22px;
  color: var(--muted);
  max-width: 760px;
}

@media (max-width: 700px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .area-grid { grid-template-columns: 1fr; }
  .area-col ul { columns: 1; }
}

.mobile-call {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  min-height: 56px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 18px 48px rgba(7,19,23,0.24);
}

/* Bridges takes the inner-page nav to nine links plus the phone pill. On a wide desktop
   that is a single line, but between the 1020px hamburger collapse and 1300px it wraps to
   two rows. Tighten the spacing through that band, and trim the logo -- at 1021px the nav
   is still ~33px too wide with the tightest legible spacing, and 12px off the logo height
   frees ~46px. Measured at 1021, 1060, 1100, 1200 and 1300. */
@media (min-width: 1021px) and (max-width: 1300px) {
  nav {
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }
  .brand-logo { height: 64px; }
}

@media (max-width: 1020px) {
  .topbar {
    padding: 10px 22px;
  }

  .brand-logo {
    height: 54px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 4px;
    padding: 16px;
    background: rgba(7, 19, 23, 0.96);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 16px;
    border-radius: 16px;
    opacity: 1;
    background: rgba(255,255,255,0.045);
  }

  nav a:hover {
    background: rgba(255,255,255,0.09);
  }

  nav .phone-pill {
    justify-content: center;
    margin-top: 8px;
    background: var(--gold);
    color: var(--deep);
    border-color: transparent;
  }

  .hero-inner,
  .section-head,
  .feature-split,
  .choice-grid,
  .showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner { padding: 130px 24px 60px; }
  section { padding: 76px 24px; }

  .service-grid,
  .material-grid,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 9px 16px;
  }

  .brand {
    max-width: calc(100% - 62px);
  }

  .brand span {
    display: inline;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .brand-logo {
    width: auto;
    height: 48px;
  }

  nav {
    top: 66px;
    left: 12px;
    right: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid,
  .material-grid,
  .detail-grid,
  form {
    grid-template-columns: 1fr;
  }

  .showcase-main {
    min-height: 420px;
  }

  .contact-panel { padding: 18px; }

  .mobile-call { display: flex; }

  footer { padding-bottom: 92px; }
}

/* ── Interior service pages ─────────────────────────────────────── */
.page-hero {
  position: relative;
  color: var(--white);
  padding: 168px 42px 84px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-image: var(--hero-jpg);
  background-image: var(--hero-set, var(--hero-jpg));
}

/* Laptops between the phone breakpoint and 1300px get a 1200px hero where one
   exists. Only the ~50 heaviest heroes have a -tab file, so this chain falls all
   the way back to --hero-jpg for every page that does not. */
@media (min-width: 801px) and (max-width: 1300px) {
  .page-hero {
    background-image: var(--hero-jpg-tab, var(--hero-jpg));
    background-image: var(--hero-set-tab, var(--hero-set, var(--hero-jpg-tab, var(--hero-jpg))));
  }
}

/* Phones get the 800px hero rather than the 1600px one. Pages set the custom
   properties inline; every fallback chain has to end at --hero-jpg, because a
   var() that resolves to nothing is invalid at computed-value time and still
   beats the declaration above it — which blanked the hero on any page that
   defined only the JPEG pair. Matches the 800px switch point used by <picture>. */
@media (max-width: 800px) {
  .page-hero {
    background-image: var(--hero-jpg-mobile, var(--hero-jpg));
    background-image: var(--hero-set-mobile, var(--hero-set, var(--hero-jpg-mobile, var(--hero-jpg))));
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(7,19,23,0.92) 0%, rgba(16,43,53,0.74) 48%, rgba(45,111,115,0.36) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 80px);
  max-width: 18ch;
  margin-bottom: 22px;
}

.page-hero .lead {
  color: rgba(255,255,255,0.86);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 64ch;
}

.page-hero .button-row { margin-top: 30px; }

.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 20px;
}

.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { opacity: 0.5; margin: 0 8px; }

.prose { max-width: 760px; }
.prose p { font-size: 18px; margin: 0 0 20px; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }

.split-image {
  border-radius: 30px;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.card-link::after { content: "→"; transition: transform .2s ease; }
.service-card:hover .card-link::after { transform: translateX(4px); }

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 2px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0 0 18px; color: var(--muted); }

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(7,19,23,0.10);
}

.related-card h3 { font-size: 21px; margin-bottom: 8px; }
.related-card p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 1020px) {
  .page-hero { padding: 132px 24px 64px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .page-hero { padding: 116px 18px 52px; }
  .split-image { min-height: 320px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.form-status[data-state="ok"] {
  background: rgba(45, 111, 115, 0.16);
  border: 1px solid rgba(45, 111, 115, 0.4);
  color: var(--deep);
}

.form-status[data-state="error"] {
  background: rgba(181, 139, 84, 0.14);
  border: 1px solid rgba(181, 139, 84, 0.45);
  color: var(--deep);
}

/* Video: a click-to-load facade. Nothing is requested from YouTube until the
   visitor presses play, so the embed costs no third-party JS on page load and
   sets no cookies for people who never watch. */
.video-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  align-items: start;
}

/* Three-up variant, for a sequence where no one film is the lead — the bulkhead
   before / during / after set. The 1.35fr default assumes one hero plus a
   sidekick, which leaves a third card orphaned on its own row. Needs its own
   collapse below — the single-class `.video-grid { 1fr }` in the 1020px block
   cannot override this two-class selector, so three cards stayed side by side at
   96px wide on a phone. */
.video-grid.is-three {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

/* Cards in the three-up set must end level: their captions are different lengths,
   and with `align-items: start` each card stopped at its own text, leaving three
   ragged bottoms. Stretch alone is not enough — the card has to pass the height
   down, so it becomes a flex column and the caption takes up the slack. */
.video-grid.is-three .video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-grid.is-three .video-caption {
  flex: 1;
}

.video-card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep);
}

.video-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--deep);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-frame.is-portrait { aspect-ratio: 9 / 16; }

.video-frame img,
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,19,23,0.10), rgba(7,19,23,0.42));
  transition: background .2s ease;
  pointer-events: none;
}

.video-frame:hover::after { background: linear-gradient(160deg, rgba(7,19,23,0.04), rgba(7,19,23,0.30)); }
.video-frame.is-playing::after { content: none; }

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 16px 40px rgba(7,19,23,0.45);
  display: grid;
  place-items: center;
  transition: transform .2s ease;
  z-index: 2;
}

.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.06); }
.video-frame:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 24px solid var(--deep);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.video-caption {
  padding: 22px 24px 26px;
  color: var(--white);
}

.video-caption h3 { font-size: 26px; margin-bottom: 9px; }
.video-caption p { color: rgba(255,255,255,0.74); font-size: 15px; margin: 0; }

@media (max-width: 1020px) {
  .video-grid,
  .video-grid.is-three { grid-template-columns: 1fr; }
  .video-frame.is-portrait { aspect-ratio: 16 / 9; }
}
