/* ══════════════════════════════════════════════
   EMPIRIUS 1C:ФРАНЧАЙЗИ
   Exact design match — empirius.top
   ══════════════════════════════════════════════ */

/* ─── Variables (from real site CSS) ─── */
:root {
  --ink:          #111820;
  --muted:        #2d3a49;
  --blue:         #0d66d7;
  --blue-deep:    #0954bc;
  --blue-soft:    #dcecff;
  --glass:        rgba(239,246,255,.58);
  --glass-strong: rgba(249,252,255,.78);
  --stroke:       rgba(255,255,255,.78);
  --shadow:       0 22px 70px rgba(23,72,126,.22), inset 0 1px 1px rgba(255,255,255,.75);
}

/* ─── Reset ─── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
img,svg { display:block; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { font-family:inherit; cursor:pointer; }
input,textarea { font-family:inherit; }

/* ─── Body + Sky background ─── */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.52;
  color: var(--ink);
  background-color: #8fc8ee;
  background-image:
    linear-gradient(90deg, rgba(239,248,255,.58) 0%, rgba(255,255,255,.18) 35%, rgba(43,121,199,.08) 100%),
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 46%, rgba(43,113,185,.13) 100%),
    url("assets/cloud-sky.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
}

/* ─── Site shell (floats in center) ─── */
.site-shell {
  width: min(1418px, calc(100% - 128px));
  margin: 20px auto 42px;
  display: grid;
  gap: 0;
}

/* ══════════ TOPBAR ══════════ */
.topbar {
  position: sticky;
  top: 20px;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 16px;
  height: 66px;
  border-radius: 21px;
  border: 1px solid rgba(255,255,255,.68);
  background: linear-gradient(120deg, rgba(255,255,255,.56), rgba(217,234,250,.45));
  box-shadow: 0 18px 55px rgba(30,91,154,.2), inset 0 1px 1px rgba(255,255,255,.88);
  backdrop-filter: blur(22px) saturate(142%);
  -webkit-backdrop-filter: blur(22px) saturate(142%);
  margin-bottom: 12px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark svg { width: 38px; height: 38px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 15px; font-weight: 860; letter-spacing: -.1px; }
.brand-copy small  { font-size: 10px; font-weight: 720; letter-spacing: .7px; color: var(--blue); text-transform: uppercase; margin-top: 1px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 8px;
  border-radius: 18px;
  overflow: hidden;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: .72;
  border-radius: 12px;
  transition: opacity .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active { opacity: 1; background: rgba(255,255,255,.42); }
.nav-links a.soft-active { opacity: .88; }

/* Header CTA */
.header-actions { flex-shrink: 0; }
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(13,102,215,.3);
  background: linear-gradient(135deg, #1476d9, #0750b8);
  color: #fff;
  font-size: 13.5px;
  font-weight: 720;
  box-shadow: 0 8px 18px rgba(11,83,179,.28), inset 0 1px 1px rgba(255,255,255,.22);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.ghost-button:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(11,83,179,.34); }

/* ══════════ HERO ══════════ */
.hero {
  display: grid;
  grid-template-columns: minmax(430px, 620px) minmax(390px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 70px 48px 0;
}

.hero-copy {}
.hero-copy h1 {
  font-size: clamp(34px, 3vw, 43px);
  font-weight: 860;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-copy h1 span { color: var(--blue); }
.hero-copy > p {
  font-size: 16px;
  line-height: 1.55;
  color: #304052;
  max-width: 490px;
  margin-bottom: 24px;
}

/* Buttons */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 244px;
  min-height: 45px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(13,102,215,.3);
  background: linear-gradient(135deg, #1476d9, #0750b8);
  color: #fff;
  font-size: 15px;
  font-weight: 720;
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 15px 25px rgba(11,83,179,.26), inset 0 1px 1px rgba(255,255,255,.18);
  transition: transform .15s, box-shadow .15s;
  text-align: center;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 32px rgba(11,83,179,.32); }
.primary-button.compact { min-width: 0; padding: 10px 20px; font-size: 14px; min-height: 40px; }
.primary-button svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 244px;
  min-height: 45px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(250,252,255,.57);
  color: #0a2b5a;
  font-size: 15px;
  font-weight: 720;
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.88), 0 9px 20px rgba(35,93,155,.14);
  transition: transform .15s;
}
.secondary-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.72); }

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.52);
  color: #0a2b5a;
  font-size: 13.5px;
  font-weight: 760;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.88), 0 6px 14px rgba(35,93,155,.1);
  transition: transform .15s;
}
.download-button:hover { transform: translateY(-1px); background: rgba(255,255,255,.7); }
.download-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

/* Hero why */
.hero-why {
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(249,252,255,.52);
  box-shadow: 0 12px 30px rgba(23,72,126,.1), inset 0 1px 1px rgba(255,255,255,.88);
  max-width: 450px;
  backdrop-filter: blur(12px);
}
.hero-why strong { display: block; font-size: 13px; font-weight: 820; color: var(--blue); margin-bottom: 8px; }
.hero-why ul { padding-left: 16px; list-style: disc; display: grid; gap: 5px; }
.hero-why li { font-size: 13.5px; line-height: 1.5; color: #304052; }

/* Hero visual (right column) */
.hero-visual {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px;
  gap: 18px;
  min-height: 335px;
  align-items: center;
}

.fresh-cube {
  width: 250px;
  height: 198px;
  border-radius: 45px;
  background: linear-gradient(145deg, #fff3a3 0%, #ffd256 52%, #f2a928 100%);
  box-shadow: 0 28px 60px rgba(180,120,0,.28), inset 0 2px 2px rgba(255,255,255,.72), inset -2px -2px 8px rgba(180,120,0,.15);
  transform: rotate(8deg) skew(-5deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.one-c { font-size: 56px; font-weight: 900; color: #5a3a00; line-height: 1; }
.fresh-label { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; color: rgba(90,58,0,.65); text-transform: uppercase; }

.status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 18px;
  background: rgba(249,252,255,.82);
  box-shadow: 0 16px 38px rgba(23,72,126,.16), inset 0 1px 1px rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  max-width: 200px;
  justify-self: end;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.22);
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100%{ box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
  50%{ box-shadow: 0 0 0 6px rgba(34,197,94,.08); }
}
.status-card b { font-size: 13px; font-weight: 820; color: var(--ink); }
.status-card p { font-size: 12px; color: #536171; margin: 2px 0 0; line-height: 1.35; }
.cloud-mini svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }

/* ══════════ SECTION SPACING ══════════ */
.section-wrap {
  padding: 56px 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 820;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title {
  font-size: 29px;
  font-weight: 820;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 10px;
}
.section-lead {
  font-size: 15px;
  color: #304052;
  line-height: 1.55;
  max-width: 640px;
}

/* ══════════ SERVICE GRID ══════════ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px 48px 56px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px 22px 28px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  user-select: none;
}
.service-card:hover, .service-card:focus-visible {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(221,237,255,.5));
  box-shadow: 0 24px 72px rgba(22,75,132,.25), inset 0 1px 1px rgba(255,255,255,.84);
  outline: none;
}

.card-tab {
  position: absolute;
  top: 16px; left: 0;
  width: 3.5px;
  height: 46px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #1476d9, #0750b8);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 8px 20px rgba(0,0,0,.12), inset 0 1px 1px rgba(255,255,255,.5);
}
.icon-box svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-box.yellow { background: linear-gradient(135deg, #f4bd22, #df8f09); }
.icon-box.blue   { background: linear-gradient(135deg, #276fd6, #0c347d); }
.icon-box.purple { background: linear-gradient(135deg, #7559de, #5b3fc4); }
.icon-box.green  { background: linear-gradient(135deg, #28b45f, #168c43); }
.icon-box.orange { background: linear-gradient(135deg, #ff9442, #e16b00); }
.icon-box.cyan   { background: linear-gradient(135deg, #277fe6, #0e5ab0); }

.service-card h3 { font-size: 18px; font-weight: 780; color: var(--ink); line-height: 1.2; }
.service-card p  { font-size: 13.5px; line-height: 1.5; color: #304052; margin: 0; }
.service-card-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(13,102,215,.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(13,102,215,.15);
}

/* ══════════ SERVICE MODAL ══════════ */
.service-modal {
  position: fixed; inset: 0; z-index: 74;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.service-modal.is-open { display: flex; }
.service-backdrop {
  position: absolute; inset: 0;
  background: rgba(30,62,96,.22);
  backdrop-filter: blur(20px) saturate(138%);
  cursor: pointer;
}
.service-sheet {
  position: relative;
  display: grid;
  gap: 20px;
  width: min(760px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 40px));
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(249,252,255,.96), rgba(229,242,255,.9));
  box-shadow: 0 38px 100px rgba(19,62,110,.34), inset 0 1px 1px rgba(255,255,255,.92);
}
.sheet-close {
  position: absolute; top: 18px; right: 18px;
  display: grid; width: 36px; height: 36px; place-items: center;
  border: 1px solid rgba(119,158,205,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  color: #223246;
}
.sheet-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ══════════ CALCULATOR ══════════ */
.calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 56px 48px;
}

.calculator-controls {
  display: grid;
  gap: 16px;
}
.calculator-controls > h2 {
  font-size: 29px;
  font-weight: 820;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Product switch */
.product-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.product-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.68);
  background: rgba(246,250,255,.52);
  color: #1e354c;
  font-size: 13px;
  font-weight: 680;
  backdrop-filter: blur(8px);
  transition: all .15s;
}
.product-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.product-button:hover { background: rgba(255,255,255,.65); }
.product-button.is-selected {
  background: rgba(255,255,255,.78);
  border-color: rgba(13,102,215,.4);
  color: var(--blue);
  font-weight: 780;
  box-shadow: 0 6px 14px rgba(14,102,215,.12), inset 0 1px 1px rgba(255,255,255,.9);
}

/* Field groups */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.field-group { display: grid; gap: 8px; }
.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #304052;
  letter-spacing: .1px;
}

/* Segmented controls */
.segmented { display: flex; gap: 6px; flex-wrap: wrap; }
.segmented button {
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(246,250,255,.46);
  color: #1e354c;
  font-size: 13px;
  font-weight: 680;
  backdrop-filter: blur(8px);
  transition: all .15s;
}
.segmented button:hover { background: rgba(255,255,255,.62); }
.segmented button.is-selected {
  background: rgba(255,255,255,.48);
  border-color: rgba(13,102,215,.72);
  color: var(--blue);
  font-weight: 780;
  box-shadow: 0 7px 15px rgba(14,102,215,.11), inset 0 1px 1px rgba(255,255,255,.9);
}

/* Consultation alert */
.consultation-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 16px;
  border: 1px solid rgba(234,179,8,.3);
  border-radius: 13px;
  background: rgba(255,251,215,.65);
  backdrop-filter: blur(8px);
}
.consultation-alert-icon {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  background: #f4bd22;
  color: #fff; font-size: 13px; font-weight: 900;
}
.consultation-alert strong { font-size: 13px; font-weight: 820; display: block; margin-bottom: 3px; }
.consultation-alert p { font-size: 12.5px; color: #4a3800; margin: 0; line-height: 1.45; }

/* Options row (counters) */
.options-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.counter-group { display: grid; gap: 8px; }

.counter {
  display: grid;
  grid-template-columns: 39px 1fr 39px;
  align-items: center;
  width: 142px; height: 47px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(221,238,255,.5);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), 0 4px 10px rgba(23,72,126,.08);
}
.counter button {
  height: 100%;
  border: 0;
  background: rgba(255,255,255,.18);
  color: #1e354c;
  font-size: 22px;
  line-height: 1;
  transition: background .1s;
}
.counter button:hover { background: rgba(255,255,255,.36); }
.counter input {
  width: 100%; height: 100%;
  border: 0;
  background: rgba(221,238,255,.38);
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  outline: none;
}

/* Addon services */
.addon-services {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(249,252,255,.42);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 24px rgba(23,72,126,.08);
  backdrop-filter: blur(10px);
}
.addon-services-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  margin-top: 10px;
}
.addon-service {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(116,157,205,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.52);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.88);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.addon-service:hover { background: rgba(255,255,255,.72); border-color: rgba(13,102,215,.24); }
.addon-service input[type=checkbox] { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); }
.addon-service-title { font-size: 12.5px; font-weight: 820; line-height: 1.28; color: #172332; }
.addon-service-price { display: block; margin-top: 5px; color: var(--blue); font-size: 12.5px; font-weight: 850; }

/* Service description */
.service-description {
  padding: 14px 16px;
  border: 1px solid rgba(101,158,225,.38);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 12px 32px rgba(24,82,144,.1), inset 0 1px 1px rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}
.service-description .tag {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(220,236,255,.72);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 850;
  margin-bottom: 10px;
}
.service-description h3 { font-size: 17px; font-weight: 820; color: var(--ink); margin-bottom: 6px; }
.service-description p  { font-size: 13.5px; color: #304052; line-height: 1.45; margin: 0; }
.service-description ul { margin-top: 10px; padding-left: 16px; list-style: disc; display: grid; gap: 5px; }
.service-description li { font-size: 13px; color: #263649; line-height: 1.4; }

/* Summary card */
.summary-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(150deg, rgba(247,251,255,.58), rgba(224,238,254,.35));
  box-shadow: 0 18px 44px rgba(33,86,145,.13), inset 0 1px 1px rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
}
.summary-card h2 { font-size: 22px; font-weight: 820; color: var(--ink); }

.summary-card dl { display: grid; gap: 0; }
.summary-card dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 13.5px;
}
.summary-card dl > div:last-child { border-bottom: none; }
.summary-card dt { color: #536171; }
.summary-card dd { font-weight: 720; color: var(--ink); text-align: right; }

.summary-warning {
  padding: 10px 13px;
  border-radius: 11px;
  background: rgba(255,251,215,.65);
  border: 1px solid rgba(234,179,8,.28);
  font-size: 12.5px;
  color: #4a3800;
  line-height: 1.45;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1.5px solid rgba(13,102,215,.15);
}
.summary-total span { font-size: 15px; font-weight: 650; color: var(--muted); }
.summary-total strong { font-size: 28px; font-weight: 860; color: var(--blue); }

.summary-actions { display: grid; gap: 9px; }

/* ══════════ FRESH PRICE ══════════ */
.fresh-price-panel { padding: 0 48px 56px; display: grid; gap: 22px; }

.fresh-price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}
.fresh-price-action {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.68);
  background: rgba(249,252,255,.52);
  color: #0a2b5a;
  font-size: 13.5px;
  font-weight: 760;
  white-space: nowrap;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.88), 0 6px 14px rgba(35,93,155,.1);
  backdrop-filter: blur(8px);
  transition: transform .15s;
}
.fresh-price-action:hover { transform: translateY(-1px); }

.fresh-price-warning {
  padding: 16px 20px;
  border: 1px solid rgba(234,179,8,.28);
  border-radius: 16px;
  background: rgba(255,251,215,.65);
  backdrop-filter: blur(8px);
}
.fresh-price-warning strong { font-size: 13.5px; font-weight: 820; display: block; margin-bottom: 8px; }
.fresh-price-warning ul { list-style: disc; padding-left: 18px; display: grid; gap: 5px; }
.fresh-price-warning li { font-size: 13.5px; color: #4a3800; line-height: 1.5; }

/* Tariff cards grid */
.fresh-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fresh-tariff-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

/* Стартовый+ — just has a soft blue border */
.fresh-tariff-card.is-plus {
  border-color: rgba(13,102,215,.22);
}

/* Оптимальный — green accent */
.fresh-tariff-card.is-optimal {
  border-color: rgba(38,150,72,.28);
}
.fresh-tariff-card.is-optimal .fresh-tariff-title h3 { color: #08732d; }
.fresh-tariff-card.is-optimal .fresh-tariff-title > span { background: rgba(34,197,94,.12); color: #08732d; }

/* Расширенный — subtle gold */
.fresh-tariff-card.is-extended {
  border-color: rgba(220,150,0,.22);
}

.fresh-tariff-title { display: flex; align-items: center; gap: 11px; }
.fresh-tariff-title > span {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(13,102,215,.1);
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}
.fresh-tariff-title small { font-size: 10.5px; font-weight: 720; letter-spacing: .8px; text-transform: uppercase; color: #536171; display: block; }
.fresh-tariff-title h3 { font-size: 18px; font-weight: 780; color: var(--ink); margin-top: 1px; }

.fresh-tariff-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.fresh-tariff-meta li {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(13,102,215,.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 720;
  border: 1px solid rgba(13,102,215,.12);
}

.fresh-tariff-card table { width: 100%; border-collapse: collapse; }
.fresh-tariff-card th { text-align: left; font-size: 11.5px; font-weight: 780; padding: 5px 0; color: #536171; border-bottom: 1px solid rgba(255,255,255,.5); }
.fresh-tariff-card td { font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.4); color: var(--ink); }
.fresh-tariff-card td:last-child { text-align: right; font-weight: 720; }

.fresh-tariff-price { display: grid; gap: 2px; }
.fresh-tariff-price > span { font-size: 12px; color: #536171; }
.fresh-tariff-price > strong { font-size: 24px; font-weight: 860; color: var(--ink); }
.fresh-tariff-price > small { font-size: 12px; color: #536171; }

.fresh-tariff-note { font-size: 12.5px; color: #536171; line-height: 1.45; }
.fresh-tariff-note.is-no { color: #c0392b; font-weight: 650; }

.fresh-price-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.fresh-price-extra article {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 14px;
  background: rgba(249,252,255,.52);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.88);
}
.fresh-price-extra span { font-size: 13px; color: #536171; line-height: 1.4; }
.fresh-price-extra strong { font-size: 16px; font-weight: 820; color: var(--blue); }

/* ══════════ SUPPORT REGULATION ══════════ */
.support-regulation { padding: 0 48px 56px; display: grid; gap: 20px; }

.support-regulation-header .section-eyebrow,
.support-regulation-header .section-title { margin-bottom: 6px; }
.support-regulation-header p { font-size: 14.5px; color: #304052; line-height: 1.6; max-width: 780px; }

.support-regulation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.support-regulation-card {
  padding: 22px 20px 24px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.support-regulation-card h3 { font-size: 15px; font-weight: 820; margin-bottom: 14px; }
.support-regulation-card.is-included h3 { color: #08732d; }
.support-regulation-card.is-excluded h3 { color: #c0392b; }
.support-regulation-card ul { display: grid; gap: 7px; }
.support-regulation-card li {
  display: flex; gap: 8px;
  font-size: 13.5px; line-height: 1.5; color: #263649;
}
.support-regulation-card.is-included li::before { content: "✓"; color: #22c55e; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.support-regulation-card.is-excluded li::before { content: "✗"; color: #ef4444; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.support-regulation-card p { font-size: 12.5px; color: #536171; margin-top: 12px; }

.support-regulation-paid {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.68);
  background: rgba(249,252,255,.52);
  backdrop-filter: blur(10px);
  display: grid; gap: 0;
}
.support-regulation-paid h3 { font-size: 15px; font-weight: 820; margin-bottom: 10px; }
.support-regulation-paid > div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 13.5px;
}
.support-regulation-paid > div:last-child { border-bottom: none; }
.support-regulation-paid strong { color: var(--blue); font-weight: 820; }

.support-regulation-note {
  padding: 15px 18px;
  border: 1px solid rgba(234,179,8,.28);
  border-radius: 14px;
  background: rgba(255,251,215,.65);
  backdrop-filter: blur(8px);
}
.support-regulation-note strong { font-size: 13.5px; font-weight: 820; display: block; margin-bottom: 5px; }
.support-regulation-note p { font-size: 13.5px; color: #4a3800; line-height: 1.5; }

/* ══════════ REVIEWS ══════════ */
.reviews-panel {
  margin: 0 48px;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}

.reviews-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.reviews-badge {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 11px;
  border: 1px solid rgba(34,197,94,.26);
  border-radius: 999px;
  color: #08732d;
  background: rgba(220,252,231,.72);
  font-size: 11.5px; font-weight: 880;
  margin-bottom: 10px;
}
.reviews-top h2 { font-size: 22px; font-weight: 820; }
.reviews-top p  { font-size: 13.5px; color: #304052; margin-top: 7px; line-height: 1.45; max-width: 480px; }

.reviews-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: flex-start; padding-top: 4px; }
.reviews-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px;
  border: 1px solid rgba(22,122,59,.44);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #28b45f, #168c43);
  font-size: 13.5px; font-weight: 780;
  transition: transform .15s;
}
.reviews-primary:hover { transform: translateY(-1px); }
.reviews-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 10px;
  color: #0b397c;
  background: rgba(249,252,255,.62);
  font-size: 13.5px; font-weight: 780;
  backdrop-filter: blur(8px);
  transition: transform .15s;
}
.reviews-secondary:hover { transform: translateY(-1px); }

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.review-card {
  display: grid; align-content: start;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 12px 28px rgba(25,80,137,.09);
}
.review-stars { margin-bottom: 10px; color: #f7b91d; font-size: 14px; letter-spacing: 1px; }
.review-card p { font-size: 13.5px; color: #172333; line-height: 1.55; margin: 0; }
.review-author { align-self: end; margin-top: 14px; color: #526171; font-size: 11.5px; font-weight: 780; }

/* ══════════ FAQ ══════════ */
.faq-panel {
  margin: 0 48px 56px;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 20px;
}
.faq-panel .section-title { font-size: 22px; }
.faq-panel > p { font-size: 14px; color: #304052; margin-top: -10px; }

.faq-group { display: grid; gap: 8px; }
.faq-group-title {
  font-size: 15px; font-weight: 820; color: var(--blue);
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(13,102,215,.15);
}

.faq-item {
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 12px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: none; border: none;
  font-size: 14.5px; font-weight: 630; color: var(--ink);
  line-height: 1.4;
}
.faq-arrow { font-size: 12px; color: var(--blue); flex-shrink: 0; transition: transform .22s; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 18px;
  font-size: 14px; color: #263649; line-height: 1.6;
}
.faq-item.is-open .faq-a { max-height: 600px; padding: 0 18px 14px; }

/* ══════════ CONTACTS ══════════ */
.contacts-panel {
  padding: 0 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.contacts-panel > h2 { grid-column: 1/-1; font-size: 29px; font-weight: 820; margin-bottom: 4px; }
.contacts-panel > p  { grid-column: 1/-1; font-size: 14.5px; color: #304052; margin-top: -8px; }

.req-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(246,250,255,.62), rgba(226,239,254,.44));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.req-card h3 { font-size: 17px; font-weight: 780; margin-bottom: 14px; }
.req-table { width: 100%; border-collapse: collapse; }
.req-table td { padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.45); }
.req-table tr:last-child td { border-bottom: none; }
.req-table td:first-child { color: #536171; width: 44%; }
.req-table td:last-child { font-weight: 700; }
.req-table a { color: var(--blue); font-weight: 700; }

.cp-form { display: grid; gap: 10px; }
.cp-form input, .cp-form textarea {
  width: 100%; padding: 12px 15px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 10px;
  font: 14px/1.4 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9);
  transition: border-color .2s, box-shadow .2s;
  backdrop-filter: blur(6px);
}
.cp-form input:focus, .cp-form textarea:focus {
  border-color: rgba(13,102,215,.4);
  box-shadow: 0 0 0 3px rgba(13,102,215,.1), inset 0 1px 1px rgba(255,255,255,.9);
}
.cp-form textarea { resize: vertical; min-height: 85px; }

/* ══════════ FOOTER ══════════ */
.site-footer {
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,.44);
  text-align: center;
  font-size: 13px;
  color: #536171;
}
.site-footer b { color: var(--ink); }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1100px) {
  .site-shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .calculator-panel { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .fresh-price-grid { grid-template-columns: repeat(2,1fr); }
  .support-regulation-grid { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: repeat(2,1fr); }
  .contacts-panel { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .site-shell { width: calc(100% - 28px); margin: 10px auto 28px; }
  .topbar { border-radius: 16px; top: 10px; padding: 0 12px; }
  .nav-links { display: none; }
  .hero { padding: 40px 24px 0; }
  .service-grid { grid-template-columns: 1fr; padding: 24px; }
  .calculator-panel, .fresh-price-panel, .support-regulation, .contacts-panel { padding: 32px 24px; }
  .reviews-panel, .faq-panel { margin: 0 0 40px; padding: 22px 20px; }
  .fresh-price-grid { grid-template-columns: 1fr; }
  .fresh-price-extra { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
  .addon-services-list { grid-template-columns: 1fr 1fr; }
  .primary-button, .secondary-button { min-width: 0; width: 100%; }
}
@media (max-width: 500px) {
  .addon-services-list { grid-template-columns: 1fr; }
}

/* ─── Burger menu (mobile) ─── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 10px;
}
.burger-btn span {
  display: block; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .22s;
}
@media (max-width: 760px) { .burger-btn { display: flex; } }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
