/*!
 * Pro100Osago Design System v5.0
 * Clean corporate insurance — white + blue + grey
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --c-primary:    #2563EB;
  --c-primary-h:  #1D4ED8;
  --c-primary-d:  #1E40AF;
  --c-primary-soft:#DBEAFE;
  --c-primary-tint:#EFF6FF;

  --c-accent:    #F59E0B;       /* amber for highlights */
  --c-accent-soft:#FEF3C7;
  --c-pink:      #EC4899;       /* magenta accents */
  --c-pink-soft: #FCE7F3;
  --c-success:   #10B981;
  --c-warning:   #F59E0B;
  --c-danger:    #EF4444;

  /* Neutrals */
  --c-bg:        #FFFFFF;
  --c-bg-soft:   #F8FAFC;
  --c-bg-section:#F1F5F9;
  --c-text:      #0F172A;
  --c-text-2:    #334155;
  --c-text-muted:#64748B;
  --c-text-soft: #94A3B8;
  --c-border:    #E2E8F0;
  --c-border-2:  #CBD5E1;
  --c-link:      var(--c-primary);
  --c-link-hover:var(--c-primary-d);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', sans-serif;

  --fs-xs:    12px;
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    20px;
  --fs-xl:    24px;
  --fs-2xl:   30px;
  --fs-3xl:   38px;
  --fs-4xl:   48px;
  --fs-5xl:   60px;
  --fs-hero:  clamp(36px, 5vw, 56px);

  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  --lh-tight: 1.1;
  --lh-snug:  1.2;
  --lh-base:  1.5;
  --lh-loose: 1.65;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-7: 28px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-14: 56px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-32: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --r-2xl: 24px; --r-3xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --sh-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --sh-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --sh-xl: 0 20px 48px rgba(15, 23, 42, 0.12);
  --sh-blue: 0 4px 16px rgba(37, 99, 235, 0.20);

  /* Container */
  --max-w:    1200px;
  --max-w-sm: 720px;
  --max-w-md: 960px;

  /* Animation */
  --t-fast:   180ms;
  --t-normal: 280ms;
  --t-slow:   460ms;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Legacy */
  --p-blue: var(--c-primary);
  --p-blue-500: var(--c-primary);
  --p-blue-600: var(--c-primary-h);
  --p-blue-700: var(--c-primary-d);
  --p-blue-50: var(--c-primary-soft);
  --p-yellow-400: var(--c-accent);
  --p-yellow-300: var(--c-accent);
  --p-yellow-50: var(--c-accent-soft);
  --p-gray-50: var(--c-bg-soft);
  --p-gray-100: var(--c-bg-section);
  --p-gray-200: var(--c-border);
  --p-gray-300: var(--c-border-2);
  --p-gray-500: var(--c-text-soft);
  --p-gray-600: var(--c-text-muted);
  --p-gray-900: var(--c-text);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--c-text); background: var(--c-bg); min-height: 100vh; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration: none; transition: all var(--t-fast) var(--ease); }
a:hover { color: var(--c-link-hover); }
a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  color: var(--c-text);
}
h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }
p { line-height: var(--lh-loose); }
::selection { background: var(--c-primary); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg-soft); }
::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 6px; border: 3px solid var(--c-bg-soft); }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6); }
.container--sm { max-width: var(--max-w-sm); }
.container--md { max-width: var(--max-w-md); }

.section { padding: var(--sp-16) 0; position: relative; }
.section--sm { padding: var(--sp-10) 0; }
.section--lg { padding: var(--sp-20) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-text); color: #fff; }
.section--dark h1, .section--dark h2 { color: #fff; }
@media (max-width: 768px) {
  .section { padding: var(--sp-10) 0; }
}

.section__head { max-width: 720px; margin: 0 auto var(--sp-10); }
.section__head--center { text-align: center; }
.section__head--left { text-align: left; max-width: 800px; margin-left: 0; margin-right: 0; }
.section__eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.section__desc { color: var(--c-text-muted); font-size: var(--fs-md); line-height: var(--lh-loose); }

/* Header */
.p-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-fast);
}
.p-header.scrolled { border-bottom-color: var(--c-border); }
.p-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--sp-6); }

.p-logo { display: flex; align-items: center; gap: 10px; font-weight: var(--fw-extrabold); font-size: 22px; color: var(--c-text); letter-spacing: -0.03em; }
.p-logo:hover { color: var(--c-text); }
.p-logo__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: var(--fw-extrabold); font-size: 16px;
  position: relative;
}
.p-logo__mark::after {
  content: '';
  position: absolute; bottom: -2px; right: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 2px solid #fff;
}

.p-nav { display: flex; align-items: center; gap: 2px; }
.p-nav__link {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-md);
  color: var(--c-text-2);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  transition: all var(--t-fast);
}
.p-nav__link:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.p-nav__link.active { color: var(--c-primary); background: var(--c-primary-soft); }

.p-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.p-header__chat,
.p-header__phone {
  display: inline-flex; align-items: center;
  gap: 6px;
  font-weight: var(--fw-semibold); font-size: var(--fs-sm);
  color: var(--c-text);
  padding: 8px 12px;
  border-radius: var(--r-md);
}
.p-header__phone:hover, .p-header__chat:hover { background: var(--c-bg-soft); color: var(--c-primary); }

.p-burger { display: none; width: 40px; height: 40px; border-radius: var(--r-md); align-items: center; justify-content: center; }
.p-burger span { width: 20px; height: 2px; background: var(--c-text); border-radius: 1px; position: relative; }
.p-burger span::before, .p-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--c-text); border-radius: 1px; }
.p-burger span::before { top: -6px; }
.p-burger span::after { top: 6px; }

@media (max-width: 1024px) {
  .p-nav { display: none; }
  .p-burger { display: inline-flex; }
  .p-header__phone span, .p-header__chat span { display: none; }
}

.p-mobile-nav {
  position: fixed; inset: 72px 0 0 0;
  background: var(--c-bg);
  z-index: 99; padding: var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--t-normal) var(--ease-out);
  overflow-y: auto;
}
.p-mobile-nav.open { transform: translateX(0); }
.p-mobile-nav .p-nav__link { display: block; padding: var(--sp-4); font-size: var(--fs-md); border-radius: var(--r-md); margin-bottom: 4px; }

/* Hero */
.hero {
  background: var(--c-bg);
  padding: var(--sp-12) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 90% 20%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(ellipse 400px 300px at 10% 90%, rgba(245, 158, 11, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero { padding: var(--sp-10) 0 var(--sp-12); }
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary-d);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-5);
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}
.hero__title em { font-style: normal; color: var(--c-primary); }

.hero__lead {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--c-text-muted);
  max-width: 540px;
  margin-bottom: var(--sp-6);
}

.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-6); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  color: var(--c-text-2);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}
.hero__pill strong { color: var(--c-text); font-weight: var(--fw-bold); }
.hero__pill .ico { color: var(--c-success); display: inline-flex; }

/* Calculator */
.calc {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-7);
  box-shadow: var(--sh-lg);
}
.calc__head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.calc__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.calc__title { font-size: var(--fs-md); font-weight: var(--fw-extrabold); margin-bottom: 2px; }
.calc__sub { font-size: var(--fs-sm); color: var(--c-text-muted); }

.calc__tabs {
  display: flex; gap: 2px;
  background: var(--c-bg-soft);
  padding: 4px;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-5);
  overflow-x: auto;
}
.calc__tab {
  flex: 1; min-width: max-content;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  color: var(--c-text-muted);
  background: transparent; border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.calc__tab:hover { color: var(--c-text); }
.calc__tab.active { background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); }

.calc__field { margin-bottom: var(--sp-4); }
.calc__field-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: 6px;
}
.calc__field-hint { font-size: var(--fs-xs); color: var(--c-text-soft); margin-top: 6px; }

.calc__plate {
  display: flex; align-items: stretch;
  border: 2px solid var(--c-border-2);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  font-weight: var(--fw-bold);
  height: 60px;
  font-size: 26px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--t-fast);
}
.calc__plate:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.calc__plate-input {
  flex: 1; border: none;
  padding: 0 16px;
  background: transparent; outline: none;
  font: inherit; letter-spacing: inherit;
  color: var(--c-text);
}
.calc__plate-input::placeholder { color: var(--c-text-soft); font-weight: var(--fw-medium); }
.calc__plate-flag {
  width: 52px;
  background: linear-gradient(180deg, #fff 0%, #fff 33%, #2563EB 33%, #2563EB 66%, #EF4444 66%, #EF4444 100%);
  border-left: 2px solid var(--c-border-2);
  display: grid; place-items: center;
  font-size: 11px; font-weight: var(--fw-bold);
  color: var(--c-text); text-align: center;
}

.calc__cta {
  display: block; width: 100%;
  padding: 16px 24px;
  margin-top: var(--sp-3);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  text-align: center;
  transition: all var(--t-fast);
  border: none; cursor: pointer;
  box-shadow: var(--sh-blue);
}
.calc__cta:hover {
  background: var(--c-primary-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
}
.calc__cta-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: center; margin-top: var(--sp-3);
  font-size: var(--fs-xs); color: var(--c-text-soft);
}
.calc__cta-meta span { display: flex; align-items: center; gap: 4px; }

.calc__alt { text-align: center; margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-text-muted); }
.calc__alt a {
  color: var(--c-primary); font-weight: var(--fw-semibold);
  text-decoration: underline; text-underline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1;
  text-decoration: none;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-primary-h); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-blue); }
.btn--accent { background: var(--c-text); color: #fff; }
.btn--accent:hover { background: var(--c-primary); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--c-text); border-color: var(--c-border-2); }
.btn--ghost:hover { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.btn--lg { padding: 16px 32px; font-size: var(--fs-md); }
.btn--sm { padding: 8px 14px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; }
.stat-item__value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__value--accent { color: var(--c-primary); }
.stat-item__label { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Promo banners — like "Расширенная страховка" + "Штрафы" */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 768px) { .promo-grid { grid-template-columns: 1fr; } }

.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-8);
  border-radius: var(--r-2xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--t-normal) var(--ease-out);
  min-height: 240px;
}
.promo:hover { color: var(--c-text); transform: translateY(-3px); box-shadow: var(--sh-md); }
.promo--blue {
  background: linear-gradient(135deg, var(--c-primary-tint), var(--c-primary-soft));
}
.promo--amber {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}
.promo--mint {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}
.promo--pink {
  background: linear-gradient(135deg, var(--c-pink-soft), #FBCFE8);
}
.promo__body { position: relative; }
.promo__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--c-text-2);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--r-full);
}
.promo__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-2);
  line-height: var(--lh-snug);
}
.promo__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
  max-width: 320px;
}
.promo__features {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-4);
}
.promo__feature {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-xs);
  color: var(--c-text-2);
  background: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.promo__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--c-text);
  color: #fff;
  border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  transition: all var(--t-fast);
}
.promo:hover .promo__cta { background: var(--c-primary); }
.promo__visual {
  font-size: 96px; line-height: 1;
  opacity: 0.85;
}

/* Products grid (compact card list, like menu cards) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  display: block;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--t-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  color: var(--c-text);
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.product-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: var(--sp-4);
}
.product-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  margin-bottom: 4px;
}
.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-4);
}
.product-card__price {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
}
.product-card__price strong { color: var(--c-primary); font-size: var(--fs-md); font-weight: var(--fw-extrabold); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  padding: var(--sp-6);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  position: relative;
  transition: all var(--t-normal);
}
.step-card:hover { border-color: var(--c-primary); box-shadow: var(--sh-md); transform: translateY(-2px); }
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  font-size: var(--fs-md); font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-4);
}
.step-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  margin-bottom: 6px;
}
.step-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-loose);
}

/* Journal — tabs + cards */
.journal-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.journal-tab {
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-bg-soft);
  color: var(--c-text-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all var(--t-fast);
}
.journal-tab:hover { background: var(--c-primary-soft); color: var(--c-primary); border-color: var(--c-primary-soft); }
.journal-tab.active { background: var(--c-text); color: #fff; border-color: var(--c-text); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 1024px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .journal-grid { grid-template-columns: 1fr; } }

.article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--t-normal) var(--ease-out);
}
.article-card:hover {
  color: var(--c-text);
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.article-card__media {
  height: 180px;
  background: linear-gradient(135deg, var(--c-primary-soft), var(--c-primary-tint));
  position: relative;
  display: grid; place-items: center;
  font-size: 56px;
}
.article-card:nth-child(2) .article-card__media { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.article-card:nth-child(3) .article-card__media { background: linear-gradient(135deg, var(--c-pink-soft), #FBCFE8); }
.article-card:nth-child(4) .article-card__media { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.article-card__cat {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--c-text-2);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.article-card__body { padding: var(--sp-5); }
.article-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-2);
}
.article-card__date {
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-3);
}
.partner-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: var(--sp-5) var(--sp-3);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--c-text-muted);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  text-align: center;
  transition: all var(--t-fast);
}
.partner-tile:hover {
  color: var(--c-text);
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.partner-tile img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }

/* About */
.about-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 1024px) { .about-block { grid-template-columns: 1fr; } }

.about-block__content h2 { margin-bottom: var(--sp-5); }
.about-block__lead {
  font-size: var(--fs-md);
  color: var(--c-text-2);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-5);
}
.about-block__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
@media (max-width: 600px) { .about-block__points { grid-template-columns: 1fr; } }
.about-point {
  padding: var(--sp-4);
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
}
.about-point__num {
  font-size: var(--fs-2xl); font-weight: var(--fw-extrabold);
  color: var(--c-primary);
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 4px;
}
.about-point__label {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.about-block__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--c-primary-tint), var(--c-primary-soft));
  border-radius: var(--r-2xl);
  display: grid; place-items: center;
  font-size: 200px;
  overflow: hidden;
}
.about-block__visual::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  opacity: 0.6;
}

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: all var(--t-fast);
}
.faq__item[open] { border-color: var(--c-primary); box-shadow: var(--sh-sm); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-md); font-weight: var(--fw-bold);
  color: var(--c-text);
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 20px; font-weight: var(--fw-bold);
  transition: all var(--t-fast);
}
.faq__item[open] .faq__q::after {
  content: '−';
  background: var(--c-primary);
  color: #fff;
}
.faq__a { padding: 0 var(--sp-6) var(--sp-5); color: var(--c-text-muted); line-height: var(--lh-loose); }

/* Article content */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { margin-bottom: var(--sp-6); font-size: var(--fs-4xl); }
.article h2 { margin-top: var(--sp-12); margin-bottom: var(--sp-4); font-size: var(--fs-2xl); }
.article h3 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); font-size: var(--fs-xl); }
.article p { margin-bottom: var(--sp-4); color: var(--c-text-2); }
.article ul, .article ol { padding-left: 24px; margin-bottom: var(--sp-4); list-style: revert; color: var(--c-text-2); }
.article ul li, .article ol li { margin-bottom: var(--sp-2); line-height: var(--lh-loose); }
.article a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--c-primary-d); }
.article blockquote {
  margin: var(--sp-6) 0; padding: var(--sp-5) var(--sp-6);
  background: var(--c-primary-tint);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--r-md);
  color: var(--c-text);
}
.article table { width: 100%; border-collapse: collapse; margin: var(--sp-6) 0; }
.article th, .article td { padding: 12px 16px; border: 1px solid var(--c-border); text-align: left; }
.article th { background: var(--c-bg-soft); font-weight: var(--fw-bold); }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin-bottom: var(--sp-6);
}
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs__sep { opacity: 0.4; }

/* CTA banner */
.cta-banner {
  background: var(--c-primary);
  border-radius: var(--r-2xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.cta-banner__title {
  font-size: var(--fs-3xl);
  color: #fff;
  margin-bottom: var(--sp-3);
  position: relative;
  letter-spacing: -0.025em;
}
.cta-banner__desc {
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--sp-6);
  position: relative;
  font-size: var(--fs-md);
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-banner__actions {
  display: flex; gap: var(--sp-3);
  justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* Footer */
.p-footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.65);
  padding: var(--sp-16) 0 var(--sp-6);
}
.p-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-8);
}
@media (max-width: 1024px) {
  .p-footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .p-footer__brand-block { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .p-footer__top { grid-template-columns: 1fr 1fr; }
}
.p-footer__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: var(--fw-extrabold);
  color: #fff;
  margin-bottom: var(--sp-4);
}
.p-footer__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--sp-5);
  line-height: var(--lh-loose);
}
.p-footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}
.p-footer__links { display: flex; flex-direction: column; gap: 10px; }
.p-footer__link {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.p-footer__link:hover { color: var(--c-accent); }
.p-footer__bottom {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
}
.p-footer__bottom a { color: rgba(255,255,255,0.7); }
.p-footer__bottom a:hover { color: var(--c-accent); }
.p-footer__legal {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  line-height: var(--lh-loose);
}
.p-footer__legal p { color: inherit; margin-bottom: 8px; }

/* Reviews */
.review {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--t-fast);
}
.review:hover { border-color: var(--c-primary); box-shadow: var(--sh-md); transform: translateY(-2px); }
.review__rating {
  display: flex; gap: 2px; margin-bottom: var(--sp-3);
  color: var(--c-accent);
  font-size: 18px;
}
.review__text {
  color: var(--c-text);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-loose);
}
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid; place-items: center;
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-base);
}
.review__name { font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--c-text); }
.review__date { font-size: var(--fs-xs); color: var(--c-text-soft); }

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--c-primary); }
.text-accent { color: var(--c-accent); }
.text-muted { color: var(--c-text-muted); }

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }

.hidden { display: none; }
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

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

@media print {
  .p-header, .p-footer, .calc, .cta-banner, .promo { display: none !important; }
  body { background: #fff; color: #000; }
}

/* === OFFERS GRID (Pampadu) === */
.offers-loading,
.offers-empty {
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
  color: var(--c-text-muted);
  background: var(--c-bg-soft);
  border-radius: var(--r-xl);
  font-size: var(--fs-md);
}
.offers-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(3, 1fr);
}
.offers-grid--grid-2 { grid-template-columns: repeat(2, 1fr); }
.offers-grid--grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .offers-grid, .offers-grid--grid-3, .offers-grid--grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .offers-grid, .offers-grid--grid-2, .offers-grid--grid-3, .offers-grid--grid-4 { grid-template-columns: 1fr; }
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--t-fast) var(--ease-out);
  position: relative;
  min-height: 220px;
}
.offer-card:hover {
  color: var(--c-text);
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.offer-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.offer-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
}
.offer-card__icon--ph {
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: var(--fw-extrabold);
  font-size: 22px;
  padding: 0;
}
.offer-card__cat {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-bg-soft);
  color: var(--c-text-muted);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-align: right;
  line-height: 1.2;
}

.offer-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-snug);
  color: var(--c-text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  /* Limit to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card__action {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
  font-weight: var(--fw-medium);
}

.offer-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--c-border);
}
.offer-card:hover .offer-card__cta {
  color: var(--c-primary-h);
}
.offer-card__cta svg { transition: transform var(--t-fast); }
.offer-card:hover .offer-card__cta svg { transform: translate(2px, -2px); }

.offer-card__disc {
  font-size: 10px;
  color: var(--c-text-soft);
  margin-top: var(--sp-2);
  line-height: 1.4;
  /* Show only first line */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offers-meta {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  text-align: center;
}

/* Filter tabs for offer pages */
.offer-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.offer-tab {
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-bg-soft);
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border: 1px solid var(--c-border);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}
.offer-tab:hover { background: var(--c-primary-soft); color: var(--c-primary); border-color: var(--c-primary-soft); }
.offer-tab.active { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* === Feedback modal === */
.p-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: flex-start; justify-content: center; padding: 4vh 1rem; overflow-y: auto; }
.p-modal.is-open { display: flex; animation: pmFadeIn 0.18s ease-out; }
.p-modal__overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px); }
.p-modal__panel { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(15,23,42,0.45); padding: 2rem; animation: pmSlideUp 0.22s ease-out; }
.p-modal__close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: none; background: #F1F5F9; color: #475569; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.p-modal__close:hover { background: #E2E8F0; color: #0F172A; }
.p-modal__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--c-text); letter-spacing: -0.02em; }
.p-modal__sub { color: var(--c-text-soft); font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.55; }
.p-form { display: flex; flex-direction: column; gap: 0.875rem; }
.p-form__row { display: flex; flex-direction: column; gap: 0.4rem; }
.p-form__label { font-size: 0.8125rem; font-weight: 600; color: var(--c-text); }
.p-form__input, .p-form__textarea { width: 100%; padding: 0.875rem 1rem; font-family: inherit; font-size: 0.9375rem; border: 1.5px solid #E2E8F0; border-radius: 14px; background: #F8FAFC; color: var(--c-text); transition: all 0.2s; }
.p-form__input:focus, .p-form__textarea:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.p-form__textarea { resize: vertical; min-height: 90px; }
.p-form__hint { font-size: 0.75rem; color: var(--c-text-soft); line-height: 1.4; }
.p-form__hint a { color: var(--c-primary); text-decoration: none; }
.p-form__submit { margin-top: 0.5rem; padding: 0.95rem 1.25rem; background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%); color: #fff; border: none; border-radius: 14px; font-family: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 8px 24px -8px rgba(37,99,235,0.45); }
.p-form__submit:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(37,99,235,0.55); }
.p-form__submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.p-form__success, .p-form__error { padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.875rem; }
.p-form__success { background: #D1FAE5; color: #065F46; }
.p-form__error { background: #FEE2E2; color: #991B1B; }
@keyframes pmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pmSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .p-modal__panel { padding: 1.5rem; border-radius: 20px; }
  .p-modal__title { font-size: 1.25rem; }
}

/* === Calc results panel === */
.calc-results { display: none; padding: var(--sp-8) 0; background: linear-gradient(180deg, #F0F9FF 0%, #FFF 100%); border-top: 1px solid #E0F2FE; }
.calc-results.is-active { display: block; animation: crFadeIn 0.4s ease-out; }
.calc-results__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.calc-results__title { font-size: 1.75rem; font-weight: 800; color: var(--c-text); letter-spacing: -0.02em; }
.calc-results__title em { color: var(--c-primary); font-style: normal; }
.calc-results__meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.calc-results__chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; background: #fff; border: 1px solid #E0F2FE; border-radius: 100px; font-size: 0.8125rem; color: var(--c-text-soft); }
.calc-results__chip strong { color: var(--c-text); font-weight: 700; }
.calc-results__loader { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 3rem 2rem; background: #fff; border-radius: 20px; box-shadow: 0 4px 20px -4px rgba(15,23,42,0.06); }
.calc-results__spinner { width: 40px; height: 40px; border: 3px solid #E0F2FE; border-top-color: var(--c-primary); border-radius: 50%; animation: crSpin 0.7s linear infinite; }
.calc-results__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.calc-card { display: flex; flex-direction: column; padding: 1.5rem; background: #fff; border: 1.5px solid #E0F2FE; border-radius: 20px; transition: all 0.2s; position: relative; overflow: hidden; }
.calc-card:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 12px 32px -8px rgba(37,99,235,0.18); }
.calc-card.is-best { border-color: #10B981; background: linear-gradient(180deg, #ECFDF5 0%, #FFF 60%); }
.calc-card.is-best::before { content: '👑 Лучшая цена'; position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.25rem 0.6rem; background: #10B981; color: #fff; border-radius: 100px; font-size: 0.6875rem; font-weight: 700; }
.calc-card__head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1rem; }
.calc-card__logo { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.125rem; flex-shrink: 0; }
.calc-card__brand { display: flex; flex-direction: column; gap: 0.125rem; }
.calc-card__name { font-weight: 700; color: var(--c-text); font-size: 0.9375rem; }
.calc-card__rating { font-size: 0.75rem; color: var(--c-text-soft); }
.calc-card__price { font-size: 1.75rem; font-weight: 800; color: var(--c-text); margin: 0.25rem 0 0.25rem; letter-spacing: -0.02em; }
.calc-card__price-old { font-size: 0.875rem; color: var(--c-text-soft); text-decoration: line-through; margin-bottom: 1rem; }
.calc-card__features { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.calc-card__feature { font-size: 0.8125rem; color: var(--c-text-soft); display: flex; gap: 0.4rem; align-items: center; }
.calc-card__feature::before { content: '✓'; color: #10B981; font-weight: 700; flex-shrink: 0; }
.calc-card__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.875rem 1.25rem; background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%); color: #fff; border: none; border-radius: 12px; font-family: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.calc-card__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -4px rgba(37,99,235,0.3); }
.calc-results__footer { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #fff; border-radius: 16px; border: 1px solid #E0F2FE; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.calc-results__footer-text { font-size: 0.875rem; color: var(--c-text-soft); }
@keyframes crFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes crSpin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .calc-results__title { font-size: 1.375rem; }
  .calc-card { padding: 1.25rem; }
  .calc-card__price { font-size: 1.5rem; }
}

/* Pampadu-widget style cards */
.pmd-widget-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%); border-radius: 16px; color: #fff; }
.pmd-brand { display: flex; align-items: center; gap: 0.875rem; }
.pmd-brand__icon { color: #fff; opacity: 0.95; }
.pmd-brand__name { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; }
.pmd-brand__sub { font-size: 0.8125rem; opacity: 0.85; margin-top: 2px; }
.pmd-widget-header .calc-results__chip { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.25); color: #fff; }
.pmd-widget-header .calc-results__chip strong { color: #fff; }

.calc-results__grid { display: flex; flex-direction: column; gap: 1rem; }
.pmd-card { display: block; padding: 1.5rem; background: #fff; border: 1.5px solid #E0F2FE; border-radius: 20px; text-decoration: none; color: var(--c-text); transition: all 0.2s; position: relative; }
.pmd-card:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(37,99,235,0.2); }
.pmd-card--primary { border-color: #BAE6FD; background: linear-gradient(180deg, #EFF6FF 0%, #FFF 60%); }
.pmd-card--primary:hover { border-color: #2563EB; }
.pmd-card__partner-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.6rem; margin-bottom: 0.875rem; background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%); color: #fff; border-radius: 100px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.pmd-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.pmd-card__logo { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.pmd-card__brand { flex: 1; }
.pmd-card__name { font-size: 1.0625rem; font-weight: 700; color: var(--c-text); }
.pmd-card__desc { font-size: 0.8125rem; color: var(--c-text-soft); margin-top: 2px; }
.pmd-card__price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1rem; border-top: 1px dashed #E0F2FE; }
.pmd-card__price-label { font-size: 0.75rem; color: var(--c-text-soft); }
.pmd-card__price { font-size: 1.625rem; font-weight: 800; color: var(--c-text); letter-spacing: -0.02em; }
.pmd-card__cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.875rem 1.5rem; background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%); color: #fff; border-radius: 12px; font-size: 0.9375rem; font-weight: 700; transition: transform 0.2s; }
.pmd-card:hover .pmd-card__cta { transform: translateX(4px); }

.pmd-manual { padding: 1.5rem; background: #F8FAFC; border: 1.5px dashed #CBD5E1; border-radius: 20px; }
.pmd-manual__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pmd-manual__title { font-size: 1rem; font-weight: 700; color: var(--c-text); }
.pmd-manual__sub { font-size: 0.875rem; color: var(--c-text-soft); margin-top: 4px; }
.pmd-manual__cta { padding: 0.75rem 1.25rem; background: var(--c-text); color: #fff; border: none; border-radius: 12px; font-family: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.pmd-manual__cta:hover { opacity: 0.85; }
.pmd-manual__logos { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pmd-manual__logo { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; font-weight: 800; font-size: 0.9375rem; }

@media (max-width: 600px) {
  .pmd-card { padding: 1.25rem; }
  .pmd-card__price { font-size: 1.375rem; }
  .pmd-card__head { gap: 0.75rem; }
  .pmd-card__logo { width: 48px; height: 48px; font-size: 1.125rem; }
}

/* === Pampadu iframe widget === */
.pmd-iframe-wrap { background: #fff; border-radius: 20px; padding: 1rem; box-shadow: 0 20px 40px -10px rgba(15,23,42,0.08); }
.pmd-iframe__fallback { padding: 1rem 1.25rem 0.5rem; text-align: center; font-size: 0.875rem; color: var(--c-text-soft); }
.pmd-iframe__fallback a { color: var(--c-primary); text-decoration: none; font-weight: 600; }
.pmd-iframe__fallback a:hover { text-decoration: underline; }
