
:root{
  --bg:#f8f9fa;
  --ink:#101827;
  --muted:#707a8a;
  --line:rgba(16,24,39,.08);
  --footer:#111722;
  --max:1440px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 12% 0%,rgba(229,235,242,.56),transparent 28%),
    radial-gradient(circle at 88% 6%,rgba(239,229,221,.44),transparent 26%),
    linear-gradient(180deg,#fbfcfd,#f5f6f8 64%,#f2f3f5);
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.page-shell{width:min(calc(100% - 56px),var(--max));margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(250,251,252,.82);
  border-bottom:1px solid rgba(16,24,39,.055);
  backdrop-filter:blur(18px);
}
.nav-shell{
  width:min(calc(100% - 56px),var(--max));
  min-height:72px;margin:auto;
  display:grid;grid-template-columns:1fr auto 1fr;
  align-items:center;gap:24px;
}
.brand{justify-self:start;display:flex;flex-direction:column;gap:4px;line-height:1}
.brand strong{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:.21em}
.brand span{font-size:8px;letter-spacing:.42em;color:#7c8492;font-weight:700}
.top-nav{display:flex;gap:28px;align-items:center;color:#687183;font-size:13px}
.top-nav a,.contact-trigger{
  position:relative;border:0;background:none;padding:9px 0;color:inherit;cursor:pointer
}
.top-nav a::after,.contact-trigger::after{
  content:"";position:absolute;left:0;right:100%;bottom:3px;height:1px;background:#172033;transition:right .22s ease
}
.top-nav a:hover::after,.contact-trigger:hover::after{right:0}

.language{justify-self:end;position:relative}
.lang-btn{
  min-width:82px;height:38px;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#4e586a;cursor:pointer
}
.lang-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chevron{transition:transform .25s ease}.language.open .chevron{transform:rotate(180deg)}
.lang-menu{
  position:absolute;right:0;top:46px;width:84px;display:none;padding:7px;border-radius:13px;
  background:#fff;border:1px solid var(--line);box-shadow:0 14px 36px rgba(16,24,39,.1)
}
.language.open .lang-menu{display:block}
.lang-menu button{width:100%;border:0;background:none;border-radius:8px;padding:8px 9px;text-align:left;color:#5f6878;cursor:pointer}
.lang-menu button:hover{background:#f3f5f6}

.home-hero{max-width:780px;text-align:center;padding:88px 0 68px}
.home-hero h1{
  margin:0;font-family:Manrope,sans-serif;font-size:clamp(48px,5.4vw,76px);line-height:.98;
  letter-spacing:-.055em
}
.home-hero p{max-width:680px;margin:24px auto 0;color:var(--muted);font-size:18px;line-height:1.55}

.product-grid{
  width:min(calc(100% - 56px),1120px);
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px
}
.product-card{
  position:relative;aspect-ratio:1/1.08;overflow:hidden;border-radius:23px;
  background:#fff;border:0;box-shadow:0 12px 34px rgba(16,24,39,.05)
}
.product-card img{position:absolute;right:0;top:0;width:58%;height:100%;object-fit:cover}
.product-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,var(--fade) 0%,var(--fade) 41%,rgba(255,255,255,.18) 63%,transparent 78%)
}
.product-visito{--fade:#faeee8;background:linear-gradient(145deg,#fff7f2,#f7e6df)}
.product-linkio{--fade:#edf5ff;background:linear-gradient(145deg,#f5f9ff,#e6f1fd)}
.product-copy{
  position:absolute;z-index:2;left:30px;top:34px;width:47%
}
.product-copy h2{
  margin:0;font-family:Manrope,sans-serif;font-size:clamp(34px,3vw,46px);letter-spacing:-.055em
}
.product-copy p{margin:22px 0 0;color:#5f697b;font-size:17px;line-height:1.48;font-weight:500}
.product-actions{
  position:absolute;z-index:3;left:28px;right:28px;bottom:25px;display:flex;align-items:center;justify-content:space-between
}
.product-actions button,.product-actions a{
  border:0;cursor:pointer;font-size:12px;font-weight:700
}
.product-actions button{
  padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.66);color:#3e485a;
  border:1px solid rgba(16,24,39,.07)
}
.product-actions a{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.66);color:#293345
}

.product-soon{
  --fade:transparent;display:grid;place-items:center;
  background:
    radial-gradient(circle at 72% 14%,rgba(241,229,220,.82),transparent 34%),
    radial-gradient(circle at 16% 86%,rgba(196,205,216,.42),transparent 36%),
    linear-gradient(145deg,#f1f3f5,#e2dcd8 54%,#cbb9ae)
}
.product-soon::after{display:none}
.soon-center{position:relative;z-index:2;display:flex;align-items:center;gap:10px}
.soon-center h2{margin:0;font-family:Manrope,sans-serif;font-size:clamp(28px,2.7vw,39px);letter-spacing:-.045em;color:#433c39}
.question-button{
  width:28px;height:28px;border-radius:50%;border:1px solid rgba(67,60,57,.18);background:rgba(255,255,255,.52);
  color:#665d59;cursor:pointer
}

.investor-cta{
  width:min(calc(100vw - 48px),1720px);
  margin:96px 50% 0;transform:translateX(-50%);
  padding:78px 60px 72px;border-radius:34px;text-align:center;color:#f8f5ef;
  background:radial-gradient(circle at 88% 5%,rgba(183,147,98,.15),transparent 30%),linear-gradient(160deg,#1d1b18,#181714 58%,#211e19)
}
.investor-kicker{font-size:10px;letter-spacing:.22em;color:#d5b27b;font-weight:700;margin-bottom:24px}
.investor-cta h2{
  margin:0 auto;max-width:900px;font-family:Manrope,sans-serif;font-size:clamp(38px,4.7vw,64px);
  line-height:1.04;letter-spacing:-.05em
}
.investor-cta p{margin:24px auto 0;color:#aaa198;font-size:16px}
.investor-button{
  margin-top:32px;height:54px;padding:0 24px;border:0;border-radius:999px;background:#e7c58e;color:#191713;
  display:inline-flex;align-items:center;gap:14px;font-weight:700;cursor:pointer
}

.about-main{padding-bottom:96px}
.about-hero{max-width:980px;padding:104px 0 64px}
.eyebrow{font-size:10px;letter-spacing:.28em;font-weight:700;color:#9097a3;margin-bottom:20px}
.about-hero h1{
  margin:0;font-family:Manrope,sans-serif;font-size:clamp(54px,7vw,90px);line-height:.97;letter-spacing:-.057em
}
.about-hero p{max-width:850px;margin:32px 0 0;color:#687284;font-size:20px;line-height:1.62}
.about-statement{
  padding:54px 0 74px;display:flex;flex-direction:column;gap:4px;
  font-family:Manrope,sans-serif;font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.045em
}
.about-statement span:nth-child(2){color:#888f9b}
.about-statement span:nth-child(3){color:#b0b5be}
.about-cta{
  max-width:760px;padding:34px 36px;border-radius:24px;background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:30px
}
.about-cta p{margin:0;font-size:16px;color:#606a7b}
.about-cta button{border:0;border-radius:999px;background:#182131;color:#fff;padding:13px 18px;cursor:pointer;font-weight:700}

.site-footer{
  margin-top:96px;color:#d6dae1;
  background:radial-gradient(circle at 86% 0%,rgba(121,105,96,.24),transparent 30%),linear-gradient(180deg,#171d27,#10151d)
}
.footer-shell{width:min(calc(100% - 56px),var(--max));margin:auto;padding:52px 0 28px}
.footer-main{
  display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:50px;align-items:start
}
.footer-wordmark{font-family:Manrope,sans-serif;font-size:18px;letter-spacing:.20em;font-weight:700}
.footer-brand p{margin:12px 0 0;color:#8993a2;font-size:12px}
.footer-column{display:flex;flex-direction:column;gap:10px}
.footer-label{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#697586;font-weight:700}
.footer-column strong,.footer-column a,.footer-column button{
  color:#d4d9e1;font-size:13px;font-weight:500;border:0;background:none;padding:0;text-align:left;cursor:pointer
}
.footer-legal{
  margin-top:42px;padding-top:19px;border-top:1px solid rgba(255,255,255,.08);
  display:flex;flex-wrap:wrap;gap:7px 10px;color:#707b8b;font-size:10px
}

.modal{
  position:fixed;inset:0;z-index:100;display:grid;place-items:center;opacity:0;visibility:hidden;transition:.2s ease
}
.modal.open{opacity:1;visibility:visible}
.modal-backdrop{position:absolute;inset:0;background:rgba(13,17,24,.38);backdrop-filter:blur(9px)}
.modal-card{
  position:relative;z-index:1;width:min(92vw,480px);padding:34px;border-radius:28px;
  background:radial-gradient(circle at 88% 12%,rgba(217,198,184,.28),transparent 34%),linear-gradient(180deg,#fffdf9,#f8f3ed);
  box-shadow:0 30px 90px rgba(17,24,39,.22)
}
.modal-close{
  position:absolute;top:17px;right:17px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;
  background:#fff;color:#5d6677;font-size:23px;cursor:pointer
}
.modal-kicker{font-size:10px;letter-spacing:.22em;color:#8a91a0;font-weight:700;margin-bottom:18px}
.modal-card h2{margin:0;font-family:Manrope,sans-serif;font-size:42px;line-height:1;letter-spacing:-.045em}
.modal-card p{color:#6f7889;line-height:1.58}
.contact-email{
  display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-radius:16px;
  background:#fff;border:1px solid var(--line);margin:22px 0 12px;font-size:14px
}
.contact-email button{border:0;border-radius:10px;padding:8px 10px;background:#f0ebe5;color:#5e6777;font-size:12px;font-weight:600;cursor:pointer}
.primary-action{
  min-height:48px;border-radius:15px;background:#172033;color:#fff;display:flex;align-items:center;justify-content:center;
  gap:12px;font-size:14px;font-weight:700
}
.product-modal-lead{font-size:17px;color:#3d4758!important;margin:22px 0 8px}
.product-modal-detail{font-size:14px;margin:0 0 24px}
.product-modal-link[data-hidden="true"]{display:none}
body.modal-open{overflow:hidden}

@media(max-width:900px){
  .product-grid{grid-template-columns:1fr;width:min(calc(100% - 56px),620px)}
  .product-card{aspect-ratio:1.45/1}
  .footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .page-shell,.nav-shell,.footer-shell{width:min(calc(100% - 28px),var(--max))}
  .nav-shell{grid-template-columns:1fr auto}.top-nav{display:none}
  .home-hero{padding:58px 0 48px}.home-hero h1{font-size:44px}.home-hero p{font-size:16px}
  .product-grid{width:min(calc(100% - 28px),620px)}
  .product-card{aspect-ratio:1/1}.product-copy{left:25px;top:28px}
  .investor-cta{width:calc(100vw - 24px);margin-top:64px;padding:52px 22px 48px;border-radius:26px}
  .investor-cta p{font-size:14px}
  .about-hero{padding-top:68px}.about-hero p{font-size:16px}
  .about-cta{align-items:flex-start;flex-direction:column}
  .site-footer{margin-top:70px}.footer-main{grid-template-columns:1fr;gap:30px}
}


/* ===== v2 layout refinements ===== */

/* Products now span almost as wide as investor CTA */
.product-grid{
  width:min(calc(100vw - 84px),1560px);
  max-width:none;
  gap:22px;
}

/* Light investor CTA */
.investor-cta{
  width:min(calc(100vw - 84px),1560px);
  margin-top:88px;
  padding:66px 50px 62px;
  color:#28231f;
  background:
    radial-gradient(circle at 88% 12%,rgba(219,190,148,.26),transparent 32%),
    radial-gradient(circle at 10% 85%,rgba(218,224,231,.34),transparent 30%),
    linear-gradient(150deg,#f3eadf 0%,#eee4d9 50%,#e6ddd5 100%);
  box-shadow:0 20px 54px rgba(55,45,38,.07);
  border:1px solid rgba(105,88,74,.08);
}
.investor-kicker{
  color:#9c7954;
  margin-bottom:18px;
}
.investor-cta h2{
  max-width:760px;
  font-size:clamp(38px,4.4vw,58px);
  color:#27221f;
}
.investor-cta p{
  margin-top:18px;
  color:#6f6258;
  font-size:15px;
}
.investor-button{
  margin-top:26px;
  height:52px;
  background:#1e1b19;
  color:#fff;
}
.investor-button:hover{
  background:#111;
}

/* About centered */
.about-hero-centered{
  max-width:940px;
  margin:0 auto;
  text-align:center;
}
.about-hero-centered p{
  margin-left:auto;
  margin-right:auto;
}
.about-statement{
  max-width:940px;
  margin:0 auto;
  text-align:center;
  align-items:center;
}
.about-cta{
  margin:0 auto;
}

/* Footer redesign */
.site-footer{
  margin-top:96px;
  background:
    radial-gradient(circle at 85% 10%,rgba(170,144,122,.12),transparent 28%),
    linear-gradient(180deg,#1a202a 0%,#111720 100%);
}
.footer-shell{
  padding:54px 0 30px;
}
.footer-main{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:60px;
  align-items:end;
}
.footer-brand{
  max-width:520px;
}
.footer-wordmark{
  font-size:20px;
  letter-spacing:.22em;
}
.footer-brand p{
  margin-top:14px;
  max-width:380px;
  font-size:13px;
  line-height:1.6;
  color:#8f99a8;
}
.footer-main::after{
  content:"Latvia · Baltics";
  justify-self:end;
  align-self:end;
  font-family:Manrope,sans-serif;
  font-size:clamp(28px,3.2vw,44px);
  line-height:1;
  letter-spacing:-.04em;
  color:#d8dde5;
}
.footer-column{
  display:none;
}
.footer-legal{
  margin-top:44px;
  padding-top:20px;
  justify-content:space-between;
  gap:10px 16px;
  font-size:10px;
  color:#737f90;
}
.footer-legal span:nth-child(2),
.footer-legal span:nth-child(4){
  display:none;
}

@media(max-width:900px){
  .product-grid{
    width:min(calc(100% - 56px),620px);
  }
  .investor-cta{
    width:calc(100vw - 40px);
  }
  .footer-main{
    grid-template-columns:1fr;
    gap:34px;
  }
  .footer-main::after{
    justify-self:start;
  }
}
@media(max-width:650px){
  .product-grid{
    width:min(calc(100% - 28px),620px);
  }
  .investor-cta{
    width:calc(100vw - 24px);
    padding:48px 22px 44px;
  }
  .about-hero-centered{
    text-align:left;
  }
  .about-statement{
    text-align:left;
    align-items:flex-start;
  }
  .footer-legal{
    flex-direction:column;
  }
}


/* ===== v3 refinements ===== */

/* Product cards: shorter, wider, closer to approved reference */
.product-grid{
  width:min(calc(100vw - 84px),1560px);
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.product-card{
  aspect-ratio:1.26 / 1;
  border-radius:22px;
}
.product-card img{
  width:56%;
}
.product-copy{
  left:30px;
  top:30px;
}
.product-copy h2{
  font-size:clamp(32px,2.6vw,43px);
}
.product-copy p{
  font-size:16px;
}
.product-actions{
  bottom:22px;
}

/* CTA: no border, no beige block */
.investor-cta{
  width:min(calc(100vw - 84px),1560px);
  margin-top:88px;
  padding:72px 52px 68px;
  border:0;
  box-shadow:none;
  color:#17191f;
  background:
    radial-gradient(circle at 20% 20%,rgba(210,220,232,.48),transparent 30%),
    radial-gradient(circle at 82% 18%,rgba(226,214,207,.50),transparent 32%),
    linear-gradient(180deg,#eef1f4 0%,#e8ebef 100%);
}
.investor-kicker{
  color:#7e8795;
}
.investor-cta h2{
  color:#17191f;
}
.investor-cta p{
  color:#687180;
}
.investor-button{
  background:#17191f;
  color:#fff;
}
.investor-button:hover{
  background:#090b0f;
}

/* Strong but simple footer */
.site-footer{
  margin-top:92px;
  color:#d9dee6;
  background:
    radial-gradient(circle at 90% 0%,rgba(117,103,95,.12),transparent 26%),
    linear-gradient(180deg,#171c24 0%,#10151c 100%);
}
.footer-shell{
  width:min(calc(100% - 56px),var(--max));
  margin:0 auto;
  padding:46px 0 26px;
}
.footer-strong{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
}
.footer-left{
  max-width:520px;
}
.footer-wordmark{
  font-family:Manrope,sans-serif;
  font-size:19px;
  letter-spacing:.22em;
  font-weight:700;
}
.footer-left p{
  margin:12px 0 0;
  color:#8e98a7;
  font-size:13px;
  line-height:1.5;
}
.footer-right{
  display:flex;
  gap:24px;
  align-items:center;
}
.footer-right a,
.footer-right button{
  border:0;
  background:none;
  padding:0;
  color:#c8ced8;
  font-size:13px;
  cursor:pointer;
}
.footer-right a:hover,
.footer-right button:hover{
  color:#fff;
}
.footer-legal{
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.07);
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  color:#6f7a89;
  font-size:10px;
}
.footer-legal span{
  display:inline!important;
}

@media(max-width:900px){
  .product-grid{
    width:min(calc(100% - 56px),680px);
    grid-template-columns:1fr;
  }
  .product-card{
    aspect-ratio:1.45 / 1;
  }
}
@media(max-width:650px){
  .product-grid{
    width:min(calc(100% - 28px),680px);
  }
  .product-card{
    aspect-ratio:1 / 1;
  }
  .investor-cta{
    width:calc(100vw - 24px);
    padding:50px 22px 46px;
  }
  .footer-strong{
    align-items:flex-start;
    flex-direction:column;
  }
  .footer-right{
    gap:20px;
  }
}


/* ===== About v5 ===== */
.about-hero-centered{
  padding-top:96px;
  padding-bottom:46px;
}
.about-hero-centered h1{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.about-hero-centered p{
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
  font-size:19px;
  line-height:1.62;
}

.about-manifesto-strong{
  max-width:980px;
  margin:0 auto;
  padding:54px 0 70px;
  text-align:center;
}
.about-manifesto-strong p{
  margin:0;
  font-family:Manrope,sans-serif;
  font-size:clamp(36px,5vw,62px);
  line-height:1.06;
  letter-spacing:-.045em;
}
.about-manifesto-strong p + p{
  margin-top:6px;
}
.about-manifesto-strong .muted{
  color:#9aa1ac;
}

.about-cta-strong{
  max-width:980px;
  margin:0 auto 10px;
  padding:28px 30px;
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 20%,rgba(218,205,194,.28),transparent 34%),
    linear-gradient(145deg,#ffffff,#f4f6f8);
  border:0;
  box-shadow:0 14px 36px rgba(16,24,39,.05);
}
.about-cta-label{
  display:block;
  margin-bottom:8px;
  font-size:10px;
  letter-spacing:.20em;
  font-weight:700;
  color:#8b93a1;
}
.about-cta-strong p{
  margin:0;
  font-family:Manrope,sans-serif;
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.02em;
  color:#2b3443;
}
.about-cta-strong button{
  flex:0 0 auto;
  padding:14px 20px;
}

@media(max-width:650px){
  .about-hero-centered{
    text-align:left;
    padding-top:62px;
  }
  .about-manifesto-strong{
    text-align:left;
    padding-top:42px;
  }
  .about-cta-strong{
    align-items:flex-start;
  }
}

.product-soon{
  border:0;
  box-shadow:0 12px 34px rgba(16,24,39,.045);
}


/* v7 final polish */
.product-card{
  border:0 !important;
  box-shadow:0 14px 36px rgba(16,24,39,.065);
}
.product-card:hover{
  box-shadow:0 20px 46px rgba(16,24,39,.09);
}



/* v8 action visibility */
.product-actions a,
.product-actions .round-action{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:0;
  background:#172033;
  color:#fff;
  font-size:20px;
  font-weight:700;
  line-height:1;
  box-shadow:0 8px 20px rgba(16,24,39,.16);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.product-actions a:hover,
.product-actions .round-action:hover{
  transform:translateY(-2px);
  background:#0b1220;
  box-shadow:0 12px 26px rgba(16,24,39,.22);
}

.product-actions button:not(.round-action){
  background:rgba(255,255,255,.88);
  color:#334155;
  border:1px solid rgba(16,24,39,.08);
  box-shadow:0 6px 16px rgba(16,24,39,.06);
}


/* ===== v9 footer redesign ===== */
.site-footer{
  margin-top:96px;
  color:#172033;
  background:
    radial-gradient(circle at 82% 10%, rgba(210,220,232,.62), transparent 30%),
    radial-gradient(circle at 16% 80%, rgba(236,225,217,.58), transparent 34%),
    linear-gradient(180deg,#eef1f4 0%,#e8ebef 100%);
}

.footer-shell{
  width:min(calc(100% - 56px),var(--max));
  margin:0 auto;
  padding:58px 0 26px;
}

.footer-hero{
  min-height:180px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:50px;
}

.footer-copy{
  max-width:780px;
}

.footer-wordmark{
  font-family:Manrope,sans-serif;
  font-size:clamp(34px,4.6vw,66px);
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:800;
  color:#121a28;
}

.footer-copy p{
  margin:18px 0 0;
  font-size:15px;
  color:#6f7888;
}

.footer-actions{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:4px;
}

.footer-actions a,
.footer-actions button{
  min-width:108px;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  border:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.72);
  color:#303a4c;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(16,24,39,.05);
  transition:transform .2s ease, background .2s ease;
}

.footer-actions a:hover,
.footer-actions button:hover{
  transform:translateY(-2px);
  background:#fff;
}

.footer-legal{
  margin-top:38px;
  padding-top:18px;
  border-top:1px solid rgba(16,24,39,.07);
  display:flex;
  flex-wrap:wrap;
  gap:7px 10px;
  color:#8b93a0;
  font-size:10px;
  line-height:1.5;
}

@media(max-width:650px){
  .site-footer{
    margin-top:70px;
  }
  .footer-shell{
    width:min(calc(100% - 28px),var(--max));
    padding:42px 0 24px;
  }
  .footer-hero{
    min-height:0;
    align-items:flex-start;
    flex-direction:column;
    gap:28px;
  }
  .footer-actions{
    width:100%;
  }
  .footer-actions a,
  .footer-actions button{
    flex:1;
  }
  .footer-legal{
    margin-top:30px;
  }
}


/* ===== v10 ultra-minimal footer ===== */
.site-footer{
  margin-top:88px;
  background:transparent;
  color:#172033;
}

.footer-shell{
  width:min(calc(100% - 56px),1560px);
  margin:0 auto;
  padding:34px 0 24px;
  position:relative;
}

.footer-shell::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(16,24,39,.12) 18%,rgba(16,24,39,.12) 82%,transparent);
}

.footer-mainline{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.footer-identity{
  display:flex;
  align-items:baseline;
  gap:24px;
  min-width:0;
}

.footer-wordmark{
  flex:0 0 auto;
  font-family:Manrope,sans-serif;
  font-size:18px;
  letter-spacing:.20em;
  font-weight:800;
  color:#121a28;
}

.footer-identity p{
  margin:0;
  color:#8a92a0;
  font-size:12px;
  white-space:nowrap;
}

.footer-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-actions a{
  height:42px;
  padding:0 14px;
  display:flex;
  align-items:center;
  color:#657082;
  font-size:13px;
  font-weight:600;
}

.footer-actions a:hover{
  color:#172033;
}

.footer-contact{
  height:42px;
  padding:0 18px;
  border:0;
  border-radius:999px;
  background:#172033;
  color:#fff;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(16,24,39,.12);
  transition:transform .2s ease, background .2s ease;
}

.footer-contact:hover{
  transform:translateY(-1px);
  background:#0c1320;
}

.footer-legal{
  margin-top:0;
  padding-top:14px;
  border-top:1px solid rgba(16,24,39,.055);
  display:flex;
  flex-wrap:wrap;
  gap:6px 9px;
  color:#a0a6b0;
  font-size:9px;
  line-height:1.5;
}

@media(max-width:760px){
  .footer-shell{
    width:min(calc(100% - 28px),1560px);
    padding-top:28px;
  }
  .footer-mainline{
    align-items:flex-start;
    flex-direction:column;
    gap:22px;
  }
  .footer-identity{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .footer-identity p{
    white-space:normal;
  }
  .footer-actions{
    width:100%;
  }
  .footer-contact{
    margin-left:auto;
  }
}


/* Pavlov Group wordmark asset */
.brand-logo{
  display:flex;
  align-items:center;
  justify-self:start;
  line-height:1;
}
.brand-logo img{
  display:block;
  width:150px;
  height:auto;
  object-fit:contain;
}

.footer-logo{
  display:block;
  width:220px;
  height:auto;
  object-fit:contain;
  margin:0;
}

@media(max-width:650px){
  .brand-logo img{width:126px}
  .footer-logo{width:190px}
}


/* ===== Logo correction + footer v11 ===== */
.brand-logo img{
  width:132px !important;
  height:auto;
}

.footer-v11{
  margin-top:88px;
  background:
    radial-gradient(circle at 88% 12%, rgba(138,116,102,.13), transparent 28%),
    linear-gradient(180deg,#181d25 0%,#11161e 100%);
  color:#e3e7ed;
}

.footer-v11-shell{
  width:min(calc(100% - 56px),1560px);
  margin:0 auto;
  padding:38px 0 24px;
}

.footer-v11-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:42px;
  min-height:96px;
}

.footer-v11-brand{
  display:flex;
  align-items:center;
  gap:28px;
}

.footer-v11-brand img{
  width:142px;
  height:auto;
  filter:invert(1);
  opacity:.96;
  flex:0 0 auto;
}

.footer-v11-brand p{
  margin:0;
  max-width:310px;
  color:#8f99a8;
  font-size:12px;
  line-height:1.55;
}

.footer-v11-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-v11-actions a,
.footer-v11-actions button{
  height:42px;
  padding:0 17px;
  border-radius:999px;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
}

.footer-v11-actions a{
  display:flex;
  align-items:center;
  color:#aeb6c2;
}

.footer-v11-actions a:hover{
  color:#fff;
}

.footer-v11-actions button{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.08);
  color:#f6f7f9;
}

.footer-v11-actions button:hover{
  background:rgba(255,255,255,.13);
}

.footer-v11-legal{
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.065);
  display:flex;
  flex-wrap:wrap;
  gap:7px 10px;
  color:#687485;
  font-size:9px;
  line-height:1.5;
}

@media(max-width:700px){
  .brand-logo img{
    width:114px !important;
  }

  .footer-v11-shell{
    width:min(calc(100% - 28px),1560px);
  }

  .footer-v11-main{
    align-items:flex-start;
    flex-direction:column;
    gap:26px;
  }

  .footer-v11-brand{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }

  .footer-v11-brand img{
    width:132px;
  }
}


/* ===== Header v12 ===== */
.header-v12{
  background:
    linear-gradient(180deg, rgba(251,252,253,.96), rgba(247,249,251,.90));
  border-bottom:1px solid rgba(16,24,39,.055);
  box-shadow:0 6px 22px rgba(16,24,39,.025);
}

.nav-v12{
  min-height:64px;
  grid-template-columns:1fr auto 1fr;
  gap:22px;
}

.brand-logo img{
  width:122px !important;
}

.nav-center-shell{
  justify-self:center;
  padding:4px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(16,24,39,.06);
  box-shadow:0 6px 16px rgba(16,24,39,.035);
}

.top-nav-v12{
  gap:12px;
  padding:0 8px;
}

.top-nav-v12 a,
.top-nav-v12 .contact-trigger{
  min-height:32px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  color:#626d7f;
  font-size:12px;
  font-weight:600;
  transition:background .18s ease,color .18s ease;
}

.top-nav-v12 a::after,
.top-nav-v12 .contact-trigger::after{
  display:none;
}

.top-nav-v12 a:hover,
.top-nav-v12 .contact-trigger:hover{
  background:#f1f4f7;
  color:#172033;
}

.nav-dot{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#b7bec8;
}

.language-v12{
  justify-self:end;
}

.lang-btn-v12{
  min-width:58px;
  height:34px;
  padding:0 10px 0 12px;
  gap:5px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(16,24,39,.07);
  color:#566174;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  box-shadow:0 5px 14px rgba(16,24,39,.03);
}

.lang-btn-v12 svg{
  width:13px;
  height:13px;
}

.language-v12 .lang-menu{
  top:40px;
  width:66px;
  padding:5px;
}

.language-v12 .lang-menu button{
  padding:7px 8px;
  font-size:11px;
  text-align:center;
}

@media(max-width:650px){
  .nav-v12{
    grid-template-columns:1fr auto;
    min-height:60px;
  }
  .nav-center-shell{
    display:none;
  }
  .brand-logo img{
    width:112px !important;
  }
}


/* Hard guard against logo blow-up on hosting */
.brand-logo{
  width:132px !important;
  max-width:132px !important;
  min-width:132px !important;
  overflow:hidden;
}
.brand-logo img{
  display:block !important;
  width:132px !important;
  max-width:132px !important;
  height:auto !important;
  object-fit:contain !important;
}
@media(max-width:650px){
  .brand-logo,
  .brand-logo img{
    width:112px !important;
    max-width:112px !important;
    min-width:112px !important;
  }
}


/* v13 hard logo sizing */
.header-v12 .brand-logo {
  display:flex !important;
  align-items:center !important;
  width:124px !important;
  max-width:124px !important;
  min-width:124px !important;
  height:auto !important;
  overflow:visible !important;
  flex:0 0 124px !important;
}

.header-v12 .brand-logo > img {
  display:block !important;
  width:124px !important;
  max-width:124px !important;
  min-width:124px !important;
  height:30px !important;
  max-height:30px !important;
  object-fit:contain !important;
  object-position:left center !important;
}

@media(max-width:650px){
  .header-v12 .brand-logo,
  .header-v12 .brand-logo > img {
    width:108px !important;
    max-width:108px !important;
    min-width:108px !important;
  }
  .header-v12 .brand-logo > img {
    height:auto !important;
    max-height:48px !important;
  }
}


/* language links inside dropdown */
.language-v12 .lang-menu a{
  display:block;
  padding:7px 8px;
  border-radius:8px;
  color:#5f6878;
  font-size:11px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
}
.language-v12 .lang-menu a:hover{
  background:#f3f5f6;
}


/* ===== Final Pavlov Group logo sizing ===== */
.header-v12 .brand-logo {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  flex: 0 0 150px !important;
}

.header-v12 .brand-logo > img {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

.footer-v11-brand img {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 650px) {
  .header-v12 .brand-logo,
  .header-v12 .brand-logo > img,
  .footer-v11-brand img {
    width: 128px !important;
    max-width: 128px !important;
    min-width: 128px !important;
  }
}


/* ===== Header balance v23 ===== */
.header-v12 .nav-v12 {
  min-height: 74px !important;
}

.header-v12 .brand-logo {
  width: 136px !important;
  max-width: 136px !important;
  min-width: 136px !important;
  flex: 0 0 136px !important;
}

.header-v12 .brand-logo > img {
  width: 136px !important;
  max-width: 136px !important;
  min-width: 136px !important;
  height: auto !important;
  max-height: 55px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.header-v12 .nav-center-shell {
  padding: 5px !important;
}

.header-v12 .top-nav-v12 a,
.header-v12 .top-nav-v12 .contact-trigger {
  min-height: 34px !important;
  padding: 0 12px !important;
  font-size: 12.5px !important;
}

.header-v12 .lang-btn-v12 {
  min-width: 62px !important;
  height: 36px !important;
  padding: 0 11px 0 13px !important;
  font-size: 11.5px !important;
}

/* Footer can carry a slightly larger logo */
.footer-v11-brand img {
  width: 148px !important;
  max-width: 148px !important;
  min-width: 148px !important;
  height: auto !important;
  max-height: none !important;
}

@media (max-width: 650px) {
  .header-v12 .nav-v12 {
    min-height: 64px !important;
  }

  .header-v12 .brand-logo,
  .header-v12 .brand-logo > img {
    width: 118px !important;
    max-width: 118px !important;
    min-width: 118px !important;
  }

  .header-v12 .brand-logo > img {
    max-height: 48px !important;
  }

  .footer-v11-brand img {
    width: 128px !important;
    max-width: 128px !important;
    min-width: 128px !important;
  }
}
