/* ===== FONT FACE ===== */
@font-face {
  font-family: 'BPG Nino Mtavruli';
  src: url('fonts/BPG-Nino-Mtavruli-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AR Archy';
  src: url('fonts/AR-Archy-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-3: #06b6d4;
  --gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 40%, #06b6d4 100%);
  --radius: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'AR Archy', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

html[lang="en"] body {
  font-family: 'Inter', -apple-system, sans-serif;
}
html[lang="ka"] body {
  font-family: 'BPG Nino Mtavruli', 'Inter', -apple-system, sans-serif;
  letter-spacing: 0.01em;
}
html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] h4,
html[lang="ka"] h5,
html[lang="ka"] .stat-num,
html[lang="ka"] .step-num,
html[lang="ka"] .btn,
html[lang="ka"] .eyebrow,
html[lang="ka"] .nav a,
html[lang="ka"] .hero-badge,
html[lang="ka"] .quote p,
html[lang="ka"] .faq-list summary {
  font-family: 'BPG Nino Mtavruli', 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
html[lang="ka"] .logo-text,
html[lang="ka"] .logo-mark {
  font-family: 'Inter', sans-serif;
}

/* Background effects */
.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(96, 165, 250, 0.12), transparent);
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, opacity .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: #e5e5e5; }

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.6);
}
.btn-accent:hover { background: #2563eb; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--text); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.1rem;
  gap: 6px;
}
.logo-mark {
  width: 28px;
  height: 36px;
  color: var(--accent);
  margin-right: 4px;
  flex-shrink: 0;
  display: inline-block;
}
.logo-text {
  letter-spacing: .12em;
  font-size: 1.15rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.95);
  text-stroke: 1.5px rgba(255, 255, 255, 0.95);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 45%, rgba(0,0,0,0.2) 90%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 45%, rgba(0,0,0,0.2) 90%, transparent 100%);
  white-space: nowrap;
  line-height: 1;
}

.nav { display: flex; gap: 32px; }
.nav a { color: var(--text-dim); font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}
.lang-toggle .active { background: var(--text); color: var(--bg); }
.lang-toggle .flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform .2s;
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#shader-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(10,10,15,0.35), rgba(10,10,15,0.65));
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--bg) 90%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 40px;
}
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-dim); font-size: .88rem; margin-top: 4px; }

/* ===== LOGOS ===== */
.logos { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-title {
  text-align: center;
  color: var(--text);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  margin-bottom: 32px;
}
.logos-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}
.logos-row span {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .15em;
  color: var(--text-muted);
  opacity: .7;
  transition: opacity .2s, color .2s;
}
.logos-row span:hover { opacity: 1; color: var(--text); }

/* ===== SECTIONS ===== */
section { padding: 120px 0; }
section.logos, section.cta { padding: 80px 0; }

/* ===== SERVICES ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.05);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); margin-bottom: 20px; }
.card-link { color: var(--accent); font-weight: 600; font-size: .92rem; }
.card-link:hover { color: var(--accent-2); }

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.agent {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform .25s, border-color .25s;
}
.agent:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.agent-avatar {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
}
.agent-avatar svg {
  width: 100%;
  height: 100%;
}
.agent h4 { margin-bottom: 8px; }
.agent p { color: var(--text-dim); font-size: .9rem; }

/* ===== PROCESS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 180px;
  max-width: 240px;
  text-align: center;
  background: none;
  border: none;
  padding: 8px 0;
}
.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.06);
  transition: transform .25s, background .25s;
}
.step:hover .step-num {
  transform: scale(1.05);
  background: rgba(59, 130, 246, 0.14);
}
.step h4 { margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: .92rem; }
.step-divider {
  align-self: flex-start;
  padding-top: 28px;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 400;
  flex-shrink: 0;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .step-divider { display: none; }
  .steps { flex-direction: column; align-items: center; gap: 16px; }
  .step { max-width: 320px; }
}

/* ===== TECH STACK ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tech-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s, background .25s;
}
.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.tech-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
}
.tech-icon svg { width: 100%; height: 100%; }
.tech-card h4 { margin-bottom: 8px; }
.tech-card p { color: var(--text-dim); font-size: .92rem; }

/* ===== TESTIMONIALS ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.quote {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-size: 4rem;
  font-family: serif;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
}
.quote p { font-size: 1.02rem; margin-bottom: 20px; color: var(--text); }
.quote footer { display: flex; flex-direction: column; }
.quote strong { font-weight: 600; }
.quote span { color: var(--text-muted); font-size: .85rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .2s;
}
.faq-list details:hover { border-color: var(--border-strong); }
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding: 0 24px 20px; color: var(--text-dim); }

/* ===== CTA: BUILD WITH AI ===== */
.cta-simple {
  text-align: center;
  padding: 48px 16px;
}
.cta-simple h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-simple > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.contact-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s, background .25s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.contact-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-flex;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-icon-row {
  width: auto;
  gap: 10px;
}
.contact-icon-row svg {
  width: 28px;
  height: 28px;
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--text-dim); font-size: .92rem; margin-bottom: 14px; }
.contact-link {
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
}
.contact-link:hover { color: var(--accent-2); }
.contact-social-list { color: var(--accent); font-weight: 500; font-size: .9rem; margin-bottom: 0; }

/* Contact form */
.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-form-wrap h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.3rem;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field input[hidden] { display: none; }
.form-field label {
  font-size: .85rem;
  color: var(--text-dim);
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color .2s;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23999' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.btn-block { width: 100%; margin-top: 8px; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-about { color: var(--text-dim); font-size: .92rem; margin-top: 20px; max-width: 380px; line-height: 1.7; }

/* Larger logo variant: bigger T + solid (not outlined) text */
.logo-lg {
  margin-bottom: 4px;
  gap: 10px;
}
.logo-lg .logo-mark {
  width: 44px;
  height: 56px;
  margin-right: 0;
  transform: translateY(20px);
}
.logo-lg .logo-text {
  font-size: 1.6rem;
  letter-spacing: .08em;
  color: #ffffff;
  -webkit-text-stroke: 0;
  text-stroke: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Header version of .logo-lg — scaled to fit 72px header height */
.header .logo-lg {
  margin-bottom: 0;
  gap: 6px;
}
.header .logo-lg .logo-mark {
  width: 30px;
  height: 38px;
  transform: translate(3.5px, -2.5px);
}
.header .logo-lg .logo-text {
  font-size: 1.15rem;
}
.footer h5 { margin-bottom: 16px; font-size: .92rem; }
.footer-grid > div > a, .footer-grid > div > span {
  display: block;
  color: var(--text-dim);
  font-size: .9rem;
  margin-bottom: 8px;
}
.footer-grid a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* Tablet & smaller laptops (≤ 1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-title { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
}

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 80px 0; }
  .hero { padding: 60px 0; }
  .hero-stats { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .hero-title { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.2; }
  .hero-sub { font-size: 1rem; }
  .container { padding: 0 20px; }
  h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
  .section-head { margin-bottom: 40px; }
  .cards, .team-grid, .tech-grid, .contact-grid, .quotes {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .logos-row { gap: 24px; }
  .logos-row span { font-size: 1.1rem; }
}

/* Large mobile / Small tablet (≤ 768px) */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .header-actions .btn { padding: 9px 16px; font-size: 0.85rem; }
  .hero-cta { gap: 10px; flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto 60px; }
  .hero-cta .btn { width: 100%; }
  .cards, .team-grid, .tech-grid, .contact-grid, .quotes {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .step-divider { display: none; }
  .steps { flex-direction: column; align-items: center; gap: 16px; }
  .step { max-width: 320px; }
}

/* Mobile (≤ 540px) */
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 36px 0 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-grid > div > a, .footer-grid > div > span { display: block; }
  .footer-about { margin-left: auto; margin-right: auto; }

  /* Header — compact */
  .header-inner { height: 64px; }
  .header { height: auto; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 8px 14px; font-size: 0.8rem; }
  .header .logo-lg .logo-mark { width: 26px; height: 32px; }
  .header .logo-lg .logo-text { font-size: 1rem; letter-spacing: 0.08em; }
  .lang-toggle { padding: 3px; }
  .lang-toggle span { padding: 3px 8px; font-size: 0.7rem; gap: 4px; }
  .lang-toggle .flag { width: 13px; height: 9px; }

  /* Hero — smaller text */
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero-sub { font-size: 0.95rem; line-height: 1.6; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.8rem; }

  /* Sections */
  h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .section-head { margin-bottom: 32px; }
  .section-sub { font-size: 1rem; }
  .eyebrow { font-size: 0.9rem; }

  /* Cards padding */
  .card, .agent, .tech-card, .contact-card { padding: 22px; }
  .quote { padding: 24px; }
  .quote p { font-size: 0.95rem; }
  .quote::before { font-size: 3rem; top: 8px; right: 18px; }

  /* Footer logo */
  .footer .logo-lg .logo-mark { width: 36px; height: 46px; }
  .footer .logo-lg .logo-text { font-size: 1.3rem; }

  /* CTA section */
  .cta-simple { padding: 32px 12px; }
  .cta-simple h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-simple > p { font-size: 0.95rem; }

  /* Form */
  .contact-form-wrap { padding: 24px 18px; }
  .contact-form-wrap h3 { font-size: 1.15rem; }

  /* FAQ */
  .faq-list summary { padding: 16px 18px; font-size: 0.95rem; }
  .faq-list p { padding: 0 18px 16px; font-size: 0.9rem; }

  /* Logos row */
  .logos-row { gap: 18px; }
  .logos-row span { font-size: 0.95rem; }
  .logos-title { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Buttons */
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }

  /* Contact icon row (social icons) */
  .contact-icon-row svg { width: 24px; height: 24px; }
}

/* Very small mobile (≤ 380px) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .header-actions .btn { padding: 7px 12px; font-size: 0.75rem; }
  .lang-toggle .flag { display: none; }
  .lang-toggle span { padding: 4px 8px; }
  .header .logo-lg .logo-text { font-size: 0.9rem; }
  .hero-title { font-size: 1.6rem; }
  .stat-num { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .card, .agent, .tech-card, .contact-card { padding: 18px; }
}

/* Prevent text overflow on long Georgian words */
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, p, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Reduce motion preference (accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
