/* ================================================================
   EASYMIX — современный слой поверх styles.css
   Светлая «бумажная» палитра, крупная типографика, мягкие тени.
   Главная: первый экран со спецсмесями, анимации завода, «В работе».
   ================================================================ */
:root {
  --paper: #f2f2ef;
  --paper-2: #e9e9e4;
  --ink: #141416;
  --ink-2: #4b4b52;
  --line-soft: rgba(20, 20, 22, .08);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 0 rgba(255,255,255,.7) inset, 0 0 0 1px rgba(20,20,22,.06), 0 12px 32px -12px rgba(20,20,22,.18);
}

/* ---- общая типографика и элементы ---- */
body.home { background: #fff; }
.home h2 { letter-spacing: -.025em; }
.home .section-header h2,
.home .special-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; }
.home .section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink-2); box-shadow: var(--shadow-soft);
  letter-spacing: .14em; font-size: .7rem;
}
.home .section-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(45,138,78,.15); }
.home .btn { padding: 14px 26px; letter-spacing: -.005em; }
.home .btn-outline { background: rgba(255,255,255,.7); border-color: rgba(20,20,22,.14); color: var(--ink); backdrop-filter: blur(8px); }
.home .btn-outline:hover { background: #fff; border-color: var(--ink); }

.home .product-card { border-radius: 22px; border-color: var(--line-soft); }
.home .product-card:hover { box-shadow: 0 24px 48px -18px rgba(20,20,22,.22); }
.home .card-image { background: radial-gradient(120% 80% at 50% 100%, #f1f2ee 0%, #fff 70%); margin: 10px 10px 0; border-radius: 16px; }
.home .category-card { border-radius: 24px; }
.home .categories, .home .catalog { background: #fff; }

/* ---- шапка над светлым первым экраном: тёмный текст сразу ---- */
@media (min-width: 769px) {
  .home .navbar:not(.scrolled) .nav-link { color: var(--ink-2); }
  .home .navbar:not(.scrolled) .nav-link.active,
  .home .navbar:not(.scrolled) .nav-link:hover { color: var(--green); background: rgba(45,138,78,.08); }
  .home .navbar:not(.scrolled) .social-link { color: var(--ink-2); border-color: rgba(20,20,22,.14); }
  .home .navbar:not(.scrolled) .social-link:hover { background: #fff; border-color: rgba(20,20,22,.3); }
}
.home .navbar:not(.scrolled) .logo-text,
.home .navbar:not(.scrolled) .lang-toggle,
.home .navbar:not(.scrolled) .cart-toggle { color: var(--ink); }
.home .navbar:not(.scrolled) .cart-toggle { border-color: rgba(20,20,22,.14); }
.home .navbar:not(.scrolled) .lang-toggle { background: rgba(255,255,255,.7); border-color: rgba(20,20,22,.1); }
.home .navbar:not(.scrolled) .burger span,
.home .navbar:not(.scrolled) .mobile-menu-btn span { background: var(--ink); }
.home .navbar.scrolled { background: rgba(255,255,255,.82); box-shadow: 0 1px 0 var(--line-soft); }

/* ================================================================
   ПЕРВЫЙ ЭКРАН
   ================================================================ */
.hx {
  position: relative; overflow: hidden; background: var(--paper);
  min-height: 100vh; min-height: 100svh; padding: 120px 0 64px;
  display: flex; align-items: center;
}
.hx-bg { position: absolute; inset: 0; pointer-events: none; }
.hx-poster, .hx-anim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hx-anim { opacity: 0; transition: opacity 1.2s ease; background: transparent; }
.hx-anim.ready { opacity: 1; }
.hx-bg { transform: translateX(14%) scale(1.08); transform-origin: 70% 50%; }
.hx-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(242,242,239,.96) 30%, rgba(242,242,239,.55) 55%, rgba(242,242,239,.15) 80%, rgba(242,242,239,.35) 100%),
    linear-gradient(0deg, var(--paper) 0%, rgba(242,242,239,0) 22%);
}
.hx-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; width: 100%; }
.hx-badge {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; color: var(--ink-2);
  background: rgba(255,255,255,.8); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-soft); backdrop-filter: blur(8px);
}
.hx-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(45,138,78,.5); animation: hxPulse 2.4s infinite; }
@keyframes hxPulse { 0% { box-shadow: 0 0 0 0 rgba(45,138,78,.45); } 70% { box-shadow: 0 0 0 10px rgba(45,138,78,0); } 100% { box-shadow: 0 0 0 0 rgba(45,138,78,0); } }
.hx h1 {
  font-family: var(--font-heading); font-weight: 800; color: var(--ink);
  font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .98; letter-spacing: -.04em; margin: 22px 0 20px;
}
.hx h1 span {
  background: linear-gradient(100deg, var(--green-dark) 0%, var(--green-light) 45%, #c9a500 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 100%; animation: hxShine 8s ease-in-out infinite alternate;
}
@keyframes hxShine { to { background-position: 100% 0; } }
.hx-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.hx-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.hx-facts { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid rgba(20,20,22,.1); max-width: 520px; }
.hx-facts div { flex: 1; padding: 16px 16px 0 0; }
.hx-facts div + div { padding-left: 18px; border-left: 1px solid rgba(20,20,22,.1); }
.hx-facts b { display: block; font-family: var(--font-heading); font-size: 1.9rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.hx-facts span { font-size: .82rem; color: var(--ink-2); }

/* ---- рекламная витрина спецсмесей ---- */
.hx-spot { position: relative; }
.sp-stage { position: relative; height: 560px; }
.sp-slide {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--a) 38%, #141416) 0%, #141416 62%);
  box-shadow: 0 40px 80px -30px rgba(20,20,22,.55), 0 0 0 1px rgba(255,255,255,.06) inset;
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
  display: grid; grid-template-rows: 1fr auto; pointer-events: none;
}
.sp-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.sp-glow { position: absolute; width: 70%; aspect-ratio: 1; right: -12%; top: -8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 70%, transparent) 0%, transparent 65%); opacity: .55; filter: blur(10px); }
.sp-slide::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(180deg, #000 0%, transparent 70%); pointer-events: none; }
.sp-media { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 26px 34px 0; min-height: 0; }
.sp-media img { max-height: 290px; width: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); transform: translateY(30px) rotate(-4deg); opacity: 0; transition: transform 1.1s var(--ease-out) .1s, opacity .8s ease .1s; }
.sp-slide.on .sp-media img { transform: none; opacity: 1; animation: spFloat 6s ease-in-out 1.2s infinite; }
@keyframes spFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.2deg); } }
.sp-body { position: relative; z-index: 1; padding: 0 34px 30px; }
.sp-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a); }
.sp-body h3 { font-family: var(--font-heading); font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; margin: 8px 0 6px; color: #fff; }
.sp-body h3 em { font-style: normal; color: var(--a); }
.sp-slogan { font-size: 1.12rem; color: rgba(255,255,255,.86); margin: 0 0 18px; }
.sp-slide > * { transition: none; }
.sp-slide.on .sp-body > * { animation: spUp .8s var(--ease-out) both; }
.sp-slide.on .sp-body > *:nth-child(2) { animation-delay: .06s; } .sp-slide.on .sp-body > *:nth-child(3) { animation-delay: .12s; }
.sp-slide.on .sp-body > *:nth-child(4) { animation-delay: .18s; } .sp-slide.on .sp-body > *:nth-child(5) { animation-delay: .24s; }
@keyframes spUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.sp-kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 12px; }
.sp-kpi b { display: flex; align-items: baseline; gap: 3px; font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.sp-kpi b small { font-size: .78rem; font-weight: 600; color: var(--a); }
.sp-kpi > span { display: block; font-size: .72rem; color: rgba(255,255,255,.62); line-height: 1.3; margin-top: 2px; }
.sp-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-btn { display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: var(--a); color: var(--ink); font-weight: 700; font-size: .9rem; transition: transform .2s, box-shadow .2s; }
.sp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--a) 70%, transparent); }
.sp-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.sp-nav { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.sp-dot { width: 42px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(20,20,22,.12); overflow: hidden; cursor: pointer; }
.sp-dot i { display: block; height: 100%; width: 0; background: var(--a); border-radius: 6px; }
.sp-dot.on i { width: 100%; }
.sp-dot.run i { width: 0; animation: spBar 6.5s linear forwards; }
.sp-dot.hold i { animation-play-state: paused; }
@keyframes spBar { to { width: 100%; } }

/* ================================================================
   СПЕЦСМЕСИ
   ================================================================ */
.special { padding: 110px 0 100px; background: #fff; position: relative; }
.anchor-alias { position: absolute; top: 0; }
.special-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.special-head h2 { margin-top: 14px; color: var(--ink); }
.special-head p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; max-width: 52ch; justify-self: end; margin: 0; }
.spec-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.spc {
  grid-column: span 6; position: relative; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--a) 30%, #16181b) 0%, #16181b 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset; display: grid; grid-template-columns: 1fr; opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), box-shadow .3s;
}
.spc.in { opacity: 1; transform: none; }
.spc:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent) inset, 0 30px 60px -28px color-mix(in srgb, var(--a) 70%, transparent); }
.spc:nth-child(2), .spc:nth-child(3) { grid-column: span 6; }
.spc:nth-child(n+4) { grid-column: span 6; }
.spc--hero { grid-column: 1 / -1 !important; grid-template-columns: 1.15fr 1fr; min-height: 420px; }
.spc-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 7; background: #0d0f11; }
.spc--hero .spc-shot { aspect-ratio: auto; order: 2; }
.spc-shot img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.2s var(--ease-out), opacity .4s; }
.spc:hover .spc-shot img { transform: scale(1.05); opacity: 1; }
.spc-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #16181b 100%); }
.spc--hero .spc-shot::after { background: linear-gradient(90deg, #16181b 0%, transparent 35%); }
.spc-play { position: absolute; z-index: 1; right: 16px; top: 16px; font: 800 .78rem/1 var(--font-heading); letter-spacing: .08em; padding: 9px 12px; border-radius: 999px; background: var(--a); color: var(--ink); }
.spc-play::before { content: "▶ "; font-size: .65rem; }
.spc-in { position: relative; z-index: 1; padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.spc--hero .spc-in { padding: 40px 40px 36px; justify-content: center; }
.spc-head { display: flex; gap: 16px; align-items: center; color: inherit; }
.spc-bag { width: 74px; height: 88px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)); transition: transform .6s var(--ease-out); flex: none; }
.spc--hero .spc-bag { width: 130px; height: 150px; }
.spc:hover .spc-bag { transform: translateY(-6px) rotate(-3deg); }
.spc-tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a); }
.spc h3 { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.05; letter-spacing: -.02em; margin: 6px 0 0; color: #fff; }
.spc--hero h3 { font-size: 2.6rem; }
.spc h3 em { font-style: normal; color: var(--a); }
.spc-slogan { margin: 0; font-size: 1.08rem; color: rgba(255,255,255,.9); font-weight: 600; }
.spc--hero .spc-slogan { font-size: 1.35rem; }
.spc-text { margin: 0; color: rgba(255,255,255,.66); line-height: 1.6; }
.spc .sp-kpis { margin: 4px 0 0; }
.spc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.spc-chips a { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.86); padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, background .2s; }
.spc-chips a:hover { border-color: var(--a); background: rgba(255,255,255,.05); }
.spc-more { align-self: flex-start; font-weight: 700; font-size: .9rem; color: var(--a); margin-top: 2px; }

/* ================================================================
   ПРОИЗВОДСТВО
   ================================================================ */
.plant { position: relative; overflow: hidden; background: var(--paper); min-height: 760px; display: flex; align-items: center; padding: 90px 0; }
.plant-bg { position: absolute; inset: 0; pointer-events: none; }
.plant-poster, .plant-anim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.plant-anim { opacity: 0; transition: opacity 1.2s ease; }
.plant-anim.ready { opacity: 1; }
.plant::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(242,242,239,.92) 0%, rgba(242,242,239,.5) 38%, rgba(242,242,239,0) 62%), linear-gradient(0deg, rgba(242,242,239,.9), transparent 18%), linear-gradient(180deg, rgba(242,242,239,.9), transparent 14%); }
.plant-in { position: relative; z-index: 2; width: 100%; }
.plant-card { max-width: 440px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 26px; padding: 34px; box-shadow: var(--shadow-soft); }
.plant-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.08; margin: 14px 0 12px; color: var(--ink); }
.plant-card p { color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; }
.plant-card ul { margin: 0 0 22px; display: grid; gap: 8px; }
.plant-card li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; }
.plant-card li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(45,138,78,.12); color: var(--green); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }

/* ================================================================
   В РАБОТЕ (бывший титульный видеослайдер)
   ================================================================ */
.reel { padding: 100px 0; background: #fff; }
.reel-frame { position: relative; height: min(72vh, 640px); min-height: 380px; border-radius: 30px; overflow: hidden; background: #111; box-shadow: 0 40px 80px -40px rgba(20,20,22,.5); }
.reel .vveil { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(10,12,14,.85) 0%, rgba(10,12,14,.35) 35%, rgba(10,12,14,0) 65%); }
.reel .vslide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.reel .vslide.on { opacity: 1; }
.reel .hero-overlay { padding: 0 40px 44px; }
.reel .vcap strong { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 8px; }
.reel .vcap span { color: rgba(255,255,255,.82); }
.reel .vdots { position: absolute; z-index: 4; right: 28px; bottom: 30px; display: flex; gap: 8px; }
.reel .vdot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s, background .3s; }
.reel .vdot.on { width: 30px; border-radius: 10px; background: #fff; }

/* ---- адаптив ---- */
@media (max-width: 1080px) {
  .hx-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx-bg { transform: none; }
  .hx-fade { background: linear-gradient(180deg, rgba(242,242,239,.6) 0%, rgba(242,242,239,.92) 35%, var(--paper) 70%); }
  .sp-stage { height: 520px; }
  .special-head { grid-template-columns: 1fr; gap: 14px; }
  .special-head p { justify-self: start; }
  .spc--hero { grid-template-columns: 1fr; }
  .spc--hero .spc-shot { order: 0; aspect-ratio: 16 / 8; }
  .spc--hero .spc-shot::after { background: linear-gradient(180deg, transparent 40%, #16181b 100%); }
}
@media (max-width: 760px) {
  .hx { padding: 96px 0 40px; }
  .hx h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hx-facts b { font-size: 1.45rem; }
  .sp-stage { height: 540px; }
  .sp-media img { max-height: 210px; }
  .sp-body { padding: 0 20px 22px; }
  .sp-body h3 { font-size: 1.8rem; }
  .sp-kpi { padding: 8px 9px; } .sp-kpi b { font-size: 1.2rem; }
  .spc, .spc:nth-child(n) { grid-column: 1 / -1; }
  .spc--hero h3 { font-size: 2rem; }
  .spc--hero .spc-in { padding: 24px 22px 26px; }
  .special, .reel { padding: 70px 0; }
  .plant { min-height: 0; padding: 0 0 40px; flex-direction: column; }
  .plant-bg { position: relative; height: 300px; }
  .plant::after { background: linear-gradient(0deg, var(--paper) 0%, transparent 30%); height: 300px; }
  .plant-card { margin-top: -40px; padding: 24px 20px; }
  .reel-frame { height: 62vh; border-radius: 22px; }
  .reel .hero-overlay { padding: 0 20px 56px; }
  .reel .vdots { left: 20px; right: auto; bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx h1 span, .hx-badge i, .sp-slide.on .sp-media img { animation: none; }
  .spc { opacity: 1; transform: none; }
}

/* ---- правки: меню в одну строку, тень закрытых панелей, точки видео ---- */
.home .nav-links { gap: 2px; }
.home .nav-link { white-space: nowrap; padding: 8px 14px; }
/* закрытые боковые панели (корзина, калькулятор) не отбрасывают тень на край экрана */
.cart-sidebar:not(.open), .calc-sidebar:not(.open) { box-shadow: none; }
.reel .vdots { top: auto; bottom: 30px; right: 28px; }
.sp-media { padding-top: 34px; }
.sp-media img { max-height: 250px; }
.sp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-kpi > span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 760px) { .reel .vdots { left: 20px; right: auto; bottom: 22px; } }
.hx-grid > * { min-width: 0; }
.hx h1 { overflow-wrap: anywhere; }
/* смена продукта — без просвечивания фона между карточками */
.sp-stage { border-radius: 30px; background: #141416; box-shadow: 0 40px 80px -30px rgba(20,20,22,.55); }
.sp-slide { box-shadow: none; }
@media (max-width: 760px) {
  .hx h1 { font-size: clamp(2rem, 8.4vw, 2.8rem); letter-spacing: -.035em; }
  .hx-acts .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 760px) { .plant-bg { width: 100%; } }

/* ---- погода в Актобе (weather.js) ---- */
.hx-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hx-wx { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.8); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-soft); backdrop-filter: blur(8px); text-decoration: none; }
.hx-wx b { color: var(--ink); font-weight: 800; }
.hx-wx .wx-ico { font-size: 1rem; line-height: 1; }
.weather-card { margin: 28px auto 0; max-width: 760px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px 24px; color: #e9eef2; text-align: left; }
.wx-now { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.wx-big { display: flex; align-items: center; gap: 14px; }
.wx-big i { font-style: normal; font-size: 2.6rem; line-height: 1; }
.wx-big b { display: block; font-family: var(--font-heading); font-size: 2.2rem; letter-spacing: -.02em; line-height: 1; color: #fff; }
.wx-big span { font-size: .9rem; color: rgba(255,255,255,.7); }
.wx-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-meta span { font-size: .8rem; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
.wx-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 14px; }
.wx-day { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: .85rem; color: rgba(255,255,255,.75); }
.wx-day i { font-style: normal; font-size: 1.2rem; }
.wx-day b { color: #fff; margin-left: auto; } .wx-day small { color: rgba(255,255,255,.5); }
.wx-tip { font-size: .9rem; line-height: 1.5; padding: 12px 14px; border-radius: 14px; border-left: 4px solid; }
.wx-ok { background: rgba(59,165,99,.14); border-color: #3ba563; } .wx-warn { background: rgba(245,196,0,.12); border-color: #f5c400; } .wx-stop { background: rgba(224,96,80,.14); border-color: #e06050; }
.wx-src { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 10px; }
@media (max-width: 600px) { .wx-days { grid-template-columns: 1fr; } .weather-card { padding: 18px 16px; } }
.wx-meta em { font-style: normal; }
/* заголовок первого экрана: слово «Специализируемся» всегда помещается целиком */
.hx h1 { font-size: min(4rem, 4.5vw); overflow-wrap: normal; }
@media (max-width: 1080px) { .hx h1 { font-size: min(4.6rem, 7.4vw); } }
@media (max-width: 760px) { .hx h1 { font-size: 8.2vw; } }
.hx-wx[hidden], .weather-card[hidden] { display: none !important; }

/* телефон: блок «Спецсмеси» в одну колонку — 12-колоночная сетка с отступами была шире экрана */
@media (max-width: 760px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } .spc, .spc:nth-child(n), .spc--hero { grid-column: auto !important; grid-template-columns: minmax(0, 1fr); min-width: 0; } .spc-in { min-width: 0; } .sp-kpis, .spc-chips { min-width: 0; flex-wrap: wrap; } }
html, body { overflow-x: clip; }
/* нечётная последняя карточка спецсмеси — на всю ширину, без дыры справа */
@media (min-width: 761px) {
  .spc:not(.spc--hero):last-child:nth-child(even) { grid-column: 1 / -1 !important; grid-template-columns: 1fr 1.15fr; }
  .spc:not(.spc--hero):last-child:nth-child(even) .spc-shot { aspect-ratio: auto; min-height: 300px; }
  .spc:not(.spc--hero):last-child:nth-child(even) .spc-shot::after { background: linear-gradient(270deg, #16181b 0%, transparent 35%); }
  .spc:not(.spc--hero):last-child:nth-child(even) .spc-in { justify-content: center; }
}
