/* =============================================================
   Ultrasound Trainers UK & Ireland — styles.css
   Design system + components. Mobile-first. No frameworks.
   ============================================================= */

/* -------------------- Design tokens -------------------- */
:root {
  --color-primary: #112B4A;
  --color-primary-dark: #0B1A2E;
  --color-secondary: #2C7BE5;
  --color-secondary-hover: #1F62C5;
  --color-accent: #EDE4D3;
  --color-accent-hover: #D9C9AA;
  --color-bg: #FAFAF7;
  --color-bg-alt: #F2EFE8;
  --color-surface: #FFFFFF;
  --color-text: #0B1A2E;
  --color-text-muted: #5A6B82;
  --color-text-inverse: #FFFFFF;
  --color-border: rgba(17, 43, 74, 0.12);
  --color-border-strong: rgba(17, 43, 74, 0.24);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 520ms;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --container: 1200px;
  --container-wide: 1360px;
  --nav-h: 120px;

  --shadow-soft: 0 4px 20px rgba(11, 26, 46, 0.06);
  --shadow-medium: 0 12px 40px rgba(11, 26, 46, 0.10);
  --shadow-strong: 0 20px 60px rgba(11, 26, 46, 0.16);
}

/* -------------------- Reset + base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-primary); }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw + 1rem, 3.75rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.75rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.5vw + 0.75rem, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--color-accent); }
.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 58ch;
}
em, i { font-style: italic; }

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 500;
  z-index: 1000;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 1rem;
  color: var(--color-text-inverse);
}

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-wide { max-width: var(--container-wide); }
.section {
  padding: 5rem 0;
}
.section-tight { padding: 3.5rem 0; }
.section-dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-text-inverse);
}
.section-alt { background: var(--color-bg-alt); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-secondary-hover);
  color: var(--color-text-inverse);
  box-shadow: 0 8px 24px rgba(44, 123, 229, 0.28);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(237, 228, 211, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1FB856;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
}

/* -------------------- Nav -------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 1.25rem;
  max-width: var(--container-wide);
  margin: 0 auto;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 96px;
  width: 96px;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--color-secondary);
  transition: right var(--t-base) var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--color-secondary); }

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
  border: 1.5px solid #25D366;
}
.nav-whatsapp:hover {
  background: #1FB856;
  border-color: #1FB856;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.nav-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}
.nav-whatsapp-label-only {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  overflow-y: auto;
  z-index: 99;
  visibility: hidden;
}
.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-drawer ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.mobile-drawer > ul > li {
  border-bottom: 1px solid var(--color-border);
}
.mobile-drawer > ul > li > a, .mobile-drawer > ul > li > button {
  display: block;
  padding: 1.1rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
  padding-left: 1rem;
}
.mobile-submenu.open { max-height: 800px; }
.mobile-submenu li { border: none !important; }
.mobile-submenu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 400;
}
.mobile-drawer .drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.dropdown-trigger::after {
  content: '+';
  float: right;
  color: var(--color-text-muted);
  font-weight: 300;
  transition: transform var(--t-fast) var(--ease);
}
.dropdown-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }

/* Desktop dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  min-width: 280px;
  padding: 0.75rem;
  list-style: none;
  margin: 0;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  color: var(--color-primary) !important;
  font-size: 0.92rem;
  border-radius: var(--r-sm);
  transition: background var(--t-fast) var(--ease);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--color-bg-alt); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(44, 123, 229, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 90%, rgba(237, 228, 211, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 {
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
}
.hero-copy h1 em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-strong);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 43, 74, 0.35) 100%);
  pointer-events: none;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trust-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
}
.trust-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

/* -------------------- Regions band -------------------- */
.regions-band {
  background: var(--color-bg-alt);
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.regions-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.regions-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.regions-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem 1.5rem;
}
.regions-list a {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
}
.regions-list a::before {
  content: '→';
  margin-right: 0.4em;
  color: var(--color-secondary);
  transition: transform var(--t-fast) var(--ease);
  display: inline-block;
}
.regions-list a:hover::before { transform: translateX(3px); }

/* -------------------- Section heading pattern -------------------- */
.section-head {
  margin-bottom: 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head .lead { margin: 0; }
.section-head-split {
  align-items: end;
}

/* -------------------- Service pillars (cards) -------------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.pillar-card {
  background: var(--color-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-border-strong);
}
.pillar-media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.pillar-card:hover .pillar-media img { transform: scale(1.04); }
.pillar-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pillar-body h3 { margin-bottom: 0.6rem; }
.pillar-body p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}
.pillar-link {
  margin-top: auto;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-fast) var(--ease);
}
.pillar-link:hover { gap: 0.7rem; }

/* -------------------- About split -------------------- */
.about-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
  aspect-ratio: 1/1;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.about-media img:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.about-media img:last-child {
  grid-column: 2;
  grid-row: 2;
}
.about-badge {
  position: absolute;
  right: -8px;
  top: 8%;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-medium);
  font-family: var(--font-display);
}
.about-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}
.about-badge span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--color-primary);
}
.about-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.credential strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.credential span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* -------------------- Numbered "Why us" -------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: why;
}
.why-item {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  counter-increment: why;
}
.why-item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.why-item::before {
  content: "0" counter(why);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}
.why-item h3 {
  color: var(--color-text-inverse);
  margin: 0;
  font-size: 1.35rem;
}
.why-item p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
  margin: 0;
}

/* -------------------- Equipment preview -------------------- */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.equip-card {
  background: var(--color-surface);
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: block;
  color: var(--color-text);
}
.equip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: var(--color-text);
}
.equip-card img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
}
.equip-card-body { padding: 1rem 1.25rem 1.25rem; }
.equip-card h4 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.equip-card span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* -------------------- Testimonials -------------------- */
.testimonials {
  background: var(--color-bg-alt);
}
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.rating-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rating-stars {
  font-size: 1.2rem;
  color: #F5A623;
  letter-spacing: 0.1em;
}
.rating-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.rating-score {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-primary);
}
.rating-count {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  color: #F5A623;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--color-primary);
  margin: 0 0 1.5rem;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}
.testimonial-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* -------------------- Instagram grid -------------------- */
.instagram-section {
  padding: 4rem 0;
}
.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ig-head h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.ig-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  background: var(--color-bg-alt);
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.ig-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 43, 74, 0);
  transition: background var(--t-base) var(--ease);
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover::after { background: rgba(17, 43, 74, 0.25); }

/* -------------------- FAQ teaser -------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  list-style: none;
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-secondary);
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 65ch;
}

/* -------------------- CTA band -------------------- */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(44, 123, 229, 0.22) 0%, transparent 55%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.cta-inner h2 {
  color: var(--color-text-inverse);
  margin: 0 0 0.75rem;
  max-width: 20ch;
}
.cta-inner h2 em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
  max-width: 50ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { width: 200px; height: 200px; margin-bottom: 1.5rem; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 38ch;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.9rem; }
.footer-contact .contact-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--t-fast) var(--ease);
}
.footer-socials a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.footer-socials svg { width: 17px; height: 17px; }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--color-accent); }
.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 75ch;
}

/* -------------------- Sticky mobile WhatsApp -------------------- */
.sticky-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  z-index: 90;
  transition: transform var(--t-fast) var(--ease);
}
.sticky-whatsapp:hover {
  transform: scale(1.06);
  color: #fff;
}
.sticky-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* -------------------- Scroll reveal --------------------
   Default: fully visible. JS adds .js-reveal-ready to <html>
   which hides .reveal elements, then unhides them as they
   enter the viewport. Without JS, everything stays visible. */
.reveal { opacity: 1; transform: none; }
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.js-reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==============================================================
   INTERIOR PAGE COMPONENTS
   ============================================================== */

/* Page hero (smaller than homepage hero) */
.page-hero {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(44, 123, 229, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(237, 228, 211, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 760px;
}
.page-hero h1 {
  color: var(--color-text-inverse);
  margin: 0 0 1rem;
}
.page-hero h1 em {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}
.page-hero .hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  margin: 0 0 1.75rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before {
  content: '/';
  color: var(--color-border-strong);
  margin-right: 0.25rem;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-secondary); }
.breadcrumbs [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* Content prose blocks */
.prose {
  max-width: 72ch;
  color: var(--color-text);
}
.prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.prose h2 {
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.25rem);
  margin: 3rem 0 1rem;
  font-weight: 400;
}
.prose h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}
.prose ul {
  margin: 0 0 1.5rem 0;
  padding-left: 1.25rem;
}
.prose ul li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}
.prose ul li::marker {
  color: var(--color-secondary);
}
.prose a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.prose a:hover {
  color: var(--color-primary);
}
.prose strong {
  font-weight: 500;
  color: var(--color-primary);
}

/* Two-column content layout (for interior pages) */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sidebar for equipment / related content */
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.sidebar-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--color-primary);
}
.sidebar-card ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.sidebar-card ul li {
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.sidebar-card ul li:first-child { border-top: none; padding-top: 0; }
.sidebar-card ul li a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-card ul li a::after {
  content: '→';
  color: var(--color-secondary);
  transition: transform var(--t-fast) var(--ease);
}
.sidebar-card ul li a:hover::after {
  transform: translateX(3px);
}

/* Feature list (bullet grid) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.feature-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.feature-item h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 500;
}
.feature-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Spec table (equipment pages) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.spec-table th {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-weight: 500;
  width: 38%;
}
.spec-table td { color: var(--color-text-muted); }

/* Equipment hero image */
.equip-hero-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  margin-bottom: 2rem;
}
.equip-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Region card grid (on region pages) */
.region-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.region-intro-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.region-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stat band */
.stat-band {
  background: var(--color-bg-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* 404 page */
.error-404 {
  min-height: calc(100vh - 120px - 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.error-404-inner {
  max-width: 520px;
}
.error-404 h1 {
  font-size: clamp(4rem, 10vw, 6rem);
  margin: 0 0 1rem;
  color: var(--color-primary);
}
.error-404 p {
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Contact form wrapper */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-sidebar h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.contact-method {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.contact-method:last-child { border-bottom: none; padding-bottom: 0; }
.contact-method strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.45rem;
}
.contact-method a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-primary);
  display: inline-block;
  margin-bottom: 0.3rem;
}
.contact-method a:hover { color: var(--color-secondary); }
.contact-method p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}
