/* ═══════════════════════════════════════════════════════
   КЛИНИКА ДОКТОРА ТЕЙМУРОВА — Clean Clinical Style
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS VARIABLES ──────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --surface: #f7fafa;
  --surface-2: #eef4f4;
  --accent: #0e8a7b;
  --accent-rgb: 14, 138, 123;
  --accent-hover: #0ba392;
  --accent-light: rgba(14, 138, 123, 0.08);
  --accent-mid: rgba(14, 138, 123, 0.15);
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e2e8f0;
  --border-strong: #c8d4de;
  --font-heading: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 35, 50, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 35, 50, 0.12);
  --nav-h: 76px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ─── SCROLL PROGRESS ────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
  z-index: 9999; transition: none;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.7; }

.text-accent { color: var(--accent); }

/* ─── LAYOUT UTILITIES ───────────────────────────────── */
.container {
  width: 100%; max-width: 1240px;
  margin: 0 auto; padding: 0 24px;
}
.section {
  padding: 80px 0;
  position: relative;
}
.section-surface { background: var(--surface); }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--accent);
}
.section-divider {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--border);
  transform-origin: left; transform: scaleX(1);
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 32px;
  font-size: 0.95rem; font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  min-height: 48px;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent); color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff; color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}
.btn-large { padding: 16px 40px; font-size: 1rem; }
.btn-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.3); transform: scale(0);
  animation: ripple 0.8s ease-out; pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ─── NAVIGATION ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.nav-logo img {
  width: 52px; height: 52px;
  border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-text span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 12px; }
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.burger:hover { background: var(--surface); }
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  z-index: 999; padding: 32px 24px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-size: 1.3rem; font-family: var(--font-heading); font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 8px; }
.mobile-menu .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(var(--accent-rgb), 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(var(--accent-rgb), 0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  width: 100%; position: relative; z-index: 1;
  padding: 60px 0;
}
.hero-content {}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 50px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700;
  color: var(--text); line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 4px;
}
.hero-visual {
  position: relative; height: 560px;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
}
/* Decorative frame */
.hero-img-frame {
  position: absolute; inset: -12px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.2);
  border-radius: calc(var(--radius-lg) + 8px);
  pointer-events: none;
}
.hero-img-frame::before {
  content: '';
  position: absolute; top: 16px; right: 16px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 var(--radius) 0 0;
}
.hero-img-frame::after {
  content: '';
  position: absolute; bottom: 16px; left: 16px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 0 0 0 var(--radius);
}
/* Floating card */
.hero-float-card {
  position: absolute; bottom: 32px; left: -32px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  z-index: 2; border: 1px solid var(--border);
}
.hero-float-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.2rem; flex-shrink: 0;
}
.hero-float-text strong {
  display: block; font-size: 0.9rem; font-weight: 600; color: var(--text);
}
.hero-float-text span {
  font-size: 0.78rem; color: var(--text-muted);
}
/* Trust badge */
.hero-trust-badge {
  position: absolute; top: 32px; right: -20px;
  background: var(--accent);
  color: #fff; border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center; z-index: 2;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}
.hero-trust-badge strong {
  display: block; font-size: 1.5rem; font-family: var(--font-heading); font-weight: 700;
}
.hero-trust-badge span { font-size: 0.72rem; opacity: 0.9; }

/* ─── SERVICES GRID ──────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow-wrap: break-word;
  word-break: break-word;
}
.service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card-img {
  width: 100%; height: 180px;
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
}
.service-card h3 {
  font-size: 1.05rem; margin-bottom: 10px;
  overflow-wrap: break-word; word-break: break-word;
}
.service-card p {
  font-size: 0.88rem; line-height: 1.6; color: var(--text-muted);
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 0.85rem; font-weight: 600;
  color: var(--accent); transition: var(--transition);
}
.service-card-link svg { width: 14px; height: 14px; transition: var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* ─── ABOUT / UTP ────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap {
  position: relative; height: 520px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-img-accent {
  position: absolute; top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 2px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-year-badge {
  position: absolute; bottom: 24px; right: -20px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius); padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.4);
}
.about-year-badge strong {
  display: block; font-size: 2rem;
  font-family: var(--font-heading); font-weight: 700; line-height: 1;
}
.about-year-badge span { font-size: 0.75rem; opacity: 0.9; }
.about-content {}
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 32px; font-size: 1.05rem; }
.utp-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.utp-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.utp-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--accent-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.utp-check::before {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}
.utp-item p {
  font-size: 0.92rem; color: var(--text); line-height: 1.5;
}

/* ─── TEAM ───────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; max-width: 720px; margin: 0 auto;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
}
.team-card-img {
  height: 280px; overflow: hidden;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body {
  padding: 20px 24px 24px;
}
.team-card-body h3 {
  font-size: 1.1rem; margin-bottom: 6px;
  overflow-wrap: break-word; word-break: break-word;
}
.team-card-role {
  font-size: 0.83rem; color: var(--accent); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.team-card-spec {
  font-size: 0.85rem; color: var(--text-muted);
  margin-top: 8px;
}

/* ─── REVIEWS ────────────────────────────────────────── */
.reviews-swiper {
  width: 100%; overflow: hidden;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.review-quote {
  font-size: 2rem; color: var(--accent); line-height: 1;
  font-family: var(--font-heading); margin-bottom: 12px;
}
.review-text {
  font-size: 0.92rem; color: var(--text); line-height: 1.7;
  font-style: italic;
}

/* ─── CTA SECTION ────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #0ba392 60%, #0ccfb5 100%);
  padding: 80px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff; margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.85); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto 36px;
}
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; align-items: center;
}
.cta-contact {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center; margin-top: 32px;
}
.cta-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9); font-size: 0.9rem;
  transition: var(--transition);
}
.cta-contact a:hover { color: #fff; transform: translateY(-1px); }
.cta-contact svg {
  width: 18px; height: 18px; stroke: currentColor;
  fill: none; stroke-width: 1.8; stroke-linecap: round;
}

/* ─── GALLERY ────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  aspect-ratio: 1;
  background: var(--surface);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--accent-rgb), 0.6) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-size: 0.82rem; color: #fff; font-weight: 500;
}
/* Large gallery item */
.gallery-item-lg {
  grid-column: span 2; grid-row: span 1;
  aspect-ratio: 2.1;
}

/* Before-After Slider */
.ba-slider-wrap {
  max-width: 860px; margin: 0 auto 48px;
}
.ba-slider {
  position: relative; height: 400px;
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: col-resize;
  user-select: none;
}
.ba-before, .ba-after {
  position: absolute; inset: 0;
}
.ba-before img, .ba-after img {
  width: 100%; height: 100%; object-fit: cover;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
  transition: none;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(0,0,0,0.3);
  z-index: 3;
}
.ba-handle::before {
  content: '⟺';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: #fff; border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent);
  line-height: 44px; text-align: center;
}
.ba-labels {
  display: flex; justify-content: space-between;
  padding: 12px 16px 0;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── CONTACTS ───────────────────────────────────────── */
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-list {
  display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg {
  width: 22px; height: 22px; stroke: var(--accent);
  fill: none; stroke-width: 1.8; stroke-linecap: round;
}
.contact-item-body strong {
  display: block; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); margin-bottom: 4px;
}
.contact-item-body a, .contact-item-body p {
  font-size: 1rem; color: var(--text); transition: var(--transition);
}
.contact-item-body a:hover { color: var(--accent); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.map-container {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 400px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.map-placeholder {
  text-align: center; color: var(--text-muted);
}
.map-placeholder svg {
  width: 48px; height: 48px; stroke: var(--accent);
  fill: none; stroke-width: 1.5; margin-bottom: 12px;
}

/* ─── STATS ROW ──────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.stat-cell {
  background: var(--bg);
  padding: 32px 24px; text-align: center;
}
.stat-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ─── TRUST STRIP ────────────────────────────────────── */
.trust-strip {
  background: var(--accent);
  padding: 16px 0;
  overflow: hidden;
}
.trust-items {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.92); font-size: 0.88rem; font-weight: 500;
  flex-shrink: 0;
}
.trust-item::before { content: '•'; opacity: 0.6; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── PAGE HERO (inner pages) ────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--surface);
  text-align: center; position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--border);
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  overflow-wrap: break-word; word-break: break-word;
}
.page-hero p { font-size: 1.05rem; max-width: 520px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--accent); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb span { color: var(--border-strong); }

/* ─── LIGHTBOX ──────────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius); object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  color: #fff; font-size: 1.5rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ─── PAGE TRANSITION ────────────────────────────────── */
.page-transition, .page-enter-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--accent); pointer-events: none;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-logo img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.footer-logo-text strong {
  display: block; font-size: 0.95rem; font-weight: 600;
  color: #fff; font-family: var(--font-heading);
}
.footer-logo-text span { font-size: 0.75rem; }
.footer-desc { font-size: 0.88rem; max-width: 280px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links a:hover { color: rgba(var(--accent-rgb), 0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: rgba(255,255,255,0.5); transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ─── GRADIENT BORDER (effects.js class) ──────────────── */
.gradient-border {
  background: var(--bg) !important;
}

/* ─── CARD SPOTLIGHT (effects.js) ──────────────────────── */
.card-spotlight {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 1;
  transition: background 0.1s ease;
}
.service-card > *, .team-card > * { position: relative; z-index: 2; }

/* ─── SCROLL PROGRESS CSS ───────────────────────────── */
.scroll-progress {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

/* ─── RESPONSIVE: TABLET ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; max-width: 560px; margin: 0 auto; }
  .hero-float-card { bottom: 16px; left: 0; }
  .hero-trust-badge { top: 16px; right: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { height: 360px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ─── RESPONSIVE: MOBILE ─────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .container { padding: 0 16px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 300px; }
  .hero-float-card { left: 50%; transform: translateX(-50%); bottom: -16px; white-space: nowrap; }
  .hero-trust-badge { display: none; }
  .hero-img-frame { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-lg { grid-column: span 2; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-contact { flex-direction: column; align-items: center; gap: 16px; }

  /* Hero stats horizontal scroll friendly */
  .hero-subtitle { margin-left: auto; margin-right: auto; }

  /* Before-after */
  .ba-slider { height: 260px; }

  /* Buttons full width on mobile CTA */
  .mobile-full { width: 100%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-lg { grid-column: span 1; aspect-ratio: 1; }
  h1 { font-size: 1.9rem; }
}
