/* ============================================================
   IDEAL CAKE — Design System
   Palette (strict): primary #0B5BB5 · navy #1B2E6B · sky #3FA9F5
                     cream #FAF7F2 · ink #111827
   Type: Fredoka (display, rounded) + Inter (body)
         Comfortaa as Cyrillic-capable rounded fallback for Fredoka
   ============================================================ */

:root{
  --blue:      #0B5BB5;
  --navy:      #1B2E6B;
  --sky:       #3FA9F5;
  --cream:     #FAF7F2;
  --ink:       #111827;
  --white:     #ffffff;

  --font-display: "Fredoka", "Comfortaa", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  --radius-card: 28px;
  --radius-pill: 999px;

  --shadow-soft:  0 8px 30px rgba(27, 46, 107, .10);
  --shadow-lift:  0 18px 44px rgba(27, 46, 107, .16);

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

  --container: 1160px;
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:clip; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.12; margin:0; }
p{ margin:0; }
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:24px; }

:focus-visible{ outline:3px solid var(--sky); outline-offset:3px; border-radius:6px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--white);
  transition:box-shadow .3s var(--ease-spring);
}
.site-header.is-scrolled{ box-shadow:0 6px 24px rgba(27,46,107,.10); }

.header-inner{
  height:var(--header-h);
  display:flex; align-items:center; gap:28px;
}
.brand{
  display:flex; align-items:center; gap:12px; flex-shrink:0;
}
.brand img{
  width:48px; height:48px; object-fit:contain; border-radius:12px;
}
.brand-name{
  font-family:var(--font-display);
  font-weight:700; font-size:1.25rem; letter-spacing:.02em;
  color:var(--navy); white-space:nowrap;
}

.main-nav{ margin-inline:auto; }
.main-nav ul{
  display:flex; gap:6px; list-style:none; margin:0; padding:0;
}
.main-nav a{
  display:inline-block; padding:10px 16px;
  font-weight:600; font-size:.95rem; color:var(--ink);
  border-radius:var(--radius-pill);
  transition:background .25s var(--ease-spring), color .25s var(--ease-spring);
}
.main-nav a:hover{ background:rgba(63,169,245,.14); color:var(--blue); }
.main-nav a[aria-current="page"]{ background:var(--blue); color:var(--white); }

.header-actions{ display:flex; align-items:center; gap:14px; flex-shrink:0; }

/* Language switcher (segmented pill) */
.lang-switch{
  display:flex; background:var(--cream);
  border-radius:var(--radius-pill); padding:4px; gap:2px;
}
.lang-switch button{
  border:0; cursor:pointer; background:transparent;
  font:600 .82rem/1 var(--font-body); color:var(--navy);
  padding:8px 12px; border-radius:var(--radius-pill);
  transition:background .25s var(--ease-spring), color .25s var(--ease-spring);
}
.lang-switch button:hover{ background:rgba(63,169,245,.18); }
.lang-switch button[aria-pressed="true"]{ background:var(--blue); color:#fff; }

/* Pill buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:var(--radius-pill);
  padding:15px 30px;
  font:600 1rem/1 var(--font-body);
  cursor:pointer; border:2px solid transparent;
  transition:transform .3s var(--ease-spring), box-shadow .3s var(--ease-spring),
             background .3s var(--ease-spring), color .3s var(--ease-spring);
}
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-soft); }
.btn:active{ transform:translateY(0); }

.btn--primary{ background:var(--blue); color:#fff; }
.btn--primary:hover{ background:#0a51a2; }
.btn--outline{ background:transparent; color:var(--blue); border-color:var(--blue); }
.btn--outline:hover{ background:rgba(11,91,181,.07); }
.btn--sm{ padding:11px 22px; font-size:.9rem; }

/* Flip-label hover: text slides up, duplicate rises from below */
.btn-flip{
  position:relative; display:inline-block; overflow:hidden;
}
.btn-flip > i{
  display:block; font-style:normal;
  transition:transform .4s var(--ease-spring);
}
.btn-flip::after{
  content:attr(data-text);
  position:absolute; inset:0; top:100%;
  transition:transform .4s var(--ease-spring);
}
.btn:hover .btn-flip > i,
.btn:hover .btn-flip::after{ transform:translateY(-100%); }

/* Hamburger */
.nav-toggle{
  display:none; border:0; background:transparent; cursor:pointer;
  width:44px; height:44px; border-radius:12px; padding:10px;
}
.nav-toggle span{
  display:block; height:3px; border-radius:3px; background:var(--navy);
  margin:4px 0; transition:transform .3s var(--ease-spring), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:72px 0 96px;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:48px; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(63,169,245,.16); color:var(--blue);
  font:600 .85rem/1 var(--font-body);
  padding:9px 16px; border-radius:var(--radius-pill);
  margin-bottom:22px;
}
.hero-eyebrow::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background:var(--sky);
}
.hero h1{
  font-size:clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight:700; color:var(--navy);
  letter-spacing:-.01em;
  margin-bottom:22px;
}
.hero h1 .accent{ color:var(--blue); }
.hero-lead{
  font-size:1.1rem; color:#3d4557; max-width:34rem;
  margin-bottom:34px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }

/* Hero visual */
.hero-visual{ position:relative; }
.hero-blob{
  position:absolute; inset:-8% -6% auto auto;
  width:120%; height:118%; z-index:0;
  background:radial-gradient(ellipse at 60% 40%, rgba(63,169,245,.28), rgba(11,91,181,.10) 55%, transparent 75%);
  border-radius:50%;
  filter:blur(2px);
}
.hero-photo{
  position:relative; z-index:1;
  border-radius:var(--radius-card);
  background:var(--white);
  box-shadow:var(--shadow-lift);
  overflow:hidden;
  animation:heroFloat 6s ease-in-out infinite;
}
.hero-photo img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
}
.hero-badge{
  position:absolute; z-index:2; left:-18px; bottom:26px;
  background:var(--navy); color:#fff;
  font:600 .85rem/1.35 var(--font-body);
  padding:14px 20px; border-radius:18px;
  box-shadow:var(--shadow-soft);
  animation:heroFloat 6s ease-in-out infinite reverse;
}
.hero-badge strong{
  display:block; font-family:var(--font-display);
  font-size:1.3rem; font-weight:700; color:var(--sky);
}
@keyframes heroFloat{
  0%,100%{ transform:translateY(0); }
  50%    { transform:translateY(-12px); }
}

/* ============================================================
   MARQUEE RIBBON
   ============================================================ */
.marquee-band{
  background:var(--blue);
  transform:rotate(-1.2deg) scale(1.02);
  margin:8px 0 -8px;
  overflow:hidden;
}
.marquee{
  display:flex; white-space:nowrap; width:max-content;
  animation:marquee 26s linear infinite;
}
.marquee-band:hover .marquee{ animation-play-state:paused; }
.marquee-group{
  display:flex; align-items:center;
  padding:18px 0;
}
.marquee-group span{
  font-family:var(--font-display);
  font-weight:700; font-size:1.45rem; letter-spacing:.06em;
  color:#fff; text-transform:uppercase;
  padding-right:.6em;
}
@keyframes marquee{
  from{ transform:translateX(0); }
  to  { transform:translateX(-50%); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background:var(--navy); color:#fff;
  margin-top:96px;
  padding:64px 0 28px;
}
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1.2fr;
  gap:44px; margin-bottom:44px;
}
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ width:52px; height:52px; object-fit:contain; border-radius:12px; background:#fff; padding:4px; }
.footer-brand span{
  font-family:var(--font-display); font-weight:700; font-size:1.2rem;
}
.footer-slogan{ color:rgba(255,255,255,.78); max-width:26rem; }
.footer-title{
  font-family:var(--font-display); font-weight:600; font-size:1.05rem;
  color:var(--sky); margin-bottom:16px;
}
.footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-links a{
  color:rgba(255,255,255,.85); transition:color .25s;
}
.footer-links a:hover{ color:var(--sky); }
.footer-contact{ display:grid; gap:12px; font-size:.95rem; color:rgba(255,255,255,.85); }
.footer-contact a:hover{ color:var(--sky); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:24px; text-align:center;
  color:rgba(255,255,255,.6); font-size:.88rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .7s var(--ease-spring), transform .7s var(--ease-spring);
}
.reveal.in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.12s; }
.reveal[data-delay="2"]{ transition-delay:.24s; }
.reveal[data-delay="3"]{ transition-delay:.36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px){
  .main-nav{
    position:fixed; inset:var(--header-h) 0 auto 0;
    background:var(--white);
    box-shadow:0 20px 40px rgba(27,46,107,.14);
    padding:12px 24px 24px;
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:transform .35s var(--ease-spring), opacity .3s;
  }
  .main-nav.open{ transform:none; opacity:1; pointer-events:auto; }
  .main-nav ul{ flex-direction:column; gap:4px; }
  .main-nav a{ display:block; padding:14px 16px; font-size:1.05rem; }
  .nav-toggle{ display:block; }
  .header-cta{ display:none; }
}

@media (max-width: 860px){
  .hero{ padding:48px 0 72px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-lead{ max-width:none; }
  .hero-visual{ max-width:520px; margin-inline:auto; width:100%; }
  .hero-badge{ left:12px; }
  .footer-grid{ grid-template-columns:1fr; gap:36px; }
}

@media (max-width: 480px){
  .brand-name{ font-size:1.05rem; }
  .brand img{ width:40px; height:40px; }
  .lang-switch button{ padding:8px 9px; }
  .hero h1{ font-size:2.35rem; }
  .btn{ width:100%; }
  .hero-actions{ flex-direction:column; }
  .marquee-group span{ font-size:1.1rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .marquee{ animation:none; }
  .hero-photo, .hero-badge{ animation:none; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .btn-flip > i, .btn-flip::after{ transition:none; }
  *{ transition-duration:.01ms !important; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section{ padding:88px 0 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:40px;
}
.section-eyebrow{
  display:inline-block;
  font:600 .82rem/1 var(--font-body); letter-spacing:.12em; text-transform:uppercase;
  color:var(--blue); margin-bottom:12px;
}
.section-title{
  font-size:clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight:700; color:var(--navy); letter-spacing:-.01em;
}

/* ============================================================
   STATS — animated counters
   ============================================================ */
.stats-card{
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  padding:48px 40px;
  display:grid; grid-template-columns:repeat(5, 1fr);
  gap:32px 20px;
}
.stat{ text-align:center; }
.stat-num{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.1rem, 3.4vw, 2.9rem);
  color:var(--blue);
  line-height:1.05;
  display:block;
  font-variant-numeric:tabular-nums;
}
.stat-label{
  display:block; margin-top:8px;
  font-size:.9rem; font-weight:500; color:#3d4557;
}

/* ============================================================
   PRODUCT CAROUSEL
   ============================================================ */
.carousel-nav{ display:flex; gap:10px; flex-shrink:0; }
.carousel-btn{
  width:48px; height:48px; border-radius:50%;
  border:2px solid var(--blue); background:var(--white);
  color:var(--blue); cursor:pointer;
  display:grid; place-items:center;
  transition:background .25s var(--ease-spring), color .25s var(--ease-spring),
             opacity .25s, transform .25s var(--ease-spring);
}
.carousel-btn svg{ width:20px; height:20px; }
.carousel-btn:hover{ background:var(--blue); color:#fff; transform:translateY(-2px); }
.carousel-btn:disabled{ opacity:.3; pointer-events:none; }

.carousel-track{
  display:flex; gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:6px 6px 26px;
  margin:-6px -6px 0;
  scrollbar-width:none;
}
.carousel-track::-webkit-scrollbar{ display:none; }

.product-card{
  flex:0 0 292px;
  scroll-snap-align:start;
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .35s var(--ease-spring), box-shadow .35s var(--ease-spring);
}
.product-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lift); }
.product-card figure{
  margin:0; background:var(--white); padding:14px 14px 0;
}
.product-card img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:18px;
}
.product-card-body{
  padding:18px 22px 24px;
  display:flex; flex-direction:column; gap:8px; flex:1;
}
.product-card h3{
  font-size:1.2rem; font-weight:600; color:var(--navy);
}
.product-card p{
  font-size:.9rem; color:#3d4557; flex:1;
}
.product-card .btn{ align-self:flex-start; margin-top:10px; }

/* ============================================================
   WHY IDEAL CAKE — 4 cards
   ============================================================ */
.why-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
}
.why-card{
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  padding:32px 26px;
  transition:transform .35s var(--ease-spring), box-shadow .35s var(--ease-spring);
}
.why-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lift); }
.why-icon{
  width:60px; height:60px; border-radius:18px;
  background:rgba(63,169,245,.15);
  display:grid; place-items:center;
  margin-bottom:18px;
}
.why-icon svg{ width:30px; height:30px; stroke:var(--blue); }
.why-card h3{
  font-size:1.15rem; font-weight:600; color:var(--navy);
  margin-bottom:10px;
}
.why-card p{ font-size:.92rem; color:#3d4557; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner{
  margin-top:96px;
  background:linear-gradient(115deg, var(--blue), #0a4fa0 60%, var(--navy));
  color:#fff;
  position:relative; overflow:hidden;
  padding:84px 0;
  text-align:center;
}
.cta-banner::before,
.cta-banner::after{
  content:""; position:absolute; border-radius:50%;
  background:rgba(255,255,255,.08);
  pointer-events:none;
}
.cta-banner::before{ width:420px; height:420px; top:-180px; left:-140px; }
.cta-banner::after{ width:560px; height:560px; bottom:-300px; right:-160px; }
.cta-circle{
  position:absolute; border-radius:50%;
  border:2px solid rgba(255,255,255,.14);
  pointer-events:none;
}
.cta-circle--1{ width:220px; height:220px; top:18%; right:12%; }
.cta-circle--2{ width:120px; height:120px; bottom:14%; left:14%; }
.cta-banner .container{ position:relative; z-index:1; }
.cta-banner h2{
  font-size:clamp(2rem, 4.2vw, 3.1rem);
  font-weight:700; color:#fff; margin-bottom:16px;
}
.cta-banner p{
  font-size:1.08rem; color:rgba(255,255,255,.85);
  max-width:38rem; margin:0 auto 34px;
}
.btn--white{ background:var(--white); color:var(--blue); }
.btn--white:hover{ background:var(--cream); }

/* CTA banner sits flush against footer */
.cta-banner + * , .site-footer.after-cta{ margin-top:0; }

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 1023px){
  .stats-card{ grid-template-columns:repeat(3, 1fr); }
  .why-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .section{ padding-top:64px; }
  .stats-card{ grid-template-columns:repeat(2, 1fr); padding:36px 24px; }
  .stats-card .stat:last-child{ grid-column:1 / -1; }
  .why-grid{ grid-template-columns:1fr; }
  .product-card{ flex-basis:82%; }
  .section-head{ flex-wrap:wrap; }
  .cta-banner{ padding:64px 0; }
}

/* Utility */
.visually-hidden{
  position:absolute; width:1px; height:1px;
  clip-path:inset(50%); overflow:hidden; white-space:nowrap;
}
.site-footer.after-cta{ margin-top:0; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.page-hero{
  padding:64px 0 8px;
  text-align:center;
}
.page-hero .section-eyebrow{ margin-bottom:14px; }
.page-hero h1{
  font-size:clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight:700; color:var(--navy);
  margin-bottom:14px;
}
.page-hero p{
  font-size:1.08rem; color:#3d4557;
  max-width:38rem; margin:0 auto;
}

/* Filter pills */
.filter-bar{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px;
  margin:36px 0 44px;
}
.filter-pill{
  border:2px solid rgba(11,91,181,.25); background:var(--white);
  color:var(--blue); cursor:pointer;
  font:600 .95rem/1 var(--font-body);
  padding:12px 24px; border-radius:var(--radius-pill);
  transition:background .25s var(--ease-spring), color .25s var(--ease-spring),
             border-color .25s var(--ease-spring), transform .25s var(--ease-spring);
}
.filter-pill:hover{ border-color:var(--blue); transform:translateY(-2px); }
.filter-pill[aria-pressed="true"]{
  background:var(--blue); border-color:var(--blue); color:#fff;
}

/* Grid */
.products-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
  transition:opacity .22s ease, transform .22s ease;
}
.products-grid.is-fading{ opacity:0; transform:translateY(10px); }
.products-grid .product-card{ flex:none; }
.products-grid .product-card p{ font-weight:600; color:var(--blue); font-size:.88rem; }

/* Small CTA strip */
.mini-cta{
  margin-top:80px;
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  padding:40px 44px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.mini-cta h2{
  font-size:clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight:600; color:var(--navy);
}

/* ============================================================
   B2B SPEC MODAL
   ============================================================ */
.modal-open{ overflow:hidden; }
.spec-modal{
  position:fixed; inset:0; z-index:100;
  display:none;
  align-items:center; justify-content:center;
  padding:24px;
}
.spec-modal.open{ display:flex; }
.spec-backdrop{
  position:absolute; inset:0;
  background:rgba(27,46,107,.55);
  backdrop-filter:blur(3px);
  animation:fadeIn .25s ease;
}
.spec-dialog{
  position:relative; z-index:1;
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:0 30px 80px rgba(17,24,39,.35);
  width:100%; max-width:560px;
  max-height:calc(100vh - 48px);
  overflow:auto;
  animation:modalUp .35s var(--ease-spring);
}
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }
@keyframes modalUp{ from{ opacity:0; transform:translateY(28px) scale(.97);} to{ opacity:1; transform:none;} }

.spec-head{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:26px 28px 0;
}
.spec-head h2{
  font-size:1.5rem; font-weight:700; color:var(--navy);
}
.spec-close{
  flex-shrink:0; width:42px; height:42px; border-radius:50%;
  border:0; cursor:pointer;
  background:var(--cream); color:var(--navy);
  display:grid; place-items:center;
  transition:background .25s, transform .25s var(--ease-spring);
}
.spec-close:hover{ background:#efe9df; transform:rotate(90deg); }
.spec-close svg{ width:18px; height:18px; }

.spec-sub{
  padding:4px 28px 0;
  font:600 .85rem/1.4 var(--font-body); color:var(--blue);
}
.spec-table{
  width:100%; border-collapse:collapse;
  margin:20px 0 0;
}
.spec-table th, .spec-table td{
  text-align:left; padding:13px 28px;
  font-size:.93rem; vertical-align:top;
}
.spec-table tr:nth-child(odd){ background:var(--cream); }
.spec-table th{
  font-weight:600; color:#3d4557; width:52%;
}
.spec-table td{
  font-weight:600; color:var(--navy);
  font-variant-numeric:tabular-nums;
}
.spec-foot{ padding:20px 28px 26px; }

@media (max-width: 1023px){
  .products-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .products-grid{ grid-template-columns:1fr; }
  .mini-cta{ padding:30px 26px; text-align:center; justify-content:center; }
  /* Fullscreen modal on mobile */
  .spec-modal{ padding:0; }
  .spec-dialog{
    max-width:none; max-height:none;
    width:100%; height:100dvh;
    border-radius:0;
    display:flex; flex-direction:column;
  }
  .spec-table{ flex:1; }
  .spec-foot .btn{ width:100%; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-grid{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:56px; align-items:center;
  margin-top:8px;
}
.story-copy h2{
  font-size:clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight:700; color:var(--navy);
  margin-bottom:22px;
}
.story-copy p{
  color:#3d4557; margin-bottom:18px; font-size:1.02rem;
}
.story-copy p:last-child{
  font-weight:600; color:var(--blue); margin-bottom:0;
}
.story-photo{
  border-radius:var(--radius-card);
  overflow:hidden;
  box-shadow:var(--shadow-lift);
}
.story-photo img{ width:100%; aspect-ratio:4/3; object-fit:cover; }

/* Production cards: 3-up variant of why-grid */
.prod-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid{
  display:grid; grid-template-columns:.9fr 1.1fr;
  gap:28px; align-items:start;
  margin-top:8px;
}
.contact-panel{
  background:var(--white);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft);
  padding:36px 34px;
}
.contact-panel > h2{
  font-size:1.5rem; font-weight:700; color:var(--navy);
  margin-bottom:22px;
}
.contact-item{ margin-bottom:22px; }
.contact-item .label{
  display:block;
  font:600 .78rem/1 var(--font-body);
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--blue); margin-bottom:6px;
}
.contact-item a, .contact-item span{
  font-weight:600; color:var(--navy);
  overflow-wrap:anywhere;
}
.contact-item a:hover{ color:var(--blue); }
.contact-phone{
  font-family:var(--font-display);
  font-size:clamp(1.4rem, 2.4vw, 1.8rem) !important;
  font-weight:700 !important;
}
.btn--telegram{
  background:var(--sky); color:#fff;
  width:100%; margin-top:6px;
}
.btn--telegram:hover{ background:#2f9beb; }
.btn--telegram svg{ width:20px; height:20px; flex-shrink:0; }

.contact-map{
  margin-top:26px;
  border-radius:18px; overflow:hidden;
  box-shadow:var(--shadow-soft);
  line-height:0;
}
.contact-map iframe{
  width:100%; height:260px; border:0;
}

/* Form */
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font:600 .9rem/1.3 var(--font-body);
  color:var(--navy); margin-bottom:7px;
}
.field input[type="text"],
.field input[type="tel"],
.field textarea{
  width:100%;
  font:500 .98rem/1.5 var(--font-body); color:var(--ink);
  background:var(--cream);
  border:2px solid transparent;
  border-radius:14px;
  padding:13px 16px;
  transition:border-color .25s var(--ease-spring), background .25s;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--sky); background:#fff;
}
.field textarea{ min-height:120px; resize:vertical; }
.field.has-error input, .field.has-error textarea{
  border-color:#DC2626; background:#fff;
}
.field-error{
  display:none;
  font:500 .82rem/1.4 var(--font-body);
  color:#DC2626; margin-top:6px;
}
.field.has-error .field-error{ display:block; }

/* Product interest checkboxes as pills */
.check-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.check-pill{ position:relative; }
.check-pill input{
  position:absolute; inset:0; opacity:0; cursor:pointer;
}
.check-pill span{
  display:inline-block;
  font:600 .9rem/1 var(--font-body);
  color:var(--blue);
  border:2px solid rgba(11,91,181,.25);
  background:var(--white);
  border-radius:var(--radius-pill);
  padding:11px 20px;
  transition:background .25s var(--ease-spring), color .25s, border-color .25s;
}
.check-pill input:checked + span{
  background:var(--blue); border-color:var(--blue); color:#fff;
}
.check-pill input:focus-visible + span{
  outline:3px solid var(--sky); outline-offset:2px;
}
.form-submit{ margin-top:8px; width:100%; }

@media (max-width: 1023px){
  .prod-grid{ grid-template-columns:1fr; }
  .story-grid{ grid-template-columns:1fr; gap:36px; }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .form-row{ grid-template-columns:1fr; }
  .contact-panel{ padding:28px 22px; }
}