/* 2codelab — Clear Sky theme */
:root {
  --accent: #1668D9;
  --accent-hover: #0F55B8;
  --accent-deep: #0F4FA8;
  --ink: #0F2238;
  --body: #3A5068;
  --muted: #52687F;
  --tint: #F2F8FF;
  --tint-2: #DDEEFF;
  --line: #E3EEFA;
  --line-2: #C9DEF5;
  --white: #FFFFFF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1200px;
  --font: 'Manrope', 'Noto Sans Georgian', system-ui, sans-serif;
  --shadow: 0 30px 60px -30px rgba(22, 104, 217, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid #7FB6F5; outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: background .2s, transform .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -12px rgba(22,104,217,.6); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-pill { border-radius: 999px; min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-white { background: var(--white); color: var(--accent-deep); font-weight: 700; }
.btn-white:hover { color: var(--accent-deep); box-shadow: 0 12px 24px -12px rgba(0,0,0,.3); }
.btn-outline-white { border: 1px solid rgba(255,255,255,.85); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(15,34,56,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; font-family: 'Manrope', sans-serif; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav > a:not(.btn) { color: var(--body); transition: color .2s; }
.nav > a:not(.btn):hover { color: var(--accent); }

.lang { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }
.lang a { min-width: 40px; min-height: 32px; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); display: grid; place-items: center; font-family: 'Manrope', sans-serif; }
.lang a:hover { color: var(--accent); }
.lang a[aria-current="true"] { background: var(--white); color: var(--accent); box-shadow: 0 2px 8px -4px rgba(15,34,56,.25); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer; place-items: center; }

/* Hero */
.tint { background: var(--tint); }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127,182,245,.35), rgba(127,182,245,0)); pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--tint-2); color: var(--accent-deep); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--body); max-width: 580px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card { flex: 1 1 400px; min-width: 0; background: var(--white); border: 1px solid #DCEAF8; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.hero-row { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-md); background: var(--tint); transition: transform .25s, background .25s; }
.hero-row:hover { transform: translateX(4px); background: #EAF4FF; }
.hero-row div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-row strong { font-size: 16px; }
.hero-row span:not(.icon-box) { font-size: 14px; color: var(--muted); }
.icon-box { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); color: var(--accent); display: grid; place-items: center; }

/* Sections */
.section { padding: 104px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.section h2, .contact h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { padding: 36px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 18px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE2F7; }
.card .icon-box { width: 52px; height: 52px; border-radius: 14px; }
.card h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.card p { font-size: 16px; line-height: 1.7; color: var(--body); }
.card ul { margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.card li { display: flex; align-items: center; gap: 10px; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.stack span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 14px; font-weight: 600; color: var(--body); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: none; }
.steps li { padding: 28px; border-radius: 20px; background: var(--white); display: flex; flex-direction: column; gap: 12px; border: 1px solid transparent; transition: border-color .25s; }
.steps li:hover { border-color: var(--line-2); }
.step-num { font-size: 15px; font-weight: 800; color: var(--accent); }
.steps strong { font-size: 19px; }
.steps span:last-child { font-size: 15px; line-height: 1.6; color: var(--body); }

.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-text p { font-size: 17px; line-height: 1.75; color: var(--body); }
.perks { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.perk { padding: 24px; border-radius: 18px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.perk strong { font-size: 17px; }
.perk span { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Contact */
.contact-wrap { padding: 0 0 104px; }
.contact { padding: 64px 48px; border-radius: 32px; background: var(--accent); color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.contact h2 { color: var(--white); }
.contact-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.contact-text p { font-size: 18px; line-height: 1.6; color: #EAF4FF; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.14); transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.26); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: clamp(64px, 12vw, 140px); color: var(--accent); font-weight: 800; letter-spacing: -0.04em; }
.notfound p { color: var(--body); margin: 12px 0 28px; font-size: 18px; }

/* Mobile */
@media (max-width: 920px) {
  .menu-toggle { display: grid; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(15,34,56,.35); display: none; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .nav .lang { align-self: flex-start; margin-top: 12px; }
  .hero-inner { padding-top: 56px; padding-bottom: 72px; gap: 40px; }
  .section { padding: 72px 0; }
  .contact { padding: 44px 28px; border-radius: 24px; }
  .contact-wrap { padding-bottom: 72px; }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  .actions .btn, .contact-actions .btn { width: 100%; }
}
