/* =====================================================================
   Mindsight — Design System
   Navy base · vibrant mint primary · violet & magenta accents
   Display: Sora   ·   Body: Hanken Grotesk
   ===================================================================== */

/* ---------- tokens -------------------------------------------------- */
:root {
  /* ink / surfaces */
  --ink:        #0B0E26;   /* near-black navy — dark sections & text */
  --ink-2:      #11143A;
  --ink-3:      #1B1F4D;
  --paper:      #FFFFFF;
  --paper-2:    #F5F7FC;   /* light gray section bg */
  --paper-3:    #ECEFF8;
  --line:       #E4E8F2;
  --line-ink:   rgba(255,255,255,0.10);

  /* brand */
  --mint:       #11CE92;   /* primary action / digital-marketing energy */
  --mint-deep:  #08966A;
  --mint-soft:  #E4FBF2;
  --violet:     #6C4DFF;
  --violet-soft:#ECE8FF;
  --pink:       #FF2E7E;
  --pink-soft:  #FFE6F0;
  --amber:      #FFB020;

  /* text */
  --t1: #0B0E26;           /* primary text on light */
  --t2: #3A3F63;           /* secondary */
  --t3: #6B7096;           /* muted */
  --on-dark-1: #FFFFFF;
  --on-dark-2: #B9BEE6;
  --on-dark-3: #7E84B8;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shadow-sm: 0 2px 8px rgba(11,14,38,0.06);
  --shadow:    0 14px 40px -18px rgba(11,14,38,0.20);
  --shadow-lg: 0 40px 90px -40px rgba(11,14,38,0.40);

  /* layout */
  --maxw: 1200px;
  --gut: 24px;

  /* Latin glyphs render in Sora / Hanken Grotesk; Georgian glyphs fall through
     per-glyph to Noto Sans Georgian (Sora/Hanken don't cover Georgian script). */
  --font-display: "Sora", "Noto Sans Georgian", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Noto Sans Georgian", system-ui, sans-serif;
}

/* Georgian needs a touch more line-height + slightly looser tracking to breathe */
html[lang="ka"] body { line-height: 1.65; }
html[lang="ka"] h1, html[lang="ka"] h2, html[lang="ka"] h3,
html[lang="ka"] h4, html[lang="ka"] h5 { letter-spacing: -0.01em; line-height: 1.18; }
html[lang="ka"] .display { line-height: 1.1; letter-spacing: -0.02em; }
html[lang="ka"] .eyebrow { letter-spacing: 0.06em; }

/* ---------- reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--t1);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--t1); }

/* ---------- layout helpers ----------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }
.dark { background: var(--ink); color: var(--on-dark-1); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-dark-1); }
.soft { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint-deep);
}
.eyebrow.on-dark { color: var(--mint); }
.eyebrow:empty { display: none; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 0; }
.section-head p { color: var(--t3); font-size: 18px; margin-top: 16px; }

.display { font-size: clamp(40px, 6vw, 76px); line-height: 1.0; letter-spacing: -0.03em; }
.lead { font-size: 19px; color: var(--t2); }
.muted { color: var(--t3); }

/* ---------- buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--mint); color: #042b1f; box-shadow: 0 12px 26px -12px rgba(17,206,146,0.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(17,206,146,0.9); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--t1); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.22); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- pills / badges ------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  padding: 6px 12px; border-radius: 999px; letter-spacing: 0.01em;
  background: var(--paper-3); color: var(--t2);
}
.pill.mint   { background: var(--mint-soft);   color: var(--mint-deep); }
.pill.violet { background: var(--violet-soft); color: var(--violet); }
.pill.pink   { background: var(--pink-soft);   color: var(--pink); }
.pill-dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; }

/* ---------- tint utility (per-card accent) -------------------------- */
.t-mint   { --tint: var(--mint);   --tint-deep: var(--mint-deep); --tint-soft: var(--mint-soft); }
.t-violet { --tint: var(--violet); --tint-deep: var(--violet);    --tint-soft: var(--violet-soft); }
.t-pink   { --tint: var(--pink);   --tint-deep: var(--pink);      --tint-soft: var(--pink-soft); }

/* ---------- placeholder image surface ------------------------------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--tint, var(--mint)) 30%, transparent), transparent 60%),
    radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--violet) 22%, transparent), transparent 55%),
    var(--ink-2);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .5;
}
.ph-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  display: inline-flex; align-items: center; gap: 6px;
}
.ph-label svg { width: 13px; height: 13px; opacity: .8; }

/* ---------- header / chrome ---------------------------------------- */
/* The whole chrome sticks to the top and shrinks on scroll. */
.site-chrome { position: sticky; top: 0; z-index: 50; }

.topbar {
  background: var(--ink); color: var(--on-dark-2);
  font-size: 13.5px;
  height: 42px; overflow: hidden;
  transition: height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { color: var(--on-dark-2); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .tb-social { display: flex; gap: 12px; }
.topbar .tb-social a { display: inline-flex; }
.topbar svg { width: 15px; height: 15px; }
/* The utility bar stays put while the chrome is sticky, so the language
   switcher keeps its place at the very top and never drops into the nav. */

.site-header {
  background: rgba(255,255,255,0.80);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; transition: height .35s cubic-bezier(.4,0,.2,1);
}
/* Sticky header stays translucent (~20% see-through) as it follows the page. */
.site-chrome.is-scrolled .site-header {
  background: rgba(255,255,255,0.80);
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px -16px rgba(11,14,38,0.28);
}
.site-chrome.is-scrolled .site-header .wrap { height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(140deg, var(--mint), var(--mint-deep));
  display: grid; place-items: center; color: #042b1f; flex: none;
  box-shadow: 0 8px 18px -8px rgba(17,206,146,0.7);
  transition: width .35s cubic-bezier(.4,0,.2,1), height .35s cubic-bezier(.4,0,.2,1), border-radius .35s;
}
.brand-mark svg { width: 24px; height: 24px; transition: width .35s, height .35s; }
/* uploaded logo — shown at natural proportions, never cropped */
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; max-width: 220px; object-fit: contain; display: block; transition: height .35s cubic-bezier(.4,0,.2,1); }
.site-chrome.is-scrolled .brand-logo img { height: 38px; }
.site-footer .brand-logo img { max-width: 200px; }
.site-chrome.is-scrolled .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.site-chrome.is-scrolled .brand-mark svg { width: 21px; height: 21px; }
.brand-text { line-height: 1.05; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; transition: font-size .35s; }
.brand-tag {
  display: block; font-size: 11.5px; color: var(--t3); letter-spacing: 0.02em;
  max-height: 18px; opacity: 1; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
}
.site-chrome.is-scrolled .brand-tag { max-height: 0; opacity: 0; }

/* ---- primary nav with a sliding highlight ---- */
.nav { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-ind {
  position: absolute; top: 50%; left: 0; height: 38px; width: 0;
  transform: translateY(-50%); border-radius: 999px;
  background: var(--paper-2); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.34,1.3,.5,1), width .32s cubic-bezier(.34,1.3,.5,1), opacity .2s ease, background .2s ease;
  z-index: 0;
}
.nav:hover .nav-ind { opacity: 1; }
.nav a {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--t2); padding: 9px 15px; border-radius: 999px;
  white-space: nowrap; transition: color .18s;
}
.nav a:hover { color: var(--t1); }
.nav a.active { color: var(--mint-deep); font-weight: 600; }
/* resting underline dot for the active item when the highlight isn't on it */
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
  transform: translateX(-50%) scale(1); transition: opacity .18s, transform .18s;
}
.nav:hover a.active::after { opacity: 0; transform: translateX(-50%) scale(0); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { transition: transform .2s ease, box-shadow .2s ease, background .15s; }

/* ---------- language switcher --------------------------------------- */
.lang-switch { display: inline-flex; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px; color: var(--t3); line-height: 1; transition: background .15s, color .15s;
}
.lang-switch button.on { background: var(--ink); color: #fff; }
.lang-switch button:not(.on):hover { color: var(--t1); }
/* dark contexts (topbar / footer) */
.topbar .lang-switch { background: rgba(255,255,255,0.06); border-color: var(--line-ink); }
.topbar .lang-switch button { color: var(--on-dark-2); }
.topbar .lang-switch button.on { background: var(--mint); color: #042b1f; }
.drawer .lang-switch { align-self: flex-start; margin-top: 14px; }
/* compact language switch is no longer revealed in the nav bar — the top-bar
   switcher stays visible while sticky, so nothing jumps into the menu */
.lang-compact { display: none; margin-right: 2px; }
.site-chrome.is-scrolled .lang-compact { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--t1); background: var(--paper); transition: background .15s, border-color .15s; }
.nav-toggle:hover { background: var(--paper-2); border-color: var(--paper-3); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- footer -------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h5 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-display); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--on-dark-2); font-size: 15px; }
.footer-links a:hover { color: var(--mint); }
.footer-blurb { color: var(--on-dark-3); font-size: 15px; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-ink); display: grid; place-items: center; color: var(--on-dark-2); transition: .15s; }
.footer-social a:hover { background: var(--mint); color: #042b1f; border-color: var(--mint); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-ink); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; color: var(--on-dark-3); font-size: 14px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.newsletter { display: flex; gap: 8px; margin-top: 6px; }
.newsletter input { flex: 1; background: var(--ink-2); border: 1px solid var(--line-ink); color: #fff; padding: 12px 14px; border-radius: 12px; }
.newsletter input::placeholder { color: var(--on-dark-3); }

/* ---------- card ---------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

/* ---------- course card -------------------------------------------- */
.course-card { display: flex; flex-direction: column; }
.course-card .ph { aspect-ratio: 16 / 10; }
.course-card .cc-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-card .cc-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-card h3 { font-size: 21px; }
.course-card .cc-blurb { color: var(--t3); font-size: 15px; }
.course-card .cc-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.course-card .cc-price { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--t1); }
.course-card .cc-price small { font-weight: 500; font-size: 13px; color: var(--t3); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--t1); }
.rating svg { width: 15px; height: 15px; color: var(--amber); }

/* ---------- grids --------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* ---------- stat ---------------------------------------------------- */
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1; }
.stat-num.mint { color: var(--mint); }
.stat-num.violet { color: var(--violet); }
.stat-num.pink { color: var(--pink); }
.stat-label { color: var(--on-dark-2); font-size: 15px; margin-top: 8px; }

/* ---------- mentor card -------------------------------------------- */
.mentor-card { text-align: center; padding: 30px 22px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #fff; }
.avatar.mint   { background: linear-gradient(140deg, var(--mint),   var(--mint-deep)); color:#042b1f; }
.avatar.violet { background: linear-gradient(140deg, #8E74FF, var(--violet)); }
.avatar.pink   { background: linear-gradient(140deg, #FF6AA3, var(--pink)); }
.mentor-card h3 { font-size: 19px; }
.mentor-card .m-title { color: var(--t3); font-size: 14px; margin-top: 4px; }
.mentor-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 16px; }

/* ---------- mentor photo (display-only) ----------------------------- */
.m-photo { flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--paper-2); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ring, var(--mint)); }
.m-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; letter-spacing: 0.01em; background: linear-gradient(140deg, var(--ring, var(--mint)), color-mix(in oklab, var(--ring, var(--mint)) 70%, #000)); }
.ring-mint   { --ring: var(--mint); }
.ring-violet { --ring: var(--violet); }
.ring-pink   { --ring: var(--pink); }

/* ---------- forms --------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--t2); }
.field input, .field textarea, .field select {
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: var(--t1); transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- accordion (syllabus) ----------------------------------- */
.acc-item { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; background: #fff; }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; }
.acc-head h4 { font-size: 17px; }
.acc-head .acc-idx { font-family: var(--font-display); font-weight: 700; color: var(--mint-deep); margin-right: 14px; }
.acc-head .acc-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; flex: none; transition: .2s; }
.acc-head .acc-icon svg { width: 16px; height: 16px; transition: transform .2s; }
.acc-item.open .acc-icon { background: var(--mint); color: #042b1f; }
.acc-item.open .acc-icon svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-inner { padding: 0 22px 22px 22px; }
.acc-body ul li { display: flex; gap: 11px; padding: 9px 0; color: var(--t2); border-top: 1px dashed var(--line); }
.acc-body ul li:first-child { border-top: none; }
.acc-body ul li svg { width: 18px; height: 18px; color: var(--mint-deep); flex: none; margin-top: 3px; }

/* ---------- page hero (inner pages) -------------------------------- */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero .blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); position: relative; color: #fff; }
.page-hero p { color: var(--on-dark-2); font-size: 19px; max-width: 560px; margin-top: 16px; position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--on-dark-3); font-size: 14px; margin-bottom: 18px; font-family: var(--font-display); }
.breadcrumb a:hover { color: var(--mint); }

/* ---------- marquee (partners) ------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partner-logo { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--t3); opacity: .7; white-space: nowrap; letter-spacing: -0.01em; }
.partner-logo-img { display: inline-flex; align-items: center; opacity: .85; }
.partner-logo-img img { height: 34px; width: auto; max-width: 150px; object-fit: contain; display: block; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- toast --------------------------------------------------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: #fff; padding: 15px 22px; border-radius: 14px;
  box-shadow: var(--shadow-lg); z-index: 200; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px; transition: transform .35s cubic-bezier(.2,.9,.3,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .toast-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #042b1f; display: grid; place-items: center; flex: none; }
.toast .toast-ic svg { width: 16px; height: 16px; }

/* ---------- reveal on scroll --------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .lang-compact { display: none !important; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-header .wrap { height: 68px; }
  .site-chrome.is-scrolled .site-header .wrap { height: 60px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; gap: 10px; }
}

/* ---------- mobile drawer ------------------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s linear .38s; }
.drawer.open { visibility: visible; transition-delay: 0s; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(11,14,38,0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: #fff; padding: 24px 24px 28px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .36s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel .brand { margin-bottom: 18px; }
.drawer-panel .drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-panel .drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--t1);
  padding: 15px 14px; border-radius: 14px; border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s, padding-left .2s;
}
.drawer-panel .drawer-nav a:hover { background: var(--paper-2); padding-left: 18px; }
.drawer-panel .drawer-nav a.active { color: var(--mint-deep); }
.drawer-panel .drawer-nav a .chev { color: var(--t3); display: inline-flex; }
.drawer-panel .drawer-nav a .chev svg { width: 18px; height: 18px; }
.drawer-cta { margin-top: 18px; }
.drawer-contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.drawer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--t2); font-size: 14.5px; }
.drawer-contact a:hover { color: var(--t1); }
.drawer-contact svg { width: 17px; height: 17px; color: var(--mint-deep); }
.drawer-social { display: flex; gap: 10px; margin-top: 6px; }
.drawer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--paper-2); color: var(--t2); transition: background .15s, color .15s; }
.drawer-social a:hover { background: var(--ink); color: #fff; }
.drawer-social svg { width: 18px; height: 18px; }
.drawer-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--paper-2); color: var(--t1); transition: background .15s; }
.drawer-close:hover { background: var(--paper-3); }
