/* ========== Theme ==========
   Change the colours here to restyle the whole site. */
:root {
  --navy: #0b2a5b;         /* deep blue */
  --blue: #123f80;         /* mid blue */
  --blue-2: #2a5aa8;
  --blue-bright: #2563eb;
  --accent: #fcd116;       /* yellow */
  --accent-dark: #eab308;
  --on-accent: #0b2a5b;    /* text on yellow */
  --link: #1d4ed8;
  --text: #0f1b2d;
  --muted: #5a6880;
  --bg: #ffffff;
  --bg-alt: #f3f6fc;
  --border: #e3e8f2;
  --star: #f5b301;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 91, 0.06), 0 2px 8px rgba(11, 42, 91, 0.05);
  --shadow: 0 10px 30px -10px rgba(11, 42, 91, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 91, 0.35);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.5em; color: var(--navy); letter-spacing: -0.02em; font-weight: 800; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.75em 1.35em;
  border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.55em 1.05em; font-size: 0.95rem; }
.btn-lg { padding: 0.95em 1.6em; font-size: 1.05rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -8px rgba(252, 209, 22, 0.7); }
.btn-accent:hover { background: #ffdc3a; box-shadow: 0 12px 28px -8px rgba(252, 209, 22, 0.85); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); box-shadow: var(--shadow); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 14px;
  border-radius: 999px;
  background: #e8effb; color: var(--blue);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(252, 209, 22, 0.3); }
.pill-light { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(11, 42, 91, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled { background: rgba(11, 42, 91, 0.94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-logo { height: 46px; width: auto; }
.site-footer .brand-logo { height: 40px; }
@media (max-width: 400px) { .site-header .brand-logo { height: 38px; } }
.brand .amp { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s;
}
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-nav .btn { margin-left: 10px; }

.nav-toggle { display: none; background: rgba(255, 255, 255, 0.08); border: 0; padding: 10px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; margin: 4px 0; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy); padding: 10px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-nav.is-open { display: flex; animation: drop 0.25s var(--ease); }
  .site-nav a:not(.btn) { padding: 12px 14px; }
  .site-nav .btn { margin: 8px 0 0; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ========== Hero ========== */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, 0.55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(42, 90, 168, 0.6), transparent 60%),
    linear-gradient(160deg, #0b2a5b 0%, #0a2250 60%, #081b40 100%);
  padding-block: clamp(56px, 9vw, 110px) clamp(72px, 10vw, 130px);
  margin-top: -71px; padding-top: calc(71px + clamp(56px, 9vw, 110px));
}
/* subtle roof-tile texture */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px), repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-glow { position: absolute; width: 520px; height: 520px; right: -120px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 209, 22, 0.28), transparent 65%); pointer-events: none; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6.2vw, 4.4rem); margin-bottom: 0.3em; }
.hero h1 .hl { color: var(--accent); }
.hero-tagline { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; margin: 0 0 12px; color: #fff; }
.hero-intro { max-width: 560px; color: rgba(255, 255, 255, 0.75); margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b2a5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Photo collage */
.hero-visual { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 0.92; }
.hero-visual .hv-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.12); }
.hero-visual .hv-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hv-img:first-of-type { grid-row: 1 / 3; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; aspect-ratio: 1 / 0.75; }
}

/* ========== Sections ========== */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2, .contact-main h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 0.35em; }
.section-sub { color: var(--muted); margin: 0; font-size: 1.1rem; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ========== Services ========== */
.service-group {
  display: flex; align-items: center; gap: 14px;
  font-size: 1.35rem; margin: 48px 0 20px;
}
.service-group::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.service-group:first-child { margin-top: 0; }
.services-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6ee; }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue-2)); color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.service-icon .icon { width: 24px; height: 24px; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card h4 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.55; }

/* ========== Gallery ========== */
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; padding: 5px; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); }
.filter {
  font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 0.5em 1.15em; border-radius: 999px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter:hover { color: var(--navy); background: var(--bg-alt); }
.filter.is-active { background: var(--navy); color: #fff; }

.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.gallery-grid li { animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.gallery-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--blue);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 27, 64, 0.85), transparent 55%);
  opacity: 0.55; transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  color: #fff; text-align: left; font-weight: 600; font-size: 0.95rem; line-height: 1.3;
}
.gallery-tag { flex: none; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 18, 42, 0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 64px 16px; animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1040px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); text-align: center; margin-top: 14px; }
.lightbox button {
  background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255, 255, 255, 0.15); cursor: pointer;
  font-size: 1.9rem; line-height: 1; width: 50px; height: 50px; border-radius: 50%; flex: none;
  transition: background 0.2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 600px) {
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
}

/* ========== Reviews ========== */
.reviews-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}
.review-card {
  position: relative; margin: 0;
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-card::before {
  content: "\201C"; position: absolute; right: 22px; top: 6px;
  font-size: 5rem; line-height: 1; font-family: Georgia, serif; color: #e8effb;
}
.review-card blockquote { margin: 12px 0 20px; color: var(--text); flex: 1; position: relative; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.92rem; padding-top: 16px; border-top: 1px solid var(--border); }
.review-card figcaption strong { display: block; color: var(--navy); font-size: 1rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--navy), var(--blue-2)); color: var(--accent); font-weight: 800; }
.stars { color: var(--star); font-size: 1.15rem; letter-spacing: 3px; position: relative; }
.sample-badge {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  background: #fff4c2; color: #7a5a00; font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}

.review-form-wrap {
  margin-top: 56px; padding: clamp(24px, 4vw, 44px);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: 1fr 1.6fr; align-items: start;
}
@media (max-width: 820px) { .review-form-wrap { grid-template-columns: 1fr; } }
.review-form-intro h3 { font-size: 1.6rem; }
.review-form-intro p { color: var(--muted); margin: 0; }
.review-form { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input[type="text"], .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input[type="text"]:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
.field textarea { resize: vertical; }
.rating-field { border: 0; padding: 0; }
.rating-field legend { padding: 0; margin-bottom: 6px; }

/* Star picker — inputs are in reverse order so "~" highlights lower stars */
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: #cfd7e6; cursor: pointer; line-height: 1; transition: color 0.15s, transform 0.15s; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-success { color: #15803d; }
.form-status.is-error { color: #b91c1c; }

/* ========== Contact ========== */
.contact-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 10px);
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(37, 99, 235, 0.5), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(252, 209, 22, 0.14), transparent 60%),
    linear-gradient(150deg, var(--navy), #081b40);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } }
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel .section-sub { color: rgba(255, 255, 255, 0.72); }
.contact-panel a { color: #fff; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.contact-cta .btn-accent { color: var(--on-accent); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.c-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--accent); }
.contact-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.social-links a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.25); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; }
.social-links a:hover { background: rgba(255, 255, 255, 0.1); }

.hours {
  align-self: start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(8px);
}
.hours h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.hours h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hours dl { margin: 0; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.97rem; }
.hours dl div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; color: #fff; }
.hours dd { margin: 0; text-align: right; }

/* ========== Footer ========== */
.site-footer { background: var(--bg-alt); color: var(--muted); padding-block: 28px; font-size: 0.93rem; border-top: 1px solid var(--border); }
.site-footer a { color: var(--navy); }
.site-footer .brand { color: var(--navy); font-size: 1rem; }
.site-footer .brand .amp { color: var(--accent-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-inner p { margin: 0; }

/* Sticky call bar on phones */
.mobile-call { display: none; }
@media (max-width: 600px) {
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    background: var(--accent); color: var(--on-accent); font-weight: 800; text-decoration: none;
    padding: 15px 16px; border-radius: 999px;
    box-shadow: 0 12px 30px -8px rgba(8, 27, 64, 0.5);
  }
  .site-footer { padding-bottom: 100px; }
  .site-nav .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.gallery-more-wrap { text-align: center; margin-top: 28px; }
.gallery-empty {
  margin: 0; padding: 40px 24px; text-align: center; color: var(--muted);
  background: #fff; border: 2px dashed var(--border); border-radius: var(--radius);
}
.hero-no-photos .hero-inner { grid-template-columns: 1fr; }
.hero-no-photos .hero-copy { max-width: 760px; }

/* ========== Jobs ========== */
.jobs-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.job-card {
  display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.job-cover { position: relative; display: block; flex: none; width: 100%; height: 0; padding-top: 75%; /* 4:3, works in all browsers */ overflow: hidden; background: var(--blue); }
.job-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.job-card:hover .job-cover img { transform: scale(1.05); }
/* stacked-photos hint that there's more than one picture */
.job-cover::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(8, 27, 64, 0.6), transparent);
}
.job-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.95); color: var(--navy);
  font-size: 0.82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.job-body { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.job-tag { align-self: flex-start; background: #e8effb; color: var(--blue); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.job-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; line-height: 1.25; }
.job-desc { color: var(--muted); font-size: 0.96rem; line-height: 1.5; }
.job-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--link); }
.job-card:hover .job-link { text-decoration: underline; text-underline-offset: 4px; }

.section-alt .review-form-wrap { background: #fff; }

/* Viewer extras: job title + thumbnail strip */
.lb-title { margin: 0 0 12px; color: #fff; text-align: center; font-weight: 800; font-size: 1.2rem; }
.lb-thumbs {
  display: flex; gap: 8px; margin-top: 14px; padding: 4px; overflow-x: auto;
  max-width: min(1040px, 100%); scrollbar-width: thin;
}
.lb-thumbs:empty { display: none; }
.lightbox .lb-thumbs button {
  flex: none; width: 72px; height: 54px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; background: none; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s;
}
.lightbox .lb-thumbs button:hover { opacity: 0.9; background: none; }
.lightbox .lb-thumbs button.is-current { opacity: 1; border-color: var(--accent); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; max-height: none; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
.lightbox img#lb-img { max-height: 70vh; }
@media (max-width: 600px) {
  .lightbox { padding-bottom: 84px; }
  .lightbox img#lb-img { max-height: 60vh; }
}

.reviews-empty {
  margin: 0; padding: 32px 24px; text-align: center; color: var(--muted);
  background: #fff; border: 2px dashed var(--border); border-radius: var(--radius);
}
.field-note { color: var(--muted); font-size: 0.8rem; }
.field input[type="email"] {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input[type="email"]:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
