/*
Theme Name: Nulcanyon.com Custom Theme
Author: Luka
Description: Nulcanyon.com-ის ხელით აწყობილი ვორდპრეს თემა — სტატიკური ლენდინგი + ბლოგი + ჰოსტინგ პაკეტები.
Version: 1.0
*/

/* ==========================================================================
   Nulcanyon.com — საერთო სტილი
   ბრენდის პალიტრა + custom კომპონენტები + სრული responsive სტრატეგია
   ========================================================================== */

:root {
  --primary: #FF7F11;       /* ნარინჯისფერი — მხოლოდ CTA-ებში */
  --primary-hover: #E66E00;
  --primary-rgb: 255, 127, 17;
  --secondary: #ACBFA4;     /* მწვანე accent */
  --secondary-dark: #8FA686;
  --bg: #E2E8CE;            /* ბეჟი — ფონი */
  --bg-soft: #F1F4E5;       /* ბეჟის ღია ვერსია */
  --text: #262626;          /* მუქი ნახშირისფერი */
  --text-soft: #4A4A4A;
  --white: #FFFFFF;
  --border: #D5D9C2;
  --shadow-sm: 0 1px 2px rgba(38, 38, 38, 0.05);
  --shadow-md: 0 4px 12px rgba(38, 38, 38, 0.08);
  --shadow-lg: 0 12px 28px rgba(38, 38, 38, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 200ms ease;
}

/* ----- Global resets ----- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* anchor ლინკებისთვის sticky header-ის სიმაღლის გათვალისწინება */
section[id] { scroll-margin-top: 90px; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;            /* horizontal scroll-ის თავიდან აცილება */
}

/* Images და media — დეფოლტი responsive */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Noto Sans Georgian', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* ----- ღილაკები ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 44px;              /* touch target — Apple HIG */
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  filter: brightness(0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.30);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.20);
}
.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-secondary:hover {
  background-color: var(--text);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background-color: rgba(38,38,38,0.06); }

/* ----- კარდები ----- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card > .btn { margin-top: auto; height: 52px; }
#pricing .card > .btn { width: 100%; }

.card-featured {
  border: 2px solid var(--primary);
  position: relative;
  background-color: var(--bg-soft);
}
.card-featured::before {
  content: "ყველაზე მოთხოვნადი";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ----- Header / Navigation ----- */
.site-header {
  background-color: rgba(226, 232, 206, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}
/* `brand-name` წაშლილია HTML-დან — ვინარჩუნებთ display:none safety-სთვის */
.brand-name { display: none !important; }

.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color var(--transition);
  text-decoration: none;
}
.nav-link:hover { background-color: rgba(38,38,38,0.06); }
.nav-link.active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* desktop nav menu (wp_nav_menu) — ჰორიზონტალური განლაგება */
.nav-desktop {
  display: flex;
  align-items: center;
}
.nav-desktop .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-desktop .nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  padding: 12px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* mobile nav menu UL (wp_nav_menu) — ვერტიკალური განლაგება */
.mobile-menu .mobile-menu-inner {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.mobile-menu .mobile-menu-inner li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mobile-menu .mobile-menu-inner li > a {
  width: 100%;
}

/* ----- Hero ----- */
.hero {
  padding: 96px 0 88px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero .container {
  padding: 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-title {
  font-family: 'Noto Sans Georgian', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 800;
  margin: 0 0 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}
.hero-title .accent {
  color: var(--primary);
  white-space: nowrap;
}
.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-hero {
  padding: 16px 30px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1.125rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.28);
}
.btn-hero:hover {
  background-color: var(--primary-hover);
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--primary-rgb), 0.35);
}
.btn-hero:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.20);
}

/* CTA microcopy — მცირე განმარტებითი ტექსტი ღილაკის ქვემოთ */
.cta-microcopy {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 12px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ცენტრში გასწორებული CTA-რიგი (section-ის ბოლოს) */
.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.section-cta-row + .cta-microcopy,
.section-cta-microcopy {
  text-align: center;
  margin-top: 14px;
}

/* Student section badge — შესამჩნევი ზომა */
.student-badge {
  display: inline-block;
  background: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
@media (max-width: 480px) {
  .student-badge { font-size: 14px; padding: 8px 18px; }
}

/* Billing period toggle — თბილი ფერები (ნარინჯისფერი primary + მწვანე accent) */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.billing-toggle {
  display: inline-flex;
  background: var(--white);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(38, 38, 38, 0.08);
  box-shadow: 0 2px 8px rgba(38, 38, 38, 0.04);
  gap: 2px;
  flex-wrap: wrap;
}
.billing-toggle__btn {
  background: transparent;
  border: 0;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: all 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.billing-toggle__btn:hover {
  color: var(--primary);
}
.billing-toggle__btn[aria-pressed="true"] {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.28);
}
.billing-toggle__btn[aria-pressed="true"]:hover {
  color: var(--white);
  filter: brightness(0.95);
}
.billing-toggle__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}
.billing-toggle__badge {
  background: #ACBFA4;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.4;
}
.billing-toggle__btn[aria-pressed="true"] .billing-toggle__badge {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}
@media (max-width: 480px) {
  .billing-toggle__btn { padding: 9px 16px; font-size: 13px; }
  .billing-toggle__badge { font-size: 10px; padding: 1px 6px; }
}
@media (max-width: 360px) {
  .billing-toggle__btn { padding: 8px 12px; font-size: 12px; gap: 5px; }
}

/* Hero CTA row — mobile stack */
@media (max-width: 480px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn,
  .hero-cta-row .tg-inline-cta { width: 100%; justify-content: center; }
}

/* Process cards — უფრო ნორმალური განლაგება მობილურზე */
@media (max-width: 768px) {
  .process-card { padding: 18px; }
  .process-card .process-icon { width: 44px; height: 44px; }
  .process-card h3 { font-size: 16px !important; }
}

/* Section CTA — ჭირო ეკრანზე სრულ სიგანეში */
@media (max-width: 480px) {
  .section-cta-row .btn { width: 100%; }
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

/* ----- სექციები ----- */
section { padding: 72px 0; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section-title {
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ----- ფიჩერი / პრობლემა კარდები ----- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text);
  flex-shrink: 0;
}

/* ----- პაკეტი ფასი / სათაური ----- */
#pricing .card h3 {
  font-family: 'Noto Sans Georgian', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.75rem;            /* 28px desktop */
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--text);
}
#pricing .card-featured h3 { color: var(--primary); }

.price {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
}
.price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}
.pkg-features { list-style: none; padding: 0; margin: 20px 0; }
.pkg-features li {
  padding: 8px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}
.pkg-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 999px;
  background-color: var(--secondary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ----- სტუდენტური სექცია ----- */
.student-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #C0CFB8 100%);
  padding: 72px 24px;
  border-radius: var(--radius-lg);
  margin: 24px;
}

/* ----- FAQ accordion ----- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  padding: 0;
  min-height: 44px;
  font-family: inherit;
}
.faq-question .chev {
  transition: transform var(--transition);
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.faq-item.open .faq-question .chev { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  color: var(--text-soft);
  font-size: 16px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 12px;
}

/* ----- Contact section ----- */
.contact-side {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-list li {
  display: flex;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all var(--transition);
  width: 100%;
  min-height: 44px;
}
.contact-list a:hover {
  background: var(--white);
  border-color: var(--border);
  transform: translateX(2px);
}
.contact-icon {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
}
.contact-tg-btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* ----- Footer ----- */
.site-footer {
  background-color: var(--text);
  color: #D6D6D6;
  padding: 56px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 16px; }
.site-footer a {
  color: #D6D6D6;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid #3A3A3A;
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #9A9A9A;
}

/* ----- Live chat widget ----- */
#chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
#chat-toggle:hover { transform: scale(1.05); }

#chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
#chat-window.open { display: flex; }

.chat-header {
  background-color: var(--text);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h3 { color: var(--white); margin: 0; font-size: 16px; }
.chat-header small { color: #B0B0B0; font-size: 12px; }
.chat-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background-color: var(--bg-soft);
}
.chat-form { padding: 20px; }
.chat-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.chat-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-family: inherit;
  min-height: 44px;
}
.chat-form input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.chat-msg.user {
  background-color: var(--primary);
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-msg.admin {
  background-color: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg.system {
  background-color: var(--secondary);
  color: var(--text);
  text-align: center;
  font-size: 12px;
  margin: 8px auto;
  max-width: 90%;
}

.typing-indicator {
  display: none;
  padding: 8px 14px;
  color: var(--text-soft);
  font-size: 13px;
  font-style: italic;
}
.typing-indicator.show { display: block; }

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background-color: var(--white);
}
.chat-input-wrap input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  min-height: 44px;
}
.chat-input-wrap input:focus { outline: 2px solid var(--primary); border-color: transparent; }
.chat-input-wrap button {
  padding: 10px 18px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  min-width: 44px;
  min-height: 44px;
}

/* ----- Telegram sticky button ----- */
.telegram-sticky {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #229ED9;
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  font-size: 14px;
  transition: transform var(--transition);
  min-height: 44px;
}
.telegram-sticky:hover { transform: translateY(-2px); }

/* ----- ტემპლეიტ ფილტრები ----- */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 16px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  color: var(--text);
  font-family: inherit;
  min-height: 40px;
}
.filter-chip:hover { border-color: var(--text); }
.filter-chip.active {
  background-color: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.template-card { transition: transform var(--transition); }
.template-card.hidden { display: none; }
.template-thumb {
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-soft);
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
}
.template-thumb svg, .template-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.template-demo-btn {
  width: 100%;
  padding: 10px 14px;
  margin-top: auto;
}

/* ----- ბლოგი ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-cover {
  height: 180px;
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  position: relative;
}
.blog-cover .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-size: 18px; margin-bottom: 8px; }
.blog-body p { color: var(--text-soft); font-size: 14px; flex: 1; }
.blog-body .read-more {
  color: var(--primary);
  font-weight: 600;
  margin-top: 12px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}
.blog-body .blog-meta {
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.blog-content img { border-radius: 12px; margin: 16px 0; }
.blog-content a { color: var(--primary); }

/* ----- about / values ----- */
.value-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background-color: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.value-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

/* ----- newsletter / Telegram CTA ----- */
.newsletter {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
}
.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 16px auto 0;
  flex-wrap: wrap;
}
.newsletter input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  min-height: 44px;
}
.tg-cta {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft) 100%);
}
.tg-cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background-color: #229ED9;
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tg-join-btn {
  background-color: #229ED9;
  margin-top: 20px;
  padding: 14px 28px;
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.28);
}
.tg-join-btn:hover {
  background-color: #1c89bc;
  filter: brightness(1.02);
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.35);
}

/* ----- Tables overflow safety ----- */
table { display: block; overflow-x: auto; max-width: 100%; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ==========================================================================
   1024px — laptop (sidebar/columns shrink)
   900px  — hero stacks
   768px  — tablet (header hamburger, 2-col pricing)
   480px  — mobile (single col, smaller fonts)
   360px  — mini (tighter padding, tiny logo)
   ========================================================================== */

/* ----- Laptop (≤1024) ----- */
@media (max-width: 1024px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 80px 0 64px; }
  .hero-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
}

/* ----- Hero stacks at 900px ----- */
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero .container { padding: 0 16px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .hero-copy { max-width: 100%; }
  .hero-title { max-width: 16ch; }
  .hero-visual svg { max-width: 380px; margin: 0 auto; }
}

/* ----- Tablet (≤768) — header hamburger ----- */
@media (max-width: 768px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .hero .container { padding: 0 16px; }

  /* logo size — mobile */
  .brand-logo { height: 42px; }

  /* nav swap */
  .nav-desktop { display: none !important; }
  .nav-toggle { display: inline-flex; }

  /* chat / sticky positioning */
  #chat-window { width: calc(100vw - 32px); right: 16px; }
  #chat-toggle { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .telegram-sticky { left: 16px; bottom: 16px; padding: 10px 14px; font-size: 13px; }

  /* student section */
  .student-section { margin: 16px; padding: 48px 20px; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }

  /* pricing → 2 → 1 col depending on viewport */
  #pricing > .container > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* card-featured ::before doesn't overflow */
  .card-featured::before { font-size: 11px; padding: 3px 10px; top: -12px; }

  /* form labels on their own line, inputs full-width */
  form label { font-size: 13px; }
  form input, form textarea, form select {
    width: 100%;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* footer — 2-column grid on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .site-footer { padding: 48px 0 20px; margin-top: 56px; }

  /* newsletter / tg-cta — tighter padding */
  .newsletter { padding: 24px 20px; }
  .tg-cta-icon { width: 56px; height: 56px; }
  .tg-join-btn { width: 100%; padding: 14px 20px; }

  /* contact form — tighter padding */
  #contact form.card { padding: 24px !important; }
  .contact-side { padding: 24px; }
}

/* ----- Mobile (≤480) — 1 column everything ----- */
@media (max-width: 480px) {
  section { padding: 40px 0; }
  .container { padding: 0 16px; }

  .card { padding: 20px; }

  /* btn full-width when stacked */
  .hero-cta-row .btn { width: 100%; }
  .hero-title { margin-bottom: 16px; }
  .hero-desc { font-size: 0.95rem; margin-bottom: 24px; }

  /* hero visual hide if tight */
  .hero-visual { display: none; }

  /* pricing — 1 col, cards full-width */
  #pricing > .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  #pricing .card { width: 100%; }
  #pricing .card h3 { font-size: 1.5rem; }    /* 24px mobile */

  /* templates / blog → 1 col */
  .blog-grid { grid-template-columns: 1fr; }
  section > .container > div[style*="grid-template-columns:repeat(auto-fill,minmax(260px,1fr))"],
  section > .container > div[style*="grid-template-columns:repeat(auto-fit,minmax(280px,1fr))"],
  section > .container > div[style*="grid-template-columns:repeat(auto-fit,minmax(260px,1fr))"],
  section > .container > div[style*="grid-template-columns:repeat(auto-fit,minmax(220px,1fr))"],
  section > .container > div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"],
  section > .container > div[style*="grid-template-columns:repeat(auto-fit,minmax(180px,1fr))"] {
    grid-template-columns: 1fr !important;
  }

  /* footer — single column on mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 40px 0 20px; }
  .footer-bottom { font-size: 12px; }

  /* font scaling */
  .price { font-size: 2rem; }
  .btn { padding: 12px 20px; font-size: 15px; }
  .section-title { margin-bottom: 12px; font-size: 1.5rem; }

  /* sticky tg — icon only */
  .telegram-sticky span { display: none; }
  .telegram-sticky { padding: 12px; }

  /* contact buttons full-width */
  .contact-tg-btn { font-size: 14px; padding: 14px 18px; }

  /* about page values — tighter */
  .value-item { padding: 16px; gap: 12px; }
  .value-number { font-size: 26px; }

  /* student section — tighter inner cards */
  .student-section h2 { font-size: 1.5rem !important; }
  .student-section { padding: 36px 16px; margin: 12px; }

  /* blog cover image height — slightly shorter */
  .blog-cover { height: 160px; }

  /* template cards — tighter */
  .template-card { padding: 14px !important; }
  .template-card h3 { font-size: 16px; }
  .template-card p { font-size: 13px; }

  /* filter chips — wrap nicely */
  .filter-chip { font-size: 13px; padding: 7px 14px; min-height: 36px; }

  /* faq — tighter */
  .faq-question { font-size: 15px; }
  .faq-answer { font-size: 14px; }

}

/* ----- Mini (≤360) ----- */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .brand-logo { height: 36px; }
  .hero-title { font-size: 1.5rem; }
  .hero-title .accent { white-space: normal; }
  .price { font-size: 1.75rem; }
  .card { padding: 16px; }
  #pricing .card h3 { font-size: 1.375rem; }
  .student-section { padding: 32px 16px; margin: 12px; }
  .section-title { font-size: 1.375rem; }
  .btn { font-size: 14px; padding: 11px 16px; }
  .nav-toggle { padding: 6px 8px !important; }
}

/* nav-toggle hidden on desktop */
@media (min-width: 769px) {
  .nav-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ==========================================================================
   PROCESS ICONS — "როგორ ვმუშაობთ" სექცია
   მხოლოდ stroke-based SVG icon-ი + სათაური + აღწერა (ციფრების გარეშე)
   ========================================================================== */
.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.process-icon svg { display: block; }

/* ==========================================================================
   ABOUT BLOCKS — ფოტო + ტექსტი (მარცხნივ/მარჯვნივ ცვალებადი)
   ========================================================================== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-soft);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-block__copy { max-width: 540px; }
.about-block__copy .section-title { margin-bottom: 16px; }

/* ფოტო მარცხნივ -> ბუნებრივი წყობა */
.about-block--image-left .about-block__image { order: 1; }
.about-block--image-left .about-block__copy  { order: 2; }

/* ფოტო მარჯვნივ -> შებრუნებული */
.about-block--image-right .about-block__copy  { order: 1; }
.about-block--image-right .about-block__image { order: 2; }

/* ----- Reveal-on-scroll (IntersectionObserver) ----- */
.reveal {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  will-change: opacity, transform;
}
.reveal[data-reveal="left"]  { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px);  }
.reveal[data-reveal="up"]    { transform: translateY(30px);  }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* About blocks — responsive stacking */
@media (max-width: 900px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 640px;
  }
  /* მობილურზე — ფოტო ყოველთვის ზევით, ტექსტი ქვევით */
  .about-block--image-left .about-block__image,
  .about-block--image-right .about-block__image { order: 1; }
  .about-block--image-left .about-block__copy,
  .about-block--image-right .about-block__copy  { order: 2; }
  .about-block__copy { max-width: 100%; }
}

/* ==========================================================================
   GLOBAL "შემოწევა" — გვერდითი breathing room დიდ ეკრანებზე
   ========================================================================== */
@media (min-width: 1281px) {
  .container { padding-left: 40px; padding-right: 40px; }
  .hero .container { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1600px) {
  .container { padding-left: 56px; padding-right: 56px; }
}

/* utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   TERMS PAGE — წესები და პირობების სტრუქტურა
   ========================================================================== */
.terms-hero {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.terms-content {
  padding: 32px 0 64px;
}
.terms-article {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.terms-article h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin: 0 0 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary);
}
.terms-article p,
.terms-article li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.terms-article p { margin: 0 0 12px; }
.terms-article ul {
  padding-left: 22px;
  margin: 0 0 16px;
}
.terms-article li { margin-bottom: 8px; }
.terms-article a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terms-article a:hover { color: var(--primary-hover); }
.terms-article strong { color: var(--text); }

/* ==========================================================================
   MOBILE-FIRST უნივერსალური დაცვა
   ბევრი base-style ზემოთ max-width-based-ია (ისტორიული მიზეზებით).
   აქ ვამატებ მცირე-ეკრანებზე ცენტრალური კონტეინერისა და padding-ის
   კონსისტენტურ უზრუნველყოფას, არსებული breakpoint-ების დარღვევის გარეშე.
   ========================================================================== */

/* ----- ცენტრალური კონტეინერი — max-width:1200px, margin auto ----- */
/* (1024 / 768 / 480 / 360 breakpoint-ები ზემოთ უკვე საკუთარ padding-ს ცვლიან) */
@media (min-width: 1025px) and (max-width: 1199px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ----- Terms — მცირე ეკრანებზე უფრო ჩატია padding ----- */
@media (max-width: 768px) {
  .terms-hero { padding: 48px 0 24px; }
  .terms-content { padding: 24px 0 48px; }
  .terms-article {
    padding: 24px 20px;
    margin-bottom: 16px;
  }
  .terms-article p,
  .terms-article li { font-size: 15px; }
}

@media (max-width: 480px) {
  .terms-article {
    padding: 20px 16px;
    border-radius: var(--radius);
  }
  .terms-article ul { padding-left: 18px; }
}


/* ----- 360px მინი ეკრანი — terms padding კიდევ უფრო ჩატია ----- */
@media (max-width: 360px) {
  .terms-article { padding: 16px 14px; }
  .terms-article h2 { font-size: 1.125rem; }
}

/* ==========================================================================
   ცხადი რესპონსიული ფენა (Mobile-first override)
   მიზანი: ვიზუალურად ცხადი ცვლილებები ყოველ breakpoint-ზე
   ▸ Mobile (≤ 480px)  — 1 col, შემცირებული typography, ცხადი spacing
   ▸ Tablet (481-1024) — 2 col grid, საშუალო typography
   ▸ Laptop (1025-1280)— 3 col + ცარიელი ჩარჩო გვერდებზე
   ▸ Desktop (≥ 1281)  — სრული ცარიელი breathing room (40-80px)
   ========================================================================== */

/* ----- Container max-width — 1140px (1200-ის ნაცვლად) ----- */
/* 60px-ით ვამცირებთ, რომ ცარიელი ჩარჩო ცხადად ემჩნეოდეს დიდ ეკრანებზე */
.container {
  max-width: 1140px;
}

/* ----- Base (Mobile-first ≤ 480px) ----- */
/* ბაზისური ცვლილებები მცირე ეკრანებზე */
@media (max-width: 480px) {
  /* Header — ლოგო და მენიუ უფრო კომპაქტური */
  .site-header .container {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .brand-logo { height: 38px; }

  /* Hero — ცენტრში გასწორებული, ცხადი typography */
  .hero { padding: 32px 0 40px; }
  .hero-grid { gap: 24px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-title {
    font-size: 1.625rem !important;   /* 26px */
    line-height: 1.2;
    text-align: center;
  }
  .hero-desc {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 auto 20px;
  }
  .hero-cta-row { justify-content: center; }
  .hero-cta-row .btn { width: 100%; max-width: 320px; }

  /* Section spacing — მცირე და თანმიმდევრული */
  section { padding: 32px 0; }
  .section-title { font-size: 1.5rem; margin-bottom: 10px; }
  .section-sub { font-size: 0.95rem; margin-bottom: 24px; }

  /* Cards — gap-ი მცირე, padding ცხადი */
  .card { padding: 18px; border-radius: 14px; }
  #pricing .card h3 { font-size: 1.25rem; }
  .price { font-size: 1.75rem; }

  /* Process icons — მცირე */
  .process-icon { width: 48px; height: 48px; border-radius: 12px; }
  .process-icon svg { width: 24px; height: 24px; }

  /* About block — ფოტო ზევით, ტექსტი ქვევით */
  .about-block { gap: 20px; }
  .about-block__image { aspect-ratio: 16 / 10; }

  /* Footer — ერთ სვეტში, ცხადი vertical rhythm */
  .footer-grid { gap: 28px; }
  .site-footer { padding: 36px 0 16px; margin-top: 40px; }
}

/* ----- Tablet (481-768px) — 2 col grid, საშუალო typography ----- */
@media (min-width: 481px) and (max-width: 768px) {
  /* Container padding — ცხადი */
  .container { padding: 0 20px; }

  /* Header */
  .site-header .container {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .brand-logo { height: 44px; }

  /* Hero — stack ერთ სვეტში, text-align center */
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 28px; text-align: center; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-title { font-size: 2rem !important; text-align: center; }
  .hero-desc { text-align: center; margin: 0 auto 24px; max-width: 540px; }
  .hero-cta-row { justify-content: center; }
  .hero-visual svg { max-width: 380px; margin: 0 auto; }

  /* Section spacing */
  section { padding: 48px 0; }
  .section-title { font-size: 1.875rem; }
  .section-sub { font-size: 1rem; margin-bottom: 32px; }

  /* Pricing — 2 col grid (3-ის ნაცვლად) */
  #pricing > .container > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  /* Featured card — სრულ სიგანეზე ცენტრში */
  #pricing > .container > div[style*="grid-template-columns"] .card-featured {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Process icons — 2 col grid */
  #how > .container > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Cards padding */
  .card { padding: 22px; }
  #pricing .card h3 { font-size: 1.375rem; }

  /* About block — stack ერთ სვეტში */
  .about-block { grid-template-columns: 1fr; gap: 24px; max-width: 580px; }

  /* Footer — 2 col */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer { padding: 44px 0 18px; }
}

/* ----- Laptop (1025-1280px) — 3 col, ცარიელი ჩარჩო ცხადია ----- */
@media (min-width: 1025px) and (max-width: 1280px) {
  /* Container padding — ცარიელი breathing space */
  .container { padding: 0 32px; }

  /* Hero — სრული 2 col, საშუალო gap */
  .hero { padding: 80px 0 72px; }
  .hero-grid { gap: 48px; }
  .hero-title { font-size: 2.5rem; }

  /* Section spacing */
  section { padding: 64px 0; }
  .section-title { font-size: 2.125rem; }

  /* Cards — ცხადი breathing space */
  .card { padding: 26px; }

  /* About block — 1100px-ის ნაცვლად 980px max-width */
  .about-block { gap: 40px; max-width: 980px; }
}

/* ----- Desktop (≥ 1281px) — სრული ცარიელი breathing room ----- */
@media (min-width: 1281px) {
  /* Container უკვე გვაქვს 40px padding (line 1135) — გავაუმჯობესოთ */
  .container { padding-left: 48px; padding-right: 48px; }
  .hero .container { padding-left: 48px; padding-right: 48px; }

  /* Hero — სრული spacious */
  .hero { padding: 100px 0 96px; }
  .hero-grid { gap: 72px; }
  .hero-title { font-size: 3rem; }

  /* Section spacing */
  section { padding: 88px 0; }

  /* Cards — სრული breathing */
  .card { padding: 32px; }
}

/* ----- Ultra-wide (≥ 1600px) — მაქს. breathing ----- */
@media (min-width: 1600px) {
  .container { padding-left: 72px; padding-right: 72px; }
  .hero .container { padding-left: 72px; padding-right: 72px; }
}

/* ==========================================================================
   მუშა — ჩატის ვიჯეტი / Telegram sticky — მცირე ეკრანებზე
   ========================================================================== */
@media (max-width: 480px) {
  #chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 80px;
    height: calc(100vh - 120px);
    max-height: 460px;
  }
  #chat-toggle {
    width: 52px; height: 52px;
    right: 12px; bottom: 12px;
  }
  .telegram-sticky {
    left: 12px; bottom: 12px;
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   === Contact icons === SVG icon ჩარჩო ბრენდის ფერებში
   emoji-ების ნაცვლად — სტროკ-based, თანამედროვე
   ========================================================================== */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.contact-tg-btn svg {
  display: block;
}

/* ==========================================================================
   === About values icon === ციფრების ნაცვლად SVG icon
   ბრენდის ფერებში, soft secondary ფონით
   ========================================================================== */
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.value-icon svg { display: block; color: var(--text); }

/* ==========================================================================
   === iPhone (≤ 480px) MOBILE OVERRIDES ===
   1. Hero title — ცენტრში გასწორება სრულად
   2. Process cards — ცენტრში (icon + სათაური + ტექსტი)
   3. Footer — 2-col grid (1-col-ის ნაცვლად)
   4. About values — ცენტრში სვეტში
   5. Mission section — ცენტრში, ღილაკები vertically stacked
   ========================================================================== */
@media (max-width: 480px) {

  /* === 1. Hero title — სრულად ცენტრში === */
  .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100%;
    font-weight: 800;
  }
  /* accent — nowrap აჭიდრიანებს iPhone-ზე, ნებას ვაძლევთ გადატანას */
  .hero-title .accent {
    white-space: normal;
  }
  .hero-copy {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
  }

  /* === 2. Process cards — ცენტრში მობილურზე === */
  .process-card {
    align-items: center;
    text-align: center;
  }
  .process-icon {
    margin: 0 auto 14px;
  }
  .process-card h3 {
    text-align: center;
    width: 100%;
  }
  .process-card p {
    text-align: center;
    width: 100%;
  }

  /* === 3. Footer — 2-col grid iPhone-ზე (NOT 1-col, NOT ცენტრში) === */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
    text-align: left;
  }
  /* ლოგო-სვეტი — სრულ სიგანეზე (2-col span) */
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 12px;
    border-bottom: 1px solid #3A3A3A;
  }
  .site-footer h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .site-footer a {
    font-size: 13px;
    padding: 3px 0;
  }

  /* === 4. About values — value-item ცენტრში მობილურზე === */
  .value-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .value-item > div {
    text-align: center;
  }
  .value-icon {
    width: 52px;
    height: 52px;
  }

  /* === 5. Mission section — ცენტრში, ღილაკები column === */
  .mission-section .mission-container {
    text-align: center;
  }
  .mission-title {
    text-align: center !important;
    font-weight: 800;
  }
  .mission-text {
    text-align: center;
  }
  .mission-cta {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }
  .mission-cta .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* === Heading bold-ი iPhone-ზე === */
  .section-title {
    font-weight: 800;
  }
}

/* ==========================================================================
   Telegram CTA — sticky floating (channel)
   + inline CTA კლასები hero/contact/about/templates-ისთვის
   Telegram brand color: #229ED9 (გადატანილი —  variable-ად)
   ========================================================================== */
:root {
  --tg-blue: #229ED9;
  --tg-blue-dark: #1E8BBE;
  --tg-blue-rgb: 34, 158, 217;
}

/* ----- Sticky container (fixed bottom-right) ----- */
.tg-sticky {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  pointer-events: none; /* მხოლოდ ღილაკები iclickable */
}

.tg-sticky__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #229ED9;
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(var(--tg-blue-rgb), 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  font-family: inherit;
  border: 2px solid transparent;
}
.tg-sticky__btn:hover {
  background: #1A8CC4;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(var(--tg-blue-rgb), 0.55), 0 2px 6px rgba(0, 0, 0, 0.2);
}
.tg-sticky__btn:focus-visible {
  outline: none;
  border-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(var(--tg-blue-rgb), 0.5), 0 8px 24px rgba(var(--tg-blue-rgb), 0.45);
}
.tg-sticky__btn:active {
  transform: translateY(-1px) scale(1.02);
}

.tg-sticky__icon {
  flex-shrink: 0;
}

/* label visually-hidden ყველგან — icon-only Telegram-iconic ღილაკი */
.tg-sticky__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .tg-sticky {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }
  .tg-sticky__btn {
    width: 52px;
    height: 52px;
  }
}

/* ----- Inline CTA კლასები (hero, pricing card, contact, about, templates) ----- */
.tg-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  font-family: inherit;
  transition: all 180ms ease;
  border: 2px solid var(--tg-blue);
  background: transparent;
  color: var(--tg-blue);
  white-space: nowrap;
}
.tg-inline-cta:hover {
  background: var(--tg-blue);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--tg-blue-rgb), 0.25);
}
.tg-inline-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--tg-blue-rgb), 0.35);
}

/* solid ვერსია — Telegram blue ფონით */
.tg-inline-cta--solid {
  background: var(--tg-blue);
  color: #FFFFFF;
}
.tg-inline-cta--solid:hover {
  background: var(--tg-blue-dark);
  color: #FFFFFF;
}

/* ghost — hero/about-ისთვის, ნაკლებად აგრესიული */
.tg-inline-cta--ghost {
  background: rgba(var(--tg-blue-rgb), 0.08);
  border-color: rgba(var(--tg-blue-rgb), 0.25);
  color: var(--tg-blue);
}
.tg-inline-cta--ghost:hover {
  background: var(--tg-blue);
  color: #FFFFFF;
  border-color: var(--tg-blue);
}

/* Mobile inline CTAs: არ მოვაცილოთ ეტიკეტი — საჭიროა კონტექსტი */
@media (max-width: 480px) {
  .tg-inline-cta {
    width: 100%;
  }
}

/* ==========================================================================
   HEADER-ის Telegram CTA — კომპაქტური override .tg-inline-cta-სთვის
   მოდის source-ში .tg-inline-cta-ს შემდეგ, რომ კასკადი მართებულად მუშაობდეს.
   ========================================================================== */
.tg-header-cta {
  padding: 9px 16px;
  min-height: 40px;
  font-size: 14px;
  gap: 6px;
  border-width: 1.5px;
  white-space: nowrap;
}
.tg-header-cta__icon { flex-shrink: 0; }

/* Tablet & მცირე ეკრანი — icon-only რეჟიმი, label იმალება */
@media (max-width: 768px) {
  .tg-header-cta {
    padding: 0;
    min-height: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    gap: 0;
  }
  .tg-header-cta__label { display: none; }
  .tg-header-cta__icon { width: 16px; height: 16px; }
}

/* Mini ეკრანი (≤360) */
@media (max-width: 360px) {
  .tg-header-cta {
    min-height: 32px;
    width: 32px;
    height: 32px;
  }
  .tg-header-cta__icon { width: 14px; height: 14px; }
}

/* Mobile inline override — header CTA არ უნდა გაიჭიმოს 100%-ით */
@media (max-width: 480px) {
  .tg-header-cta { width: 36px; }
}



/* =========================================================
   Templates Gallery (CPT: nc_template)
   ========================================================= */
.nc-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Tag filter pills (horizontal scroll on mobile) */
.nc-tpl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 4px;
}
.nc-tpl-filter {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(38, 38, 38, 0.12);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 200ms ease;
}
.nc-tpl-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nc-tpl-filter.is-active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.28);
}
.nc-tpl-filter:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
}

/* Empty state when filter has no matches */
.nc-tpl-empty-filter {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-soft);
  font-size: 15px;
}

/* Tag chips inside cards */
.nc-tpl-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: -4px;
}
.nc-tpl-card__tags span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .nc-tpl-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .nc-tpl-filter { padding: 7px 14px; font-size: 12px; }
}
.nc-tpl-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(38, 38, 38, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.nc-tpl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(38, 38, 38, 0.08);
  border-color: rgba(var(--primary-rgb), 0.35);
}
.nc-tpl-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.nc-tpl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms ease;
}
.nc-tpl-card:hover .nc-tpl-card__media img { transform: scale(1.04); }
.nc-tpl-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  opacity: 0.4;
}
.nc-tpl-card__id {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1;
  margin: 0;
}
.nc-tpl-card__body {
  padding: 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.nc-tpl-card__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: var(--text-soft);
}
.nc-tpl-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}
.nc-tpl-card__title a:hover { color: var(--primary); }
.nc-tpl-card__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nc-tpl-card__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
@media (max-width: 480px) {
  .nc-tpl-grid { grid-template-columns: 1fr; gap: 18px; }
  .nc-tpl-card__id { font-size: 24px; }
  .nc-tpl-card__title { font-size: 16px; }
  .nc-tpl-card__price { font-size: 24px; }
}

/* =========================================================
   Single Template Page
   ========================================================= */
.nc-tpl-single { padding: 12px 0 96px; }
.nc-tpl-single__media {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(38, 38, 38, 0.08);
  background: var(--bg-soft);
}
.nc-tpl-single__media img {
  width: 100%;
  height: auto;
  display: block;
}
.nc-tpl-single__head { margin-bottom: 28px; }
.nc-tpl-single__id {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 16px;
  display: block;
}
.nc-tpl-single__title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  color: var(--text-soft);
  margin: 0 0 16px;
  line-height: 1.3;
}
.nc-tpl-single__price {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--primary);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 20px;
  display: block;
}
.nc-tpl-single__preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 180ms ease;
}
.nc-tpl-single__preview-link:hover { opacity: 0.75; }
.nc-tpl-single__content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 28px 0 36px;
}
.nc-tpl-single__content > * + * { margin-top: 14px; }
.nc-tpl-single__content h2 { font-size: 22px; margin-top: 28px; margin-bottom: 8px; }
.nc-tpl-single__content h3 { font-size: 18px; margin-top: 22px; margin-bottom: 6px; }
.nc-tpl-single__content ul,
.nc-tpl-single__content ol { padding-left: 24px; }
.nc-tpl-single__content li { margin-bottom: 6px; }
.nc-tpl-single__cta-row {
  padding-top: 24px;
  border-top: 1px solid rgba(38, 38, 38, 0.08);
  display: flex;
  justify-content: center;
}
@media (max-width: 480px) {
  .nc-tpl-single__cta-row .btn { width: 100%; }
}


/* =========================================================
   Single Post (.nc-post) — Word-document-like reading layout
   ========================================================= */
.nc-post {
  background: #fdfcfa;          /* slight off-white, paper feel */
  padding: 0 0 80px;
  color: #1f2937;               /* near-black body text */
}
.nc-post__head {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(38, 38, 38, 0.08);
  margin-bottom: 32px;
}
.nc-post__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-soft);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.nc-post__meta a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(38, 38, 38, 0.25);
}
.nc-post__meta a:hover { color: var(--primary); border-color: var(--primary); }
.nc-post__sep { opacity: 0.4; }
.nc-post__title {
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 12px;
}
.nc-post__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  font-style: italic;
}
.nc-post__hero {
  margin: 0 0 36px;
  border-radius: 10px;
  overflow: hidden;
}
.nc-post__hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== READING BODY ========== */
.nc-post__body {
  font-family: Georgia, "Iowan Old Style", Cambria, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.75;
  color: #2d3748;
}
.nc-post__body > * { margin: 0 0 18px; }
.nc-post__body > *:first-child { margin-top: 0; }
.nc-post__body > *:last-child  { margin-bottom: 0; }

.nc-post__body p {
  font-weight: 400;
  color: #2d3748;
  -webkit-font-smoothing: antialiased;
}
.nc-post__body p + p { text-indent: 0; }

.nc-post__body h2 {
  font-family: var(--font-sans, system-ui), -apple-system, "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}
.nc-post__body h3 {
  font-family: var(--font-sans, system-ui), -apple-system, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin: 32px 0 10px;
}
.nc-post__body h4 {
  font-family: var(--font-sans, system-ui), -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 8px;
}

.nc-post__body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 180ms ease;
}
.nc-post__body a:hover { opacity: 0.7; }

.nc-post__body strong { color: var(--text); font-weight: 700; }
.nc-post__body em     { font-style: italic; }

.nc-post__body ul,
.nc-post__body ol {
  padding-left: 26px;
  margin: 0 0 22px;
}
.nc-post__body ul li { list-style: disc; margin-bottom: 8px; }
.nc-post__body ol li { list-style: decimal; margin-bottom: 8px; }
.nc-post__body li::marker { color: var(--text-soft); }

.nc-post__body blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--primary);
  font-style: italic;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.65;
}
.nc-post__body blockquote p { color: inherit; }
.nc-post__body blockquote p:last-child { margin-bottom: 0; }

.nc-post__body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: rgba(38, 38, 38, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--text);
}
.nc-post__body pre {
  background: #1f2937;
  color: #f3f4f6;
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.65;
  margin: 24px 0;
}
.nc-post__body pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

.nc-post__body img,
.nc-post__body figure {
  margin: 28px 0;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}
.nc-post__body figcaption {
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.nc-post__body hr {
  border: 0;
  border-top: 1px solid rgba(38, 38, 38, 0.12);
  margin: 40px 0;
}

.nc-post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
  font-family: var(--font-sans, system-ui), sans-serif;
}
.nc-post__body th, .nc-post__body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(38, 38, 38, 0.1);
}
.nc-post__body th { font-weight: 700; color: var(--text); }

/* ========== FOOTER (tags) ========== */
.nc-post__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(38, 38, 38, 0.08);
}
.nc-post__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.nc-post__tags a {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 180ms ease;
}
.nc-post__tags a:hover { background: var(--primary); color: var(--white); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nc-post__body { font-size: 17px; line-height: 1.7; }
  .nc-post__body h2 { font-size: 23px; margin-top: 32px; }
  .nc-post__body h3 { font-size: 19px; margin-top: 26px; }
  .nc-post__body blockquote { padding-left: 18px; font-size: 17px; }
  .nc-post__lead { font-size: 16px; }
}
@media (max-width: 480px) {
  .nc-post__body { font-size: 16px; }
  .nc-post__body pre { font-size: 13px; padding: 14px 16px; }
  .nc-post__head { padding-top: 20px; margin-bottom: 24px; }
}
