/* === ЭРDENT Dark Elegance — data-style="21" === */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Cormorant+Garamond:wght@300;400;500;600&family=Lato:wght@300;400;700&display=swap');

:root {
  --bg: #0d0b09;
  --surface: #181614;
  --accent: #c9a96e;
  --accent-hover: #d4b87a;
  --text: #e8dcc8;
  --text-muted: #8a8078;
  --border: #2a2520;
  --accent-rgb: 201, 169, 110;
  --bg-rgb: 13, 11, 9;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Cormorant Garamond', serif;
  --label-font: 'Lato', 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 { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  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.7;
  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);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--text);
}

/* Word-break for long Russian words */
.service-card, .team-card, .hero h1, .section-header h2 {
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 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-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.nav-brand-text {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-brand-text small {
  display: block;
  font-family: var(--label-font);
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  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 {
  font-family: var(--label-font);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--bg) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(var(--bg-rgb), 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  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: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .btn {
  margin-top: 16px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 50%, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(var(--accent-rgb), 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-block;
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--body-font);
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Photo — Oval */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-oval {
  width: 380px;
  height: 480px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 0 80px rgba(var(--accent-rgb), 0.1), 0 0 160px rgba(var(--accent-rgb), 0.05);
}

.hero-photo-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Geometric wireframe decor near hero photo */
.hero-decor-wireframe {
  position: absolute;
  pointer-events: none;
}

.hero-decor-wireframe--top-right {
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
}

.hero-decor-wireframe--bottom-left {
  bottom: -20px;
  left: -10px;
  width: 100px;
  height: 100px;
}

.hero-decor-wireframe svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 0.5;
  fill: none;
  opacity: 0.06;
}

/* Radial glow behind oval */
.hero-photo::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-family: var(--body-font);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Section divider */
.section-divider {
  text-align: center;
  position: relative;
  padding: 0;
  margin: 0;
}

.section-divider::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
}

.section-divider::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: -1px auto 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  min-width: 44px;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
}

.btn-outline:hover {
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* === SERVICES GRID — 3+2 layout === */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  flex: 0 0 calc(33.333% - 27px);
  max-width: calc(33.333% - 27px);
  text-align: center;
  padding: 30px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card-photo {
  width: 160px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.15);
  transition: box-shadow var(--transition);
}

.service-card:hover .service-card-photo {
  box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.25);
}

.service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-link {
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color var(--transition);
}

.service-card-link:hover { color: var(--accent-hover); }

/* === ALL SERVICES PAGE — compact list === */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-full-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-full-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}

.service-full-photo {
  flex-shrink: 0;
  width: 100px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.1);
}

.service-full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-full-info {
  flex: 1;
}

.service-full-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-full-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.service-full-info .service-promo {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--label-font);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.team-card-photo {
  width: 200px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.15);
  transition: box-shadow var(--transition);
}

.team-card:hover .team-card-photo {
  box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.25);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.team-card-role {
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.team-card-spec {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === GALLERY GRID === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.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(135deg, rgba(var(--accent-rgb), 0.0) 0%, rgba(var(--accent-rgb), 0.0) 100%);
  transition: background var(--transition);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--accent-rgb), 0.05) 100%);
}

.gallery-item-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--label-font);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(var(--bg-rgb), 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 16px; }

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === STATS SECTION === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-number {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === CONTACTS PAGE === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card h3 {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: var(--accent);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-text {
  flex: 1;
}

.contact-label {
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-value a {
  color: var(--text);
  transition: color var(--transition);
}

.contact-value a:hover { color: var(--accent); }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  max-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.1);
}

/* === FOOTER === */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-copy {
  font-family: var(--label-font);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* === STICKY BOTTOM BAR (Mobile CTA) === */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(var(--bg-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
}

.sticky-cta-inner {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-cta .btn {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.7rem;
}

/* === PAGE HEADER (for inner pages) === */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 60% at 50% 80%, rgba(var(--accent-rgb), 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* === PSEUDO DECORATIVE ELEMENTS === */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

/* === USP GRID === */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.usp-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.usp-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-4px);
}

.usp-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.usp-card h3 {
  font-size: 0.92rem;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.usp-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* === HOVER EFFECTS ON CARDS (3+ :hover) === */
.service-card:hover .service-card-link { color: var(--accent-hover); }

.gallery-item:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.team-card:hover .team-card-role { color: var(--accent-hover); }

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-photo-oval {
    width: 300px;
    height: 380px;
    margin: 0 auto;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .sticky-cta { display: block; }
  body { padding-bottom: 72px; }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-photo-oval {
    width: 240px;
    height: 300px;
  }

  .hero-decor-wireframe { display: none; }

  .section { padding: 70px 0; }

  .service-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .services-grid {
    gap: 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-card-photo {
    width: 160px;
    height: 210px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-desc { margin: 0 auto; }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .service-full-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-photo-oval {
    width: 200px;
    height: 260px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.8rem; }

  .contact-card { padding: 28px 20px; }
}
