/* ===========================
   Root ცვლადები (ფერები, ზომები)
   =========================== */
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0b0d14;
  --muted:#6b7280;
  --line:#e5e7eb;
  --primary:#0a84ff;
  --radius:14px;
  --container:1100px;
}

/* ===============
   საბაზო reset-ი
   =============== */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text); background:var(--bg);
}

/* ======================
   კონტეინერის სიგანე/პადინგი
   ====================== */
.container{max-width:var(--container); margin:0 auto; padding:0 20px}

/* ===================
   Header / Navigation
   =================== */
/* Header / Navigation
   =================== */
/* Header / Navigation
   =================== */
/* Header / Navigation
   =================== */

/* ეს რომ კონტენტი ჰედერის ქვეშ არ „ჩაიფაროს“ */
body {
  padding-top: 72px; /* მოარგე რეალურ ჰედერის სიმაღლეს (64–84px დიაპაზონი) */
}

.site-header{
  position: fixed;     /* ფიქსირებული ზედა ზოლად */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;       /* ყოველთვის ზემოდან */
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px; /* ეს დაემთხვეს body-ის padding-top-ს */
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}

.logo{width:28px; height:28px}

.main-nav{display:flex; gap:18px}
.main-nav a{color:var(--muted); text-decoration:none}
.main-nav a:hover{color:var(--text)}

.auth{display:flex; gap:10px}
.btn{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid var(--line);
}
.btn.ghost{background:#fff; color:var(--text)}
.btn.primary{background:var(--primary); color:#fff; border-color:transparent; font-weight:700}

/* სურვილისამებრ: პატარა ადაპტაცია მობილურზე */
@media (max-width: 640px){
  body{ padding-top: 68px; }
  .nav{ min-height: 68px; }
}
/* =====
   Hero
   ===== */
.hero{padding:80px 0}
.hero-grid{display:grid; gap:24px; align-items:center}
.hero-copy h1{font-size:42px; line-height:1.15; margin:0 0 10px}
.subtitle{color:var(--muted); margin:0 0 18px}
.cta-row{display:flex; gap:12px}
.hero-media img{
  width:100%; border-radius:var(--radius); background:#dbeafe;
  box-shadow:0 10px 30px rgba(0,0,0,.06); border:1px solid var(--line);
}
@media (min-width:900px){
  .hero-grid{grid-template-columns:1.1fr 1fr}
}

/* ======================
   Generic სექციები/სათაურები
   ====================== */
.section{padding:64px 0}
.section-title{font-size:28px; text-align:center; margin:0 0 24px; color:#0f172a}


/* ბარათები ერთი სიმაღლისთვის და ღილაკის დასაჯდომად ქვემოთ */
.pricing-grid .price-card{
  display: flex;
  flex-direction: column;
}

/* ყველა ღილაკი — ზუსტად ერთნაირი */
.pricing-grid .price-card .btn{
  width: 100%;
  height: 64px;              /* ერთნაირი სიმაღლე */
  border-radius: 40px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 24px;           /* ერთნაირი შიდა სივრცე */
}

/* ღილაკი ყოველთვის ქვემოთ იყოს, რაც არ უნდა იყოს ტექსტის სიგრძე */
.pricing-grid .price-card .btn{ margin-top: auto; }

/* =========
   Card grid
   ========= */
.card-grid{display:grid; gap:16px}
@media (min-width:900px){ .card-grid{grid-template-columns:repeat(3,1fr)} }

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.card p{margin:0 0 12px; color:#111827}
.card-meta{color:var(--muted); font-size:14px}
.section.alt{background:#f3f4f6}

/* =========
   Pricing
   ========= */
.pricing-grid{display:grid; gap:16px; margin-top:10px}
@media (min-width:900px){ .pricing-grid{grid-template-columns:repeat(3,1fr)} }

.price-card{
  position:relative; background:var(--card);
  border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.price-card h3{margin:0 0 8px}
.price{font-size:32px; margin:8px 0 14px}
.price span{font-size:14px; color:var(--muted)}
.features{list-style:none; padding:0; margin:0 0 16px}
.features li{margin:6px 0; padding-left:22px; position:relative}
.features li::before{
  content:"✓"; position:absolute; left:0; top:0; line-height:1.2; color:var(--primary); font-weight:700;
}
.price-card .btn{width:100%; text-align:center}

.price-card.recommended{outline:2px solid var(--primary)}
.badge{
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--primary); color:#fff; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700;
  box-shadow:0 6px 20px rgba(10,132,255,.25);
}
/* --- Buttons inside pricing cards --- */
.price-card .btn{
  background: var(--primary, #0ea5e9);   /* შენი არსებული ფერი */
  color:#fff;
  border:1px solid transparent;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

/* ბარათის არსებული hover-ეფექტი რჩება, არაფერი უნდა შეცვალო */
.price-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* ღილაკის საწყისი სტილი */
.price-card .btn {
  background: #fff;                    /* თეთრი ფონი ნორმალურად */
  color: #2563eb;                      /* ლურჯი ტექსტი */
  border: 2px solid #2563eb;           /* ლურჯი ჩარჩო */
  transition: all 0.25s ease;
  border-radius: 40px;
  padding: 14px 28px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

/* მაუსის მიტანაზე - გალურჯდეს */
.price-card .btn:hover,
.price-card .btn:focus-visible {
  background: #2563eb;                 /* ფონი ლურჯი */
  color: #fff;                         /* ტექსტი თეთრი */
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.25);
}

/* დაჭერისას ოდნავ ჩაჯდეს */
.price-card .btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(37,99,235,0.2);
}


/* ======
   Footer
   ====== */
/* Footer
   =================== */
.site-footer{
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid{
  display: grid;
  gap: 16px 24px;
  align-items: center;
}

/* დესკტოპი: 3 სვეტი — ბრენდი | საიტის ბმულები | სამართლებრივი */
@media (min-width: 860px){
  .footer-grid{
    grid-template-columns: 1fr auto auto;
  }
}

.footer-brand{
  display: flex; align-items: center; gap: 10px;
}
.footer-brand .logo{ width: 32px; height: 32px; }

.footer-links,
.footer-legal{
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
}
.footer-links a,
.footer-legal a{
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover,
.footer-legal a:hover{
  color: var(--primary);
}

/* მობილურზე: ყველაფერი ცენტრში, ლამაზად დალაგებული */
@media (max-width: 859px){
  .site-footer{ text-align: center; }
  .footer-brand{ justify-content: center; }
  .footer-links, .footer-legal{ margin-top: 6px; }
}


/* ===============
   About გვერდის grid
   =============== */
.about-grid{
  display:grid;
  gap:40px;
  align-items:center;
}
@media (min-width:900px){
  .about-grid{grid-template-columns:1.1fr 1fr}
}
.about-image img{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}

/* ===========================
   Features (3-ბარათიანი ბლოკი)
   =========================== */
.features .section-title{
  margin-bottom: 22px;
  color:#0f172a;
}

.feature{
  padding-top: 18px;
}

/* პატარა წრიული აიქონი ბარათის თავში */
.feature .icon{
  width:40px; height:40px; border-radius:12px;
  background: linear-gradient(180deg, #0a84ff 0%, #4cc9f0 100%);
  box-shadow: 0 6px 18px rgba(10,132,255,.25);
  margin-bottom:12px;
}

.feature h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.feature p{
  margin: 0;
  color: var(--muted);
}

/* იგივე ბადე, რაც ბარათებისთვის ვიყენებთ */
.features .card-grid{
  display:grid; gap:16px;
}
@media (min-width:900px){
  .features .card-grid{ grid-template-columns: repeat(3,1fr); }
}

/* =====================
   გლോബალური scroll-tune
   ===================== */
html { scroll-behavior: smooth; } 
#pricing { scroll-margin-top: 90px; } /* anchor offset ჰედერისთვის (~64px হলে 80–100px კარგია) */

/* ======================
   Contact გვერდის განლაგება
   ====================== */
.contact-grid{
  display:grid;
  gap:40px;
  align-items:start;
}
@media (min-width:900px){
  .contact-grid{grid-template-columns:1fr 1fr;}
}

.contact-info h1{
  margin-top:0;
}
.contact-list{
  list-style:none;
  padding:0;
  margin-top:16px;
}
.contact-list li{
  margin-bottom:8px;
  color:var(--muted);
}

.contact-title {
  text-align: center;
  font-size: 32px;     /* სურვილისამებრ – შეგიძლია შეცვალო ზომა */
  margin-bottom: 30px; /* ოდნავ დაშორება ქვემოთ */
  font-weight: 700;    /* გამუქება, თუ გინდა უფრო გამოჩნდეს */
}


/* =========
   ფორმა
   ========= */
.contact-form form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.contact-form label{
  font-weight:600;
  color:var(--text);
}
.contact-form input,
.contact-form textarea{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  font-size:15px;
  font-family:inherit;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(10,132,255,0.15);
}
.contact-form button{
  align-self:flex-start;
  cursor:pointer;
}

/* გაგზავნის ღილაკი */
.contact-section .btn,
.contact-form button,
#contactForm button {
  font-size: 20px;           /* ტექსტი ოდნავ უფრო დიდი */
  padding: 16px 36px;        /* სიმაღლე და სიგანე გაიზრდება */
  border-radius: 40px;       /* რბილი ფორმა */
  font-weight: 600;
  transition: all .2s ease;
}

/* hover ეფექტი იგივე დარჩეს */
.contact-section .btn:hover,
.contact-form button:hover,
#contactForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,.25);
}

/* ===============================
   SECTION გამყოფები / დამატებითი ჰაერი
   =============================== */
.section.separated { position: relative; }
.section.separated::before{
  content:"";
  display:block;
  height:1px;
  margin:0 0 28px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent);
}
.section.alt.separated::before{
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.06), transparent);
}

/* ცოტა უფრო დიდი ჰაერი მთავარ ბლოკებს */
.hero{ padding: 84px 0 72px; }
.section{ padding: 72px 0; }

/* ==================
   Card/Price hover
   ================== */
.card, .price-card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .price-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.08);
}


/* ============
   Button click
   ============ */
.btn{ transition: transform .06s ease, box-shadow .2s ease; }
.btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 18px rgba(10,132,255,.18); }
.btn:active{ transform: translateY(0); box-shadow:none; }

/* ==============
   Mobile tuning
   ============== */
@media (max-width: 480px){
  .section{ padding: 56px 0; }
  .hero{ padding: 68px 0 56px; }
  .hero-copy h1{ font-size: 34px; }
}

/* ==========================
   Navigation hover animations
   ========================== */
.main-nav a{
  position: relative;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .15s ease;
}

.main-nav a:hover{
  color: var(--text);
  background: rgba(10,132,255,.08); /* მსუბუქი ლურჯი ფონჩრდილი */
  transform: translateY(-1px);
}

/* ქვედა ხაზის „გასასრიალებელი“ ანიმაცია */
.main-nav a::after{
  content:"";
  position:absolute;
  left:10px; right:10px; bottom:6px;
  height:2px; border-radius:2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  opacity:.9;
}
.main-nav a:hover::after{ transform: scaleX(1); }

/* აქტიური გვერდი (მუდმივად მონიშნული) */
.main-nav a.active{
  color: var(--text);
  background: rgba(10,132,255,.10);
}
.main-nav a.active::after{ transform: scaleX(1); }

/* კიბორდით ფოკუსი (ხელმისაწვდომობა) */
.main-nav a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,132,255,.25);
  border-radius: 12px;
}

/* motion-სენსიტიურებისთვის */
@media (prefers-reduced-motion: reduce){
  .main-nav a, .main-nav a::after{ transition: none; }
}

/* =================
   Testimonials slider
   ================= */
#testimonials .t-slider {
  overflow: hidden;
  position: relative;
}

#testimonials .t-viewport {
  width: 100%;
  overflow: hidden;
}

/* აქ მთავარი ცვლილებაა */
#testimonials .t-track {
  display: inline-flex;       /* უწყვეტი ხაზი */
  gap: 16px;                  /* იგივე რაც data-gap="16" ან JS-ში */
  will-change: transform;     /* უფრო გლუვი მოძრაობა */
  transition: none;
  animation: none;            /* ვხსნით CSS ანიმაციას */
}

#testimonials .card {
  flex: 0 0 auto;             /* აღარ ვუშვებთ ავტომატურ გადაჭიმვას */
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 40px 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


#testimonials .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* ავატარი */
#testimonials .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 3px solid #e5e7eb;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#testimonials .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* უსასრულო მოძრაობა */
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* რეალისტური მოძრაობა — შეგიძლია სიჩქარე შეცვალო */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#testimonials .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 3px solid #e5e7eb;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#testimonials .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* უწყვეტი სრიალი: transition არ გვჭირდება (ვმართავთ JS-ით requestAnimationFrame-ით) */
.t-track{
  display: flex;
  gap: 16px;              /* უნდა ემთხვეოდეს JS-ში გამოყენებულ 16px გეპს */
  padding: 6px;
  will-change: transform;
  transition: none;
}

/* ბარათები: ვიყენებთ არსებულ .card სტილებს, დამატებით მწკრივზე განთავსებისთვის */
.t-track > .card{
  flex: 0 0 100%;         /* მობილურზე ერთი ბარათი სრულ სიგანეზე */
}

/* Desktop-ზე ერთდროულად 3 ბარათი გამოჩნდეს */
@media (min-width:900px){
  .t-track > .card{
    flex-basis: calc(33.333% - 10.666px); /* 3 სვეტი, გათვალისწინებული გეპით */
  }
}


.t-nav:hover{
  background: #f8fafc;
  transform: translateY(-50%) scale(1.04);
}
.t-nav:active{
  transform: translateY(-50%) scale(1.0);
}
.t-nav.prev{ left: -6px; }
.t-nav.next{ right: -6px; }


/* ხელმისაწვდომობა: ვინც motion-ს არ გვინდა, მათთვის ჩართე რბილი გადასვლა */
@media (prefers-reduced-motion: reduce){
  .t-track{ transition: transform .3s ease; }
}

/* ============================
   Hero video card (ვიდეო თამბნეილი)
   ============================ */
.hero-media .video-card{
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dbeafe;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow: hidden;
  cursor: pointer;
}
.hero-media .video-card img{
  display:block;
  width:100%;
  height:auto;
}

/* Play ღილაკი ცენტრში */
.play-btn{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  display:grid; place-items:center;
  font-size: 28px; line-height: 1;
  background: rgba(255,255,255,.9);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  transition: transform .15s ease, background .2s ease;
}
.video-card:hover .play-btn{ transform: translate(-50%, -50%) scale(1.05); background:#fff; }

/* მოკლე screen-reader-only კლასიც */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ===== Modal (popup) ===== */
.modal{
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
}
.modal.open{ display:flex; }

.modal-backdrop{
  position:absolute; inset:0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

.modal-content{
  position:relative; z-index:1;
  width: min(960px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow: hidden;
}

.modal-content iframe{
  width:100%; height:100%; border:0; display:block;
}

.modal-close{
  position:absolute; top:8px; right:8px;
  width:38px; height:38px; border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35); color:#fff;
  cursor:pointer; z-index:2;
  display:grid; place-items:center;
  transition: background .2s ease, transform .12s ease;
}
.modal-close:hover{ background: rgba(0,0,0,.55); transform: scale(1.04); }

/* ======================
   Body ქვედა ჰაერი / ჩათბოტის ღილაკი
   ====================== */
body {
  padding-bottom: 100px;
}

#chatbase-bubble-button, #chatbase-bubble-button {
  right: 2.5rem!important;
  bottom: 2.5rem!important;
}

/* ======================
   Features (auto-fit ვერსია)
   ====================== */
.features .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: center;
}

.features .card.feature {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.features .card.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.features .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, #4da7ff, #007bff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.features .icon i {
  color: white;
  font-size: 28px;
}

.features h3 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.features p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== FAQ ===== */
.section.faq { padding: 60px 0; background: var(--bg, #f6f7fb); }
.section.faq .section-title { margin: 0 0 24px; font-size: 28px; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 14px);
  padding: 8px 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 12px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.faq-item .faq-a { padding: 0 4px 12px 4px; color: var(--muted, #6b7280); }

/* === FAQ shared styles === */
.faq-section {padding:80px 0; max-width:800px; margin:auto;}
.faq-section h1 {text-align:center; font-size:32px; margin-bottom:40px;}
details {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px 20px;
  margin-bottom:12px;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
  transition:all .2s ease;
}
details[open] {border-color:#0a84ff; box-shadow:0 10px 28px rgba(10,132,255,.12);}
summary {
  font-weight:600;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
summary::-webkit-details-marker {display:none;}
.faq-answer {color:#6b7280; margin-top:10px; line-height:1.6;}

/* ===== Contact form ===== */
.contact-section {
  min-height: 100vh; /* რომ ვერტიკალურადაც ცენტრში იყოს */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #f6f7fb;
}
.contact-form {
  min-height: 400px; /* ან 700px — როგორც მოგწონს */
}
.contact-wrap {
  width: 100%;
  max-width: 1050px;
}

.contact-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-weight: 600;
  font-size: 14px;
  color: #0b0d14;
}
.field input,
.field textarea {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: #fff;
}
.field textarea {
  height: 100%;
}
.field input:focus,
.field textarea:focus {
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .12);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.form-note {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.form-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.form-alert.ok {
  background: #ecfdf5;
  border: 1px solid #34d399;
  color: #065f46;
}
.form-alert.err {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding-top: 80px;
  }
}

/* ===== Therapists ===== */
.h-section{
  font-size: 30px;
  margin: 0 0 28px;
  text-align: center;
}

.therapists .therapist-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ზუსტად 3 ბარათი თითო ხაზზე */
  gap: 24px;
  justify-items: stretch;
}

@media(max-width: 900px){
  .therapists .therapist-grid{
    grid-template-columns: repeat(2, 1fr); /* ტაბლეტზე 2 */
  }
}
@media(max-width: 600px){
  .therapists .therapist-grid{
    grid-template-columns: 1fr; /* მობილურზე 1 */
  }
}

.t-card{
  background: var(--card, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}

.t-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}

/* ოდნავ მაღალი ბარათები */
.t-media{
  margin: 0;
  overflow: hidden;
  height: 280px; /* ← აქ ცვლის სიმაღლეს */
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-body{
  padding: 20px 18px 24px;
}
.t-name{
  font-size: 20px;
  margin: 0 0 6px;
}
.t-role{
  margin: 0 0 10px;
  color: var(--muted, #6b7280);
  font-size: 15px;
}
.t-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #0b0d14);
  opacity: .9;
}

/* Coming soon ბარათი */
.t-card.coming-soon .t-media img{
  filter: blur(2px) saturate(.7);
  transform: scale(1.02);
}
.t-card.coming-soon .t-body{
  opacity: .35;
}

.t-card .t-overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 20px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}
.t-card .t-overlay span{
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
}

/* =================
   ბრენდის ლოგო დიდად
   ================= */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 48px; /* შეგიძლია შეცვალო ზომა */
  width: auto;
  border-radius: 8px; /* სურვილისამებრ */
}

/* =====================
   ბექგრაუნდის ფერები
   ===================== */

/* რატომ therapist.ge ს ბექგრაუნდი */

/* განსხვავებული ფონი მხოლოდ ამ სექციისთვის */
#why {
  background-color: #fbfcff; /* ნაზი ფირუზისფერი ფონად */
  padding: 80px 0;
}

#why .section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #0b0d14;
}

#why .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

#why .card.feature {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  text-align: center;
}

#why .icon {
  font-size: 36px;
  color: #00b3b3;
  margin-bottom: 15px;
}

/* Responsive Header + Footer
   ============================ */

/* ჰამბურგერ მენიუ (default:hidden desktop-ზე) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* Mobile Navigation სტილი */
@media (max-width: 768px) {
  .nav {
    position: relative;
  }

  .menu-toggle {
    display: block;
    color: var(--text);
  }

  .main-nav {
    position: absolute;
    top: 72px; /* ჰედერის ქვემოთ ჩნდება */
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

  .main-nav a {
    font-size: 18px;
  }

  .main-nav.active {
    display: flex;
  }
}

/* Footer Styling */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--primary);
}

.menu-toggle{ display:none; background:none; border:none; font-size:26px; cursor:pointer; color:var(--text);}
@media (max-width:768px){
  .menu-toggle{ display:block; }
  .main-nav{
    position:absolute; top:72px; left:0; right:0;
    background:var(--card);
    display:none; flex-direction:column; gap:16px;
    padding:20px; border-bottom:1px solid var(--line);
    box-shadow:0 10px 20px rgba(0,0,0,.05);
  }
  .main-nav.active{ display:flex; }
}

/* Footer
   =================== */
.site-footer{
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid{
  display: grid;
  gap: 16px 24px;
  align-items: center;
}

@media (min-width: 860px){
  .footer-grid{
    grid-template-columns: 1fr auto auto;
  }
}

.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-brand .logo{ width:32px; height:32px; }

.footer-links, .footer-legal{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
}
.footer-links a, .footer-legal a{
  color: var(--text); text-decoration:none;
}
.footer-links a:hover, .footer-legal a:hover{
  color: var(--primary);
}

@media (max-width: 859px){
  .site-footer{ text-align:center; }
  .footer-brand{ justify-content:center; }
  .footer-links, .footer-legal{ margin-top:6px; }
}

/* მობილურისთვის ჰედერის მენიუ (შენახული რეფერენსად) */
.menu-toggle{ display:none; background:none; border:none; font-size:26px; cursor:pointer; color:var(--text);}
@media (max-width:768px){
  .menu-toggle{ display:block; }
  .main-nav{
    position:absolute; top:72px; left:0; right:0;
    background:var(--card);
    display:none; flex-direction:column; gap:16px;
    padding:20px; border-bottom:1px solid var(--line);
    box-shadow:0 10px 20px rgba(0,0,0,.05);
  }
  .main-nav.active{ display:flex; }
}

/* === Test Notice popup tweaks === */
#noticeModal .modal-content{
  max-width: 520px;      /* ოდნავ ვიწრო იყოს ვიდრე ვიდეოს მოდალი */
  aspect-ratio: auto;    /* ტექსტური – აღარ გვინდა 16:9 */
  background: #fff;
}
#noticeModal h3{ font-size: 20px; }
#noticeModal p{ line-height: 1.6; }

/* Menu links – remove hover underline/bar */
.nav a,
.nav a:hover,
.nav a:focus {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: none;
}

/* თუ გამოყენებულია ხაზის გაკეთება ::after-ით */
.nav a::after,
.nav a:hover::after,
.nav a:focus::after {
  content: none !important;
  display: none !important;
}

