/* ═══════════════════════════════════════════════════
   Salutem Dental Clinic — Glassmorphic Modern
   Style 06: Frosted glass, gradients, layered depth
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg: #0f0f1a;
  --bg-rgb: 15, 15, 26;
  --surface: rgba(255, 255, 255, 0.05);
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-rgb: 99, 102, 241;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Inter', sans-serif;
  --heading-weight: 700;
  --body-weight: 400;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

/* ── Text overflow protection ── */
.service-card,
.team-card,
.hero h1,
.section-header h2,
h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ══════════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 24px;
}

.preloader-logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 28px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 15, 26, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.nav-logo span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--accent-hover);
}

.nav-links .btn {
  font-size: 13px;
  padding: 10px 24px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 15, 26, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 1000;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent-hover);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(99, 102, 241, 0.14), transparent),
    radial-gradient(ellipse 500px 500px at 80% 60%, rgba(139, 92, 246, 0.11), transparent),
    radial-gradient(ellipse 400px 400px at 50% 85%, rgba(168, 85, 247, 0.09), transparent);
  z-index: 0;
}

/* Animated blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hero-blob--1 {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  top: 8%;
  left: -6%;
  animation: blobDrift1 20s ease-in-out infinite;
}

.hero-blob--2 {
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  top: 52%;
  right: -7%;
  animation: blobDrift2 22s ease-in-out infinite;
}

.hero-blob--3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  bottom: 4%;
  left: 28%;
  animation: blobDrift3 18s ease-in-out infinite;
}

.hero-blob--4 {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  top: 14%;
  right: 18%;
  animation: blobDrift4 24s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(55px, 35px) scale(1.08); }
  66% { transform: translate(-25px, 65px) scale(0.95); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-45px, -35px) scale(1.06); }
  66% { transform: translate(35px, -55px) scale(0.93); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -45px) scale(1.04); }
  66% { transform: translate(-55px, 25px) scale(0.97); }
}
@keyframes blobDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 45px) scale(1.1); }
  66% { transform: translate(45px, -25px) scale(0.91); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(241, 245, 249, 0.78) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}

.hero-stat .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 30px;
  background: var(--gradient);
  opacity: 0.12;
  z-index: -1;
  filter: blur(30px);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.55), transparent 50%);
  pointer-events: none;
}

/* Floating glass badge on hero photo */
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.hero-badge-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}

.hero-badge-text strong {
  display: block;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.08);
}

/* ══════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: 100px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(241, 245, 249, 0.68) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Floating gradient circles (section shapes) */
.section-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
}

.section-shape--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--accent), transparent);
  top: -8%;
  right: -4%;
}

.section-shape--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #a855f7, transparent);
  bottom: -8%;
  left: -4%;
}

.section-shape--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #8b5cf6, transparent);
  top: 40%;
  left: 55%;
}

/* Gradient fade dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: none;
  margin: 0;
}

/* Alternating section tint */
.section--alt {
  background: rgba(255, 255, 255, 0.012);
}

/* ══════════════════════════════════════════════════
   SERVICES GRID
   ══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* First card spans full width, horizontal layout */
.service-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.service-card:first-child .service-card-img {
  aspect-ratio: auto;
  height: 100%;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.35), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.service-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  width: fit-content;
}

.service-card-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card-price .old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  -webkit-text-fill-color: var(--text-muted);
  font-weight: 400;
}

/* ══════════════════════════════════════════════════
   ADVANTAGES / USP
   ══════════════════════════════════════════════════ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.advantage-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.advantage-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(99, 102, 241, 0.11), transparent);
}

.cta-glass {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 56px 44px;
}

.cta-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(241, 245, 249, 0.68) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════
   GALLERY GRID
   ══════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 26, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.2), 0 0 80px rgba(139, 92, 246, 0.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  z-index: 2;
  color: var(--text);
  font-size: 0.82rem;
  transform: translateY(100%);
  transition: transform var(--transition);
  line-height: 1.5;
}

.gallery-item:hover .gallery-item-caption {
  transform: translateY(0);
}

.gallery-category-label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════
   CONTACTS
   ══════════════════════════════════════════════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-info h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
  font-family: var(--body-font);
}

.contact-info p,
.contact-info a {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info a:hover {
  color: var(--accent-hover);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.75) contrast(1.1) saturate(0);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  padding: 56px 24px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-logo span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 600;
  font-family: var(--body-font);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 15px;
  color: var(--text-muted);
}

.footer-social a:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
  color: var(--accent-hover);
}

/* ══════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ══════════════════════════════════════════════════ */
.page-header {
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 400px at 50% 60%, rgba(99, 102, 241, 0.1), transparent);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(241, 245, 249, 0.68) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════
   SERVICE DETAIL (services page)
   ══════════════════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-detail-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-detail:hover .service-detail-img img {
  transform: scale(1.03);
}

.service-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Promo banner */
.promo-banner {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.promo-badge {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
}

.promo-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--heading-font);
}

.promo-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Locations */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.location-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.location-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.location-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-photo {
    max-width: 400px;
    margin: 0 auto;
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 64px 20px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .number {
    font-size: 1.5rem;
  }

  .hero-badge {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }

  .service-card {
    border-radius: var(--radius);
    margin-bottom: 16px;
  }

  .service-card:first-child {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .cta-glass {
    padding: 36px 24px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* SR only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
