/* =============================================
   AFFUITENHAL — Shared Styles
   ============================================= */

:root {
  --color-bg: #FAFAF8;
  --color-dark: #111110;
  --color-accent: #C8543A;
  --color-accent-light: #E8705A;
  --color-text: #1A1A18;
  --color-muted: #6B6B65;
  --color-border: #E5E5E0;
  --color-card: #FFFFFF;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --max-width: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
  --gutter: clamp(24px, 5vw, 80px);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── Base ───────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.65;
}

/* ─── Typography ─────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ─── Layout ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  transition: color 0.4s var(--ease);
  letter-spacing: -0.01em;
}
.nav.scrolled .nav-logo { color: var(--color-text); }
.nav-logo span { color: var(--color-accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: rgba(255,255,255,1); }
.nav.scrolled .nav-links a { color: var(--color-muted); }
.nav.scrolled .nav-links a:hover { color: var(--color-text); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--color-accent);
  color: #fff !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--color-accent-light); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url('images/affuitenhal-hero.jpeg') center center / cover no-repeat;
  opacity: 0.25;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(200,84,58,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(200,84,58,0.10) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) var(--gutter);
  padding-top: 140px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  color: #fff;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--color-accent);
  animation: slide 2s ease infinite;
}
@keyframes slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 100px;
  transition: all 0.2s var(--ease);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,84,58,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}
.btn svg {
  width: 16px; height: 16px;
  transition: transform 0.2s;
}
.btn:hover svg { transform: translateX(3px); }

/* ─── Stat bar ───────────────────────────────── */
.stats-bar {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px var(--gutter);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--color-accent); }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ─── Section ────────────────────────────────── */
.section {
  padding: var(--section-pad) 0;
}
.section-header {
  margin-bottom: 64px;
}
.section-header .label { margin-bottom: 16px; display: block; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-eyebrow-line {
  width: 32px; height: 1.5px;
  background: var(--color-accent);
}

/* ─── About strip ────────────────────────────── */
.about-strip {
  background: #fff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip-visual {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-strip-visual-inner {
  text-align: center;
  color: rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}
.about-strip-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200,84,58,0.15) 0%, transparent 70%);
}
.about-strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,84,58,0.1);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.about-strip-text p {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.about-strip-text p:last-of-type { margin-bottom: 32px; }

/* ─── Companies ──────────────────────────────── */
.companies-section { background: var(--color-bg); }
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.company-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.company-card:hover {
  border-color: rgba(200,84,58,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.company-card:hover::before { transform: scaleX(1); }
.company-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200,84,58,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.company-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.company-card-desc {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}
.company-card-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(200,84,58,0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── Company card logos ────────────────────────── */
.company-card-logo {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.company-card-logo img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  opacity: 0.65;
  transition: opacity 0.35s var(--ease);
}
.company-card:hover .company-card-logo img {
  opacity: 1;
}

/* ─── Facilities ─────────────────────────────── */
.facilities-section { background: #fff; }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s;
}
.facility-item:hover { border-color: var(--color-accent); }
.facility-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(200,84,58,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.facility-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  padding-top: 8px;
}

/* ─── Location ───────────────────────────────── */
.location-section { background: var(--color-dark); color: #fff; }
.location-section .label { color: rgba(255,255,255,0.4); }
.location-section .display-lg { color: #fff; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.location-text p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}
.location-map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.location-map-wrapper iframe,
#map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-link {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17,17,16,0.88);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.map-link:hover {
  color: #fff;
  background: rgba(17,17,16,0.98);
}
.location-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.location-detail-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(200,84,58,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.location-detail-info { font-size: 15px; }
.location-detail-info strong {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2px;
}
.location-detail-info a,
.location-detail-info span {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s;
}
.location-detail-info a:hover { color: var(--color-accent); }

/* ─── CTA Banner ─────────────────────────────── */
.cta-banner {
  background: var(--color-accent);
  padding: 80px var(--gutter);
  text-align: center;
}
.cta-banner .display-md { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 17px; }
.btn-white {
  background: #fff;
  color: var(--color-accent);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--color-dark);
  padding: 60px var(--gutter) 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--color-accent); }
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ─── Page Hero (inner pages) ────────────────── */
.page-hero {
  background: var(--color-dark);
  padding: 160px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(200,84,58,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .label { color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.page-hero h1 { color: #fff; }
.page-hero p {
  margin-top: 20px;
  color: rgba(255,255,255,0.55);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── About page specifics ───────────────────── */
.prose {
  max-width: 680px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--color-muted);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}
.prose strong { color: var(--color-text); }
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.founders-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky;
  top: 120px;
}
.founders-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.founder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.founder:first-of-type { border-top: none; padding-top: 0; }
.founder-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #8B3522);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.founder-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.founder-info span {
  font-size: 13px;
  color: var(--color-muted);
}
.history-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200,84,58,0.08);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* ─── Photo Gallery ──────────────────────────── */
.photo-gallery {
  padding: var(--section-pad) 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
/* Bento layout: foto 1 groot links (beide rijen), 2+3 rechts bovenaan, 4 breed rechtsonder */
.photo-grid-item:nth-child(1) { grid-column: 1;     grid-row: 1 / 3; }
.photo-grid-item:nth-child(2) { grid-column: 2;     grid-row: 1;     }
.photo-grid-item:nth-child(3) { grid-column: 3;     grid-row: 1;     }
.photo-grid-item:nth-child(4) { grid-column: 2 / 4; grid-row: 2;     }

.photo-grid-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-dark);
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.photo-grid-item:hover img {
  transform: scale(1.04);
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .about-strip .container,
  .location-grid,
  .about-two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-strip-visual { display: none; }
  .founders-card { position: static; }
  /* Gallery: tablet — 2 kolommen, foto 1 breed bovenaan */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .photo-grid-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-grid-item:nth-child(2) { grid-column: 1;     grid-row: 2; }
  .photo-grid-item:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .photo-grid-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .companies-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn:first-child { flex: 1; justify-content: center; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  /* Gallery: mobiel — 1 kolom */
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 240px);
  }
  .photo-grid-item:nth-child(1),
  .photo-grid-item:nth-child(2),
  .photo-grid-item:nth-child(3),
  .photo-grid-item:nth-child(4) { grid-column: 1; grid-row: auto; }
}
@media (max-width: 400px) {
  .facilities-grid { grid-template-columns: 1fr; }
}

/* ── Language switcher ─────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.nav.scrolled .lang-switcher {
  border-left-color: var(--color-border);
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 5px;
  line-height: 1;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  color: rgba(255,255,255,0.35);
}
a.lang-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
}
.nav.scrolled .lang-btn {
  color: var(--color-muted);
}
.nav.scrolled a.lang-btn:hover {
  color: var(--color-text);
  background: var(--color-bg);
}
.lang-btn.lang-active {
  color: var(--color-accent);
}
.nav.scrolled .lang-btn.lang-active {
  color: var(--color-accent);
}
@media (max-width: 640px) {
  .lang-switcher { display: none; }
}
