/* ===== LIGHT GLASSMORPHIC — dentaly.kg ===== */
@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);
  --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);
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
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;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---------- TEXT OVERFLOW SAFETY ---------- */
.service-card, .team-card, .hero h1, .section-header h2,
h1, h2, h3, h4, p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- DOT-GRID TEXTURE (section-texture) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  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;
  margin-bottom: 1.5rem;
}
.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); } }

/* ---------- FLOATING BLOBS (section-shapes) ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  top: -120px; left: -100px;
  animation: floatBlob1 28s ease-in-out infinite;
}
.blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #fbc2eb, transparent 70%);
  top: 200px; right: -80px;
  animation: floatBlob2 25s ease-in-out infinite;
}
.blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #a5f3fc, transparent 70%);
  bottom: -60px; left: 30%;
  animation: floatBlob3 30s ease-in-out infinite;
}
.blob-4 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ddd6fe, transparent 70%);
  bottom: 100px; right: 10%;
  animation: floatBlob1 26s ease-in-out infinite reverse;
}
@keyframes floatBlob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}
@keyframes floatBlob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 30px) scale(1.05); }
  66% { transform: translate(40px, -60px) scale(0.9); }
}
@keyframes floatBlob3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -30px) scale(1.08); }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(240, 244, 248, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 52px; width: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo span {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.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 {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 360px;
  height: 100vh;
  background: rgba(240, 244, 248, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  gap: 1.5rem;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border);
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
/* hero-decor: dot-grid + blob background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
  pointer-events: none;
}
.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Floating panels (iOS-style) */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--accent);
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--text);
}
.hero h1 .accent-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating panels on right */
.hero-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  position: relative;
}
.hero-panel {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.hero-panel-photo {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 220px;
}
.hero-panel-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-stat {
  text-align: center;
}
.hero-stat .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;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.hero-panel-usp {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-panel-usp .usp-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hero-panel-usp p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: 48px;
  text-align: center;
}
.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: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
  overflow: visible;
  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-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.service-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ---------- VIDEO SECTION ---------- */
.video-section {
  text-align: center;
}
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}
.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* ---------- ABOUT / USP ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.usp-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--accent-rgb), 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.usp-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.usp-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 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: var(--transition);
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ---------- TEAM GRID ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.team-card-info {
  padding: 1.5rem;
}
.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-glass {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CONTACT LIST ---------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact-item:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ---------- MAP ---------- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  height: 300px;
  background: rgba(255,255,255,0.3);
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- FOOTER ---------- */
.footer {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand-top img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand-top span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FLOATING WHATSAPP ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  color: #fff;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ---------- PAGE HEADER (for sub-pages) ---------- */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-subtitle { margin: 0 auto; }
  .hero-panels {
    max-width: 500px;
    margin: 0 auto;
  }
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav { padding: 0.75rem 1.25rem; }

  .hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-panels { grid-template-columns: 1fr 1fr; }
  .hero-panel-photo { max-height: 180px; }
  .hero-panel-photo img { height: 180px; }

  .section { padding: 4rem 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .usp-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-glass { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-panels { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; min-height: 48px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.35);
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}
