/* ============================================================
   Family Dent Medical Centre — Main Stylesheet
   ============================================================ */

/* Hide translatable text until JS has applied the correct language */
html:not(.i18n-ready) [data-i18n] { visibility: hidden; }

/* ---------- Headline Font ---------- */
@font-face {
  font-family: 'Braind Gyumri';
  src: url('../fonts/BraindGyumri.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Inter (Latin + Cyrillic fallback) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- PT Sans Narrow (Cyrillic display font) ---------- */
@font-face {
  font-family: 'PT Sans Narrow';
  src: url('../fonts/PTSansNarrow-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PT Sans Narrow';
  src: url('../fonts/PTSansNarrow-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  --gold: #dd9b45;
  --gold-light: #e8b870;
  --gold-dark: #9b7133;
  --gold-pale: #f5e8d0;
  --beige: #deddd0;
  --beige-light: #f0ede4;
  --green: #4b673f;
  --green-dark: #374e2e;
  --green-light: #5a7a4d;
  --sand: #e0dcd0;
  --sand-dark: #c8c4b4;
  --white: #faf9f6;
  --text-dark: #2a2218;
  --text-mid: #5a5040;
  --text-light: #8a7e6e;
  --text-on-green: #deddd0;

  --font-display: 'Braind Gyumri', "PingAmL New", 'Inter', sans-serif;
  --font-body: "PingAmL New", 'Inter', sans-serif;

  --nav-height: 72px;
  --section-pad: 60px;
  --container: 1080px;
  --radius: 8px;
  --shadow-sm: 0 2px 8px rgba(42,34,24,.06);
  --shadow-md: 0 4px 20px rgba(42,34,24,.08);
  --shadow-lg: 0 8px 40px rgba(42,34,24,.12);
  --transition: .3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 40px); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--gold);
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: block;
}
.section-title { margin-bottom: 1.5rem; }
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.section-header { text-align: center; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.page-inner .container { max-width: 1232px; }
.page-inner .services-detail-section .container { max-width: 100%; }
.page-inner .services-section .container,
.page-inner .doctor-profiles .container { max-width: 1232px; }
.navbar .container { max-width: 100%; }
.footer .container { max-width: 1232px; }
section {
  padding: var(--section-pad) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
@media (hover: hover) {
  .btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
  }
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
@media (hover: hover) {
  .btn-outline:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
  }
}

/* ---------- Nav Actions (Lang + CTA group) ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Language Dropdown ---------- */
.nav-lang {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(75,103,63,.1);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-toggle:hover {
  background: rgba(75,103,63,.16);
}
.lang-toggle .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}
.lang-toggle .chevron {
  display: flex;
  align-items: center;
  margin-left: 2px;
  transition: transform var(--transition);
}
.nav-lang.open .lang-toggle .chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  min-width: 0;
  width: 84px;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-lang.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 10px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 5px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
}
.lang-btn:hover {
  color: var(--green);
  background: rgba(75,103,63,.06);
}
.lang-btn.active {
  color: var(--green);
  font-weight: 600;
}
.lang-btn .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,249,246,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222,220,207,.4);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
  max-width: 100%;
  padding: 0 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-img {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .logo-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
}
.nav-logo .logo-sub {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--green);
  background: rgba(75,103,63,.05);
}
.nav-links a.active {
  color: var(--green);
  font-weight: 500;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--green);
  color: var(--text-on-green);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  padding: 28px 32px 40px;
  transition: right .4s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--beige);
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.mobile-nav-brand span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green);
  text-transform: uppercase;
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--beige);
  background: none;
  font-size: 1.4rem;
  color: var(--text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 0;
  padding-bottom: 2px;
}
.mobile-nav-close:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--beige);
  transition: color var(--transition);
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav a.active {
  color: var(--green);
  font-weight: 500;
  border-bottom-color: var(--gold);
  border-bottom-width: 2px;
}
.mobile-nav .nav-cta-mobile {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,34,24,.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  height: 700px;
}
.hero-secondary-logo {
  width: 280px;
  margin-bottom: 10px;
  margin-top: 0;
}
.hero-content h1 {
  margin-top: 0;
}
.hero-content {
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 10px;
  position: relative;
  overflow: hidden;
}
.hero-bg-logo {
  position: absolute;
  inset: -40%;
  background: url('../photos/logos/background_opacity_logo.png') center center / contain no-repeat;
  opacity: 0.06;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}
.hero-content > *:not(.hero-bg-logo) {
  position: relative;
  z-index: 1;
}
.hero-content::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  z-index: 0;
}
.hero-content::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  z-index: 0;
}
.hero h1 {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  color: var(--text-on-green);
  font-size: .95rem;
  margin-bottom: 20px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--text-on-green);
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* ---------- Services Section ---------- */
.services-section { background: var(--white); }
.services-section .container { max-width: 1600px; }
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.services-grid .service-card {
  flex: 0 0 calc((100% - 56px) / 5);
}
.service-card {
  background: #fff;
  padding: 18px 5px 10px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(221, 156, 72, 0.1);
  box-shadow: 0 2px 12px rgba(42, 34, 24, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(221, 156, 72, 0.12), 0 8px 16px rgba(42, 34, 24, 0.06);
  border-color: rgba(221, 156, 72, 0.2);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf6eb 0%, var(--gold-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: transform 0.4s ease;
}
.service-icon svg {
  width: 32px;
  height: 32px;
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-dark);
}
.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  color: var(--gold);
  font-weight: 500;
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 10px; }

.services-detail-section .services-grid {
  grid-template-columns: repeat(7, 1fr);
}

/* ---------- Service Categories Carousel ---------- */
.service-carousel {
  position: relative;
  padding: 0 28px;
}
.service-categories-grid {
  display: flex;
  /* align-items: flex-start; */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 8px 0 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.service-categories-grid::-webkit-scrollbar { display: none; }
.service-categories-grid { cursor: grab; }
.service-categories-grid.auto-scrolling {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.service-categories-grid.dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
.service-categories-grid.dragging * { pointer-events: none; }
.service-category {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(42,34,24,.1);
  transition: box-shadow .35s ease, transform .35s ease;
  border-top: 3px solid var(--gold);
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
  align-content: start;
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  scroll-snap-align: start;
}
.service-category:hover {
  box-shadow: 0 8px 30px rgba(221,156,72,.18), 0 4px 12px rgba(42,34,24,.1);
  transform: translateY(-5px);
}
.service-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf6eb 0%, var(--gold-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0;
}
.service-category-icon svg {
  width: 24px;
  height: 24px;
}
.service-category h3 {
  color: var(--green);
  font-family: "PingAmL New", 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}
html[lang="ru"] .service-category h3 {
  font-family: 'Inter', sans-serif;
}
.category-list {
  grid-column: 1 / -1;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}
.category-list li {
  padding: 5px 0;
  border-bottom: 1px solid var(--beige);
  color: var(--text);
  font-size: .93rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.category-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.category-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Carousel Arrows */
.service-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--beige);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--transition);
}
.service-carousel-arrow svg {
  width: 20px;
  height: 20px;
}
.service-carousel-arrow:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.service-carousel-arrow:disabled {
  opacity: .3;
  cursor: default;
  pointer-events: none;
}
.service-carousel-prev { left: -8px; }
.service-carousel-next { right: -8px; }

@media (max-width: 1024px) {
  .service-category {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .service-carousel { padding: 0 4px; }
  .service-carousel-arrow { display: none; }
  .service-categories-grid {
    scroll-snap-type: none;
  }
  .service-category {
    flex: 0 0 85%;
  }
}

/* Doctor Profile Page - Full Profile */
.doctor-profiles .container { max-width: 1280px; }
.doctor-profile {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--beige);
}
.doctor-profile:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.doctor-profile-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  height: fit-content;
}
.doctor-profile-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.doctor-profile-content { padding: 10px 0; }
.doctor-profile-content h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.doctor-profile-content .doctor-specialty {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
  display: block;
}
.doctor-bio {
  color: var(--text-mid);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 10px;
}
.doctor-bio p { margin-bottom: 6px; }
.doctor-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.doctor-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--beige-light);
  border-radius: var(--radius);
  transition: background .25s, transform .25s, box-shadow .25s;
  cursor: default;
}
.doctor-fact:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.doctor-fact:hover .doctor-fact-icon {
  transform: scale(1.2);
}
.doctor-fact:hover .doctor-fact-text {
  color: var(--text);
}
.doctor-fact-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: transform .25s;
}
.doctor-fact-icon svg {
  width: 100%;
  height: 100%;
}
.doctor-fact-text {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
  transition: color .25s;
}
.doctor-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 10px 24px;
  background: var(--green);
  color: var(--text-on-green);
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.doctor-instagram:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.ig-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.doctor-profile:nth-child(even) {
  direction: rtl;
}
.doctor-profile:nth-child(even) > * {
  direction: ltr;
}

/* Team Section */
.team-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
}
.team-banner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.team-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(75,103,63,.40) 0%, rgba(75,103,63,.3) 70%); 
  display: flex;
  align-items: center;
  padding: 60px;
}
/* ---------- Why Choose Us Section ---------- */
.why-section { padding: 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.why-left {
  background: var(--green);
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-left .section-label { color: var(--text-on-green); }
.why-left h2 { color: var(--gold); margin-bottom: 24px; }
.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.why-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}
.why-text h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 6px;
}
.why-text p {
  color: var(--text-on-green);
  font-size: .9rem;
  margin: 0;
}
.why-right {
  background: var(--sand);
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Appointment / Form ---------- */
.appointment-section {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.appointment-info h2 { margin-bottom: 16px; }
.appointment-info p {
  color: var(--text-light);
  margin-bottom: 30px;
}
.appointment-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.appointment-perk {
  display: flex;
  align-items: center;
  gap: 14px;
}
.appointment-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.appointment-perk-icon svg {
  width: 16px;
  height: 16px;
}
.appointment-perk span {
  font-size: .95rem;
  color: var(--text-mid);
}
.form-card {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-row .form-group {
  margin-bottom: 0;
}
.required-label::after {
  content: ' *';
  color: #d32f2f;
  font-weight: 600;
}
.form-group label {
  display: block;
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  font-size: .95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select.placeholder { color: #999; }
.form-group select option { color: var(--text-dark); }
.form-group input.error,
.form-group select.error { border-color: #d32f2f; }
.form-error-msg {
  display: none;
  color: #d32f2f;
  font-size: .78rem;
  margin-top: 4px;
}
.form-group.has-error .form-error-msg { display: block; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.form-submit:hover {
  background: var(--green);
  color: var(--text-on-green);
  transform: translateY(-1px);
}
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form-success h3 {
  color: var(--green);
  margin-bottom: 12px;
}

/* ---------- Reviews Section ---------- */
.reviews-section { background: var(--white); }
.reviews-carousel {
  position: relative;
}
.reviews-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.reviews-track.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}
.reviews-track.dragging * { pointer-events: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  position: relative;
  flex: 0 0 calc(50% - 14px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
}
.review-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-pale);
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
}
.review-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
  font-style: italic;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}
.review-author-info h4 {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.review-author-info span {
  font-size: .8rem;
  color: var(--text-light);
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.reviews-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--beige);
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviews-arrow:hover:not(:disabled) {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.reviews-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.reviews-dots {
  display: flex;
  gap: 8px;
}
.reviews-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beige);
  cursor: pointer;
  transition: background var(--transition);
}
.reviews-dots .dot.active {
  background: var(--gold);
}


/* ---------- FAQ Section ---------- */
.faq-section { background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--beige);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  transition: color var(--transition);
  width: 100%;
  text-align: left;
}
.faq-question h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark);
  transition: color var(--transition);
  padding-right: 20px;
}
.faq-question:hover h3 { color: var(--gold); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-light);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: .95rem;
}

/* ---------- Contact Section ---------- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: stretch;
}
.contact-details {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}
.contact-details h2 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}
.contact-items {
  flex: 1;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
}
.contact-text h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 4px;
}
.contact-text p,
.contact-text a {
  color: var(--text-light);
  font-size: .95rem;
  margin: 0;
}
.contact-text a:hover { color: var(--gold); }
.contact-socials-divider {
  height: 1px;
  background: var(--sand);
  margin: 4px 0 20px;
}
.contact-socials-section h4 {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.contact-socials-links {
  display: flex;
  gap: 10px;
}
.contact-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand-dark);
  background: var(--white);
  transition: all var(--transition);
}
.contact-social-link svg {
  width: 18px;
  height: 18px;
}
.contact-social-link:hover {
  transform: translateY(-2px);
}
.contact-social-link { color: var(--font-body); }
.contact-social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-pale);
}
.contact-social--tt svg { stroke-width: 2; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 460px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
}

/* ---------- About Page ---------- */
.about-story {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.about-story-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  width: 430px;
  height: 600px;
  cursor: grab;
  user-select: none;
}
.about-story-image:active {
  cursor: grabbing;
}
.about-story-image .team-slide {
  width: 430px;
  height: 600px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.about-story-image .team-slide.active {
  opacity: 1;
}
.team-slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255,255,255,.8);
}
.team-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.about-story-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.about-story-text p {
  margin-bottom: 8px;
}
.about-story-text .btn {
  margin-top: 10px;
}
.about-story-reverse {
  grid-template-columns: 1fr auto;
}
.about-story-image .cert-slide {
  width: 430px;
  height: 600px;
  position: absolute;
  top: 0; left: 0;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.about-story-image .cert-slide.active {
  opacity: 1;
}
.cert-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255,255,255,.8);
}
.cert-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.about-value {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--beige-light);
  transition: all var(--transition);
}
.about-value:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.about-value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
}
.about-value-icon svg {
  width: 28px;
  height: 28px;
}
.about-value h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.about-value p {
  font-size: .9rem;
  color: var(--text-light);
  margin: 0;
}

/* Stats bar */
.stats-bar {
  background: var(--green);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .88rem;
  color: var(--text-on-green);
}

/* ---------- Page Headers ---------- */
.page-header {
  background: var(--green);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.page-header h1 {
  color: var(--gold);
  margin-bottom: 12px;
}
.page-header p {
  color: var(--text-on-green);
  font-size: 1rem;
  margin: 0;
}
.page-header .breadcrumb {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-on-green);
}
.page-header .breadcrumb a {
  color: var(--text-on-green);
  transition: color var(--transition);
}
.page-header .breadcrumb a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.5);
  padding: 16px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand .nav-logo .logo-name { color: #fff; }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social .phone-icon {
  width: 17px;
  height: 17px;
}
.footer-social .tiktok-icon {
  stroke-width: 1.4;
}
.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: .88rem;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 50px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-on-green);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Armenian Font Size Adjustment ---------- */
html[lang="hy"] {
  font-size: 16px;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Hero Entrance Animation ---------- */
.hero-content,
.hero-image {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.hero-content.hero-visible,
.hero-image.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-content { padding: 50px 32px; align-items: center; text-align: center; }
  .hero-image { height: auto; }
  .hero-image img { object-fit: contain; width: 100%; height: auto; }
}

@media (max-width: 1220px) {
  .nav-inner { padding: 0 16px; }
  .nav-links { gap: 6px; }
  .nav-links a { padding: 8px 8px; }
}

@media (max-width: 1400px) {
  .services-detail-section .services-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1100px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .services-grid .service-card {
    flex: 0 0 calc((100% - 28px) / 3);
  }
  .services-detail-section .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1250px) {
  .about-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .about-story { grid-template-columns: 1fr; }
  .about-story-image { margin: 0 auto; }
  .about-story-text { text-align: center; }
}

@media (max-width: 1250px) and (min-width: 769px) {
  .about-value:last-child { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .hamburger { display: flex; }
  .review-card { flex: 0 0 calc(100% - 14px); }

  .why-grid { grid-template-columns: 1fr; }
  .why-left, .why-right { padding: 40px 24px; }

  .appointment-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .doctor-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-profile-photo {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  .doctor-profile:nth-child(even) { direction: ltr; }
  .doctor-facts { grid-template-columns: 1fr; }

}

@media (max-width: 768px) {
  :root {
    --section-pad: 40px;
    --nav-height: 60px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }

  .hero-content { padding: 40px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .services-grid .service-card {
    flex: 0 0 calc((100% - 14px) / 2);
  }
  .review-card { flex: 0 0 100%; }

  .why-left, .why-right { padding: 32px 20px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { padding: 28px 24px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: .85rem; }
  .footer-col a { font-size: .82rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .about-values { grid-template-columns: 1fr; }

  .team-banner img { height: auto; object-fit: contain; }
  .team-banner-overlay { padding: 30px; }
  .team-banner-text h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .services-grid .service-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 500px) {
  .footer-quick-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .why-left, .why-right { padding: 24px 16px; }

  .about-story-image {
    width: 100%;
    height: auto;
    aspect-ratio: 430 / 600;
  }
  .about-story-image .team-slide,
  .about-story-image .cert-slide {
    width: 100%;
    height: 100%;
  }
}

/* ---------- Sticky Contact FAB ---------- */
.sticky-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (hover: none) {
  .sticky-fab {
    pointer-events: none;
  }
  .sticky-fab-trigger,
  .sticky-fab-menu {
    pointer-events: auto;
  }
}
.sticky-fab-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(221,156,72,.4);
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}
.sticky-fab-trigger svg {
  width: 24px;
  height: 24px;
  position: absolute;
  transition: opacity .25s ease, transform .25s ease;
}
.sticky-fab-icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}
@media (hover: hover) {
  .sticky-fab:hover .sticky-fab-trigger {
    background: var(--gold-dark);
    box-shadow: 0 6px 28px rgba(221,156,72,.5);
  }
  .sticky-fab:hover .sticky-fab-icon-phone {
    opacity: 0;
    transform: rotate(90deg);
  }
  .sticky-fab:hover .sticky-fab-icon-close {
    opacity: 1;
    transform: rotate(0deg);
  }
}
.sticky-fab.open .sticky-fab-trigger {
  background: var(--gold-dark);
  box-shadow: 0 6px 28px rgba(221,156,72,.5);
}
.sticky-fab.open .sticky-fab-icon-phone {
  opacity: 0;
  transform: rotate(90deg);
}
.sticky-fab.open .sticky-fab-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Menu that fans out above the trigger */
.sticky-fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
@media (hover: hover) {
  .sticky-fab:hover .sticky-fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.sticky-fab.open .sticky-fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-fab.closed .sticky-fab-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}
.sticky-fab.closed .sticky-fab-icon-phone {
  opacity: 1;
  transform: rotate(0deg);
}
.sticky-fab.closed .sticky-fab-icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}
.sticky-fab.closed .sticky-fab-trigger {
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(221,156,72,.4);
}

/* Each option row */
.sticky-fab-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform .2s ease;
}
.sticky-fab-option:hover {
  transform: translateX(-4px);
}

/* Option label pill */
.sticky-fab-option-label {
  background: #fff;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(42,34,24,.1);
}

/* Option circle icon */
.sticky-fab-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--transition);
}
.sticky-fab-option-icon svg {
  width: 20px;
  height: 20px;
}
.sticky-fab-option--phone {
  background: var(--gold);
  box-shadow: 0 2px 12px rgba(221,156,72,.35);
}
.sticky-fab-option--wa {
  background: #25D366;
  box-shadow: 0 2px 12px rgba(37,211,102,.35);
}
.sticky-fab-option--wa svg {
  width: 22px;
  height: 22px;
}
.sticky-fab-option--viber {
  background: #7360F2;
  box-shadow: 0 2px 12px rgba(115,96,242,.35);
}
.sticky-fab-option--viber svg {
  width: 22px;
  height: 22px;
}
.sticky-fab-option:hover .sticky-fab-option--phone {
  background: var(--gold-dark);
}
.sticky-fab-option:hover .sticky-fab-option--wa {
  background: #1da851;
}
.sticky-fab-option:hover .sticky-fab-option--viber {
  background: #5b48d6;
}

/* ---------- Clickable Service Cards ---------- */
.service-card--clickable {
  cursor: pointer;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--gold);
  font-weight: 500;
  transition: gap var(--transition), color var(--transition);
}
.service-card--clickable:hover .service-card-link {
  gap: 10px;
  color: var(--gold-dark);
}
.service-card-link svg {
  transition: transform var(--transition);
}
.service-card--clickable:hover .service-card-link svg {
  transform: translateY(2px);
}

/* ---------- Before / After Sections ---------- */
.ba-section {
  background: var(--beige-light);
  padding: var(--section-pad) 0;
}
.ba-section:nth-child(even) {
  background: var(--white);
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.ba-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ba-compare {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: var(--beige);
}
.ba-compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}
.ba-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider handle */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  pointer-events: none;
}
.ba-handle-line {
  flex: 1;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0,0,0,.3);
}
.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: auto;
  cursor: ew-resize;
  transition: background .2s ease, transform .2s ease;
}
.ba-handle-circle:hover {
  background: var(--gold-dark);
  transform: scale(1.1);
}
.ba-handle-circle svg {
  flex-shrink: 0;
}

/* Before / After labels */
.ba-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label--before {
  left: 16px;
  background: rgba(42,34,24,.65);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ba-label--after {
  right: 16px;
  background: rgba(75,103,63,.7);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ba-item:only-child {
  max-width: 480px;
  justify-self: center;
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ba-handle-circle {
    width: 38px;
    height: 38px;
  }
  .ba-label {
    font-size: .72rem;
    padding: 4px 10px;
    top: 10px;
  }
  .ba-label--before { left: 10px; }
  .ba-label--after { right: 10px; }
}

/* ---------- Russian language — swap display font, keep body font unchanged ---------- */
html[lang="ru"] {
  --font-display: 'PT Sans Narrow', 'Inter', sans-serif;
}
html[lang="ru"] h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}
html[lang="ru"] .contact-details h2 {
  font-size: 1.3rem;
}