/* ============================================
   SimplaDent — Light Glassmorphic Theme
   Style 11: Glass on light, pastel blobs, blur
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #f0f4f8;
  --surface: rgba(255, 255, 255, 0.6);
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.7);
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --accent-rgb: 99, 102, 241;
  --bg-rgb: 240, 244, 248;
  --heading-font: 'Plus Jakarta Sans', 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 & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  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.15;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* --- Text overflow protection --- */
.service-card,
.team-card,
.hero h1,
.section-header h2,
.section-header p,
h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(var(--accent-rgb), 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Dot-grid texture (section-texture) --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--text) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* --- Floating blob animations (section-shapes) --- */
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.05); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(40px, 20px) scale(1.02); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 30px) scale(1.08); }
  66% { transform: translate(40px, -60px) scale(0.96); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(30px, 50px) scale(0.97); }
  50% { transform: translate(-60px, -20px) scale(1.06); }
  80% { transform: translate(20px, -40px) scale(1); }
}

@keyframes blobFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-40px, -30px) scale(1.04); }
  60% { transform: translate(50px, 40px) scale(0.98); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(var(--bg-rgb), 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav.scrolled {
  padding: 10px 24px;
  box-shadow: var(--shadow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.12);
}

.nav-brand span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.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: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(var(--bg-rgb), 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Hero decor: blobs + dot-grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.hero-blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  top: -100px;
  right: -100px;
  animation: blobFloat1 28s ease-in-out infinite;
}

.hero-blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f9a8d4, transparent 70%);
  bottom: -50px;
  left: -80px;
  animation: blobFloat2 25s ease-in-out infinite;
}

.hero-blob--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #93c5fd, transparent 70%);
  top: 30%;
  left: 40%;
  animation: blobFloat3 30s ease-in-out infinite;
}

.hero-blob--4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a5f3fc, transparent 70%);
  bottom: 20%;
  right: 20%;
  animation: blobFloat4 27s ease-in-out infinite;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  width: fit-content;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero floating panels (iOS widgets) */
.hero-panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  perspective: 800px;
}

.hero-panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-panel--photo {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-panel--photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-panel--stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hero-panel--stat .panel-number {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
}

.hero-panel--stat .panel-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-panel--review {
  grid-column: 1 / -1;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.hero-panel--review::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 2.5rem;
  color: var(--accent);
  font-family: var(--heading-font);
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  min-height: 44px;
  min-width: 44px;
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
}

.btn-outline {
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid rgba(var(--accent-rgb), 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255,255,255,0.9);
  color: var(--accent);
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Section Base --- */
.section {
  position: relative;
  padding: 100px 24px;
  overflow: visible;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section floating blobs */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.section-blob--lavender {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  animation: blobFloat1 28s ease-in-out infinite;
}

.section-blob--pink {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #f9a8d4, transparent 70%);
  animation: blobFloat2 25s ease-in-out infinite;
}

.section-blob--blue {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #93c5fd, transparent 70%);
  animation: blobFloat3 30s ease-in-out infinite;
}

.section-blob--cyan {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #a5f3fc, transparent 70%);
  animation: blobFloat4 27s ease-in-out infinite;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

.service-card .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.price-tag .price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-tag .price-new {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--heading-font);
}

.service-card .btn {
  margin-top: 12px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Акция бейдж */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  width: fit-content;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}

.team-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  text-align: center;
  transition: all var(--transition);
  max-width: 350px;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.team-card-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.team-card-body {
  padding: 24px;
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card .specialization {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 6px;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 3rem;
  color: rgba(var(--accent-rgb), 0.15);
  font-family: var(--heading-font);
  line-height: 1;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  padding-top: 16px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-glass {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 56px 40px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.cta-glass h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--text);
}

.cta-glass p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact section --- */
.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info p,
.contact-info a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-info a:hover {
  color: var(--accent);
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 48px;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* --- Footer --- */
.footer {
  background: rgba(var(--bg-rgb), 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-top img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-top span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--accent-rgb), 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* --- UTP/Features cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(139, 92, 246, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Promo Banner --- */
.promo-banner {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.promo-banner h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.promo-banner p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 6px;
}

/* --- Services page full list --- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.service-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.service-row-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.service-row-content {
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.service-row-content h3 {
  font-size: 1.3rem;
  color: var(--text);
}

.service-row-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Page Header (inner pages) --- */
.page-header {
  position: relative;
  padding: 140px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* --- Gallery page filter tabs --- */
.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-panels {
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .service-row {
    grid-template-columns: 250px 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .hero-panels {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-panel--photo img {
    height: 180px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    height: 180px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-glass {
    padding: 36px 24px;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row-image {
    height: 200px;
    min-height: 200px;
  }

  .service-row-content {
    padding: 24px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-blob {
    opacity: 0.2;
  }

  .hero-blob--1 { width: 300px; height: 300px; }
  .hero-blob--2 { width: 250px; height: 250px; }
  .hero-blob--3 { width: 200px; height: 200px; }
  .hero-blob--4 { display: none; }
}

@media (max-width: 480px) {
  .hero-panels {
    grid-template-columns: 1fr;
  }

  .hero-panel--stat {
    grid-column: 1;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
