/* ===== VARIABLES ===== */
:root {
  --blue:       #1F3F8F;
  --blue-dark:  #152C66;
  --blue-soft:  #EEF2FB;
  --red:        #D42A3C;
  --red-h:      #B81F30;
  --white:      #FFFFFF;
  --tint:       #F6F8FC;
  --line:       #E3E8F2;
  --text:       #16203A;
  --text-mid:   #4A5672;
  --text-light: #8791A8;
  --radius:     14px;
  --shadow:     0 6px 24px rgba(21, 44, 102, 0.08);
  --shadow-lg:  0 18px 48px rgba(21, 44, 102, 0.16);
  --nav-h:      68px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(31, 63, 143, 0.45); outline-offset: 3px; border-radius: 6px; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-note { margin-top: 28px; color: var(--text-mid); font-size: 0.95rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { color: var(--blue-dark); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; font-weight: 700; }
h2 { font-size: 1.55rem; font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow-light { color: #FFD3D8; }
.eyebrow-light::before { background: #FFD3D8; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(212, 42, 60, 0.28); }
.btn-red:hover { background: var(--red-h); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--line); color: var(--blue); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(21, 44, 102, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.nav-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark { flex: none; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nav-logo-text strong { font-size: 1.02rem; font-weight: 700; color: var(--blue-dark); white-space: nowrap; }
.nav-logo-text small { display: none; font-size: 0.72rem; color: var(--text-light); white-space: nowrap; }
.nav-links { display: none; }
.nav-links a { font-size: 0.93rem; font-weight: 500; color: var(--text-mid); padding: 8px 2px; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle { display: flex; align-items: center; gap: 4px; color: var(--line); }
.lang-btn { background: none; border: none; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: var(--text-light); padding: 8px 4px; }
.lang-btn.active { color: var(--blue); }

.btn-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--blue); color: var(--white); font-weight: 600; font-size: 0.92rem;
  flex: none; white-space: nowrap;
  transition: background 0.2s;
}
.btn-call:hover { background: var(--blue-dark); }
.btn-call span { display: none; }

.nav-burger {
  position: relative; flex: none;
  width: 42px; height: 42px; padding: 0;
  background: var(--blue-soft); border: none; border-radius: 12px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
/* Lines are absolutely positioned with explicit sizes — iOS collapses flex children inside <button> */
.nav-burger span {
  position: absolute; left: 11px; width: 20px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; padding: 8px 20px 18px; background: var(--white); border-top: 1px solid var(--line); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 0; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .mobile-call { color: var(--red); font-weight: 700; }

@media (max-width: 479px) {
  .nav-inner { gap: 10px; }
  .logo-mark { width: 34px; height: 34px; }
  .nav-logo { gap: 8px; }
  .nav-logo-text strong { font-size: 0.95rem; }
  .nav-actions { gap: 12px; }
  .nav .btn-call { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 60px;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(31, 63, 143, 0.09), transparent 60%),
    radial-gradient(600px 320px at -10% 110%, rgba(212, 42, 60, 0.06), transparent 60%),
    var(--white);
}
.hero-inner { display: grid; gap: 36px; }
.hero-sub { margin-top: 16px; font-size: 1.04rem; color: var(--text-mid); max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white); border-radius: 22px; padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}
.hero-card-mark { position: absolute; right: -34px; bottom: -40px; width: 220px; height: 220px; color: rgba(255, 255, 255, 0.06); }
.hero-card-title { position: relative; font-size: 0.82rem; font-weight: 600; color: #C9D5F5; margin-bottom: 16px; }
.check-list { position: relative; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 500; line-height: 1.5; }
.check-list li::before {
  content: ''; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hero-card-foot {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem; color: #DCE4FA;
}

/* ===== QUESTIONS ===== */
.q-grid { display: grid; gap: 14px; }
.q-card {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; font-weight: 500;
}
.q-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #FDECEE; color: var(--red); font-weight: 700; font-size: 1.15rem;
}
.q-answer {
  margin-top: 26px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--blue); color: var(--white);
  font-size: 1.1rem; font-weight: 600; line-height: 1.45;
}

/* ===== ABOUT ===== */
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-copy p { color: var(--text-mid); margin-top: 16px; }
.about-copy .eyebrow { margin-top: 0; color: var(--red); }
.about-quote {
  margin-top: 24px; padding: 4px 0 4px 18px; border-left: 3px solid var(--red);
  font-size: 1.08rem; font-weight: 600; color: var(--blue-dark); line-height: 1.5;
}
.about-photos { position: relative; padding: 0 0 56px 0; }
.about-photo { border-radius: 18px; box-shadow: var(--shadow); object-fit: cover; }
.about-photo-a { width: 82%; }
.about-photo-b { position: absolute; right: 0; bottom: 0; width: 52%; border: 5px solid var(--white); box-shadow: var(--shadow-lg); }

/* ===== CARDS ===== */
.card-grid { display: grid; gap: 16px; }
.card, .feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CFD8EC; }
.card p, .feature p { margin-top: 8px; color: var(--text-mid); font-size: 0.96rem; }
.card { border-top: 3px solid var(--blue); }
.card-num { display: block; font-size: 0.85rem; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 16px;
}

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-item {
  display: block; padding: 0; border: none; background: var(--line); cursor: zoom-in;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 9999; cursor: zoom-out;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 18, 40, 0.92);
}
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 10px; }
.lightbox .close { position: absolute; top: 16px; right: 20px; color: var(--white); font-size: 1.6rem; line-height: 1; }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%); color: var(--white); }
.contact h2 { color: var(--white); }
.contact-copy p:not(.eyebrow) { margin-top: 14px; color: #D3DCF5; max-width: 480px; }
.contact-grid { display: grid; gap: 32px; align-items: center; }
.contact-card { background: var(--white); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg); }
.contact-row {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center;
  padding: 14px; border-radius: 14px; color: var(--text); transition: background 0.2s;
}
.contact-row:hover { background: var(--tint); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.contact-icon-wa { background: #E7F9EE; color: #1DA851; }
.contact-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-text small { font-size: 0.8rem; color: var(--text-light); }
.contact-text strong { font-size: 1.05rem; font-weight: 600; color: var(--blue-dark); }

/* ===== FOOTER ===== */
.footer { background: #0F2150; color: #AEBBDD; font-size: 0.88rem; padding: 22px 0 92px; }
.footer strong { color: var(--white); font-weight: 600; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }

/* ===== WHATSAPP BUTTON ===== */
#whatsapp-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; font-weight: 600;
  padding: 14px; border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
#whatsapp-btn span { display: none; }

/* ===== TABLET ===== */
@media (min-width: 640px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  .nav-logo-text small { display: block; }
  .btn-call { width: auto; padding: 0 18px; }
  .btn-call span { display: inline; }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  #whatsapp-btn { padding: 14px 20px; border-radius: 50px; bottom: 24px; right: 24px; }
  #whatsapp-btn span { display: inline; }
}

/* ===== DESKTOP ===== */
@media (min-width: 960px) {
  :root { --nav-h: 76px; }
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.1rem; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 48px; }
  .hero { padding: 84px 0 104px; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
  .hero-sub { font-size: 1.14rem; }
  .hero-card { padding: 36px 32px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .card, .feature { padding: 30px; }
  .q-answer { font-size: 1.25rem; padding: 26px 30px; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .footer { padding-bottom: 22px; }
}

/* ===== DESKTOP NAV ===== */
@media (min-width: 1180px) {
  .nav-links { display: flex; gap: 24px; }
  .nav-logo { flex: none; }
  .nav-logo-text small { display: none; }
  .nav-burger, .nav-mobile, .nav-mobile.open { display: none; }
}

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