/* ============================================================
   ImplantX Dental Clinic — по дизайну "ImplantX Landing.dc.html"
   Navy #0A192F · Gold #C5A059 / #D4AF37 · Cormorant Garamond + Golos Text
   ============================================================ */

:root {
  --navy: #0A192F;
  --navy-2: #12305c;
  --gold: #C5A059;
  --gold-bright: #D4AF37;
  --grey-bg: #F8FAFC;
  --line: #E2E8F0;
  --text-muted: #64748B;
  --text-body: #334155;
  /* Noto *-Armenian подключаются только на /hy/ — на ru/en не грузятся */
  --font-serif: 'Cormorant Garamond', 'Noto Serif Armenian', serif;
  --font-sans: 'Golos Text', 'Noto Sans Armenian', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 900px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Общее ---------- */

.section { padding: 90px 0; }
.section--grey { background: var(--grey-bg); }

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  margin: 0 0 48px;
}
.section__title--tight { margin-bottom: 16px; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  transition: background .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-bright);
  color: var(--navy);
  box-shadow: 0 0 20px 2px rgba(212, 175, 55, .45);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
}
.btn--outline-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn--outline {
  border: 1px solid var(--line);
  color: var(--navy);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.logo:hover { color: var(--navy); }
.logo span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.nav a { color: var(--navy); white-space: nowrap; }
.nav a:hover { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px;
}
.lang-switch a {
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-muted);
  border-radius: 3px;
}
.lang-switch a:hover { color: var(--gold); }
.lang-switch a.is-active { background: var(--navy); color: #fff; }
.header__cta { padding: 11px 22px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 10px 0; color: var(--navy); font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, #0A192F 0%, #12305c 55%, #0A192F 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
  pointer-events: none;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__circle--lg { right: -180px; top: -180px; width: 560px; height: 560px; border: 1px solid rgba(197,160,89,.25); }
.hero__circle--sm { right: -100px; top: -100px; width: 400px; height: 400px; border: 1px solid rgba(197,160,89,.18); }

.hero__inner {
  padding-top: 110px;
  padding-bottom: 90px;
  position: relative;
  animation: fadeUp .7s ease both;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(197,160,89,.5);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  display: inline-block;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero__text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  max-width: 620px;
  margin: 0 0 40px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__photo {
  flex: none;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(212, 175, 55, .35),
    0 0 0 1px rgba(197, 160, 89, .5),
    0 0 0 14px rgba(255, 255, 255, .06);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

/* ---------- Услуги ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.svc-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(10, 25, 47, .08), 0 0 0 1px rgba(197, 160, 89, .35);
  transform: translateY(-3px);
}

.svc-card__glyph {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.svc-card h3 { font-size: 19px; margin: 0; font-weight: 700; }
.svc-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.svc-card__link { font-size: 14px; font-weight: 700; }

/* ---------- Ортодонтия и имплантация ---------- */

.key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.key-card {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 40px;
}
.key-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
}
.key-card > p {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  margin: 0 0 28px;
}
.key-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  font-size: 15px;
}
.key-card li { display: flex; gap: 10px; align-items: baseline; }
.key-card li span { color: var(--gold-bright); }

/* ---------- Преимущества ---------- */

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.adv {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  transition: border-color .25s;
}
.adv:hover { border-color: var(--gold); }

.adv__glyph {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: rgba(197, 160, 89, .12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.adv__title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.adv__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- О клинике ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.about__text--last { margin-bottom: 32px; }

.about__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.about__stat-num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
}
.about__stat-label { font-size: 13px; color: var(--text-muted); }

.about__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* ---------- Плейсхолдеры под фото/карту ---------- */

.ph {
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #EDF2F7 0 12px, #F8FAFC 12px 24px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: monospace;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* ---------- Врачи ---------- */

.doctors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
}
.doc-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(10, 25, 47, .08);
}
.doc-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--grey-bg);
  border-bottom: 1px solid var(--line);
}
.doc-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-card h3 { font-size: 19px; margin: 0; font-weight: 700; }
.doc-card__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
}
.doc-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ---------- Отзывы ---------- */

.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #CBD5E1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel__dot.is-active { background: var(--gold); transform: scale(1.25); }

.review {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 900px) {
  .review { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .review { flex-basis: 100%; }
}
.review__stars { color: var(--gold-bright); font-size: 18px; letter-spacing: 3px; }
.review > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
  flex: 1;
}
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(197, 160, 89, .15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.review__name { font-weight: 700; font-size: 15px; }
.review__meta { font-size: 13px; color: var(--text-muted); }

/* ---------- Цены ---------- */

.prices__lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 640px;
}

.prices { display: flex; flex-direction: column; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.price-row__dots {
  flex: 1;
  border-bottom: 1px dotted #CBD5E1;
  transform: translateY(-4px);
}
.price-row__val { font-weight: 700; color: var(--gold); white-space: nowrap; }

.prices__note {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 24px 0 0;
}

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(120deg, #0A192F 0%, #14355f 100%);
  padding: 80px 0;
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  color: #fff;
  font-weight: 600;
  margin: 0 0 12px;
  max-width: 640px;
}
.cta__text { color: rgba(255, 255, 255, .7); font-size: 16px; margin: 0; }
.cta .btn { flex: none; padding: 18px 36px; font-size: 16px; }

/* ---------- Контакты ---------- */

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
}

.contacts__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
}
.contacts__row { display: flex; gap: 14px; align-items: baseline; }
.contacts__label {
  color: var(--gold);
  font-weight: 700;
  min-width: 84px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contacts__phone { color: var(--navy); font-weight: 700; }
.contacts__phone:hover { color: var(--gold); }

.contacts__actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.contacts__map {
  min-height: 320px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contacts__map iframe { display: block; min-height: 320px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__brand { max-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.footer__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.footer__logo span { color: var(--gold); }
.footer__logo small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.footer__brand p { font-size: 14px; line-height: 1.7; margin: 0; }

.footer__nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__nav a { color: rgba(255, 255, 255, .7); }
.footer__nav a:hover { color: var(--gold-bright); }

.footer__contacts { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__phone { color: #fff; font-weight: 700; }
.footer__phone:hover { color: var(--gold-bright); }
.footer__cta { margin-top: 8px; align-self: flex-start; padding: 12px 22px; }

.footer__copy { padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .4); }

/* ---------- Плавающий звонок ---------- */

.float-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(10, 25, 47, .35);
  transition: background .2s, box-shadow .25s;
}
.float-call:hover {
  background: var(--gold-bright);
  color: var(--navy);
  box-shadow: 0 0 24px 4px rgba(212, 175, 55, .5);
}

/* ---------- Адаптив ---------- */

/* армянские пункты меню длиннее — прячем desktop-навигацию раньше */
@media (max-width: 1280px) {
  :lang(hy) .nav { display: none; }
  :lang(hy) .burger { display: flex; }
  :lang(hy) .header__cta { display: none; }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }
}

@media (max-width: 900px) {
  .hero__photo { display: none; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 72px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
