/* ============================================================
   МЕДИКОН — Premium Dental Site
   Aesthetic: Dark medical luxury — deep navy + teal + gold
   Fonts: Cormorant Garamond (display) + Onest (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Onest:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --teal: #1AAFBF;
  --teal-light: #3ECFDF;
  --teal-dark: #0D8A97;
  --gold: #D4A843;
  --gold-light: #E8C46A;
  --navy: #0C1A2E;
  --navy-mid: #122240;
  --navy-light: #1A3055;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-100: #EEF1F5;
  --gray-300: #C2CBD8;
  --gray-500: #7A8A9E;
  --gray-700: #3A4A5E;
  --text-primary: #0C1A2E;
  --text-secondary: #3A4A5E;
  --text-light: #7A8A9E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Onest', system-ui, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(12,26,46,0.08);
  --shadow-md: 0 8px 32px rgba(12,26,46,0.12);
  --shadow-lg: 0 20px 60px rgba(12,26,46,0.18);
  --shadow-teal: 0 8px 32px rgba(26,175,191,0.25);
  --shadow-gold: 0 8px 32px rgba(212,168,67,0.25);

  --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Skip to content ── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  padding: 12px 20px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-to-content:focus { top: var(--space-sm); }

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) { .container { padding: 0 var(--space-lg); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-xl); } }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 44px;
  min-width: 44px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(26,175,191,0.4); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #B8892A 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 12px 40px rgba(212,168,67,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-icon {
  padding: 14px 24px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.btn:hover svg { transform: translateX(3px); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(12, 26, 46, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(12,26,46,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.nav-logo-mark::after {
  content: '+';
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--teal-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: none;
}

.nav-burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition-fast);
}
.nav-mobile a:hover { color: var(--teal-light); }

.nav-mobile-cta {
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-burger { display: none; }
}

/* ── Section Spacing ── */
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }

@media (min-width: 1024px) {
  .section { padding: var(--space-3xl) 0; }
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

.section-title {
  margin-top: var(--space-xs);
  color: var(--navy);
}

.section-subtitle {
  margin-top: var(--space-sm);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Hero — Dark Cinematic Split ── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--navy-mid) 40%,
    rgba(26,175,191,0.15) 100%
  );
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(26,175,191,0.08) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(212,168,67,0.05) 0%, transparent 40%);
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  10% { opacity: 0.6; transform: translateY(-10px) scale(1); }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 100vh;
  padding: 100px 0 60px;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding: 80px 0;
  }
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(26,175,191,0.12);
  border: 1px solid rgba(26,175,191,0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: var(--space-md);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  display: block;
}

.hero-stat-num span {
  color: var(--teal);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-photo-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(26,175,191,0.2);
}

.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.hero-photo-main:hover img { transform: scale(1.03); }

.hero-photo-accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--navy);
  box-shadow: var(--shadow-lg);
}

.hero-photo-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-float {
  position: absolute;
  top: 40px;
  right: -20px;
  background: rgba(12,26,46,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(26,175,191,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 160px;
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-float .card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-card-float .card-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Promo ribbon */
.hero-promo-ribbon {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: linear-gradient(135deg, var(--gold) 0%, #B8892A 100%);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  min-width: 140px;
}

.hero-promo-ribbon .ribbon-old {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-decoration: line-through;
}
.hero-promo-ribbon .ribbon-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-promo-ribbon .ribbon-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.4));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

.scroll-indicator-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
  display: none;
}

/* ── Services Bento Grid ── */
.services-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .bento-card-wide { grid-column: span 2; }
  .bento-card-tall { grid-row: span 2; min-height: 520px; }
}

.bento-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bento-card:hover .bento-card-bg img { transform: scale(1.05); }

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,26,46,0.9) 0%, rgba(12,26,46,0.3) 60%, transparent 100%);
  z-index: 1;
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.bento-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,175,191,0.15);
  border: 1px solid rgba(26,175,191,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.bento-card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bento-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.bento-card-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: linear-gradient(135deg, var(--gold), #B8892A);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 3;
}

/* Flat bento card (no photo) */
.bento-card-flat {
  background: var(--off-white);
}

.bento-card-flat .bento-card-overlay { display: none; }
.bento-card-flat h3 { color: var(--navy); }
.bento-card-flat p { color: var(--text-secondary); }
.bento-card-flat .bento-card-num { color: var(--teal-dark); }

/* ── Why Choose Us — Alternating Layout ── */
.why-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,175,191,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
  .why-grid.reverse .why-visual { order: -1; }
}

.why-visual {
  position: relative;
}

.why-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 420px;
}

.why-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(26,175,191,0.15) 100%);
  z-index: 1;
}

.why-photo-border {
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-xl) + 8px);
  border: 1px solid rgba(26,175,191,0.2);
  pointer-events: none;
}

.why-float-card {
  position: absolute;
  right: -20px;
  bottom: 40px;
  background: rgba(12,26,46,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  z-index: 2;
}

.why-float-card .float-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.why-float-card .float-body {
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.4;
}

.why-content .label {
  color: var(--teal-light);
}

.why-content h2 {
  color: var(--white);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-item {
  display: flex;
  gap: var(--space-sm);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(26,175,191,0.12);
  border: 1px solid rgba(26,175,191,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-item-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.why-item-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ── Team Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 3/4;
  cursor: pointer;
}

.team-card-photo {
  position: absolute;
  inset: 0;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-photo img { transform: scale(1.06); }

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,26,46,0.95) 0%, transparent 55%);
  transition: background var(--transition-base);
}

.team-card:hover .team-card-overlay {
  background: linear-gradient(to top, rgba(12,26,46,0.98) 0%, rgba(12,26,46,0.3) 60%);
}

.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  z-index: 2;
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.72rem;
  color: var(--teal-light);
  font-weight: 500;
}

/* ── Promo Banner ── */
.promo-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .promo-inner { grid-template-columns: 1fr 1fr; }
}

.promo-content .label {
  color: var(--gold-light);
}

.promo-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
  margin: var(--space-sm) 0;
}

.promo-title .strike {
  text-decoration: line-through;
  color: rgba(255,255,255,0.35);
  font-size: 0.6em;
}

.promo-title .price {
  color: var(--gold);
  display: block;
  font-size: 1.1em;
  font-weight: 700;
}

.promo-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.promo-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(26,175,191,0.2);
  border: 1px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--teal);
  flex-shrink: 0;
}

.promo-visual {
  position: relative;
}

.promo-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,175,191,0.1), transparent);
}

/* ── Testimonial Section ── */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .testimonials-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-sm);
  color: var(--gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Clinic Features Strip ── */
.features-strip {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-dark) 100%);
  padding: var(--space-xl) 0;
}

.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .features-strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: var(--space-sm);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.feature-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  line-height: 1.3;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: 'МЕДИКОН';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin: var(--space-sm) 0 var(--space-md);
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ── Kids Clinic Block ── */
.kids-section {
  background: linear-gradient(135deg, #1A3055 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.kids-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
}

.kids-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .kids-inner { grid-template-columns: 1fr 1fr; }
}

.kids-content .label { color: var(--gold-light); }
.kids-content h2 { color: var(--white); margin: var(--space-xs) 0 var(--space-sm); }
.kids-content p { color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: var(--space-md); }

.kids-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: var(--space-lg);
}

.kids-service-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.kids-service-pill span { font-size: 1rem; }

.kids-visual {
  position: relative;
}

.kids-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 400px;
  margin: 0 auto;
}

.kids-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kids-badge {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: linear-gradient(135deg, var(--gold) 0%, #B8892A 100%);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.kids-badge .badge-icon { font-size: 1.5rem; display: block; }
.kids-badge .badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Footer ── */
.site-footer {
  background: #060E1A;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.footer-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-logo-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-logo-sub {
  font-size: 0.65rem;
  color: var(--teal-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.social-icon:hover {
  background: rgba(26,175,191,0.15);
  border-color: rgba(26,175,191,0.4);
  color: var(--teal-light);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}
.footer-col ul a:hover { color: var(--teal-light); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(26,175,191,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-contact-text strong {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition-fast);
}
.footer-bottom-links a:hover { color: var(--teal-light); }

/* ── Animation System ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ── Clip Path Reveal (WOW moment) ── */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.4,0,0.2,1);
}
.clip-reveal.visible { clip-path: inset(0 0% 0 0); }

/* ── Parallax ── */
.parallax-container { overflow: hidden; }
.parallax-el { will-change: transform; }

/* ── Services Page Specific ── */
.services-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, rgba(26,175,191,0.1) 100%);
}

.page-hero-pattern {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(26,175,191,0.08);
  pointer-events: none;
}

.page-hero-pattern::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(26,175,191,0.06);
}

.page-hero-pattern::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(26,175,191,0.04);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: var(--space-sm);
  display: block;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Services Full List */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  cursor: pointer;
}

@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: var(--space-md);
  }
}

.service-item:hover {
  transform: translateX(8px);
}

.service-item-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
}

.service-item-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-item-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-item-price {
  text-align: right;
  white-space: nowrap;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Services Sections */
.service-category {
  margin-bottom: var(--space-2xl);
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-category-num {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-category-title {
  font-size: 1.8rem;
  color: var(--navy);
}

/* ── About Page Specific ── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-intro-text .label { margin-bottom: var(--space-xs); }
.about-intro-text h2 { color: var(--navy); margin-bottom: var(--space-md); }
.about-intro-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

@media (min-width: 600px) {
  .about-values { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.value-title { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.value-text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

.about-photo-collage {
  position: relative;
}

.collage-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-accent-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 45%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.collage-accent-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certificates/Partners section */
.partners-section {
  background: var(--off-white);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: transform var(--transition-base);
}
.partner-badge:hover { transform: scale(1.02); }
.partner-badge-icon { font-size: 1.2rem; }

/* ── Contacts Page ── */
.contacts-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .contacts-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-section { padding: var(--space-2xl) 0; }

.contact-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--teal-light);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-body h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-card-body p,
.contact-card-body a {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
  transition: color var(--transition-fast);
}
.contact-card-body a:hover { color: var(--teal-dark); }

/* Map placeholder */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.1);
}

.map-placeholder-icon { font-size: 3rem; color: var(--teal); }
.map-placeholder-text { font-size: 0.9rem; color: rgba(255,255,255,0.5); text-align: center; }
.map-placeholder-addr {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  text-align: center;
}

/* How to get there */
.directions-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.direction-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.direction-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.direction-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.direction-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.schedule-table tr {
  border-bottom: 1px solid var(--gray-100);
}

.schedule-table td {
  padding: 12px 0;
  font-size: 0.88rem;
}

.schedule-table td:first-child {
  color: var(--text-secondary);
  width: 60%;
}

.schedule-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
}

.schedule-table .highlight td {
  color: var(--teal-dark);
}

/* ── Horizontal Scroll (WOW moment on services) ── */
.h-scroll-section {
  overflow: hidden;
  position: relative;
}

.h-scroll-track {
  display: flex;
  gap: var(--space-sm);
  animation: scrollX 30s linear infinite;
  width: max-content;
}

.h-scroll-section:hover .h-scroll-track {
  animation-play-state: paused;
}

@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.h-scroll-item {
  flex-shrink: 0;
  padding: 10px 20px;
  background: rgba(26,175,191,0.08);
  border: 1px solid rgba(26,175,191,0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-weight: 500;
  white-space: nowrap;
}

/* Dark version */
.h-scroll-section.dark .h-scroll-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
}

/* ── 3D Tilt ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform var(--transition-base);
}

/* ── Number Counter ── */
.counter { display: inline-block; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .clip-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .particle { display: none; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }

.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;
}

/* ── Loading State ── */
.img-placeholder {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-300) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Nav active page highlight ── */
.site-nav:not(.transparent) .nav-links a.active {
  color: var(--white);
}
