/* Marine Craft NC — site stylesheet */
:root {
  --navy: #102a38;
  --navy-deep: #0b1c26;
  --sea: #24678d;
  --sea-dark: #1b5270;
  --sea-light: #3a8fad;
  --foam: #f5f7f6;
  --paper: #faf9f6;
  --sand: #e6ddd0;
  --brass: #b08d57;
  --ink: #1c2328;
  --slate: #4a5861;
  --muted: #6b7780;
  --line: #d8dee2;
  --white: #ffffff;
  --danger: #9b2c2c;
  --ok: #1e6b4a;
  --shadow: 0 10px 30px rgba(16, 42, 56, 0.12);
  --radius: 10px;
  --header-h: 76px;
  --max: 1140px;
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, iframe { max-width: 100%; height: auto; display: block; }
iframe { width: 100%; border: 0; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sea-dark); }
h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.7em;
}
h1 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .5rem 1rem; }

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: #d7e3ea;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  justify-content: space-between; align-items: center;
  padding: 0.45rem 0;
}
.topbar a { color: #e8eef2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .creds { opacity: 0.9; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(16,42,56,0.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo {
  display: flex; flex-direction: column; text-decoration: none; color: var(--navy);
  line-height: 1.05; padding: 0.4rem 0;
}
.logo-word {
  font-weight: 700; letter-spacing: 0.14em; font-size: 1.05rem;
}
.logo-sub {
  font-size: 0.62rem; letter-spacing: 0.12em; color: var(--sea);
  font-weight: 600; text-transform: uppercase; margin-top: 0.2rem;
}
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav > ul {
  display: flex; align-items: center; gap: 0.1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; text-decoration: none; color: var(--navy);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.65rem 0.7rem; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sea); background: #eef5f8; }
.nav .has-sub { position: relative; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 280px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 8px; padding: 0.4rem;
  list-style: none; margin: 0;
}
.nav .has-sub:hover > .sub,
.nav .has-sub:focus-within > .sub { display: block; }
.nav .sub a { padding: 0.55rem 0.75rem; }
.header-cta { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 0; cursor: pointer; text-decoration: none !important;
  font-family: inherit; font-weight: 650; font-size: 0.86rem; letter-spacing: 0.03em;
  border-radius: 6px; padding: 0.7rem 1.1rem; line-height: 1.2;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); color: #fff !important; }
.btn-primary:hover { background: var(--sea-dark); color: #fff !important; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-deep); color: #fff !important; }
.btn-ghost { background: rgba(11,28,38,0.45); color: #fff !important; border: 1px solid rgba(255,255,255,0.8); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: transparent; color: var(--navy) !important; border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.menu-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px;
  padding: 0; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  background-position: center 45%;
  position: relative; color: #fff;
  min-height: clamp(380px, 58vw, 560px);
  display: flex; align-items: flex-end;
  background: var(--navy-deep) center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,28,38,0.78) 0%, rgba(11,28,38,0.55) 42%, rgba(11,28,38,0.28) 100%),
              linear-gradient(180deg, rgba(11,28,38,0.15) 0%, rgba(11,28,38,0.55) 70%, rgba(11,28,38,0.82) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 3.5rem 0 3rem; width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.hero-kicker {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #f0d9a8;
  margin-bottom: 0.85rem;
}
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 0.6rem; }
.hero p { max-width: 42rem; color: #e6eef2; font-size: 1.05rem; margin-bottom: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy) center/cover no-repeat;
  color: #fff; position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,28,38,0.82), rgba(11,28,38,0.52));
}
.page-hero .wrap { position: relative; z-index: 1; padding: 3rem 0 2.4rem; }
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; }
.page-hero p { color: #d7e3ea; max-width: 46rem; margin: 0; }
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.7rem; }
.crumbs a { color: var(--sea); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .crumbs, .page-hero .crumbs a { color: #dce7ed; }

/* Layout sections */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--foam); }
.section-navy { background: var(--navy); color: #e6eef2; }
.section-navy h2, .section-navy h3 { color: #fff; }
.lede { font-size: 1.08rem; color: var(--slate); max-width: 46rem; }
.grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.2rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  /* Keep .wrap max-width, but restore auto side margins (shorthand "0" was left-aligning the row). */
  margin: 1.6rem auto 0;
  justify-content: center;
}
.photo-row figure { margin: 0; }
.photo-row img, .photo-row picture img {
  width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius);
}
.caption, figcaption {
  font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem;
}
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin-top: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin: 0.3rem 0; }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose figure { margin: 1.1rem 0; }
.callout {
  background: #eef5f8; border-left: 4px solid var(--sea);
  padding: 1rem 1.15rem; border-radius: 0 8px 8px 0; margin: 1.4rem 0;
}
.callout h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 1px 0 rgba(16,42,56,0.04);
}
.card img, .card picture img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 1.05rem 1.1rem 1.2rem; }
.card h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--sea); }
.card .meta { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--slate); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.person picture { display: block; width: 96px; height: 96px; }
.person img, .person picture img {
  width: 96px; height: 96px; object-fit: cover; object-position: center top; border-radius: 50%;
  border: 3px solid var(--sand); background: #d9e2e6;
}
.person h3 { margin: 0.7rem 0 0.15rem; font-size: 1.05rem; }
.person .role { color: var(--sea); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.55rem; }
.person p { font-size: 0.92rem; color: var(--slate); }
.team-hero { margin: 0 0 1.2rem; }
.team-hero picture, .team-hero img {
  display: block; width: 100%; height: auto;
}
.team-hero img, .team-hero picture img {
  width: 100%; max-height: 520px; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius);
}

/* Fees table */
.fee-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; }
.fee-table th, .fee-table td { padding: 0.7rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { background: var(--navy); color: #fff; font-weight: 600; }
.fee-table tr:nth-child(even) td { background: #f3f6f7; }
.fee-note { font-size: 0.9rem; color: var(--slate); margin-top: 0.8rem; }

/* Forms */
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; box-shadow: 0 1px 0 rgba(16,42,56,0.04);
}
.form h2 { margin-top: 0; }
.form-row { margin-bottom: 0.95rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.req { color: #b42318; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form textarea, .form select {
  width: 100%; font: inherit; padding: 0.65rem 0.7rem;
  border: 1px solid #c9d3d8; border-radius: 6px; background: #fff; color: var(--ink);
}
.form textarea { min-height: 88px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--sea-light); border-color: var(--sea);
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.checkbox { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; }
.checkbox input { margin-top: 0.25rem; }
.form-status { margin-top: 0.8rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.85rem 0; }
.faq summary {
  cursor: pointer; font-weight: 650; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sea); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.7rem 0 0.2rem; color: var(--slate); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.gallery figure { margin: 0; }
.gallery img, .gallery picture img {
  width: 100%; height: 210px; object-fit: cover; border-radius: 8px;
}
.gallery figcaption { font-size: 0.8rem; color: var(--slate); margin-top: 0.35rem; }

/* Widgets */
.widget-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.widget h3 { margin: 0; padding: 0.8rem 1rem 0.2rem; font-size: 0.95rem; }
.widget .embed { min-height: 250px; }
.widget iframe { min-height: 250px; }
.widget .embed.tide-embed { min-height: 0; padding: 0.35rem 1rem 1rem; }
.tide-status { margin: 0.6rem 0 0; color: var(--muted); font-size: 0.92rem; }
.tide-status.err { color: var(--danger); }
.tide-day { margin-top: 0.75rem; }
.tide-day h4 {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 650; margin: 0 0 0.25rem;
}
.tide-list { list-style: none; margin: 0; padding: 0; }
.tide-list li {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 0.6rem; align-items: baseline;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.tide-list li:last-child { border-bottom: 0; }
.tide-type { font-weight: 650; color: var(--navy); }
.tide-time { color: var(--ink); }
.tide-height { color: var(--slate); font-variant-numeric: tabular-nums; font-weight: 600; }
.tide-foot { margin: 0.8rem 0 0; font-size: 0.8rem; color: var(--muted); }
.tide-foot a { font-weight: 600; }
.weather-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem; }
.stat b { display: block; color: var(--navy); font-size: 1.05rem; }
.stat span { font-size: 0.78rem; color: var(--muted); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: center; }
.partners a, .partners img {
  height: 52px; width: auto; max-width: 140px; object-fit: contain;
  filter: grayscale(0.15);
}
.partners a { display: flex; align-items: center; }

/* Blog list */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.post-hero img, .post-hero picture img {
  width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin: 0.4rem 0 1.2rem;
}
.byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.related { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.related ul { margin: 0; padding-left: 1.1rem; }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }
.contact-card { background: var(--navy); color: #e6eef2; border-radius: var(--radius); padding: 1.5rem; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card a { color: #cfe7f3; }
.contact-card p { margin-bottom: 0.85rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c5d2d9; padding: 2.6rem 0 1.2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.6rem; margin-bottom: 1.8rem; }
.site-footer h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.7rem; }
.site-footer a { color: #d5e0e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.8rem; color: #9aadb7; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: space-between; }

/* Announcements */
.announce-banner {
  background: var(--sea); color: #fff; padding: 0.7rem 0; font-size: 0.92rem;
}
.announce-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.announce-banner a { color: #fff; font-weight: 650; }
.announce-dismiss {
  background: transparent; border: 0; color: inherit; cursor: pointer;
  font-size: 1.2rem; line-height: 1; padding: 0.2rem 0.4rem;
}
.announce-modal-backdrop {
  position: fixed; inset: 0; background: rgba(11,28,38,0.55);
  z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
}
.announce-modal {
  background: #fff; color: var(--ink); max-width: 480px; width: 100%;
  border-radius: 12px; padding: 1.5rem 1.4rem 1.3rem; box-shadow: var(--shadow);
  position: relative;
}
.announce-modal h2 { margin-right: 1.5rem; }
.announce-modal .announce-dismiss { position: absolute; top: 0.6rem; right: 0.5rem; color: var(--slate); }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.resource-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; padding: 0; list-style: none; margin: 0.4rem 0 0; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .widget-grid, .footer-grid,
  .team-grid, .blog-list, .gallery { grid-template-columns: 1fr 1fr; }
  /* Keep the homepage 3-photo row in equal centered columns (a 2-col wrap leaves a trailing empty track). */
  .photo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.2rem 1rem; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav .sub { position: static; display: block; box-shadow: none; border: 0; padding-left: 0.8rem; min-width: 0; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .widget-grid, .footer-grid,
  .team-grid, .blog-list, .photo-row, .gallery, .form-row.two, .weather-stats {
    grid-template-columns: 1fr;
  }
  .photo-row img, .photo-row picture img, .gallery img, .gallery picture img { height: 220px; }
  .topbar .creds { display: none; }
}

/* Reviews */
.reviews-block { text-align: center; max-width: 46rem; margin-inline: auto; }
.reviews-block .lede { margin-inline: auto; }
.reviews-score { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.6rem; }
.reviews-score .stars { color: var(--brass); letter-spacing: 0.08em; margin-right: 0.4rem; }

/* Location trust strip */
.location-lede { color: #d5e0e6; max-width: 46rem; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.location-grid h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.45rem; }
.location-grid a { color: #cfe7f3; }
.section-navy .btn-ghost { color: #fff !important; }

/* How an upgrade works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.15rem 1.3rem; }
.step-num {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; margin-bottom: 0.7rem;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* ABYC badge + consult split */
.abyc-badge {
  display: flex; gap: 1rem; align-items: flex-start;
  text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.abyc-badge img { width: 96px; height: auto; flex: 0 0 96px; object-fit: contain; }
.abyc-badge strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 0.35rem; }
.abyc-badge p { margin: 0; color: var(--slate); font-size: 0.92rem; }
.abyc-badge:hover { border-color: var(--sea); }
.consult-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
.faq-block { margin-top: 2.2rem; }

/* Sticky mobile call bar */
.mobile-callbar { display: none; }

@media (max-width: 900px) {
  .location-grid, .steps, .consult-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .location-grid, .steps, .consult-grid { grid-template-columns: 1fr; }
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(16,42,56,0.12);
  }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-weight: 700; font-size: 0.92rem;
    border-radius: 8px; padding: 0.75rem 0.5rem; letter-spacing: 0.02em;
  }
  .callbar-call { background: var(--sea); color: #fff; }
  .callbar-call:hover { background: var(--sea-dark); color: #fff; }
  .callbar-service { background: var(--navy); color: #fff; }
  .callbar-service:hover { background: var(--navy-deep); color: #fff; }
}
@media print {
  .mobile-callbar { display: none !important; }
  body { padding-bottom: 0; }
}

/* Uniformly centered top-level nav tabs (single-line, wrapped, and stacked) */
.nav > ul > li > a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.nav .sub a {
  text-align: left;
}
nav a.nav-stack {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
nav a.nav-stack .nav-main {
  display: block;
}
nav a.nav-stack .nav-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
  margin-top: 0.1rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .nav > ul > li > a,
  nav a.nav-stack {
    display: flex;
    align-items: flex-start;
    text-align: left;
  }
}
