/* ============================================
   ARCTIC STEEL — Ideal Plus Dental
   Cold, technological, precision engineering
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent-rgb: 59, 130, 246;
  --bg-rgb: 244, 246, 249;
  --heading-font: 'Space Grotesk', 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, #3b82f6, #06b6d4);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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 {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

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 {
  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.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.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;
  right: 0;
  z-index: 1000;
  background: rgba(244, 246, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--border);
}

.nav-brand span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.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.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* ── Burger Menu ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.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(244, 246, 249, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  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);
  text-decoration: none;
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

/* Section coordinate grid texture */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(226, 232, 240, 0.03) 39px, rgba(226, 232, 240, 0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(226, 232, 240, 0.03) 39px, rgba(226, 232, 240, 0.03) 40px);
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

/* Section geometric grid lines */
.section-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.section-shapes::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(226, 232, 240, 0.5) 79px, rgba(226, 232, 240, 0.5) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(226, 232, 240, 0.5) 79px, rgba(226, 232, 240, 0.5) 80px);
  opacity: 0.15;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Hero coordinate grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(226, 232, 240, 0.08) 39px, rgba(226, 232, 240, 0.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(226, 232, 240, 0.08) 39px, rgba(226, 232, 240, 0.08) 40px);
  pointer-events: none;
  z-index: 0;
}

/* Hero geometric decor - circle */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-decor::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(var(--accent-rgb), 0.08);
  border-radius: 50%;
}

.hero-decor::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(var(--accent-rgb), 0.06);
  border-radius: 50%;
}

/* Additional geometric shapes */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 5%;
  width: 200px;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.08);
}

.hero-grid-lines::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  width: 1px;
  height: 200px;
  background: rgba(var(--accent-rgb), 0.08);
}

/* Dot pattern */
.hero-dots {
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-content {
  padding: 40px 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 24px;
  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.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 16px;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.hero-stat .stat-number {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

/* Geometric frame around hero image */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: 1;
  opacity: 0.3;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  z-index: 0;
  opacity: 0.15;
}

/* Floating stat cards on hero image */
.hero-float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-float-card.top-right {
  top: -20px;
  right: -30px;
}

.hero-float-card.bottom-left {
  bottom: 30px;
  left: -40px;
}

.hero-float-card .float-icon {
  width: 36px;
  height: 36px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.hero-float-card .float-text {
  display: flex;
  flex-direction: column;
}

.hero-float-card .float-number {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.2;
}

.hero-float-card .float-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-left: 3px solid var(--accent);
}

.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.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: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-number {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(var(--accent-rgb), 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  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;
  flex: 1;
}

.service-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 14px;
  background: rgba(var(--accent-rgb), 0.06);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
}

.service-promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.8rem;
  color: #16a34a;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.team-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 24px;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card .team-role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.team-card .team-spec {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
  aspect-ratio: 1;
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery filter tabs */
.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}

/* ── CTA Section ── */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.05) 39px, rgba(255,255,255,0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.05) 39px, rgba(255,255,255,0.05) 40px);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}

.cta-section .btn-white:hover {
  background: #f8fafc;
  color: var(--accent-hover);
}

/* ── Contact Section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.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-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── UTP / Advantages ── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  text-align: center;
}

.advantage-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-left: 3px solid var(--accent);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.advantage-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Footer ── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: var(--accent);
}

/* ── Sticky CTA Bar ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-text {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

/* ── Page Header (for inner pages) ── */
.page-header {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(226, 232, 240, 0.08) 39px, rgba(226, 232, 240, 0.08) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(226, 232, 240, 0.08) 39px, rgba(226, 232, 240, 0.08) 40px);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  position: relative;
}

/* ── Services Detail (full page) ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 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%;
  height: 350px;
  object-fit: cover;
}

.service-detail-content .service-number {
  font-size: 3rem;
  margin-bottom: 16px;
}

.service-detail-content h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Pseudo-element decorators ── */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  margin: 16px auto 0;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  margin-top: 16px;
}

/* ── Schema and misc ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-float-card.top-right {
    right: -10px;
    top: -10px;
  }

  .hero-float-card.bottom-left {
    left: -10px;
    bottom: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .hero-split {
    min-height: auto;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-float-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .sticky-cta {
    padding: 10px 16px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sticky-cta-text {
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
  }

  .page-header {
    padding: 110px 0 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
