/* =========================================================
   FRANCA FITOUTS — Design System
   Architectural, premium, construction-grade aesthetic.
   Palette: deep navy, charcoal, white, warm neutral, red accent.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #0b1a2c;
  --navy-2: #122740;
  --navy-3: #1a3557;
  --charcoal: #1b1c1e;
  --ink: #14171a;
  --white: #ffffff;
  --offwhite: #f6f4f0;
  --stone: #edeae3;
  --stone-2: #e2ddd3;
  --line: #ddd7cb;
  --line-on-navy: rgba(255, 255, 255, 0.14);
  --red: #c21f2c;
  --red-dark: #9c1922;
  --muted: #5c6570;
  --muted-2: #7c8794;
  --muted-on-navy: #aab4c4;

  /* Type */
  --font-head: "Neue Haas Grotesk", "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --container-narrow: 860px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --header-h: 84px;
  --topbar-h: 38px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Visible focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Typography scale ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; color: inherit; }
.h0 { font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; }
.h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.25; }
.h4 { font-size: 1.05rem; line-height: 1.35; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.body-l { font-size: 1.1rem; line-height: 1.7; }
.on-navy { color: var(--white); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--white); }
.on-navy .lede, .on-navy p { color: var(--muted-on-navy); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.on-navy .eyebrow, .on-dark .eyebrow { color: #ff5a63; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 84px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: var(--gutter); }
.bg-navy { background: var(--navy); }
.bg-charcoal { background: var(--charcoal); }
.bg-offwhite { background: var(--offwhite); }
.bg-stone { background: var(--stone); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.divider-navy { background: var(--line-on-navy); }
.container-line { border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost { color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--ink); border-radius: 0; }
.btn-ghost:hover { color: var(--red); border-color: var(--red); }
.btn-ghost.on-navy-ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-block { width: 100%; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: var(--topbar-h);
  background: var(--navy);
  border-bottom: 1px solid var(--line-on-navy);
}
.topbar .wrap {
  height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 20px;
}
.topbar a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--white); opacity: 0.92;
}
.topbar a:hover { color: var(--red); opacity: 1; }
.topbar a svg { width: 12px; height: 12px; flex-shrink: 0; }
@media (min-width: 960px) {
  .topbar a { font-size: 0.78rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.is-solid {
  background: rgba(11, 26, 44, 0.97);
  border-bottom: 1px solid var(--line-on-navy);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  height: 72px;
}
.site-header.is-light {
  background: var(--navy);
  border-bottom: 1px solid var(--line-on-navy);
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-head); }
.brand-mark { display: flex; align-items: center; gap: 8px; }
.brand-word { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-word b { color: var(--red); font-weight: 800; }
.brand-sub { display:none; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 34px; }
.nav-desktop a {
  font-size: 0.92rem; font-weight: 600; color: var(--white);
  padding: 6px 0; position: relative;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { display: none; }
.header-phone { display: inline-flex; align-items: center; font-size: 0.78rem; font-weight: 600; color: var(--white); white-space: nowrap; }
.header-phone svg { width: 15px; height: 15px; margin-right: 6px; }

.menu-toggle {
  background: transparent; border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + var(--topbar-h) + 24px) var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.mobile-nav a {
  display: block; padding: 12px 4px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.4rem; color: var(--white); border-bottom: 1px solid var(--line-on-navy);
}
.mobile-nav-footer { margin-top: auto; color: var(--muted-on-navy); font-size: 0.9rem; }
.mobile-nav-footer a { color: var(--white); font-weight: 600; }
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
  .header-phone { font-size: 0.88rem; }
  .header-actions .btn-primary { display: inline-flex; }
  .brand-sub { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-navy); margin-top: 2px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-art {
  position: absolute; inset: 0; z-index: 0;
}
.hero-art .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,26,44,0.35) 0%, rgba(11,26,44,0.55) 55%, rgba(11,26,44,0.92) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-tag { margin-bottom: 22px; }
.hero-title { max-width: 900px; margin-bottom: 24px; }
.hero-copy { max-width: 620px; color: var(--muted-on-navy); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 36px; }
.hero-scopes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 40px; }
.hero-scopes span { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); opacity: 0.85; padding-left: 14px; position: relative; }
.hero-scopes span::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; background: var(--red); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; display: none; align-items: center; gap: 10px; color: var(--muted-on-navy); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,0.4); }
@media (min-width: 780px) { .hero-scroll { display: flex; flex-direction: column; } }

/* ---------- Placeholder photography ---------- */
.ph {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ph-ratio, 4/3);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 34px),
    linear-gradient(135deg, var(--ph-a, #12233b) 0%, var(--ph-b, #1c3457) 48%, var(--ph-c, #0b1a2c) 100%);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.45) 100%);
}
.ph-label {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.ph-label .name { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }
.ph-label .tag { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-navy); }
.ph-icon { position: absolute; top: 20px; left: 20px; z-index: 2; width: 34px; height: 34px; opacity: 0.9; }
.ph-icon svg { width: 100%; height: 100%; stroke: var(--white); }
.ph-tone-stone::before { background: repeating-linear-gradient(115deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 34px), linear-gradient(135deg, #e2ddd3 0%, #d5cec0 55%, #c9c0ac 100%); }
.ph-tone-stone { color: var(--ink); }
.ph-tone-stone .ph-icon svg { stroke: var(--navy); }
.ph-tone-stone::after { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(20,23,26,0.18) 100%); }
.ph-placeholder-note {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 9px; color: var(--white);
}
.ph-tone-stone .ph-placeholder-note { background: rgba(11,26,44,0.08); border-color: rgba(11,26,44,0.18); color: var(--navy); }
.ph-photo::before { content: none; }
.ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.process-media { margin-top: 40px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); color: var(--white); }
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-list li {
  padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.trust-list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
.trust-list svg { width: 16px; height: 16px; stroke: var(--red); flex: none; }
@media (min-width: 720px) {
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust-list li:nth-child(3n) { border-right: none; }
}
@media (min-width: 1080px) {
  .trust-list { grid-template-columns: repeat(6, 1fr); }
  .trust-list li { border-right: 1px solid rgba(255,255,255,0.1) !important; padding: 26px 18px; }
  .trust-list li:last-child { border-right: none !important; }
}

/* ---------- About ---------- */
.about-grid { grid-template-columns: 1fr; align-items: center; }
.about-media { position: relative; }
.about-media .ph { aspect-ratio: 4/5; }
.about-media-frame { position: absolute; bottom: -20px; left: -20px; width: 55%; border: 8px solid var(--white); box-shadow: 0 20px 40px rgba(11,26,44,0.18); display: none; }
.about-stats { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.about-stats .stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); }
.about-stats .stat span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.about-list { margin: 28px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.about-list li { font-size: 0.92rem; padding-left: 20px; position: relative; color: var(--ink); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--red); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
  .about-media-frame { display: block; }
}

/* ---------- Services ---------- */
.services-grid { grid-template-columns: 1fr; }
.service-card {
  display: block; background: var(--white); border: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { box-shadow: 0 24px 48px rgba(11,26,44,0.12); transform: translateY(-3px); border-color: var(--line); }
.service-card .ph { aspect-ratio: 5/4; }
.service-card-body { padding: 26px 24px 28px; }
.service-card-body .num { font-family: var(--font-head); font-size: 0.78rem; color: var(--red); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; }
.service-card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.service-card-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }
@media (min-width: 680px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.services-more { margin-top: 40px; text-align: center; }

/* Service groups (services index page) */
.service-group { padding: 40px 0; }
.service-group + .service-group { border-top: 1px solid var(--line); }
.service-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.service-group-head p { max-width: 520px; color: var(--muted); }

/* ---------- Projects / portfolio ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip {
  padding: 9px 18px; border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; background: var(--white); color: var(--ink);
}
.filter-chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.projects-grid { grid-template-columns: 1fr; }
.project-card { display: block; position: relative; }
.project-card .ph { aspect-ratio: 4/5; }
.project-card-meta { padding-top: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-card-meta h3 { font-size: 1.15rem; margin-bottom: 4px; }
.project-card-meta .loc { font-size: 0.85rem; color: var(--muted); }
.project-card-meta .type { flex: none; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 700; padding-top: 4px; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.projects-grid.featured { grid-template-columns: 1fr; }
@media (min-width: 780px) {
  .projects-grid.featured { grid-template-columns: repeat(6, 1fr); }
  .projects-grid.featured .project-card:nth-child(1) { grid-column: span 4; }
  .projects-grid.featured .project-card:nth-child(2) { grid-column: span 2; }
  .projects-grid.featured .project-card:nth-child(3) { grid-column: span 2; }
  .projects-grid.featured .project-card:nth-child(4) { grid-column: span 4; }
}

/* ---------- Before / After ---------- */
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; user-select: none; touch-action: pan-y;
  background: var(--navy);
}
.ba-slider .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba-after .ph { width: 100vw; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 3px; background: var(--white);
  left: 50%; transform: translateX(-50%); z-index: 3; cursor: ew-resize;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.ba-handle::before {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 4; color: var(--navy); font-size: 20px; font-weight: 700;
}
.ba-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; -webkit-appearance: none; }
.ba-tag { position: absolute; top: 18px; z-index: 2; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--white); background: rgba(11,26,44,0.55); border: 1px solid rgba(255,255,255,0.3); padding: 6px 12px; }
.ba-tag.before { left: 18px; }
.ba-tag.after { right: 18px; }
.ba-caption { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Why choose us ---------- */
.reasons-grid { grid-template-columns: 1fr; }
.reason-card { padding: 30px 26px; border: 1px solid var(--line-on-navy); background: rgba(255,255,255,0.03); }
.reason-card .ico { width: 40px; height: 40px; margin-bottom: 20px; }
.reason-card .ico svg { width: 100%; height: 100%; stroke: var(--red); }
.reason-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.reason-card p { color: var(--muted-on-navy); font-size: 0.92rem; }
@media (min-width: 680px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reasons-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Process ---------- */
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--stone-2); line-height: 1; }
.process-item h3 { margin-bottom: 6px; }
.process-item p { color: var(--muted); font-size: 0.95rem; max-width: 520px; }
@media (min-width: 780px) {
  .process-item { grid-template-columns: 120px 1fr 2fr; align-items: start; gap: 24px; }
}

/* ---------- Medical & Dental ---------- */
.md-wrap { grid-template-columns: 1fr; }
.md-media .ph { aspect-ratio: 4/5; }
.md-checklist { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
.md-checklist li { display: flex; gap: 12px; font-size: 0.92rem; align-items: flex-start; }
.md-checklist li svg { width: 16px; height: 16px; stroke: var(--red); flex: none; margin-top: 3px; }
.md-note { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--red); background: var(--offwhite); font-size: 0.9rem; color: var(--muted); }
@media (min-width: 900px) {
  .md-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .md-checklist { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Testimonials ---------- */
.testi-grid { grid-template-columns: 1fr; }
.testi-card { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); position: relative; }
.testi-quote { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 18px; display: block; }
.testi-card p.body { font-size: 1.05rem; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }
.testi-name { font-weight: 700; font-size: 0.92rem; }
.testi-role { font-size: 0.82rem; color: var(--muted); }
@media (min-width: 780px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Team ---------- */
.team-grid { grid-template-columns: repeat(2, 1fr); }
.team-card .ph { aspect-ratio: 4/5; }
.team-card-body { padding-top: 14px; }
.team-card-body h3 { font-size: 1rem; margin-bottom: 2px; }
.team-role { font-size: 0.8rem; color: var(--red); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; }
.team-bio { font-size: 0.88rem; color: var(--muted); }
@media (min-width: 680px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; background: none; border: 0; text-align: left; font-family: var(--font-head);
  font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s var(--ease); }
.faq-q .plus::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item[data-open="true"] .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item[data-open="true"] .faq-q .plus::before { background: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 2px 22px; color: var(--muted); font-size: 0.96rem; max-width: 720px; }

/* ---------- Contact / enquiry form ---------- */
.contact-wrap { grid-template-columns: 1fr; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-item h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact-info-item p, .contact-info-item a { font-size: 1rem; color: var(--white); }
.contact-info-item a:hover { color: var(--red); }
.contact-social { display: flex; gap: 14px; margin-top: 4px; }
.contact-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }
.contact-social svg { width: 16px; height: 16px; stroke: var(--white); }

.field-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.28);
  color: var(--white); padding: 13px 14px; border-radius: var(--radius); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { color: var(--ink); }
.field-file { border: 1px dashed rgba(255,255,255,0.35); padding: 20px; text-align: center; font-size: 0.85rem; color: var(--muted-on-navy); }
.form-note { font-size: 0.78rem; color: var(--muted-on-navy); margin-top: 6px; }
.form-status { margin-top: 16px; font-size: 0.9rem; padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(255,255,255,0.06); color: var(--white); display: none; }
.form-status.is-visible { display: block; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.field-grid.two { grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-grid.two { grid-template-columns: 1fr 1fr; } }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 46px);
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 { max-width: 760px; margin: 0 auto 20px; }
.final-cta p { max-width: 560px; margin: 0 auto 34px; color: var(--muted-on-navy); }
.final-cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.footer-top { padding: 64px 0 48px; display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand p { color: var(--muted-on-navy); font-size: 0.92rem; max-width: 340px; margin: 16px 0 20px; }
.footer-col h4 { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-navy); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--white); }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--muted-on-navy); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted-on-navy); }
.footer-legal a:hover { color: var(--white); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumbs li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Inner page hero (non-home) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding-top: calc(var(--header-h) + var(--topbar-h) + 56px); padding-bottom: 64px; }
.page-hero .h1 { max-width: 780px; }
.page-hero .lede { max-width: 620px; margin-top: 18px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.page-hero-meta span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-on-navy); }

/* Case study */
.cs-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0; }
.cs-facts .fact h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.cs-facts .fact p { font-size: 0.98rem; font-weight: 600; }
@media (min-width: 780px) { .cs-facts { grid-template-columns: repeat(4, 1fr); } }
.cs-body { max-width: 760px; }
.cs-body h2 { margin: 44px 0 16px; }
.cs-body h2:first-child { margin-top: 0; }
.cs-body p { color: var(--muted); font-size: 1.02rem; margin-bottom: 16px; }
.cs-gallery { grid-template-columns: 1fr; margin: 48px 0; }
.cs-gallery .ph:nth-child(1) { aspect-ratio: 16/10; }
@media (min-width: 700px) { .cs-gallery { grid-template-columns: repeat(2, 1fr); } .cs-gallery .ph:first-child { grid-column: span 2; } }
.cs-related { margin-top: 20px; }

/* Simple content pages (privacy/terms) */
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + var(--topbar-h)); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
