/* ═══════════════════════════════════════════════════════
   AGAT Dental Clinic — Dark Luxury Theme
   Стиль: Dark Luxury — тёмный фон, золотые акценты, VIP
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --accent: #c9a84c;
  --accent-hover: #dfc06a;
  --text: #f0ece4;
  --text-muted: #8a8578;
  --border: rgba(201, 168, 76, 0.2);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --base-size: 17px;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Noise Texture Overlay (section-texture) ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Divider: accent line + diamond ── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 60px auto;
  width: fit-content;
}
.divider::before,
.divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--accent);
}
.divider .diamond {
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition), -webkit-backdrop-filter var(--transition);
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.nav-brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; 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%;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  display: block;
}
.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); }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d0d0d 0%, #141210 40%, #1a1610 70%, #0d0d0d 100%);
  overflow: hidden;
  padding-top: 80px;
}

/* Hero decor: large transparent first letter */
.hero::before {
  content: 'A';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 25vw;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

/* Gold glow cursor area */
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
.hero:hover .hero-glow { opacity: 1; }

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 .accent { color: var(--accent); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero photo composition */
.hero-photos {
  position: relative;
  height: 500px;
}
.hero-photos .hero-photo-main {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  z-index: 2;
}
.hero-photos .hero-photo-accent {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  z-index: 1;
}
.hero-photos .hero-photo-small {
  position: absolute;
  right: 40px;
  top: 0;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
  z-index: 3;
}

/* ═══════════════════════════════════════════════════════
   SECTION SHAPES: Gold L-corners
   ═══════════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: 100px 0;
}
.section-cornered::before,
.section-cornered::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: rgba(201, 168, 76, 0.3);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}
.section-cornered::before {
  top: 40px;
  left: 40px;
  border-width: 1px 0 0 1px;
}
.section-cornered::after {
  bottom: 40px;
  right: 40px;
  border-width: 0 1px 1px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 60px;
}

/* ═══════════════════════════════════════════════════════
   SERVICES CARDS — photo-left layout
   ═══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border-top: 2px solid var(--accent);
  position: relative;
  display: flex;
  flex-direction: row;
  transition: transform var(--transition), box-shadow var(--transition);
  perspective: 1000px;
  transform-style: preserve-3d;
}
/* Card inner gradient decor */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
/* Featured card spans 2 columns */
.service-card.featured {
  grid-column: span 2;
}
.service-card-img {
  width: 180px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-card.featured .service-card-img {
  width: 280px;
  min-height: 260px;
}
.service-card.featured .service-card-body h3 {
  font-size: 1.4rem;
}

/* ═══════════════════════════════════════════════════════
   TEAM — horizontal scroll with snap
   ═══════════════════════════════════════════════════════ */
.team-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.team-scroll::-webkit-scrollbar { display: none; }

.team-card {
  flex: 0 0 320px;
  scroll-snap-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border-top: 2px solid var(--accent);
  position: relative;
  margin-left: -20px;
  transition: transform var(--transition);
  perspective: 1000px;
}
.team-card:first-child { margin-left: 0; }
.team-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.team-card-img {
  width: 100%;
  height: 360px;
  overflow: hidden;
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body {
  padding: 24px;
  position: relative;
  z-index: 1;
}
.team-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-card-body .role {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.team-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 2px solid var(--accent);
  position: relative;
  transition: transform var(--transition);
}
.review-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
  border-radius: var(--radius);
}
.review-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.review-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.review-card .review-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.review-card .review-stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(201, 168, 76, 0.08) 100%);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS — shimmer effect
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 52px;
  min-width: 44px;
}
.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(201, 168, 76, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Shimmer effect on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn:hover::after {
  left: 100%;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ═══════════════════════════════════════════════════════
   GALLERY — first image large, rest small
   ═══════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(13,13,13,0.8));
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Horizontal scroll gallery for index */
.gallery-hscroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-hscroll::-webkit-scrollbar { display: none; }
.gallery-hscroll .gallery-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  height: 360px;
}
.gallery-hscroll .gallery-item.large {
  flex: 0 0 500px;
}
.gallery-hscroll .gallery-item img {
  min-height: 100%;
}

/* Clip-path reveal animation for gallery */
.gallery-item.clip-hidden {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item.clip-visible {
  clip-path: inset(0 0 0 0);
}

/* ═══════════════════════════════════════════════════════
   CONTACTS PAGE
   ═══════════════════════════════════════════════════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
}
.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  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.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 340px;
}
.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--accent);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   SERVICES PAGE — full layout
   ═══════════════════════════════════════════════════════ */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.services-page-grid .service-card.featured {
  grid-column: span 2;
}
.service-detail-card {
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 2px solid var(--accent);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition);
}
.service-detail-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.service-detail-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-detail-card:hover .service-detail-img img { transform: scale(1.05); }
.service-detail-body {
  padding: 28px;
  position: relative;
  z-index: 1;
}
.service-detail-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-detail-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════════════════ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #0d0d0d 0%, #141210 50%, #0d0d0d 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 20vw;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.02;
  pointer-events: none;
  line-height: 1;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.page-header .breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.page-header .breadcrumb a { color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   TRUST BADGES
   ═══════════════════════════════════════════════════════ */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 60px 0;
}
.trust-item {
  text-align: center;
}
.trust-item .trust-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.trust-item .trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════
   CLIP-REVEAL ANIMATION
   ═══════════════════════════════════════════════════════ */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.clip-reveal.revealed {
  clip-path: inset(0 0 0 0);
}

/* Decorative reveal for borders/shadows only */
.decor-reveal {
  opacity: 1 !important;
}
.decor-reveal .service-card,
.decor-reveal .team-card,
.decor-reveal .review-card {
  border-top-color: transparent;
  box-shadow: none;
  transition: border-top-color 0.6s ease, box-shadow 0.6s ease;
}
.decor-reveal.revealed .service-card,
.decor-reveal.revealed .team-card,
.decor-reveal.revealed .review-card {
  border-top-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════════════════════════
   MOBILE MENU OVERLAY
   ═══════════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13, 13, 13, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .burger { display: flex; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photos {
    height: 300px;
    margin-top: 40px;
  }
  .hero-photos .hero-photo-main {
    width: 220px;
    height: 280px;
    right: 50%;
    transform: translate(50%, -50%);
  }
  .hero-photos .hero-photo-accent {
    display: none;
  }
  .hero-photos .hero-photo-small {
    width: 100px;
    height: 100px;
    right: 10%;
    top: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.featured { grid-column: span 1; }
  .service-card { flex-direction: column; }
  .service-card-img {
    width: 100%;
    min-height: 180px;
    height: 180px;
  }
  .service-card.featured .service-card-img {
    width: 100%;
    min-height: 200px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }
  .services-page-grid .service-card.featured {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .section-cornered::before { left: 16px; top: 20px; }
  .section-cornered::after { right: 16px; bottom: 20px; }

  .team-card {
    flex: 0 0 280px;
    margin-left: -12px;
  }

  .gallery-hscroll .gallery-item {
    flex: 0 0 260px;
    height: 300px;
  }
  .gallery-hscroll .gallery-item.large {
    flex: 0 0 360px;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat-num { font-size: 1.8rem; }
  .hero-photos { height: 240px; }
  .hero-photos .hero-photo-main {
    width: 180px;
    height: 230px;
  }
  .hero-photos .hero-photo-small {
    width: 80px;
    height: 80px;
    right: 5%;
  }

  .service-card-body { padding: 20px 16px; }

  .review-card { padding: 24px 20px; }

  .team-card {
    flex: 0 0 260px;
  }
  .team-card-img { height: 300px; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.large {
    grid-column: span 1;
  }

  .trust-row { gap: 24px; }
  .trust-item .trust-num { font-size: 1.6rem; }

  .btn {
    padding: 14px 28px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .gallery-hscroll .gallery-item {
    flex: 0 0 220px;
    height: 260px;
  }
  .gallery-hscroll .gallery-item.large {
    flex: 0 0 300px;
  }

  .cta-section { padding: 60px 0; }
}

/* ═══════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes clipRevealDown {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes clipRevealRight {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float { animation: pulse 2.5s infinite ease-in-out; }

/* ── Schema/SEO invisible helper ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
