/* ══════════════════════════════════════
   FITCENTRUM ASSEN — style.css
   GRAL v2.1 | Dark Premium Fitness
   ══════════════════════════════════════ */

/* === M02: RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul, ol { list-style: none; }

/* === M56: MOBILE RESET === */
* { -webkit-tap-highlight-color: transparent; }
input, textarea, select { -webkit-appearance: none; appearance: none; }
a, button, [role="button"], .btn, .faq-question, .nav-link { touch-action: manipulation; }

/* === TOKENY === */
:root {
  /* Brand */
  --c1: #0d1117; --c2: #161b22; --c3: #21262d;
  --c4: #484f58; --c5: #8b949e; --c6: #c9d1d9;
  --c7: #f0f6fc; --c8: #e94560; --c9: #c73550; --c10: #ff6b35;

  /* Funkční */
  --text: var(--c7);
  --text-muted: var(--c5);
  --text-inverse: var(--c1);
  --bg-body: var(--c1);
  --bg-section: var(--c2);
  --bg-section-alt: var(--c3);
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --bg-footer: #080b0f;
  --bg-overlay: rgba(13,17,23,0.85);
  --accent: var(--c8);
  --accent-dark: var(--c9);
  --accent-secondary: var(--c10);

  /* Glass */
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.12);
  --glass-border: rgba(255,255,255,0.08);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-sm: 0 2px 8px rgba(233,69,96,0.08);
  --shadow-md: 0 4px 18px rgba(233,69,96,0.12);
  --shadow-lg: 0 8px 32px rgba(233,69,96,0.18);
  --shadow-glow: 0 0 24px rgba(233,69,96,0.25);

  /* Borders */
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);

  /* Status */
  --success: #10b981;
  --error: #ef4444;

  /* Layout */
  --max-width: 1100px;
  --max-width-narrow: 720px;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-full: 9999px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-section: 5rem;

  /* Easing */
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.645, .045, .355, 1);
  --ease-spring: cubic-bezier(.175, .885, .32, 1.275);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 800ms;

  /* Typo */
  --font-body: 'Barlow', sans-serif;
  --font-heading: 'Inter Tight', sans-serif;
  --lh: 1.5;
  --lh-tight: 1.1;
  --h1: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  --h2: clamp(1.75rem, 1.4rem + 1.75vw, 2.75rem);
  --h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.95rem);
  --text-xs: 0.75rem;
  --text-lg: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);

  /* Schedule class colors */
  --class-trx: #ff6b35;
  --class-aerobic: #00dcff;
  --class-hiit: #e94560;
  --class-body: #a855f7;
  --class-strength: #22c55e;
}

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--bg-section-alt); }
.section-title {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-xl);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: -2rem auto var(--space-xl);
  font-size: var(--text-lg);
}
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === EYEBROW === */
.eyebrow {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); text-align: center;
  margin-bottom: var(--space-sm);
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 24px; height: 2px; background: var(--accent); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 2rem;
  border: 2px solid var(--accent);
  border-radius: 0;
  font-family: var(--font-heading);
  font-weight: 600; font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              box-shadow var(--duration-base) var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--accent); color: var(--text-inverse); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--accent); }
.btn-lg { padding: 1rem 2.5rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: var(--text-sm); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: var(--shadow-glow); }
  .btn-outline:hover { background: var(--accent); color: var(--text-inverse); }
}
@media (hover: none) {
  .btn:active { opacity: 0.85; }
}

/* === A11Y === */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent); color: var(--text-inverse); padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); z-index: 10000; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.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;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--accent); color: var(--text-inverse); }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: background var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.nav.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-lg); color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-weight: 500; font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: 0.5px;
  position: relative; padding: 0.25rem 0;
  color: var(--text);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease);
}
.nav-link.active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::after { transform: scaleX(1); }
}
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 8px; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform var(--duration-base) var(--ease), opacity var(--duration-base) var(--ease);
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(#000000ab, #0000008a 14%, #00000026 54%, #0000000d 72%, #0000 94%);
}
.hero-content { position: relative; z-index: 1; padding-top: 72px; }
.hero-tag {
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--h1); font-weight: 800;
  line-height: var(--lh-tight); margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: var(--text-lg); color: var(--c6);
  max-width: 540px; margin-bottom: 2rem; line-height: 1.6;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fadeUp { opacity: 0; animation: fadeUp 0.7s var(--ease-out) forwards; }
.fadeUp:nth-child(1) { animation-delay: 0.1s; }
.fadeUp:nth-child(2) { animation-delay: 0.25s; }
.fadeUp:nth-child(3) { animation-delay: 0.4s; }
.fadeUp:nth-child(4) { animation-delay: 0.55s; }

/* === STATS === */
.section-stats { background: var(--c2); padding: 3rem 0; }
.stat { text-align: center; padding: 1.5rem; }
.stat-num {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--accent); display: block;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-muted); font-size: var(--text-sm); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* === FACILITIES === */
.facility-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.facility-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--accent); }
.facility-icon svg { width: 100%; height: 100%; }
.facility-title { font-family: var(--font-heading); font-size: var(--h3); font-weight: 700; text-transform: uppercase; margin-bottom: 0.25rem; }
.facility-size { color: var(--accent); font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); display: block; margin-bottom: 0.75rem; }
.facility-desc { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; }

/* === CTA BAND === */
.cta-band { background: var(--c2); padding: var(--space-xl) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.cta-band-text h2 { font-family: var(--font-heading); font-size: var(--h3); font-weight: 700; text-transform: uppercase; margin-bottom: var(--space-xs); }
.cta-band-text p { color: var(--text-muted); }

/* === SERVICE CARDS === */
.card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2rem; position: relative;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease);
}
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
  .card:hover::after { transform: scaleX(1); }
}
.card-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 1rem; }
.card-icon svg { width: 100%; height: 100%; }
.card-title { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.card-text { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; }

/* === SCHEDULE === */
.schedule-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem; }
.schedule {
  width: 100%; min-width: 700px; border-collapse: collapse;
  font-size: var(--text-sm);
}
.schedule th, .schedule td {
  padding: 0.75rem 0.5rem; text-align: center;
  border: 1px solid var(--border);
}
.schedule th {
  background: var(--c2); font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
  font-size: var(--text-xs); color: var(--text-muted);
}
.schedule-time { font-family: var(--font-heading); font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.sch-item {
  display: inline-block; padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: var(--text-xs); line-height: 1.3;
  border-left: 3px solid;
}
.sch-item small { display: block; font-weight: 400; opacity: 0.7; margin-top: 2px; }
.sch-trx { background: rgba(255,107,53,0.12); border-color: var(--class-trx); color: var(--class-trx); }
.sch-aerobic { background: rgba(0,220,255,0.1); border-color: var(--class-aerobic); color: var(--class-aerobic); }
.sch-hiit { background: rgba(233,69,96,0.12); border-color: var(--class-hiit); color: var(--class-hiit); }
.sch-body { background: rgba(168,85,247,0.12); border-color: var(--class-body); color: var(--class-body); }
.sch-strength { background: rgba(34,197,94,0.12); border-color: var(--class-strength); color: var(--class-strength); }

.schedule-legend { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: var(--text-xs); color: var(--text-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.legend-dot.sch-trx { background: var(--class-trx); }
.legend-dot.sch-aerobic { background: var(--class-aerobic); }
.legend-dot.sch-hiit { background: var(--class-hiit); }
.legend-dot.sch-body { background: var(--class-body); }
.legend-dot.sch-strength { background: var(--class-strength); }

.accent-link { color: var(--accent); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .accent-link:hover { text-decoration: underline; }
}

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.team-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .team-card:hover .team-photo { filter: grayscale(0%); }
}
.team-photo {
  width: 120px; height: 120px; border-radius: var(--radius-full); object-fit: cover;
  margin: 0 auto 1rem; border: 3px solid var(--accent);
  filter: grayscale(30%);
  transition: filter var(--duration-base) var(--ease);
}
.team-name { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: var(--text-sm); color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.team-desc { font-size: var(--text-sm); line-height: 1.5; color: var(--text-muted); }

/* === PRICING TABLE === */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%; max-width: 700px; margin: 0 auto;
  border-collapse: collapse;
}
.pricing-table th {
  font-family: var(--font-heading); text-transform: uppercase;
  font-size: var(--text-xs); letter-spacing: 0.1em;
  color: var(--text-muted); padding: 1rem;
  border-bottom: 2px solid var(--accent);
  text-align: left;
}
.pricing-table th:last-child { text-align: right; }
.pricing-table td {
  padding: 1rem; border-bottom: 1px solid var(--border);
  font-size: var(--text-base);
}
.pricing-table .price { font-family: var(--font-heading); font-weight: 700; text-align: right; white-space: nowrap; font-size: var(--text-lg); }
.pricing-highlight { background: rgba(233,69,96,0.08); }
.pricing-highlight td { border-bottom-color: var(--accent); }
.price-tag {
  font-size: var(--text-xs); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 0.15rem 0.5rem; margin-left: 0.5rem;
}
.price-badge {
  font-size: var(--text-xs); color: var(--accent);
  background: rgba(233,69,96,0.15); border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem; margin-left: 0.5rem; font-weight: 700;
}

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600;
  text-align: left; color: var(--text);
  gap: 1rem;
}
.faq-arrow {
  width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform var(--duration-base) var(--ease);
}
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(-135deg); }
.faq-answer {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height var(--duration-slow) var(--ease), opacity var(--duration-base) var(--ease);
}
.faq-answer[aria-hidden="false"] { max-height: 500px; opacity: 1; }
.faq-answer p { padding: 0 0 1.25rem; color: var(--text-muted); line-height: 1.6; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-xl); }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item strong { display: block; margin-bottom: 0.25rem; font-family: var(--font-heading); text-transform: uppercase; font-size: var(--text-xs); letter-spacing: 0.1em; color: var(--text-muted); }
.contact-item a { color: var(--accent); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .contact-item a:hover { text-decoration: underline; }
}
.contact-item p { color: var(--text-muted); font-size: var(--text-sm); }
.form-input {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); color: var(--text);
  font: inherit; font-size: 16px; margin-bottom: 1rem;
  transition: border-color var(--duration-base) var(--ease);
}
.form-input:focus { border-color: var(--accent); outline: none; }
.form-input.invalid { border-color: var(--error); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-btn { width: 100%; padding: 1rem; font-size: var(--text-base); }
.form-status { margin-top: 0.75rem; font-size: var(--text-sm); text-align: center; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* === MAP === */
.map {
  width: 100%; height: 350px; border-radius: var(--radius);
  overflow: hidden; margin-top: 2rem; position: relative;
}
.map::after {
  content: ''; position: absolute; inset: 0; z-index: 400;
  background: rgba(13,17,23,0.35);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* === FOOTER === */
.footer { background: var(--bg-footer); padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo { font-family: var(--font-heading); font-weight: 800; font-size: var(--h3); color: var(--accent); letter-spacing: 0.1em; }
.footer-tagline { color: var(--text-muted); font-size: var(--text-sm); }
.footer-copy { color: var(--c4); font-size: var(--text-xs); margin-top: 0.5rem; }
.footer-heading { font-family: var(--font-heading); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: var(--text-sm); transition: color var(--duration-fast); }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--accent); }
}
.footer-col p { color: var(--c4); font-size: var(--text-sm); }

/* === STICKY CTA BAR (M38) === */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 998; background: var(--c2);
  border-top: 1px solid var(--border);
  padding: 0.5rem; gap: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}
.sticky-cta-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem; font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 0; min-height: 48px;
}
.sticky-cta-phone { background: var(--accent); color: var(--text-inverse); }
.sticky-cta-msg { background: transparent; color: var(--text); border: 2px solid var(--accent); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: var(--c2); border-top: 1px solid var(--glass-border);
  padding: 1.25rem 2rem; transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cookie-inner p { font-size: var(--text-sm); color: var(--text-muted); }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* === SCROLL UP === */
.scroll-up {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--text-inverse);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity var(--duration-base) var(--ease);
}
.scroll-up.visible { opacity: 1; }
.scroll-up[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .scroll-up:hover { background: var(--accent-dark); }
}

/* === REVEAL === */
.reveal {
  opacity: 0; transform: translateY(20px) scale(0.98);
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.card.reveal { transition-delay: 0s; }
.card:nth-child(2).reveal { transition-delay: 0.1s; }
.card:nth-child(3).reveal { transition-delay: 0.15s; }
.card:nth-child(4).reveal { transition-delay: 0.2s; }
.card:nth-child(5).reveal { transition-delay: 0.25s; }
.card:nth-child(6).reveal { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 1.2rem; }
  .section { padding: 3rem 0; }
  .hero { min-height: 90vh; min-height: 90dvh; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }
  h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reveal off on mobile */
  .reveal { opacity: 1 !important; transform: none !important; }

  /* Nav mobile */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; inset: 0;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; background: rgba(13,17,23,0.97); z-index: 1000;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: var(--h3); min-height: 48px; display: flex; align-items: center; }

  /* Sticky CTA */
  .sticky-cta { display: flex; }
  .scroll-up { bottom: 5rem; }
  .footer { padding-bottom: calc(3rem + 60px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner { bottom: 60px; }

  /* Touch targets */
  .btn, button, [type="submit"] { min-height: 48px; min-width: 48px; }
  input, select, textarea { min-height: 48px; font-size: 16px; }

  /* Cookie mobile */
  .cookie-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}

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

/* === PRINT === */
@media print {
  .nav, .scroll-up, .cookie-banner, .sticky-cta, .scroll-progress,
  .hero-bg, .map, #contactForm, .gdpr-check, .form-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .card, .facility-card, .team-card { border: none; background: none; box-shadow: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  .footer { background: #fff; border-top: 1px solid #ccc; }
}
