/* ==========================================================================
   ICE AGE — iceage.ge
   Design tokens, layout and components.
   Brand blue #0A82F0 sampled from the logo and packaging artwork.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --ice-50:  #F0F7FF;
  --ice-100: #DCEDFE;
  --ice-200: #B9DAFC;
  --ice-300: #7FBEF9;
  --ice-400: #3D9CF5;
  --ice-500: #0A82F0;   /* brand */
  --ice-600: #0668C9;
  --ice-700: #0B4E94;

  --navy-900: #04121F;
  --navy-800: #071F33;
  --navy-700: #0B2F4A;
  --navy-600: #14456A;

  --ink:      #0D1620;
  --body:     #4A5B6B;
  --muted:    #75879A;
  --line:     #E1E9F0;
  --surface:  #FFFFFF;
  --surface-2:#F6FAFE;

  --shadow-sm: 0 1px 2px rgba(4,18,31,.06), 0 2px 8px rgba(4,18,31,.05);
  --shadow-md: 0 4px 12px rgba(4,18,31,.07), 0 12px 32px rgba(4,18,31,.07);
  --shadow-lg: 0 8px 24px rgba(4,18,31,.10), 0 32px 64px rgba(4,18,31,.12);
  --glow:      0 8px 30px rgba(10,130,240,.28);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shell: 1220px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 9vw, 7.5rem);

  --font-latin: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-geo: "Noto Sans Georgian", "BPG Nino Mtavruli", system-ui, sans-serif;
  --font: var(--font-latin), var(--font-geo);

  --ease: cubic-bezier(.22,.61,.36,1);
}

.lang-ka { --font: var(--font-geo), var(--font-latin); }

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.68;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.03rem + .55vw, 1.45rem); letter-spacing: -.015em; }
p  { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--ice-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible {
  outline: 3px solid var(--ice-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.lang-ka h1, .lang-ka h2, .lang-ka h3 { letter-spacing: -.005em; line-height: 1.22; }

/* --- 3. Layout helpers --------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--tint { background: var(--surface-2); }
.section--ice {
  background: linear-gradient(170deg, var(--ice-50) 0%, #E6F2FE 100%);
}
.section--dark {
  background: radial-gradient(120% 120% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 62%);
  color: #C2D4E4;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--ice-300); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ice-500); color: #fff; padding: .8rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ice-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .55;
}
.section--dark .eyebrow { color: var(--ice-300); }
.lang-ka .eyebrow { letter-spacing: .04em; text-transform: none; font-size: .82rem; }

.lead {
  font-size: clamp(1.05rem, 1rem + .42vw, 1.28rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 62ch;
}
.section--dark .lead { color: #AFC5D8; }

.section-head { max-width: 64ch; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font: inherit; font-weight: 650; line-height: 1;
  border: 1.5px solid transparent; border-radius: 100px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ice-500); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: var(--ice-600); box-shadow: 0 12px 34px rgba(10,130,240,.36); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ice-400); color: var(--ice-600); background: var(--ice-50); }
.btn--onDark { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--onDark:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--sm { padding: .68rem 1.15rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn__arrow { transition: transform .22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* --- 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 74px;
}
/* transparent over the home hero until the user scrolls */
.page-home .site-header { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; }
.page-home .site-header:not(.is-stuck) .brand__name,
.page-home .site-header:not(.is-stuck) .site-nav__link,
.page-home .site-header:not(.is-stuck) .lang-switch__opt { color: #fff; }
.page-home .site-header:not(.is-stuck) .brand__tag { color: rgba(255,255,255,.72); }
.page-home .site-header:not(.is-stuck) .lang-switch { border-color: rgba(255,255,255,.3); }
.page-home .site-header:not(.is-stuck) .lang-switch__opt.is-active { background: rgba(255,255,255,.2); color: #fff; }
.page-home .site-header:not(.is-stuck) .nav-toggle__bar { background: #fff; }
.site-header.is-stuck { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: var(--shadow-sm); }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-inline-end: auto; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-latin); font-weight: 800; font-size: 1.16rem;
  letter-spacing: .06em; color: var(--ink); transition: color .3s var(--ease);
}
.brand__tag {
  font-size: .68rem; color: var(--muted); font-weight: 500;
  max-width: 22ch; transition: color .3s var(--ease);
}
@media (max-width: 480px) { .brand__tag { display: none; } }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; align-items: center; gap: 1.55rem; }
.site-nav__link {
  position: relative; text-decoration: none; font-weight: 550; font-size: .95rem;
  color: var(--ink); padding-block: .4rem; transition: color .2s var(--ease);
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--ice-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-current::after { transform: scaleX(1); }
.site-nav__link.is-current { color: var(--ice-600); }
.site-nav__aside { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 100px;
  padding: 3px; gap: 2px; transition: border-color .3s var(--ease);
}
.lang-switch__opt {
  padding: .3rem .68rem; font-size: .78rem; font-weight: 650; border-radius: 100px;
  text-decoration: none; color: var(--muted); transition: all .2s var(--ease); line-height: 1.4;
}
.lang-switch__opt:hover { color: var(--ice-600); }
.lang-switch__opt.is-active { background: var(--ice-500); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle__bar {
  height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .24s var(--ease), transform .24s var(--ease);
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    display: block; padding: .95rem .25rem; font-size: 1.05rem;
    border-bottom: 1px solid var(--line); color: var(--ink) !important;
  }
  .site-nav__link::after { display: none; }
  .site-nav__aside { justify-content: space-between; margin-top: 1.35rem; }
  .page-home .site-header { position: sticky; background: rgba(255,255,255,.86); border-color: var(--line); }
  .page-home .site-header .brand__name { color: var(--ink); }
  .page-home .site-header .brand__tag { color: var(--muted); }
  .page-home .site-header .nav-toggle__bar { background: var(--ink); }
  .page-home .site-header .lang-switch { border-color: var(--line); }
}

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(94svh, 900px);
  padding-block: 8rem 4rem;
  background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4,18,31,.94) 0%, rgba(4,18,31,.80) 42%, rgba(4,18,31,.35) 100%),
    linear-gradient(to top, rgba(4,18,31,.85) 0%, transparent 45%);
}
.hero__inner { max-width: 42rem; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .eyebrow { color: var(--ice-300); }
.hero__scroll {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 100px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll span {
  width: 3px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.8);
  animation: scrollHint 1.9s var(--ease) infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1 } 55% { transform: translateY(11px); opacity: .1 } }
@media (max-width: 700px) { .hero__scroll { display: none; } .hero { min-height: 78svh; padding-block: 6.5rem 3.5rem; } }

/* page hero (inner pages) */
.page-hero {
  position: relative; padding-block: clamp(3.25rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(115% 130% at 12% 0%, var(--navy-700) 0%, var(--navy-900) 65%);
  color: #fff; overflow: hidden; isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image: url("/static/img/products/premium-cubes-photo-md.webp");
  background-size: cover; background-position: center;
  mask-image: linear-gradient(to left, #000 0%, transparent 72%);
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.page-hero .eyebrow { color: var(--ice-300); }
.page-hero__inner { max-width: 46rem; }

/* --- 7. Stats ------------------------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.stats__item { background: #fff; padding: 1.85rem 1.35rem; text-align: center; }
.stats__value {
  font-family: var(--font-latin); font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 800; color: var(--ice-500); line-height: 1; letter-spacing: -.03em;
  margin-bottom: .5rem;
}
.stats__label { font-size: .875rem; color: var(--muted); line-height: 1.42; }
.stats--float { margin-top: calc(var(--section-y) * -.5); position: relative; z-index: 5; }

/* --- 8. Pillars ---------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.5rem; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--ice-200); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ice-100), var(--ice-50));
  color: var(--ice-600); margin-bottom: 1.3rem;
}
.pillar__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: .55rem; }
.pillar p { font-size: .955rem; color: var(--body); }

/* --- 9. Split (image + text) --------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 719px) { .split--reverse .split__media { order: 0; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3/4; }
.split__media--free img { aspect-ratio: auto; }
.checklist { display: grid; gap: .85rem; margin-top: 1.85rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.checklist svg {
  flex: none; width: 22px; height: 22px; margin-top: .18rem;
  fill: none; stroke: var(--ice-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.section--dark .checklist li { color: #D6E4F0; }

/* --- 10. Products -------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter {
  padding: .62rem 1.25rem; font: inherit; font-size: .9rem; font-weight: 600;
  background: #fff; color: var(--body);
  border: 1.5px solid var(--line); border-radius: 100px; cursor: pointer;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ice-300); color: var(--ice-600); }
.filter.is-active { background: var(--ice-500); border-color: var(--ice-500); color: #fff; box-shadow: var(--glow); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.6rem; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ice-200); }
.product-card__media {
  position: relative; aspect-ratio: 1/1; display: grid; place-items: center;
  padding: 1.5rem; background: linear-gradient(165deg, var(--ice-50), #E8F3FE);
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .45s var(--ease);
  filter: drop-shadow(0 12px 22px rgba(4,18,31,.16));
}
.product-card:hover .product-card__media img { transform: scale(1.055); }
.product-card__tags { position: absolute; top: .85rem; left: .85rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 100px;
  background: rgba(255,255,255,.9); color: var(--navy-700);
  backdrop-filter: blur(4px); box-shadow: var(--shadow-sm);
}
.tag--premium { background: var(--navy-800); color: var(--ice-300); }
.lang-ka .tag { text-transform: none; letter-spacing: 0; }
.product-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.product-card__summary { font-size: .94rem; color: var(--muted); margin-bottom: 1.15rem; }
.product-card__desc { font-size: .94rem; margin-bottom: 1.25rem; }
.specs { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: .5rem; }
.specs__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.specs__label { color: var(--muted); }
.specs__value { color: var(--ink); font-weight: 600; text-align: right; }

.note {
  display: flex; gap: .85rem; align-items: flex-start;
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  background: var(--ice-50); border: 1px solid var(--ice-100);
  border-radius: var(--radius); font-size: .95rem; color: var(--navy-700);
}
.note svg { flex: none; width: 22px; height: 22px; stroke: var(--ice-500); fill: none; stroke-width: 2; margin-top: .15rem; }

.cat-head { margin: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.cat-head:first-of-type { margin-top: 0; }
.cat-head h2 { margin-bottom: .4rem; }
.cat-head p { max-width: 62ch; }

/* --- 11. Showcase / service cards ---------------------------------------- */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.showcase-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 380px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.showcase-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.showcase-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(4,18,31,.93) 8%, rgba(4,18,31,.55) 48%, rgba(4,18,31,.12) 100%);
}
.showcase-card:hover img { transform: scale(1.06); }
.showcase-card__body { padding: 1.85rem; }
.showcase-card h3 { color: #fff; margin-bottom: .45rem; }
.showcase-card p { color: rgba(255,255,255,.84); font-size: .95rem; }

/* --- 12. Gallery --------------------------------------------------------- */
.album { margin-bottom: clamp(3rem, 7vw, 5rem); }
.album:last-child { margin-bottom: 0; }
.album__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; margin-bottom: 1.5rem; }
.album__head h2 { margin: 0; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); }
.album__head p { color: var(--muted); font-size: .96rem; margin: 0; }
.album__count { margin-inline-start: auto; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .85rem; }
.masonry__item {
  position: relative; margin: 0; padding: 0; border: 0; background: var(--ice-50);
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 1/1;
}
.masonry__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.masonry__item:hover img { transform: scale(1.07); }
.masonry__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,18,31,.35), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.masonry__item:hover::after { opacity: 1; }
.masonry__item--wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 560px) { .masonry__item--wide { grid-column: span 1; aspect-ratio: 1/1; } }

/* --- 13. Lightbox -------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(4,18,31,.95); backdrop-filter: blur(8px);
  padding: clamp(1rem, 4vw, 3rem);
  animation: fadeIn .22s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.lightbox__img {
  max-width: 100%; max-height: 84svh; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.lightbox__caption {
  position: absolute; bottom: clamp(.75rem, 3vw, 1.75rem); left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; text-align: center;
  max-width: 80%;
}
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1;
  width: 48px; height: 48px; transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.lightbox__close { top: clamp(.75rem, 3vw, 1.75rem); right: clamp(.75rem, 3vw, 1.75rem); font-size: 1.9rem; }
.lightbox__nav { top: 50%; margin-top: -24px; font-size: 2rem; }
.lightbox__nav--prev { left: clamp(.5rem, 2.5vw, 1.75rem); }
.lightbox__nav--next { right: clamp(.5rem, 2.5vw, 1.75rem); }

/* --- 14. Contact --------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--ice-500); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1.05rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ice-400); box-shadow: 0 0 0 4px rgba(10,130,240,.14);
}
.form__status { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: #E7F7EE; color: #14603A; border: 1px solid #B7E4CB; }
.form__status--err { background: #FDECEC; color: #8A2020; border: 1px solid #F5C6C6; }
.form__status--info { background: var(--ice-50); color: var(--navy-700); border: 1px solid var(--ice-100); }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem 1.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { border-color: var(--ice-200); box-shadow: var(--shadow-sm); }
.contact-card__icon {
  flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ice-50); color: var(--ice-600);
}
.contact-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .35rem; font-weight: 700; }
.lang-ka .contact-card h3 { text-transform: none; letter-spacing: .02em; font-size: .88rem; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.02rem; color: var(--ink); font-weight: 550; text-decoration: none; display: block; }
.contact-card a:hover { color: var(--ice-600); }
.contact-card__sub { font-size: .88rem !important; color: var(--muted) !important; font-weight: 400 !important; margin-top: .3rem !important; }

.map-wrap { margin-top: 1rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap img { width: 100%; }

/* --- 15. Partner / badge strip ------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 4.5rem); }
.badges img { height: clamp(52px, 8vw, 76px); width: auto; object-fit: contain; opacity: .85; transition: opacity .25s var(--ease); }
.badges img:hover { opacity: 1; }
.badges--dark img { filter: brightness(0) invert(1); opacity: .7; }

/* --- 16. CTA band -------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--ice-600) 0%, var(--ice-500) 45%, #2E9BF8 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.25rem);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; z-index: -1;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--ice-600); border-color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--ice-600); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta-band .btn--primary:hover { background: var(--navy-900); color: #fff; }

/* --- 17. Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--navy-900); color: #93A9BC;
  padding-block: clamp(3rem, 7vw, 5rem) 2rem; margin-top: 0;
  font-size: .945rem;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 1.1rem; font-weight: 700;
}
.lang-ka .site-footer h3 { text-transform: none; letter-spacing: .03em; font-size: .9rem; }
.site-footer__h3--spaced { margin-top: 1.75rem; }
.site-footer__brand img { width: 62px; height: 62px; object-fit: contain; margin-bottom: 1.1rem; }
.site-footer__blurb { max-width: 34ch; line-height: 1.6; }
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer a { color: #93A9BC; text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer__hours { margin-top: 1rem; font-size: .85rem; color: #6C8399; }
.site-footer p { margin-bottom: .5rem; line-height: 1.6; }

.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.social a:hover { background: var(--ice-500); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; fill: #fff; }

.site-footer__badges {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,.1); text-align: center;
}
.site-footer__badges-label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: #6C8399; margin-bottom: 1.5rem;
}
.lang-ka .site-footer__badges-label { text-transform: none; letter-spacing: .03em; font-size: .86rem; }
.site-footer__badges-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 4rem); }
.site-footer__badges-row img { height: 58px; width: auto; object-fit: contain; opacity: .72; }

.site-footer__bar {
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #6C8399;
}
.site-footer__bar p { margin: 0; }

/* --- 18. Scroll reveal --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
