/* Costa Rican Network Co. — draft homepage styles
   Reference lock: ui.com-adapted service site. See DESIGN.md. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --ink: #1a1d21;
  --ink-2: #5b6168;
  --ink-3: #8a9098;
  --line: #e4e7ea;
  --blue: #0a6cff;
  --blue-hover: #0056d6;
  --blue-tint: #e8f1ff;

  --radius-img: 20px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --h1: clamp(2.25rem, 1.2rem + 4.2vw, 3.5rem);   /* 36 → 56px */
  --h2: 2.625rem;   /* 42px */
  --h3: 1.875rem;   /* 30px */
  --body: 1.0625rem; /* 17px */
  --small: 0.875rem; /* 14px */
  --caps: 0.75rem;   /* 12px */

  --section: 6rem;   /* 96px */
  --max: 1200px;
  --gutter: 24px;
  --nav-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--h1); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: var(--h2); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--h3); line-height: 1.15; letter-spacing: -0.015em; }
h4 { font-size: var(--small); line-height: 1.3; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; letter-spacing: 0.08em; }

p { margin: 0; }
p + p { margin-top: 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }

button { font: inherit; color: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08); }
button, a { -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.overline {
  font-size: var(--caps);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-btn);
}
.skip-link:focus { top: 12px; }

/* ---------- Draft ribbon ---------- */
.draft-ribbon {
  font-size: 13px;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 8px var(--gutter);
  background: #fff6d6;
  color: #5c4a00;
  border-bottom: 1px solid #f1e2a4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f2f4; color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.link-arrow::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.link-arrow:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

.link-plain {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.link-plain:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
}
.brand-name span { font-weight: 400; color: var(--ink-2); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.site-nav li a:hover { color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Photos ---------- */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: #e1e4e8;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.photo-hero { aspect-ratio: 2 / 1; }
.photo-hero img { object-position: 50% 60%; }
.photo-showcase { aspect-ratio: 4 / 3; }
.photo-tall { aspect-ratio: 3 / 4; }
.photo-wide-sm { aspect-ratio: 4 / 3; }
.photo-portrait { aspect-ratio: 4 / 5; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 48px;
}
.hero-copy h1 { max-width: 15ch; }
.hero-copy .lead { max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 62ch;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head-left { margin-left: 0; text-align: left; }
.section-sub {
  margin-top: 14px;
  font-size: 1.125rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Tabs / showcase ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  margin: 0 auto 40px;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: none;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.tab:focus-visible { outline-offset: 0; }

.showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase[hidden] { display: none; }
.showcase-copy { display: flex; flex-direction: column; gap: 18px; }
.showcase-copy h3 { max-width: 20ch; }
.showcase-copy > p { color: var(--ink-2); text-wrap: pretty; }

.scope {
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.scope li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
  position: relative;
}
.scope li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

/* Fade on tab switch */
.showcase.is-entering { animation: fadeUp 0.28s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Process ledger ---------- */
.process {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.ledger-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.ledger-row:last-child { border-bottom-color: var(--ink); }
.ledger-num {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ledger-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.ledger-body p { color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }

.process-media {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 16px;
}

/* ---------- Managed care ---------- */
.care {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.care-copy { display: flex; flex-direction: column; gap: 32px; }
.care-copy .section-head { margin-bottom: 0; }
.care-copy .btn { align-self: flex-start; }

.care-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.care-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.care-list dt { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.care-list dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.note { font-size: var(--small); color: var(--ink-3); max-width: 52ch; }

/* ---------- Why us ---------- */
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.column { padding: 8px 40px; border-left: 1px solid var(--line); }
.column:first-child { padding-left: 0; border-left: 0; }
.column:last-child { padding-right: 0; }
.column h3 { font-size: 1.25rem; margin-bottom: 12px; }
.column p { color: var(--ink-2); font-size: 1rem; text-wrap: pretty; }

/* ---------- CTA band ---------- */
.cta-band { padding-top: 0; }
.cta-panel {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: #243b2b;
  isolation: isolate;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.42) 0%, rgba(10, 16, 14, 0.66) 100%);
}
.cta-content {
  max-width: 44ch;
  padding: 64px var(--gutter);
  text-align: center;
  color: #fff;
}
.cta-content h2 { color: #fff; }
.cta-content p { margin: 16px 0 28px; font-size: 1.125rem; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }
.photo-badge-cta { background: rgba(255, 255, 255, 0.9); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  font-size: var(--small);
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.footer-col h4 { margin-bottom: 14px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col .link-plain { color: var(--ink); font-weight: 500; font-size: var(--small); }
.footer-col a:hover { color: var(--blue-hover); }
.footer-note { max-width: 30ch; }
.footer-note + .footer-note { margin-top: 10px; }

.credits {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.credits h4 { margin-bottom: 10px; }
.credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.credits a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.credits a:hover { color: var(--blue-hover); text-decoration-color: currentColor; }

.footer-legal {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

/* ---------- Enquiry dialog ---------- */
.enquiry {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 24px 64px rgba(0, 0, 0, 0.22);
  overscroll-behavior: contain;
}
.enquiry::backdrop {
  background: rgba(20, 24, 28, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}
.enquiry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.enquiry-head h2 { font-size: 1.5rem; margin-top: 6px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -6px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-alt); color: var(--ink); }

.draft-banner {
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  background: #fff6d6;
  color: #5c4a00;
  font-size: 14px;
  line-height: 1.45;
}

.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.field textarea { resize: vertical; min-height: 96px; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice:hover span { color: var(--ink); border-color: var(--ink-3); }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--blue-tint); border-color: var(--blue); }

.form-status {
  display: none;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  background: var(--bg-alt);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.form-status.is-visible { display: block; }

.enquiry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  :root { --section: 5rem; }

  /* Mobile/tablet nav drawer. The header must not carry a backdrop-filter here:
     a filter turns it into the containing block for the fixed drawer, which clips
     the drawer and adds horizontal page overflow. */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }
  .nav-toggle { display: inline-flex; position: relative; z-index: 70; }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 60;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 88px 28px 28px;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav li a { display: block; padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-cta { width: 100%; min-height: 48px; }
  /* The sticky header (z-index 50) is a stacking context that contains the
     drawer, so the scrim must sit below the header, not between header and drawer. */
  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(20, 24, 28, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase-copy h3 { max-width: none; }

  .process { grid-template-columns: 1fr; gap: 40px; }
  .process-media { position: static; grid-template-columns: 1fr 1fr; }
  .photo-tall { aspect-ratio: 4 / 3; }

  .care { grid-template-columns: 1fr; gap: 40px; }
  .photo-portrait { aspect-ratio: 16 / 10; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --section: 4rem; --h2: 1.875rem; --h3: 1.5rem; --gutter: 20px; }

  .hero { padding-top: 48px; }
  .hero-copy { margin-bottom: 32px; gap: 16px; }
  .lead { font-size: 1.125rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .photo-hero { aspect-ratio: 4 / 5; }

  .section-head { margin-bottom: 28px; }
  .tabs { width: auto; justify-content: flex-start; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter); border-radius: 0; }
  .tab { min-height: 38px; }

  .ledger-row { grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; }
  .ledger-num { font-size: 2rem; }
  .process-media { grid-template-columns: 1fr; }

  .care-list { grid-template-columns: 1fr; }

  .columns { grid-template-columns: 1fr; }
  .column { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .column:first-child { border-top: 0; padding-top: 0; }

  .cta-panel { min-height: 420px; }
  .cta-content { padding: 48px var(--gutter); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-note { max-width: none; }

  .enquiry { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .enquiry-form { padding: 20px; }
  .enquiry-actions .btn { flex: 1; }
}

@media (max-width: 420px) {
  .site-header .brand-name span { display: none; }
  .tab { padding: 0 13px; font-size: 14px; }
}

/* Product imagery revision: preserve equipment and interface framing. */
.photo-hero img { object-position: 50% 50%; }
.photo-portrait { aspect-ratio: 4 / 3; }
.photo-portrait img { object-fit: contain; background: #f5f6f7; }
@media (max-width: 600px) { .photo-hero { aspect-ratio: 4 / 3; } .photo-badge { max-width: calc(100% - 24px); font-size: 10px; } }

/* Language switch: existing neutral controls and blue selected-state token. */
.language-switch { display: inline-flex; align-self: center; gap: 2px; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 3px; }
.language-switch button { font: inherit; font-size: 13px; font-weight: 600; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); min-width: 40px; min-height: 40px; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: white; }
@media (min-width: 1200px) { .site-nav, .site-nav ul { gap: 12px; } .site-nav li a { font-size: 14px; } .nav-row { gap: 16px; } .nav-cta { max-width: 174px; } }
@media (max-width: 1199px) { .language-switch { align-self: flex-start; } }

.nav-cta { white-space: normal; text-align: center; }
@media (max-width: 359px) { .tabs { flex-wrap: wrap; } .brand { font-size: 14px; gap: 6px; } .nav-row { gap: 8px; } }
.care-copy { min-width: 0; }
.btn { white-space: normal; text-align: center; }
