/* ─── MARQUEE ────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
  cursor: default;
  user-select: none;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* duration overridden by JS based on group width / speed */
  animation-name: marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 20s;
}

.marquee__group {
  display: flex;
  align-items: center;
  padding: 14px 0;
  flex-shrink: 0;
}

.marquee__item {
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.marquee__sep {
  color: var(--accent);
  margin: 0 18px;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 480px) {
  .marquee__item { font-size: 12px; }
  .marquee__sep  { margin: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
}

/* ─── WAVE DIVIDERS ─────────────────────────────────────────── */
.divider-wave {
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.divider-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}
@media (min-width: 768px) {
  .divider-wave svg { height: 80px; }
}
.divider-wave--to-accent { background: var(--accent); }
.divider-wave--from-accent { background: var(--bg); }

/* ─── DIAGONAL SECTION BORDERS (Terminal-style) ──────────────── */
.section--angled-bottom {
  position: relative;
  padding-bottom: calc(var(--angle-h, 60px) + 60px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--angle-h, 60px)), 0 100%);
}
.section--angled-top {
  position: relative;
  padding-top: calc(var(--angle-h, 60px) + 60px);
  clip-path: polygon(0 var(--angle-h, 60px), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--angle-h, 60px));
}
.section--angled-both {
  padding-top:    calc(var(--angle-h, 60px) + 60px);
  padding-bottom: calc(var(--angle-h, 60px) + 60px);
  clip-path: polygon(0 var(--angle-h, 60px), 100% 0, 100% calc(100% - var(--angle-h, 60px)), 0 100%);
  margin-top: calc(-1 * var(--angle-h, 60px));
}

/* ─── SECTION TITLES ─────────────────────────────────────────── */
.section-title {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

.section-header { margin-bottom: 40px; }
.section-header--center {
  text-align: center;
  align-items: center;
}
.section-header--center .section-sub { margin: 0 auto; }

@media (min-width: 768px) {
  .section-title { font-size: 38px; }
}
@media (min-width: 1200px) {
  .section-title { font-size: 46px; }
}

/* ─── STATS ──────────────────────────────────────────────────── */
.stats {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item {
  background: var(--bg);
  padding: 48px 32px;
  text-align: center;
  position: relative;
}

.stats__item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--accent);
}

.stats__number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow:
    0 0 60px rgba(224, 90, 51, 0.12),
    0 0 120px rgba(224, 90, 51, 0.06);
  animation: none;
}

.stats__label {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Animated accent border on cards */
@keyframes border-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── PHOTO STRIP ────────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  height: 260px;
  overflow: hidden;
}

.photo-strip__item {
  position: relative;
  overflow: hidden;
}

.photo-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
  pointer-events: none;
  z-index: 1;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-strip__item:hover img { transform: scale(1.04); }

.photo-strip__tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(12,12,12,0.82);
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .photo-strip { height: 360px; }
}
@media (min-width: 1200px) {
  .photo-strip { height: 420px; }
}

/* ─── DROVA SECTION ──────────────────────────────────────────── */
.drova-section { background: var(--bg-dark); }

.drova-section__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .drova-section__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .drova-section__grid { grid-template-columns: repeat(3, 1fr); }
}

.section-cta-wrap {
  text-align: center;
  margin-top: 28px;
  margin-bottom: 8px;
}

/* ─── ЧЕСНИЙ КУБ ─────────────────────────────────────────────── */
.honest-cube { background: var(--bg-dark); }

.honest-cube__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (min-width: 720px) {
  .honest-cube__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.honest-cube__card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.honest-cube__card--good { border-color: rgba(224,90,51,0.4); }

.honest-cube__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.honest-cube__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.honest-cube__card--bad .honest-cube__photo img { filter: grayscale(0.5) brightness(0.85); }

.honest-cube__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--card-radius);
  color: #fff;
}
.honest-cube__tag--bad  { background: rgba(12,12,12,0.85); color: var(--text-muted); border: 1px solid var(--border-light); }
.honest-cube__tag--good { background: var(--accent); }

.honest-cube__card figcaption {
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.honest-cube__proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
}
@media (min-width: 720px) {
  .honest-cube__proof { grid-template-columns: repeat(3, 1fr); }
}
.honest-cube__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  background: var(--bg-card);
}
.honest-cube__step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.4;
}
.honest-cube__step p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-gray);
}
.honest-cube__step b { color: var(--text); font-weight: 600; }

/* ─── FULL-WIDTH PHOTO SECTION ───────────────────────────────── */
.delivery-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.delivery-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.delivery-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.delivery-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,12,12,0.96) 0%, rgba(12,12,12,0.80) 50%, rgba(12,12,12,0.60) 100%);
  z-index: 1;
}

.delivery-section__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
}

.delivery-section__title {
  font-size: 28px;
  margin-bottom: 14px;
}

.delivery-section__sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.delivery-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.delivery-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.delivery-step:not(:last-child) .delivery-step__num::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 17px;
  width: 2px;
  /* рівно від низу кола до верху наступного: висота кроку − коло + gap */
  height: calc(100% - 36px + 14px);
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.delivery-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-step__text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.delivery-step__text span {
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .delivery-section__title { font-size: 40px; }
  .delivery-section__content { max-width: 600px; }
}

/* ─── POSLUGY SECTION ────────────────────────────────────────── */
.poslugy-section { background: var(--bg-section); }

.poslugy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .poslugy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .poslugy-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── WHY US ─────────────────────────────────────────────────── */
.why-section { background: var(--bg-dark); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* 5 карток без порожніх клітинок: планшет 2+2+1(широка), ПК 3+2(рівні ширші) */
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid > :nth-child(5) { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(6, 1fr); }
  .why-grid > * { grid-column: span 2; }
  .why-grid > :nth-child(4),
  .why-grid > :nth-child(5) { grid-column: span 3; }
}

/* ─── ABOUT SPLIT ────────────────────────────────────────────── */
.about-split {
  background: var(--bg-card);
}

.about-split__grid {
  display: grid;
  gap: 48px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .about-split__grid { grid-template-columns: 1fr 1fr; }
}

.about-split__photo {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.about-split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--accent);
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 0;
}

/* Manifesto text */
.about-manifesto {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.95;
  margin-top: 22px;
  max-width: 520px;
}
.about-manifesto--dim {
  color: var(--text-muted);
  margin-top: 16px;
}

.about-stat {
  padding: 20px 18px;
  background: var(--bg-dark);
  border: none;
  border-radius: 0;
  transition: background var(--transition);
}
.about-stat:hover { background: var(--bg-card); }

.about-stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 0 0 40px rgba(224, 90, 51, 0.12);
}

.about-stat__label {
  font-family: var(--font-head);
  font-size: 8.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-split__cta { margin-top: 36px; }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-card);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner__marker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.cta-banner__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.cta-banner__accent {
  color: var(--accent);
  font-style: normal;
  display: inline-block;
  text-shadow:
    0 0 40px rgba(224, 90, 51, 0.50),
    0 0 80px rgba(224, 90, 51, 0.20);
}

.cta-banner__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 auto 44px;
  max-width: 460px;
  line-height: 1.65;
  text-align: center;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.cta-banner__btn {
  box-shadow: 0 0 24px rgba(224, 90, 51, 0.35);
}
.cta-banner__btn:hover {
  box-shadow:
    0 0 40px rgba(224, 90, 51, 0.65),
    0 0 80px rgba(224, 90, 51, 0.25);
}

.cta-banner__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta-banner__phone-label {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cta-banner__phone {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.cta-banner__phone:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .cta-banner__actions   { flex-direction: column; gap: 20px; }
  .cta-banner__phone-wrap { align-items: center; }
  .cta-banner__phone     { font-size: 18px; }
}

/* ─── SEO TEXT ───────────────────────────────────────────────── */
.seo-text {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.seo-text__title {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.seo-text__body p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}

.seo-text__body a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.seo-text__body a:hover { color: var(--accent); }

/* ─── PHOTO GALLERY ──────────────────────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

@media (min-width: 768px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .photo-gallery { grid-template-columns: repeat(5, 1fr); }
}

.photo-gallery__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-card);
}

.photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
}

.photo-gallery__item:hover img {
  transform: scale(1.06);
  opacity: 0.85;
}

/* ─── CALCULATOR ─────────────────────────────────────────────── */
.calculator {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc__marker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.calc__terminal {
  max-width: 860px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* ─── Row ── */
.calc__row {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}

.calc__row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ─── Selector (breed / zone) ── */
.calc__selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.calc__option {
  background: var(--bg-card);
  border: none;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.calc__option:hover { background: #161616; }

.calc__option--active {
  background: #161616;
  box-shadow: inset 2px 0 0 var(--accent);
}

.calc__option-mark {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  line-height: 1;
  transition: color var(--transition);
}
.calc__option-mark::before              { content: '[\00A0\00A0\00A0]'; }
.calc__option--active .calc__option-mark::before { content: '[ X ]'; }
.calc__option--active .calc__option-mark { color: var(--accent); }

.calc__option-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.calc__option--active .calc__option-name,
.calc__option:hover .calc__option-name  { color: var(--text); }

.calc__option-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

/* ─── Volume counter ── */
.calc__counter {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
}

.calc__counter-btn {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border: none;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.calc__counter-btn:first-child { border-right: 1px solid var(--border); }
.calc__counter-btn:last-child  { border-left:  1px solid var(--border); }
.calc__counter-btn:hover:not(:disabled) { background: #161616; color: var(--accent); }
.calc__counter-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.calc__counter-display {
  padding: 0 28px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 130px;
  justify-content: center;
}

.calc__counter-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  min-width: 24px;
  text-align: center;
}

.calc__counter-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.calc__counter-hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.10em;
}

/* ─── Result block ── */
.calc__result {
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.calc__result-breakdown {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.calc__breakdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.calc__breakdown-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.calc__breakdown-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.calc__breakdown-sep {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--border-light);
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 4px;
}

.calc__total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.calc__total-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.calc__total-num {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  text-shadow:
    0 0 40px rgba(224, 90, 51, 0.55),
    0 0 80px rgba(224, 90, 51, 0.22);
}

.calc__cta {
  box-shadow: 0 0 24px rgba(224, 90, 51, 0.35);
  transition: all 0.35s ease;
}
.calc__cta:hover {
  box-shadow:
    0 0 40px rgba(224, 90, 51, 0.65),
    0 0 80px rgba(224, 90, 51, 0.25);
}

/* До взаємодії з калькулятором кнопка приглушена; загоряється після розрахунку */
.calc__cta.calc__cta--idle {
  background: var(--bg-card);
  border-color: var(--border-light);
  color: var(--text-muted);
  box-shadow: none;
}
.calc__cta.calc__cta--idle img { opacity: 0.5; }
.calc__cta.calc__cta--idle:hover {
  background: #161616;
  border-color: var(--accent);
  color: var(--text);
  box-shadow: none;
  transform: none;
}

.calc__geo {
  margin: 16px auto 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 420px;
}
.calc__geo a {
  color: var(--accent);
  border-bottom: 1px solid rgba(224,90,51,0.4);
  transition: color var(--transition), border-color var(--transition);
}
.calc__geo a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

.calc__joke {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Area slider ── */
.calc__slider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.calc__slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 0;
  cursor: pointer;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(224, 90, 51, 0.5);
}
.calc__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 0;
  cursor: pointer;
  border: 2px solid var(--bg);
}
.calc__slider-output {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 72px;
  justify-content: flex-end;
}

/* ─── Volume result badges ── */
.calc__vol-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.calc__vol-badge {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}
.calc__vol-badge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.calc__vol-badge-val {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

/* ─── City select (delivery destination, searchable) ── */
.calc__city {
  position: relative;
}

.calc__city-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition);
}
.calc__city-toggle:hover,
.calc__city.is-open .calc__city-toggle { border-color: var(--accent); }

.calc__city-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.calc__city-toggle-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc__city-toggle-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.calc__city-arrow {
  flex-shrink: 0;
  transition: transform var(--transition);
}
.calc__city.is-open .calc__city-arrow { transform: rotate(180deg); }

.calc__city-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  z-index: 20;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.calc__city.is-open .calc__city-panel { display: block; }

.calc__city-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.calc__city-search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
}
.calc__city-search-input::placeholder { color: var(--text-dim); }

.calc__city-list {
  max-height: 280px;
  overflow-y: auto;
}

.calc__city-group-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 12px 16px 6px;
}

.calc__city-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 11px 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.calc__city-option:hover { background: #161616; color: var(--text); }

.calc__city-option--active {
  background: #161616;
  color: var(--accent);
  box-shadow: inset 2px 0 0 var(--accent);
}

.calc__city-option-price {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.calc__city-option--special {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
}

.calc__city-empty {
  padding: 24px 16px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dim);
}

.calc__city-hint {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.calc__city-hint--accent { color: var(--accent); }

/* ─── Responsive ── */
@media (max-width: 640px) {
  .calc__selector          { grid-template-columns: 1fr; }
  .calc__row               { padding: 20px 16px; }
  .calc__result            { padding: 24px 16px 32px; }
  .calc__result-breakdown  { flex-direction: column; gap: 12px; }
  .calc__breakdown-sep     { display: none; }
  .calc__vol-badges        { flex-direction: column; }
  .calc__city-toggle-name  { white-space: normal; }
  .calc__city-list         { max-height: 240px; }
  .calc__counter {
    width: 100%;
    justify-content: space-between;
  }
  .calc__counter-display {
    flex: 1;
    justify-content: center;
  }
  .calc__counter-btn {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  .calc__total-num {
    font-size: 2.8rem;
  }
  .calc__cta {
    width: 100%;
    text-align: center;
  }
}

/* ─── ANIMATE ON SCROLL ───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(.22,.61,.36,1),
              transform 0.75s cubic-bezier(.22,.61,.36,1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.12s; }
[data-animate-delay="2"] { transition-delay: 0.26s; }
[data-animate-delay="3"] { transition-delay: 0.40s; }
[data-animate-delay="4"] { transition-delay: 0.54s; }

/* Mobile padding for fixed bottom CTA */
@media (max-width: 767px) {
  .has-mobile-cta { padding-bottom: 72px; }
}

/* ─── STEPS ──────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

.step {
  padding: 24px 20px;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--card-radius);
}

.step__num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 14px;
}

.step__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.step__text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CLASS ALIASES ──────────────────────────────────────────────── */
.poslugy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .poslugy__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .poslugy__grid { grid-template-columns: repeat(3, 1fr); }
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-us__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── PHOTO STRIP MOBILE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 1px;
    background: #000;
  }
  .photo-strip__item { height: 160px; }
  .photo-strip__item:first-child { height: 160px; }
}

@media (max-width: 767px) {
  input, textarea, select {
    font-size: 16px !important;
  }
}
