/* Root */
:root {
  --bg: #F2F7F7;
  --surface: #FFFFFF;
  --text: #0F2A2E;
  --muted: #46605F;
  --accent: #0B6E77;
  --accentText: #FFFFFF;
  --plateBg: #0B6E77;
  --plateText: #FFFFFF;
  --line: #C7DBDA;
  --radiusCard: 22px;
  --radiusBtn: 14px;
  --fontHeading: 'Gill Sans', 'Gill Sans MT', Calibri, 'Segoe UI', sans-serif;
  --fontBody: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadowSoft: 0 1px 2px rgb(15 42 46 / .06), 0 12px 32px rgb(15 42 46 / .08);
  --padSide: clamp(16px, 4vw, 40px);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgb(11 110 119 / .3) 3px, transparent 3.5px);
  background-size: 46px 46px;
  color: var(--text);
  font-family: var(--fontBody);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--fontHeading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); margin: 0 0 10px; }
p { max-width: 68ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #08525A; }
.pageWrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--padSide);
  padding-right: var(--padSide);
}
.skipPath {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radiusBtn);
  z-index: 100;
}
.skipPath:focus { left: 8px; }

/* Header */
.topBar {
  background: rgb(242 247 247 / .82);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.topBar.isScrolled {
  background: var(--surface);
  box-shadow: 0 6px 24px rgb(15 42 46 / .08);
}
.headContacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 8px 0;
  font-size: .875rem;
  border-bottom: 1px solid var(--line);
}
.headContacts a { color: var(--muted); text-decoration: none; }
.headContacts a:hover { color: var(--accent); text-decoration: underline; }
.headRow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.brandMark {
  font-family: var(--fontHeading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.pageFoot .brandMark { font-size: 1.25rem; margin: 0 0 10px; }

/* Nav */
.menuLine { margin-right: auto; }
.menuBtn {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: 600 .95rem var(--fontBody);
  cursor: pointer;
}
.menuList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menuLink {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  background: var(--surface);
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
.menuLink:hover { border-color: var(--accent); color: var(--accent); }
.menuLink:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.menuLink[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accentText);
}

/* Sections */
main { display: grid; gap: clamp(32px, 4vw, 40px); padding: clamp(20px, 3vw, 36px) 0; }
.block {
  background: var(--surface);
  border-radius: var(--radiusCard);
  padding: clamp(40px, 6vw, 88px) 0;
  box-shadow: 0 1px 2px rgb(15 42 46 / .05);
}
.blockIntro { color: var(--muted); margin: 0 0 32px; }

/* Hero */
#hero { padding-bottom: 0; }
.heroHead { margin: 0 0 20px; max-width: 12ch; text-wrap: balance; }
.tealMark {
  display: inline;
  white-space: nowrap;
  font-size: clamp(1.15em, 2.6vw + 0.5rem, 1.9em);
  color: var(--accent);
  font-style: italic;
}
.heroLead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); margin: 20px 0 28px; max-width: 60ch; line-height: 1.65; }
.heroFrame { margin-top: 32px; }
.heroPhoto {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radiusCard);
  box-shadow: var(--shadowSoft);
  transform: scale(1);
}
.jsOn .heroPhoto { animation: heroSettle .8s ease both; }
@keyframes heroSettle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

/* Buttons */
.btnMain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radiusBtn);
  background: var(--accent);
  color: var(--accentText);
  font: 600 1rem var(--fontBody);
  text-decoration: none;
  cursor: pointer;
  transition: border-radius .25s ease, background-color .25s ease, transform .1s ease;
}
.btnMain:hover { border-radius: 4px; background: #08525A; border-color: #08525A; }
.btnMain:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.btnMain:active { transform: translateY(1px); }
.btnGhost {
  display: inline-block;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font: 600 1rem var(--fontBody);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.btnGhost:hover { color: #08525A; }
.btnGhost:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.btnGhost:active { transform: translateY(1px); }

/* Cards */
.duoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.tileCard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radiusCard);
  padding: 28px 26px;
  box-shadow: 0 1px 2px rgb(15 42 46 / .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tileCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowSoft);
}
.plainList { margin: 0; padding-left: 20px; }
.plainList li { margin: 0; line-height: 1.6; }
.plainList li + li { margin-top: 12px; }
.plainList li:last-child { margin-top: 16px; }
.duoNote { margin-top: 32px; }

/* Steps */
.stageList { display: grid; gap: 14px; }
.stageItem {
  border: 1px solid var(--line);
  border-radius: var(--radiusCard);
  background: var(--bg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stageItem:hover { transform: translateY(-3px); box-shadow: var(--shadowSoft); }
.stageBtn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  max-width: 640px;
  margin: 0 auto;
  border: 0;
  background: none;
  font: 600 1.05rem var(--fontHeading);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.stageBtn:hover { color: var(--accent); }
.stageBtn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.stageBtn:active { transform: translateY(1px); }
.stageNum {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accentText);
  font: 700 1rem var(--fontBody);
}
.stageBody { padding: 0 20px 18px 74px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.stageBody p { margin: 0; }

/* Gallery */
.shotGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.shotCard {
  margin: 0;
  border-radius: var(--radiusCard);
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(15 42 46 / .05);
}
.shotCard img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.shotCard.isShown img { opacity: 1; transform: none; }
.shotTall img { aspect-ratio: 4 / 5; }

/* FAQ */
.qaBlock { display: grid; gap: 12px; }
.qaBlock details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radiusCard);
  padding: 4px 20px;
  transition: box-shadow .3s ease;
}
.qaBlock details[open] { box-shadow: var(--shadowSoft); }
.qaBlock summary {
  font-family: var(--fontHeading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 0;
  cursor: pointer;
}
.qaBlock summary:hover { color: var(--accent); }
.qaBlock summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.qaBlock details p { color: var(--muted); margin: 0 0 16px; }

/* Plate and form */
.inkPlate {
  background: var(--plateBg);
  color: var(--plateText);
  border-radius: var(--radiusCard);
  padding: clamp(28px, 4vw, 56px);
}
.plateTitle { color: var(--plateText); }
.plateLead { color: rgb(255 255 255 / .9); margin: 0 0 28px; }
.inkPlate a:not(.btnMain) { color: #CFF0F2; }
.leadForm { max-width: 640px; display: grid; gap: 18px; }
.formRow { display: grid; gap: 6px; }
.rowLabel { font-weight: 600; color: var(--plateText); }
.rowInput {
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid rgb(255 255 255 / .5);
  border-radius: var(--radiusBtn);
  background: rgb(255 255 255 / .96);
  color: var(--text);
  font: 400 1rem var(--fontBody);
}
.rowInput::placeholder { color: var(--muted); }
.rowInput:focus { outline: 3px solid var(--surface); outline-offset: 1px; border-color: var(--surface); }
.rowArea { min-height: 120px; resize: vertical; }
.rowCheck { display: flex; gap: 12px; align-items: flex-start; }
.rowCheck input { width: 20px; height: 20px; margin-top: 3px; accent-color: #CFF0F2; }
.rowCheck label { color: var(--plateText); font-size: .95rem; }
.inkPlate .formHint { color: rgb(255 255 255 / .85); font-size: .9rem; margin: 0; }
.formSubmit { justify-self: start; border-color: var(--surface); }
.formSubmit:hover { border-radius: 4px; background: var(--surface); color: var(--accent); border-color: var(--surface); }
.formHint { color: var(--muted); }
.leadForm.isLocked .formSubmit { opacity: .6; pointer-events: none; }
.rowAlert { color: #FFD9D9; font-size: .9rem; margin: 0; }

/* Floating call button */
.callFab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--surface);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accentText);
  font: 600 .95rem var(--fontBody);
  text-decoration: none;
  box-shadow: var(--shadowSoft);
  transition: border-radius .25s ease, background-color .25s ease;
}
.callFab:hover { border-radius: 10px; background: #08525A; }
.callFab:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.callFab:active { transform: translateY(1px); }

/* Footer */
.pageFoot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) 0 28px;
  margin-top: clamp(20px, 3vw, 36px);
}
.footGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footTitle {
  font-family: var(--fontHeading);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 12px;
}
.footLinks ul, .footContacts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footLinks a { text-decoration: none; }
.footLinks a:hover { text-decoration: underline; }
.footAbout address { font-style: normal; color: var(--muted); }
.footAbout address p { margin: 0 0 8px; }
.footContacts span { color: var(--muted); }
.footCopy { margin: 36px 0 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 18px; }

/* Text pages */
.textFlow { max-width: 760px; }
.textFlow h2 { font-size: clamp(1.5rem, 2vw + 0.8rem, 2.2rem); margin-top: 40px; }
.textFlow h3 { margin-top: 28px; }
.textFlow ul, .textFlow ol { padding-left: 24px; }
.textFlow table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.textFlow th, .textFlow td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.textFlow th { background: var(--bg); font-family: var(--fontHeading); }
.tocList { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 8px; }
.pageHead { padding-top: 0; }
.pageHead h1 { font-size: clamp(2rem, 3.4vw + 0.8rem, 3.6rem); }
.pageLead { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); margin: 0; }

/* Simple centered pages */
.centerBlock { text-align: center; }
.centerBlock .textFlow { margin: 0 auto; }
.centerBlock h1 { margin-bottom: 16px; }
.statusCode {
  font-family: var(--fontHeading);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent);
  line-height: 1;
  margin: 0 0 8px;
}

/* Reveal */
html:not(.jsOn) .fadeUp { opacity: 1; transform: none; }
.jsOn .fadeUp {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.jsOn .fadeUp.isShown { opacity: 1; transform: none; }

/* Breakpoints */
@media (min-width: 480px) {
  .duoGrid { grid-template-columns: 1fr 1fr; }
  .headRow { justify-content: flex-end; }
}
@media (min-width: 640px) {
  .shotGrid { grid-template-columns: 1fr 1fr; }
  .shotTall { grid-row: span 1; }
  .footGrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .menuBtn { display: inline-flex; align-items: center; }
  .headContacts { overflow: hidden; height: 32px; align-items: center; }
  .headContacts a:last-child { display: none; }
  .heroLead { max-width: 34ch; }
  .plainList li + li { margin-top: 14px; }
  .plainList li { line-height: 1.7; }
  .plainList li:nth-child(even) { background: rgb(11 110 119 / .04); border-radius: 8px; padding: 4px 8px; }
  .tileCard { padding: 24px 16px; }
  .duoGrid .tileCard:first-child { order: 1; }
  .duoGrid .tileCard:last-child { order: 2; }
  .menuLine { position: relative; margin-right: auto; width: 100%; }
  .menuList {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radiusCard);
    padding: 12px;
    gap: 6px;
    box-shadow: var(--shadowSoft);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .menuLine.isOpen .menuList {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .menuLink { display: block; }
  .stageBody { padding-left: 20px; }
}
@media (min-width: 768px) {
  .menuBtn { display: none; }
  .shotGrid { grid-template-columns: 1fr 1fr 1fr; }
  .shotTall { grid-column: span 1; grid-row: span 2; }
  .shotTall img { height: 100%; }
  .footGrid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footGrid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
  .duoGrid { gap: 28px; }
}
@media (min-width: 1280px) {
  .heroHead { max-width: 24ch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .jsOn .fadeUp, .jsOn .fadeUp.isShown { opacity: 1; transform: none; }
  .shotCard img { opacity: 1; transform: none; }
}

/* Desktop-only note for column layout */
@media (max-width: 767px) {
  .duoNote { font-size: .95rem; }
}
@media (min-width: 768px) {
  .shotTall { grid-row: span 2; }
  .shotTall img { height: 100%; }
}
