/* Caucasus Green Energy Group
   One still background for the whole page (.bg-still: stone colour + the Caucasus ridge at the bottom, position: fixed).
   It never moves. Sections have no background of their own: only single texts and cards rise into place while
   scrolling ([data-rise], driven by js/main.js), in light 3D with a soft spring.
   Dark green appears as rounded cards (featured vehicles, request form), which rise as a whole.
   Fonts: Onest (Latin + Cyrillic), Noto Sans Georgian on /ka/. */

:root {
  --night: #0B2219;
  --deep: #0F3B2C;
  --green: #168F6E;
  --mint: #6FD3B2;
  --amber: #F2A516;
  --stone: #E8EBE3;
  --paper: #F7F8F4;
  --sage: #D6DDCE;
  --ink: #13201B;
  --grey: #55605A;
  --font-display: "Onest", "Noto Sans Georgian", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Onest", "Noto Sans Georgian", "Helvetica Neue", Arial, sans-serif;
  --hh: 62px;
  --g: max(20px, env(safe-area-inset-left, 0px));
  --r: clamp(16px, 1.8vw, 24px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  background: var(--stone);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 12px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; min-width: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--g);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  width: 100%;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--deep); padding: 10px 14px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Georgian: no uppercase (Mtavruli) and no negative tracking */
:lang(ka) { letter-spacing: 0 !important; }
:lang(ka) .sec-name, :lang(ka) .label, :lang(ka) .p-cats, :lang(ka) .foot-h,
:lang(ka) .facts dt, :lang(ka) .pack-dl dt { text-transform: none; }
html[lang="ka"] body { font-size: 14.5px; line-height: 1.6; }
html[lang="ka"] .sec-name { font-size: 12.5px; }
html[lang="ka"] .facts dt, html[lang="ka"] .pack-dl dt, html[lang="ka"] .p-cats { font-size: 12.5px; }

/* ---------- The still background ---------- */
.bg-still {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(255, 255, 255, .55), transparent 62%),
    radial-gradient(900px 520px at -10% 108%, rgba(214, 221, 206, .7), transparent 60%),
    var(--stone);
}
.bg-still svg { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(60px, 11vh, 130px); }
.ridge-far { fill: #DEE3D8; }
.ridge-near { fill: #D5DBCD; }
main, .foot-zone { position: relative; z-index: 1; }

/* Light sections read these; .tone-deep turns a section's content into a dark card */
.sec, .foot-zone { --fg: var(--ink); --muted: var(--grey); --line: rgba(19, 32, 27, .14); --head: var(--deep); --soft: #F3F5F0; --bg: transparent; }
.tone-deep { --bg: var(--deep); --fg: #EEF3F0; --muted: #A6C4B7; --line: rgba(238, 243, 240, .18); --head: #F4F7F5; --soft: #154A39; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: #EEF3F0; padding-top: env(safe-area-inset-top, 0px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 11px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.brand-name span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 8.5px; letter-spacing: .26em; opacity: .62; margin-top: 4px; }
.nav { display: none; align-items: center; gap: clamp(14px, 1.6vw, 24px); min-width: 0; }
.nav-link {
  text-decoration: none; font-size: 13px; font-weight: 500; color: #A6C4B7; padding-block: 5px; white-space: nowrap;
  background: linear-gradient(var(--mint), var(--mint)) left bottom / 0 1.5px no-repeat;
  transition: color .25s var(--ease), background-size .4s var(--ease);
}
.nav-link:hover { color: #F4F7F5; }
.nav-link[aria-current="page"] { color: #F4F7F5; background-size: 100% 1.5px; }
.bar-end { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: flex; align-items: center; border: 1px solid rgba(238, 243, 240, .2); border-radius: 4px; overflow: hidden; }
.lang a { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: #A6C4B7; text-decoration: none; padding: 6px 8px; line-height: 1; }
.lang a + a { border-left: 1px solid rgba(238, 243, 240, .2); }
.lang a:hover { color: #F4F7F5; }
.lang a[aria-current="true"] { background: rgba(238, 243, 240, .12); color: #F4F7F5; }
.site-header :focus-visible { outline-color: var(--mint); }
.burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 38px; height: 38px; padding: 0 9px; background: transparent; border: 1px solid rgba(238, 243, 240, .2); border-radius: 4px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: #EEF3F0; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu { position: fixed; inset: var(--hh) 0 0; background: var(--night); overflow-y: auto; padding-block: 24px 40px; }
.menu[hidden] { display: none; }
.menu-links { list-style: none; border-top: 1px solid rgba(238, 243, 240, .14); }
.menu-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(238, 243, 240, .14); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #EEF3F0; }
.menu-links a[aria-current="page"] { color: var(--mint); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.lang-lg a { font-size: 13px; padding: 10px 14px; }
body.menu-open { overflow: hidden; }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .burger { display: none; }
  .menu { display: none !important; }
}
/* Georgian and Russian labels are longer: full menu only on wide screens */
@media (min-width: 1200px) and (max-width: 1439px) {
  html[lang="ka"] .nav, html[lang="ru"] .nav { display: none; }
  html[lang="ka"] .burger, html[lang="ru"] .burger { display: flex; }
  html[lang="ka"] .menu:not([hidden]), html[lang="ru"] .menu:not([hidden]) { display: block !important; }
}
@media (max-width: 720px) { .bar-end .cta-top { display: none; } }
@media (max-width: 400px) {
  .brand-name { font-size: 12px; }
  .brand-name span { letter-spacing: .16em; }
  .brand svg { width: 30px; height: 30px; }
  .bar-end { gap: 8px; }
  .lang a { padding: 6px 6px; }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1.2;
  padding: 13px 20px; border-radius: 4px; border: 0; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-deep { background: var(--deep); color: #F4F7F5; }
.btn-deep:hover { background: #0A2C21; }
.btn-light { background: var(--paper); color: var(--deep); }
.btn-light:hover { background: #E3ECE6; }
.textlink {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--deep); padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: color .25s var(--ease);
}
.textlink:hover { color: var(--green); }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--head); text-decoration: none; }
.tone-deep .more { color: var(--mint); }
.more span { transition: transform .3s var(--ease); display: inline-block; }
.more:hover span { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--head); line-height: 1.3; }
.small { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(26px, 3.2vw, 50px); color: var(--fg); }
.sec-name { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: clamp(10px, 1.2vw, 14px); }
.tone-deep .sec-name { color: var(--mint); }
/* the dark card: the section's content box gets the deep background and rounded corners */
.sec.tone-deep > .wrap {
  width: calc(min(100%, var(--wrap)) - 2 * var(--g)); max-width: none; margin-inline: auto;
  padding: clamp(22px, 3vw, 42px) clamp(18px, 3vw, 42px);
  background: var(--deep); border-radius: var(--r); color: var(--fg);
  box-shadow: 0 34px 70px -44px rgba(11, 34, 25, .7);
}
.sec-hero { min-height: calc(84svh - var(--hh)); display: flex; align-items: center; padding-block: clamp(22px, 3vw, 44px) clamp(44px, 6vw, 84px); }
.sec-hero > .wrap { width: 100%; }

/* Rising elements (js/main.js "Motion on scroll"). The rise is done by the browser: @keyframes rise tied to the
   scroll with animation-timeline: view(). It starts when the element's top enters at the bottom of the screen and
   ends 45vh of scroll later, so nothing can lag or jump. --k (from data-rise), --rot (tilt, stronger for lines of
   text) and --ry (turn towards the centre) are written by the script. Floating uses the "translate" property:
   it adds to the animation without touching it. Browsers without scroll-driven animations get the same rise from JS. */
:root { --rise-d: 104px; }
@media (max-width: 720px) { :root { --rise-d: 70px; } }
[data-rise] { transform-origin: 50% 100%; }
@keyframes rise {
  from { opacity: .05; transform: perspective(900px) translate3d(0, calc(var(--rise-d) * var(--k, 1)), -240px) rotateX(var(--rot, 18deg)) rotateY(var(--ry, 0deg)); }
  to { opacity: 1; transform: none; }
}
.rise-css [data-rise] {
  animation: rise linear both;
  animation-timing-function: cubic-bezier(.2, .75, .3, 1);
  animation-timeline: view();
  animation-range: cover 0% cover 45vh;
}
/* Above the fold there is nothing to scroll to: the opening texts rise once when the page opens */
.sec-hero [data-rise], .rise-css .sec-hero [data-rise] {
  animation: rise-in 1.15s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 90ms + 120ms);
  animation-timeline: auto;
  animation-range: normal;
}
@keyframes rise-in {
  from { opacity: 0; transform: perspective(900px) translate3d(0, 70px, -200px) rotateX(18deg); }
}
/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* Card heading */
.sheet-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px clamp(22px, 4vw, 56px); align-items: end; }
@media (max-width: 860px) { .sheet-head { grid-template-columns: minmax(0, 1fr); } }
.sheet-head h2, .req-intro h2, .cta-band h2 {
  color: var(--head); font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.024em; max-width: 24ch;
}
html[lang="ka"] .sheet-head h2, html[lang="ka"] .req-intro h2, html[lang="ka"] .cta-band h2 { font-size: clamp(1.2rem, 1.95vw, 1.7rem); line-height: 1.25; }
.intro { color: var(--muted); font-size: .93rem; max-width: 48ch; }
.h3 { font-size: 1.2rem; font-weight: 700; color: var(--head); }
.label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }

/* ---------- Home hero ---------- */
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 3.5vw, 48px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy h1 { color: var(--deep); font-size: clamp(1.8rem, 3.1vw, 2.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; }
html[lang="ka"] .hero-copy h1 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.22; }
html[lang="ru"] .hero-copy h1 { font-size: clamp(1.7rem, 2.9vw, 2.45rem); }
.lede { margin-top: 14px; font-size: .95rem; color: var(--grey); max-width: 46ch; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 950 / 722; object-fit: cover; border-radius: 6px; background: var(--sage); box-shadow: 0 30px 60px -34px rgba(15, 59, 44, .55); }
figcaption { font-size: 12.5px; color: var(--muted); padding-top: 10px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3.5vw, 48px); align-items: center; }
.page-hero.has-media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 860px) { .page-hero.has-media { grid-template-columns: minmax(0, 1fr); } }
.page-hero h1 { color: var(--deep); font-size: clamp(1.75rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; max-width: 20ch; }
html[lang="ka"] .page-hero h1 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.22; }
.page-hero .lede { max-width: 54ch; }
.page-hero .chips { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--head); }
.crumbs [aria-current] { color: var(--fg); }
.ph-photo { width: 100%; height: auto; aspect-ratio: 950 / 722; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -34px rgba(15, 59, 44, .55); }
.sun-art { width: 100%; max-width: 420px; height: auto; margin-inline: auto; display: block; }
.note-inline { font-size: 12.5px; color: var(--muted); max-width: 30ch; }
.draft-note { margin-top: 18px; font-size: 13px; color: var(--deep); background: rgba(242, 165, 22, .18); border: 1px solid rgba(242, 165, 22, .45); padding: 10px 14px; border-radius: 4px; max-width: 64ch; }

/* ---------- Home: who we are ---------- */
.who-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-top: clamp(20px, 2.6vw, 34px); }
@media (max-width: 760px) { .who-row { grid-template-columns: minmax(0, 1fr); } }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr); gap: 4px 24px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .facts div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: four directions ---------- */
.quad { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(20px, 2.6vw, 34px); }
@media (max-width: 700px) { .quad { grid-template-columns: minmax(0, 1fr); } }
.quad a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: clamp(12px, 1.4vw, 17px) 0; border-top: 1px solid var(--line); text-decoration: none; height: 100%; }
.q-num { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .06em; }
.quad h3 { font-size: clamp(1.05rem, 1.45vw, 1.25rem); font-weight: 700; letter-spacing: -.015em; color: var(--head); transition: color .3s var(--ease); }
.quad p { grid-column: 2; color: var(--muted); font-size: .95rem; }
.q-go { grid-row: 1; grid-column: 3; color: var(--green); transition: transform .3s var(--ease); }
.quad a:hover h3 { color: var(--green); }
.quad a:hover .q-go { transform: translateX(4px); }

/* ---------- Showroom (featured vehicles) ---------- */
.showroom {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1.05fr);
  gap: clamp(10px, 2.4vw, 36px); align-items: end; max-width: 1000px; margin: clamp(20px, 2.6vw, 34px) auto 0;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.show-item { display: grid; gap: 12px; text-decoration: none; justify-items: center; }
.show-img { width: 100%; height: auto; filter: drop-shadow(0 14px 10px rgba(2, 14, 9, .45)); transition: transform .5s var(--ease); }
.show-item:hover .show-img { transform: translateY(-4px); }
.show-name { font-size: 12.5px; color: var(--muted); text-align: center; }
.show-item:hover .show-name { color: var(--head); }
@media (max-width: 640px) {
  .showroom { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .show-refrigerated-truck { grid-column: 1 / -1; grid-row: 1; }
}

/* ---------- Lines (packages on home) ---------- */
.lines { list-style: none; margin: clamp(20px, 2.6vw, 34px) 0 0; border-top: 1px solid var(--line); }
.lines a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 8px clamp(20px, 3.5vw, 52px); align-items: baseline; padding: clamp(12px, 1.4vw, 16px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.line-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.15; letter-spacing: -.02em; color: var(--head); transition: color .3s var(--ease); }
.line-text { color: var(--muted); font-size: .94rem; display: grid; gap: 8px; }
.line-go { font-size: 1.2rem; line-height: 1; color: var(--green); transition: transform .35s var(--ease); }
.lines a:hover .line-name { color: var(--green); }
.lines a:hover .line-go { transform: translateX(5px); }
@media (max-width: 760px) {
  .lines a { grid-template-columns: minmax(0, 1fr) auto; }
  .line-text { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Reasons / values / topics ---------- */
.reasons { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(14px, 2vw, 28px); margin-top: clamp(20px, 2.6vw, 34px); }
.reasons-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .reasons, .reasons-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .reasons, .reasons-3 { grid-template-columns: minmax(0, 1fr); } }
.reasons li { border-top: 2px solid var(--head); padding-top: 11px; }
.reasons h3 { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; color: var(--head); margin-bottom: 6px; }
.reasons p { color: var(--muted); font-size: .94rem; }

/* Steps (numbered) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(14px, 2vw, 28px); margin-top: clamp(20px, 2.6vw, 34px); counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--head); padding-top: 12px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--green); margin-bottom: clamp(8px, 1.2vw, 14px); }
.steps h3 { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; color: var(--head); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .94rem; }

/* Two panes: light cards on the still background */
.split2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); margin-top: clamp(20px, 2.6vw, 34px); }
.split2.mt { margin-top: clamp(26px, 3.4vw, 42px); }
@media (max-width: 760px) { .split2 { grid-template-columns: minmax(0, 1fr); } }
.pane { display: grid; gap: 12px; align-content: start; background: var(--paper); border-radius: 12px; padding: clamp(16px, 2vw, 24px); box-shadow: 0 20px 40px -32px rgba(11, 34, 25, .45); }
.tone-deep .pane { background: rgba(238, 243, 240, .06); box-shadow: none; }
.pane h3 { font-size: 1.1rem; font-weight: 700; color: var(--head); }
.pane p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block: 4px; }
.slots-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.slots span { height: 46px; border: 1px dashed var(--line); border-radius: 4px; }

/* Regions */
.regions { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(16px, 2.2vw, 32px); margin-top: clamp(20px, 2.6vw, 34px); }
@media (max-width: 760px) { .regions { grid-template-columns: minmax(0, 1fr); } }
.regions li { border-top: 2px solid var(--head); padding-top: 14px; position: relative; }
.regions li:first-child::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(242, 165, 22, .18); }
.regions h3 { font-size: 1.05rem; font-weight: 700; color: var(--head); margin-bottom: 6px; }
.regions p { color: var(--muted); font-size: .95rem; }

/* About: mission and vision */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 3.6vw, 52px); }
@media (max-width: 760px) { .mv { grid-template-columns: minmax(0, 1fr); } }
.mv > div { border-top: 2px solid var(--head); padding-top: 16px; display: grid; gap: 14px; align-content: start; }
.big { font-family: var(--font-display); font-size: clamp(1.12rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--head); }
html[lang="ka"] .big { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; }

/* Definition grid (projects) */
.grid-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(16px, 2.2vw, 32px); margin: clamp(20px, 2.6vw, 34px) 0 0; }
@media (max-width: 860px) { .grid-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-dl { grid-template-columns: minmax(0, 1fr); } }
.grid-dl div { border-top: 1px solid var(--line); padding-top: 12px; }
.grid-dl dt { font-weight: 700; color: var(--head); }
.grid-dl dd { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }

/* ---------- Catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 2.4vw, 28px); }
.filters button { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.filters button:hover { background: var(--soft); }
.filters button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #F4F7F5; }
.products { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px clamp(12px, 1.6vw, 22px); margin-top: 16px; }
@media (max-width: 1040px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .products { grid-template-columns: minmax(0, 1fr); } }
.product[hidden] { display: none; }
.product a { display: grid; gap: 8px; text-decoration: none; align-content: start; }
.p-media { display: block; aspect-ratio: 4 / 3; background: var(--soft); border-radius: 8px; overflow: hidden; position: relative; box-shadow: 0 18px 36px -30px rgba(11, 34, 25, .5); }
.p-media img { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.p-media img.cutout { object-fit: contain; padding: 10% 8% 6%; filter: drop-shadow(0 10px 8px rgba(2, 14, 9, .25)); }
.p-media img.photo { object-fit: cover; }
.product a:hover .p-media img { transform: scale(1.035); }
.p-cats { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-top: 6px; }
.product h3 { font-size: .96rem; font-weight: 700; line-height: 1.3; color: var(--head); }
.product p { font-size: .9rem; color: var(--muted); }

/* ---------- Model page ---------- */
.m-media { border-radius: 10px; overflow: hidden; }
.m-media.is-cutout { background: var(--soft); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 6%; box-shadow: 0 30px 60px -40px rgba(11, 34, 25, .5); }
.m-media.is-cutout img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(2, 14, 9, .3)); }
.m-media.is-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin: clamp(20px, 2.6vw, 34px) 0 0; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .specs { grid-template-columns: minmax(0, 1fr); } }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 500; }
.specs dd { margin: 0; text-align: right; font-weight: 600; color: var(--head); }
.specs dd.pending { color: var(--muted); font-weight: 500; font-style: italic; }
.mini-list { list-style: none; display: grid; gap: 10px; }
.mini-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--head); }
.mini-list .p-media { box-shadow: none; }
.mini-list .p-media img.cutout { padding: 6%; }
.mini-list a:hover span:last-child { color: var(--green); }

/* ---------- Solar / charging items ---------- */
.items { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(18px, 3vw, 40px); margin-top: clamp(20px, 2.6vw, 34px); }
.items-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .items-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .items, .items-3 { grid-template-columns: minmax(0, 1fr); } }
.item { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--head); padding-top: 14px; }
.item h3 { font-size: 1rem; font-weight: 700; color: var(--head); letter-spacing: -.01em; }
.item p { color: var(--muted); font-size: .94rem; }
.caps { list-style: none; border-top: 1px solid var(--line); }
.caps li { font-size: .9rem; padding: 7px 0 7px 16px; border-bottom: 1px solid var(--line); position: relative; }
.caps li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--green); }
.item-specs { margin: 0; border-top: 1px solid var(--line); }
.item-specs div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.item-specs dt { color: var(--muted); }
.item-specs dd { margin: 0; font-weight: 500; }

/* ---------- Integrated packages ---------- */
.packs { list-style: none; margin-top: clamp(20px, 2.6vw, 34px); border-top: 1px solid var(--line); }
.pack { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 12px clamp(20px, 3.5vw, 48px); padding: clamp(13px, 1.6vw, 19px) 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 960px) { .pack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pack-head { grid-column: 1 / -1; } }
@media (max-width: 600px) { .pack { grid-template-columns: minmax(0, 1fr); } }
.pack-head { display: grid; gap: 8px; }
.pack-num { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .06em; }
.pack h3 { font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 700; letter-spacing: -.015em; color: var(--head); }
.pack-body { display: grid; gap: 12px; align-content: start; justify-items: start; }
.pack-text { color: var(--muted); font-size: .94rem; }
.pack-dl { margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.pack-dl dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pack-dl dd { margin: 2px 0 0; }
.pack-dl ul { list-style: none; display: grid; gap: 2px; }
.pack-dl li::before { content: "+ "; color: var(--green); font-weight: 700; }

/* ---------- Contact ---------- */
.map-ph { margin-top: 18px; aspect-ratio: 16 / 7; border-radius: 8px; border: 1px dashed var(--line); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 13px; background: var(--soft); }
.contact-hero .page-hero.has-media { align-items: start; }

/* ---------- Request form (inside a dark card) ---------- */
.req-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 26px clamp(24px, 4.5vw, 70px); align-items: start; }
.req-grid > .sec-name { grid-column: 1 / -1; margin-bottom: -14px; }
@media (max-width: 900px) { .req-grid { grid-template-columns: minmax(0, 1fr); } }
.req-intro .intro { margin-top: 16px; }
.req-contact { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); max-width: 340px; }
.req-contact li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.req-contact a { text-decoration: none; }
form { display: grid; gap: 13px; min-width: 0; }
.req-type { border: 0; padding: 0; margin: 0; min-width: 0; }
.req-type legend { font-size: 12.5px; color: var(--muted); padding: 0; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; font-size: 13px; font-weight: 600; padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(238, 243, 240, .3); color: var(--fg); transition: background-color .25s var(--ease), color .25s var(--ease); }
.seg input:checked + span { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 13px; }
.field { display: grid; gap: 2px; min-width: 0; }
.field label { font-size: 12.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid rgba(238, 243, 240, .38); border-radius: 0; padding: 8px 0;
  transition: border-color .25s var(--ease);
}
.field select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A6C4B7' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.field select option, .field select optgroup { color: var(--ink); background: var(--paper); }
.field textarea { min-height: 64px; resize: vertical; }
.field input::placeholder { color: rgba(238, 243, 240, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--mint); }
.tone-deep :focus-visible { outline-color: var(--mint); }
.field.invalid input { border-bottom-color: #F5A08A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--mint); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--fg); }
.req-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-size: 13px; color: var(--muted); min-height: 1.4em; flex: 1 1 200px; }
.form-status.is-error { color: #F5B9A9; }
.form-status.is-ok { color: var(--mint); }

/* CTA band */
.cta-band { display: grid; gap: 14px; justify-items: start; }

/* ---------- Legal prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.05rem; font-weight: 700; color: var(--head); margin: 22px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--fg); margin-top: 8px; }
.prose mark { background: rgba(242, 165, 22, .22); color: inherit; padding: 0 3px; border-radius: 2px; }

/* ---------- 404 ---------- */
.nf-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 9rem); line-height: 1; color: var(--deep); letter-spacing: -.04em; }
.nf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
@media (max-width: 760px) { .nf-grid { grid-template-columns: minmax(0, 1fr); } }
.nf { border-top: 2px solid var(--head); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.nf h2 { font-size: 1.2rem; color: var(--head); }
.nf p { color: var(--muted); font-size: .94rem; }

/* ---------- Footer (on the still background) ---------- */
.foot-zone { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(40px, 9vh, 110px); color: var(--muted); }  /* clears the fixed ridge at the end of the page */
.foot { padding-bottom: max(26px, env(safe-area-inset-bottom, 0px)); font-size: 13px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 22px clamp(22px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand-name { color: var(--deep); font-size: 12px; }
.foot-brand p { max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 520px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-h { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin-bottom: 10px; font-family: var(--font-body); }
.foot-cols ul { list-style: none; display: grid; gap: 6px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--deep); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- WhatsApp + cookie banner ---------- */
.wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #F4F7F5; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; background: var(--night); color: #EEF3F0; border: 1px solid rgba(238, 243, 240, .16); border-radius: 8px; padding: 16px 18px; display: grid; gap: 12px; font-size: 13.5px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
.cookie a { color: var(--mint); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie button { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 4px; border: 1px solid rgba(238, 243, 240, .3); background: transparent; color: #EEF3F0; cursor: pointer; }
.cookie button[data-accept] { background: var(--paper); color: var(--deep); border-color: var(--paper); }
