/* =========================================================
   ექიმთან დიალოგი — მთავარი სტილები
   საქართველოს გინეკოლოგთა და რეპროდუქტოლოგთა ასოციაცია
   ========================================================= */

/* ---------- 1. დიზაინის ტოკენები ---------- */
:root {
  /* ფონები */
  --bg:            #faf6f1;
  --bg-warm:       #f4ece3;
  --surface:       #ffffff;
  --surface-alt:   #fdfaf6;

  /* ბრენდის ფერები */
  --teal:          #1f6f6b;
  --teal-dark:     #17534f;
  --teal-light:    #2f8f88;
  --coral:         #e0705a;
  --coral-dark:    #c95a44;
  --coral-soft:    #f2a08d;

  /* ტექსტი */
  --text:          #23302f;
  --text-muted:    #5d6b6a;
  --text-soft:     #82908f;

  /* ხაზები და ჩრდილები */
  --line:          #e6ddd2;
  --line-soft:     #efe7dd;
  --shadow-sm:     0 1px 3px rgba(35, 48, 47, .06);
  --shadow:        0 4px 16px rgba(35, 48, 47, .07);
  --shadow-lg:     0 12px 36px rgba(35, 48, 47, .10);

  /* რადიუსები */
  --r-sm:  10px;
  --r:     16px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* ტიპოგრაფია */
  --font-display: 'Noto Serif Georgian', Georgia, serif;
  --font-body:    'Noto Sans Georgian', -apple-system, 'Segoe UI', sans-serif;

  /* განლაგება */
  --wrap: 1280px;
  --gutter: 32px;
  --header-h: 84px;
}

/* ---------- 2. საბაზისო ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ხელმისაწვდომობა: მხოლოდ ეკრანის წამკითხველისთვის */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* კლავიატურის ფოკუსი */
:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* გამოტოვე ნავიგაცია */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }


/* ---------- 3. ჰედერი ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(250, 246, 241, .96);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

/* --- ლოგო --- */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
/* ლოგოს JPEG-ს თეთრი ფონი აქვს — multiply მას ქაღალდისფერში ხსნის */
.brand__mark {
  width: 68px; height: 68px;
  flex-shrink: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand__text {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--teal);
  font-weight: 600;
  max-width: 220px;
  letter-spacing: .005em;
}

/* --- ნავიგაცია --- */
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--teal); background: rgba(31,111,107,.06); }

/* აქტიური გვერდის ხაზი */
.nav__link[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
}

/* --- ჰედერის მოქმედებები --- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(31,111,107,.08); color: var(--teal); }

/* ენის გადამრთველი */
.lang {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s;
}
.lang:hover { background: rgba(31,111,107,.08); }
.lang svg { transition: transform .2s; }
.lang[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ბურგერი — მხოლოდ მობილურზე */
.burger { display: none; }


/* ---------- 4. ჰერო ---------- */
.hero {
  position: relative;
  padding-top: 40px;
  padding-bottom: 72px;
  overflow: hidden;
}

/* თბილი ფონის ლაქა მარჯვნივ */
.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -12%;
  width: 62vw; height: 130%;
  background: radial-gradient(ellipse at 40% 50%, var(--bg-warm) 0%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 56px;
  align-items: center;
}

/* --- ჰეროს ტექსტი --- */

/* გამომცემლის კრედიტი სათაურის ზემოთ */
.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-soft);
  /* ქართული უნიკამერულია — uppercase აზრს მოკლებულია;
     იერარქიას ინტერვალი და ზომა ქმნის */
  letter-spacing: .06em;
  max-width: 400px;
  margin-bottom: 18px;
}

/* ლათინური სახელი სათაურის ზემოთ */
.hero__latin {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  /* ყველაზე ღია ტონი, რომელიც ჯერ კიდევ აკმაყოფილებს
     კონტრასტის მოთხოვნას ქაღალდისფერ ფონზე (3.03:1) */
  color: #3f9d8f;
  letter-spacing: -.005em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.hero__title {
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 500;
  color: var(--teal);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.hero__title span { display: block; }

/* ხაზგასმული ქვესათაური */
.hero__lead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
  max-width: 500px;
}
/* ხაზი პირველ სტრიქონზე ისწორება, არა ცენტრში */
.hero__lead::before {
  content: "";
  width: 42px; height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: .72em;
}
.hero__lead span {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.55;
  color: var(--teal);
  font-weight: 500;
}

/* --- CTA ღილაკი --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 20px rgba(224,112,90,.32);
}
.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224,112,90,.4);
}
.btn__arrow { transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* --- ჰეროს სურათი --- */
.hero__media { position: relative; }

/* ორგანული "ფოთლის" ფორმა — მოქნილი კუთხეები */
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 3.15;
  border-radius: 300px 300px 26px 26px / 200px 200px 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #dfe9e4 0%, #cfe0da 55%, #c2d6d0 100%);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* კადრირებისას ექიმი ჩარჩოში რჩება */
  object-position: 42% center;
}

/* ჩამნაცვლებელი — სანამ ნამდვილ ფოტოს ჩასვამთ */
.ph {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  color: var(--teal);
  padding: 24px;
}
.ph__icon { opacity: .34; }
.ph__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  opacity: .55;
  max-width: 210px;
  line-height: 1.5;
}

/* --- მოლივლივე სამედიცინო ბეჯი --- */
.badge {
  position: absolute;
  left: -78px; bottom: 22px;
  width: 186px; height: 186px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 22px;
  animation: float 6s ease-in-out infinite;
}
.badge__text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--teal);
  font-weight: 500;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}


/* ---------- 5. კატეგორიების ბარათები ---------- */
.cats {
  position: relative;
  z-index: 2;
  padding-bottom: 76px;
}

.cats__panel {
  background: var(--bg-warm);
  border-radius: var(--r-xl);
  padding: 34px;
}

.cats__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* --- ერთი ბარათი --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  /* overflow აქ არ ვსვამთ — ხატულა ბარათის კიდეს კვეთს */
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

/* ბარათის სურათი */
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.card:hover .card__media img { transform: scale(1.07); }

/* ბარათის ხატულა — გადაფარებული */
.card__icon {
  position: absolute;
  /* მთლიანად სურათზე ზის — თეთრ ნაწილს არ ეხება */
  left: 12px; bottom: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 2px 6px rgba(35,48,47,.22);
  z-index: 4;
}

.card__body {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.card__title {
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.4;
}
.card__arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--coral);
  transition: transform .25s;
}
.card:hover .card__arrow { transform: translateX(5px); }

/* მთელი ბარათი დასაჭერია, ფოკუსიც სწორად მუშაობს */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card:focus-within { box-shadow: var(--shadow-lg); }


/* ---------- 6. ექიმებისთვის ---------- */
.docs { padding-bottom: 84px; }

.docs__panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2.1fr;
  gap: 48px;
  align-items: center;
  background: var(--teal-dark);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}

/* --- მარცხენა მხარე --- */
.docs__title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: #fff;
  margin-bottom: 8px;
}
.docs__sub {
  font-size: .96rem;
  font-weight: 600;
  color: var(--coral-soft);
  margin-bottom: 16px;
}
.docs__text {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.66);
  margin-bottom: 28px;
  max-width: 300px;
}

/* ღია ღილაკი მუქ ფონზე */
.btn--light {
  background: var(--surface);
  color: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  padding: 14px 26px;
  font-size: .93rem;
}
.btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

/* --- მარჯვენა მხარე: რესურსები --- */
.docs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.docs__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 12px;
  border-radius: var(--r);
  height: 100%;
  transition: background .22s, transform .22s;
}
.docs__link:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}

.docs__icon { color: #fff; opacity: .93; }

.docs__name {
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  /* ორი ხაზის სიმაღლე — აღწერები ერთ დონეზე ჩერდება */
  min-height: calc(2 * 1.35em);
  display: flex;
  align-items: center;
}
.docs__desc {
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255,255,255,.58);
}


/* ---------- 7. ფუტერი ---------- */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,.82);
  padding: 60px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 40px;
}
.footer__brand-text {
  font-size: .88rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
  max-width: 260px;
}
.footer__about {
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
  max-width: 290px;
}
.footer__head {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .07em;
  margin-bottom: 18px;
}
.footer__list li { margin-bottom: 11px; }
.footer__list a {
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  transition: color .2s;
}
.footer__list a:hover { color: #fff; }

.footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  margin-bottom: 13px;
  line-height: 1.55;
}
.footer__contact svg { flex-shrink: 0; margin-top: 3px; opacity: .75; }
.footer__contact a:hover { color: #fff; }

.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__social {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s, transform .2s;
}
.footer__social:hover { background: var(--coral); transform: translateY(-2px); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}


/* ---------- 8. გამოჩენის ანიმაცია ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }


/* =========================================================
   9. რესპონსიული — ტაბლეტი და მობილური
   ========================================================= */

/* --- დიდი ტაბლეტი: ნავიგაცია ვიწროვდება --- */
@media (max-width: 1180px) {
  :root { --gutter: 24px; }
  .nav__link { padding: 10px 11px; font-size: .87rem; }
  .brand__text { font-size: .68rem; max-width: 180px; }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- ტაბლეტი: ბურგერი ჩნდება --- */
@media (max-width: 940px) {
  :root { --header-h: 74px; }

  .burger {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    color: var(--teal);
  }
  .burger:hover { background: rgba(31,111,107,.08); }

  /* .nav ხდება fixed და ფლექსიდან გამოდის —
     ამიტომ მოქმედებებს ხელით ვაწვდით მარჯვენა კიდეში */
  .header__actions { margin-left: auto; }

  /* ნავიგაცია გადადის გვერდით პანელში */
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    padding: 15px 14px;
    font-size: 1rem;
    border-radius: var(--r-sm);
  }
  .nav__link[aria-current="page"]::after { left: 14px; right: auto; width: 22px; bottom: 8px; }

  /* ჰერო ერთ სვეტად */
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero::before { display: none; }
  .hero__photo { border-radius: 150px 24px 24px 24px; }

  .badge {
    left: auto; right: 16px; bottom: -34px;
    width: 152px; height: 152px;
    padding: 16px;
  }
  .badge__text { font-size: .86rem; }
  .badge svg { width: 30px; height: 30px; }

  .hero { padding-bottom: 84px; }

  /* ექიმებისთვის — ვერტიკალურად */
  .docs__panel {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px 34px;
  }
  .docs__text { max-width: none; }
  .docs__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .docs__link { padding: 18px 8px; }

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

/* --- მობილური --- */
@media (max-width: 620px) {
  :root { --gutter: 18px; }

  body { font-size: 15px; }

  .brand__mark { width: 54px; height: 54px; }

  /* მობილურზე გრძელი სახელი 2 ხაზზე ვიწროვდება */
  .brand__text {
    font-size: .6rem;
    line-height: 1.3;
    max-width: 132px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ძებნა იმალება — ბურგერს ვტოვებთ */
  .header__actions .icon-btn { display: none; }

  .hero { padding-top: 26px; padding-bottom: 76px; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .hero__latin { font-size: clamp(1.25rem, 6vw, 1.6rem); margin-bottom: 4px; }
  .hero__lead::before { width: 26px; }
  .hero__lead { gap: 11px; margin-bottom: 28px; }
  .hero__eyebrow {
    font-size: .68rem;
    letter-spacing: .03em;
    margin-bottom: 12px;
    max-width: none;
  }
  .hero__photo { border-radius: 110px 20px 20px 20px; aspect-ratio: 4 / 3.6; }

  .btn { width: 100%; justify-content: center; padding: 16px 26px; }

  .badge {
    right: 8px; bottom: -30px;
    width: 124px; height: 124px;
    padding: 12px; gap: 7px;
  }
  .badge__text { font-size: .72rem; line-height: 1.45; }
  .badge svg { width: 25px; height: 25px; }

  /* ბარათები — 2 სვეტი */
  .cats__panel { padding: 18px; border-radius: var(--r-lg); }
  .cats__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card__body { padding: 15px 13px 14px; gap: 10px; }
  .card__title { font-size: .84rem; }
  .card__icon { width: 24px; height: 24px; left: 10px; bottom: 9px; }

  /* ექიმებისთვის — 2 სვეტი */
  .docs__panel { padding: 30px 22px; border-radius: var(--r-lg); gap: 26px; }
  /* სამი ელემენტი — 2 სვეტში ბოლო მარტო რჩებოდა */
  .docs__grid { grid-template-columns: 1fr; gap: 4px; }
  .docs__link {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 13px 12px;
    gap: 14px;
  }
  .docs__icon { flex-shrink: 0; }
  .docs__name { min-height: 0; }
  .docs__name { font-size: .86rem; }
  .docs__desc { font-size: .75rem; }
  .docs__icon svg { width: 26px; height: 26px; }

  .footer { padding-top: 46px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --- ძალიან ვიწრო --- */
@media (max-width: 380px) {
  .cats__grid { grid-template-columns: 1fr; }
  .brand__text { display: none; }
}


/* ---------- 10. მოძრაობის შემცირება ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 11. ბეჭდვა ---------- */
@media print {
  .header, .footer__socials, .btn, .badge { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   12. კითხვა ექიმს — ask.html
   ========================================================= */

/* ---------- გვერდის სათაური ---------- */
.page-head {
  padding-top: 44px;
  padding-bottom: 40px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--teal); font-weight: 600; }

.page-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}


/* ---------- განლაგება ---------- */
.ask { padding-bottom: 84px; }

.ask__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 34px;
  align-items: start;
}

.ask__panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}


/* ---------- ფორმა ---------- */

/* display: flex სჯობნის [hidden]-ის ნაგულისხმევ display: none-ს —
   ამიტომ ყველა flex/grid ელემენტს ცალკე ვუთითებთ */
.form[hidden], .sent[hidden] { display: none; }

.form { display: flex; flex-direction: column; gap: 22px; }

/* ორი ველი გვერდიგვერდ */
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field__label {
  font-size: .89rem;
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--coral); }

.field__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: var(--text-soft); opacity: .75; }

.field__input:hover { border-color: #d8cec1; }

.field__input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(47,143,136,.14);
}

/* შეცდომის მდგომარეობა */
.field__input[aria-invalid="true"] {
  border-color: var(--coral);
  background: #fdf3f1;
}
.field__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(224,112,90,.16);
}

.field__hint {
  font-size: .78rem;
  color: var(--text-soft);
}

/* [hidden]-ს display: flex სჯობნის — ცალკე უნდა დაიფაროს */
.field__err[hidden] { display: none; }

.field__err {
  font-size: .8rem;
  font-weight: 500;
  color: var(--coral-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field__err::before {
  content: "";
  width: 14px; height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--coral);
  /* ძახილის ნიშანი SVG-ით, რომ ფონტზე არ იყოს დამოკიდებული */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 17.2v.2' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 17.2v.2' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- ტელეფონი პრეფიქსით --- */
.field__phone { position: relative; display: flex; align-items: center; }
.field__prefix {
  position: absolute;
  left: 15px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.field__input--phone { padding-left: 62px; letter-spacing: .04em; }

/* --- select --- */
.field__select { position: relative; }
.field__select .field__input { padding-right: 42px; cursor: pointer; }
.field__caret {
  position: absolute;
  right: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* --- textarea --- */
.field__textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

.field__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}
.field__meta .field__err { margin-right: auto; }
.field__count {
  font-size: .76rem;
  color: var(--text-soft);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.field__count.is-near { color: var(--coral-dark); font-weight: 600; }


/* ---------- ჩექბოქსი ---------- */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
/* ნამდვილი input ვიზუალურად იმალება, მაგრამ ფოკუსირებადი რჩება */
.check__box {
  position: absolute;
  opacity: 0;
  width: 22px; height: 22px;
  margin: 0;
  cursor: pointer;
}
.check__mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .18s, border-color .18s, transform .18s;
}
.check__mark svg { opacity: 0; transform: scale(.6); transition: opacity .18s, transform .18s; }

.check:hover .check__mark { border-color: var(--teal-light); }

.check__box:checked + .check__mark {
  background: var(--teal);
  border-color: var(--teal);
}
.check__box:checked + .check__mark svg { opacity: 1; transform: none; }

.check__box:focus-visible + .check__mark {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}
.check__box[aria-invalid="true"] + .check__mark { border-color: var(--coral); }

.check__text {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ---------- გაგზავნა ---------- */
.form__submit {
  align-self: flex-start;
  margin-top: 4px;
}
.form__submit[disabled] {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
}
.form__submit[disabled]:hover { background: var(--coral); box-shadow: none; }

.form__note {
  font-size: .8rem;
  line-height: 1.65;
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.form__note a { color: var(--coral-dark); font-weight: 600; }
.form__note a:hover { text-decoration: underline; }


/* ---------- გაგზავნის შემდეგ ---------- */
.sent {
  text-align: center;
  padding: 26px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sent__icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(47,143,136,.12);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.sent__title { font-size: 1.5rem; color: var(--teal); }
.sent__text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 380px;
}
.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--line);
  padding: 13px 26px;
  font-size: .93rem;
  margin-top: 6px;
}
.btn--outline:hover {
  border-color: var(--teal);
  background: rgba(31,111,107,.05);
  transform: translateY(-2px);
}


/* ---------- გვერდითი ბარათები ---------- */
.ask__side { display: flex; flex-direction: column; gap: 18px; }

.side-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px;
}
.side-card--soft {
  background: var(--bg-warm);
  border-color: transparent;
}
.side-card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  color: var(--teal);
  margin-bottom: 14px;
}
.side-card__title {
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}
.side-card--soft .side-card__title { margin-bottom: 8px; }
.side-card__text {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* --- ნაბიჯები --- */
.steps { display: flex; flex-direction: column; gap: 18px; }
.steps__item { display: flex; gap: 13px; align-items: flex-start; }
.steps__num {
  flex-shrink: 0;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps__name {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.steps__text {
  font-size: .81rem;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ---------- რესპონსიული ---------- */
@media (max-width: 940px) {
  .ask__grid { grid-template-columns: 1fr; gap: 24px; }
  .ask__panel { padding: 28px; }

  /* გვერდითი ბარათები ქვემოთ, ორ სვეტად */
  .ask__side {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ask__side > * { flex: 1 1 260px; }
}

@media (max-width: 620px) {
  .page-head { padding-top: 28px; padding-bottom: 26px; }

  .ask__panel {
    padding: 22px 18px;
    border-radius: var(--r);
  }

  /* სახელი და გვარი ერთმანეთის ქვემოთ */
  .form__row { grid-template-columns: 1fr; gap: 22px; }

  .form { gap: 20px; }
  .form__submit { align-self: stretch; }

  /* iOS-ზე 16px-ზე ნაკლები ფონტი ავტომატურ ზუმს იწვევს */
  .field__input { font-size: 16px; }

  .ask__side { flex-direction: column; }
  .side-card { padding: 22px; }
}


/* =========================================================
   13. კითხვების პანელი — questionarySECR.html
   ========================================================= */

.panel-body { background: var(--bg-warm); }

/* ---------- ჰედერი ---------- */
.panel-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.panel-head__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-head__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
}
.panel-head__refresh.is-spinning svg { animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.panel { padding: 30px 0 70px; }


/* ---------- ტაბები ---------- */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 22px;
}

.tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: color .2s, background .2s;
}
.tab:hover { color: var(--teal); background: rgba(31,111,107,.05); }

.tab.is-active { color: var(--teal); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -1.5px;
  height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
}

.tab__count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--line);
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tab.is-active .tab__count { background: var(--teal); color: #fff; }


/* ---------- ძებნა ---------- */
.panel-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  max-width: 480px;
}
.panel-search svg {
  position: absolute;
  left: 15px;
  color: var(--text-soft);
  pointer-events: none;
}
.panel-search__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 15px 12px 44px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.panel-search__input:focus {
  outline: none;
  border-color: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(47,143,136,.14);
}


/* ---------- კითხვების სია ---------- */
.qlist { display: flex; flex-direction: column; gap: 9px; }

.qitem {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.qitem:hover {
  border-color: var(--line);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.qitem:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

/* წაუკითხავის ნიშანი */
.qitem__dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 7px;
}
.qitem.is-read .qitem__dot { background: var(--line); }

.qitem__main { flex: 1; min-width: 0; }

.qitem__top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.qitem__id {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .03em;
  flex-shrink: 0;
}
.qitem__text {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.qitem.is-read .qitem__text { font-weight: 500; color: var(--text-muted); }

.qitem__sub {
  font-size: .8rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.qitem__sep { opacity: .5; }

.qitem__arrow {
  flex-shrink: 0;
  color: var(--text-soft);
  margin-top: 3px;
  transition: transform .2s, color .2s;
}
.qitem:hover .qitem__arrow { color: var(--coral); transform: translateX(3px); }


/* ---------- ცარიელი / ჩატვირთვა ---------- */
.empty, .loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: .92rem;
}
.empty[hidden], .loading[hidden] { display: none; }

.empty__icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text-soft);
}

.spinner {
  width: 26px; height: 26px;
  border: 2.5px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}


/* ---------- მოდალი ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23,32,31,.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade .2s ease;
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  animation: pop .22s cubic-bezier(.4,0,.2,1);
}

@keyframes fade { from { opacity: 0; } }
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.modal__id {
  font-size: .8rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: .04em;
  margin-bottom: 3px;
}
.modal__name {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.modal__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--bg-warm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  transition: background .2s;
}
a.modal__chip:hover { background: #e8dccd; }
.modal__chip--plain { color: var(--text-muted); font-weight: 500; }
.modal__chip[hidden] { display: none; }

.modal__body {
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 20px;
}
.modal__label {
  font-size: .74rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: .06em;
  margin-bottom: 9px;
}
.modal__question {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.modal__foot {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.modal__foot .check__text { font-weight: 600; color: var(--text); }


/* ---------- რესპონსიული ---------- */
@media (max-width: 620px) {
  .panel-head__inner { height: 64px; }
  .panel-head__title { font-size: .88rem; }
  .panel { padding: 20px 0 50px; }

  .tabs { gap: 2px; }
  .tab { padding: 12px 13px; font-size: .88rem; }

  .qitem { padding: 14px; gap: 11px; }
  .qitem__text { font-size: .88rem; }

  .modal { padding: 0; align-items: flex-end; }
  .modal__box {
    max-width: none;
    max-height: 92vh;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 22px 18px;
    animation: slideUp .25s cubic-bezier(.4,0,.2,1);
  }
  @keyframes slideUp { from { transform: translateY(100%); } }
}


/* =========================================================
   14. შესვლის ეკრანი — questionarySECR.html
   ========================================================= */

body.is-locked { overflow: hidden; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--bg-warm);
  overflow-y: auto;
}
.gate[hidden] { display: none; }

.gate__box {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 38px 32px;
  text-align: center;
  animation: pop .25s cubic-bezier(.4,0,.2,1);
}

.gate__logo {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gate__title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}
.gate__sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ველები მარცხნივ, სათაური ცენტრში */
.gate__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.gate__btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.gate__btn[disabled] { opacity: .62; cursor: not-allowed; }

/* ---------- ჰედერის მარჯვენა ნაწილი ---------- */
.panel-head__right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.panel-head__user {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

@media (max-width: 620px) {
  .gate__box { padding: 30px 22px; }
  .panel-head__user { display: none; }
}


/* =========================================================
   15. სტატიების სია — category-*.html
   ========================================================= */
.wrap--narrow { max-width: 820px; }

.arts { padding-bottom: 84px; }

.arts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.art {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.art:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.art:focus-within { box-shadow: var(--shadow-lg); }

.art__link { display: flex; flex-direction: column; height: 100%; }

.art__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}
.art__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.art:hover .art__media img { transform: scale(1.04); }

.art__tag {
  position: absolute;
  left: 14px; top: 14px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(23,83,79,.92);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .03em;
  backdrop-filter: blur(4px);
}

.art__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.art__title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--teal);
}
.art__excerpt {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.art__meta {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .79rem;
  color: var(--text-soft);
}
.art__author { font-weight: 600; color: var(--text-muted); }
.art__sep { opacity: .5; }


/* =========================================================
   16. სტატია — article-*.html
   ========================================================= */
.post { padding-top: 40px; padding-bottom: 80px; }

.post__kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--coral);
  margin-bottom: 14px;
}

.post__title {
  font-size: clamp(1.7rem, 3.6vw, 2.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--teal);
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

/* --- ავტორი --- */
.post__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
}
.post__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-warm);
}
.post__avatar img { width: 100%; height: 100%; object-fit: cover; }

.post__author {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.post__role {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--text-soft);
}

/* --- გარეკანი --- */
.post__cover {
  margin: 0 auto 40px;
  max-width: 820px;
  padding-inline: var(--gutter);
}
.post__cover img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* --- ტექსტი --- */
.post__body { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.post__body p { margin-bottom: 20px; }

.post__lead {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-muted);
  padding-bottom: 8px;
}

/* კითხვები */
.post__q {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--teal);
  margin: 38px 0 18px;
  padding-left: 18px;
  border-left: 3px solid var(--coral);
}

.post__list {
  margin: 0 0 20px;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.75;
}
.post__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-light);
}

/* --- მთავარი გზავნილი --- */
.post__note {
  background: var(--bg-warm);
  border-radius: var(--r-lg);
  padding: 28px 30px 12px;
  margin: 44px 0 30px;
}
.post__note-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
}
.post__note p { font-size: .96rem; }

/* ინტერვიუს კრედიტი */
.post__credit {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 26px;
}
.post__credit strong {
  font-weight: 600;
  font-style: normal;
  color: var(--teal);
}

.post__disclaimer {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  margin-bottom: 28px;
}

.post__back { display: inline-flex; }


/* --- რესპონსიული --- */
@media (max-width: 620px) {
  .post { padding-top: 22px; padding-bottom: 54px; }
  .post__body { font-size: .98rem; line-height: 1.8; }
  .post__lead { font-size: 1.04rem; }
  .post__q { font-size: 1rem; margin: 30px 0 15px; padding-left: 14px; }
  .post__note { padding: 22px 20px 8px; margin: 34px 0 24px; }
  .post__cover { margin-bottom: 28px; }
  .post__byline { gap: 12px; }
  .post__avatar { width: 44px; height: 44px; }

  .arts__grid { grid-template-columns: 1fr; gap: 16px; }
}


/* =========================================================
   17. თეგები და გაზიარება
   ========================================================= */

/* ---------- თეგები ---------- */
.tags {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  margin-top: 40px;
}
.tags__title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin-bottom: 14px;
}
/* ერთ ხაზზე რჩება; ვიწრო ეკრანზე ჰორიზონტალურად ისრიალებს */
.tags__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: -8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
  /* კიდეში რბილი გადასვლა, რომ ჩანდეს გაგრძელება */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
.tags__list::-webkit-scrollbar { height: 5px; }
.tags__list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}
.tags__list::-webkit-scrollbar-track { background: transparent; }

.tags__item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.4;
  transition: background .2s, border-color .2s;
}
.tags__item:hover { background: #ece0d0; }

/* ---------- გაზიარება ---------- */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
}
.share__label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-right: auto;
}

.share__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .87rem;
  font-weight: 600;
  transition: transform .18s cubic-bezier(.4,0,.2,1),
              box-shadow .18s, background .18s, border-color .18s, color .18s;
}
.share__btn:active { transform: translateY(0) scale(.98); }

/* Facebook-ის ფირმისეული ლურჯი */
.share__btn--fb {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 2px 10px rgba(24,119,242,.3);
}
.share__btn--fb:hover {
  background: #0f6ae0;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(24,119,242,.4);
}
.share__btn--fb svg { transition: transform .18s; }
.share__btn--fb:hover svg { transform: scale(1.12); }

.share__btn--copy {
  background: var(--surface);
  color: var(--teal);
  border: 1.5px solid var(--line);
}
.share__btn--copy:hover {
  border-color: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* დაკოპირების დადასტურება */
.share__btn--copy.is-done {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}
.share__btn--copy.is-done svg { stroke: #fff; }

@media (max-width: 620px) {
  .tags { margin-top: 32px; padding-top: 22px; }
  .tags__item { font-size: .76rem; padding: 6px 13px; }

  .share { gap: 8px; padding: 16px; }
  .share__label { width: 100%; margin: 0 0 4px; }
  .share__btn { flex: 1 1 auto; justify-content: center; padding: 12px 14px; font-size: .83rem; }
}


/* =========================================================
   18. პრეზიდენტის მიმართვა — about.html
   ========================================================= */
.letter { padding-bottom: 84px; }

.letter__panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 44px 48px 40px;
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text);
  /* მარცხენა კიდეზე ბრენდის აქცენტი */
  border-left: 4px solid var(--teal);
}
.letter__panel p { margin-bottom: 20px; }

.letter__eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--text-soft);
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.letter__greeting {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 18px !important;
}

.letter__intro { font-size: 1.08rem; }
.letter__panel strong { font-weight: 700; color: var(--teal); }

/* --- ხელმოწერა --- */
.letter__sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.letter__avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-warm);
}
.letter__avatar img { width: 100%; height: 100%; object-fit: cover; }

.letter__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 3px !important;
}
.letter__role {
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 0 !important;
  max-width: 420px;
}

@media (max-width: 620px) {
  .letter__panel {
    padding: 28px 22px 26px;
    border-radius: var(--r);
    font-size: .98rem;
    line-height: 1.8;
  }
  .letter__eyebrow { font-size: .76rem; padding-bottom: 18px; margin-bottom: 22px; }
  .letter__greeting { font-size: 1.2rem; }
  .letter__intro { font-size: 1.02rem; }
  .letter__sign { gap: 13px; margin-top: 28px; padding-top: 22px; }
  .letter__avatar { width: 52px; height: 52px; }
}
