/* ============================================
   Medical Equipment Rental — Soligorsk
   Modern landing page styles
   ============================================ */

:root {
  --color-primary: #0B6EAF;
  --color-primary-dark: #085A8F;
  --color-primary-light: #E8F4FC;
  --color-accent: #00C2B8;
  --color-accent-glow: rgba(0, 194, 184, 0.35);
  --color-navy: #0A2540;
  --color-navy-soft: #1A3A5C;
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F9FD;
  --color-bg-dark: #0A2540;
  --color-border: #E2E8F0;
  --color-success: #10B981;
  --color-error: #EF4444;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.16);
  --shadow-glow: 0 0 40px rgba(11, 110, 175, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --header-h: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ========== Preloader ========== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__pulse {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.15em;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  line-height: 1.1;
}

.header .logo__mark {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

.logo__sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
}

.logo--footer .logo__mark {
  color: #fff;
}

.logo--footer .logo__sub {
  color: var(--color-accent);
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  text-transform: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
}

.nav__link--cta:hover {
  background: var(--color-primary-dark);
}

.nav__link.is-active:not(.nav__link--cta) {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-primary);
}

.header__phone svg {
  color: var(--color-primary);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0A8FD4 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(11, 110, 175, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 30px rgba(11, 110, 175, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-navy);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary-light);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(11, 110, 175, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 194, 184, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F8FCFF 0%, #FFFFFF 50%, #F4F9FD 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 110, 175, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 175, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: rgba(11, 110, 175, 0.15);
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -80px;
  background: rgba(0, 194, 184, 0.12);
  animation-delay: -4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

@media (min-width: 1200px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
    gap: 56px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: fade-up 0.8s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 20px;
  animation: fade-up 0.8s ease 0.1s both;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 580px;
  margin-bottom: 32px;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero__desc strong {
  color: var(--color-primary);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fade-up 0.8s ease 0.3s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  animation: fade-up 0.8s ease 0.4s both;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero__float-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.hero__float-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: hero-float 5s ease-in-out infinite;
}

.hero__float-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__float-item--1 { animation-delay: 0s; }
.hero__float-item--2 { animation-delay: -1.25s; margin-top: 10px; }
.hero__float-item--3 { animation-delay: -2.5s; }
.hero__float-item--4 { animation-delay: -3.75s; margin-top: 10px; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Trust bar ========== */
.trust {
  padding: 0 0 60px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust__item {
  display: flex;
  gap: 20px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.trust__icon svg {
  width: 26px;
  height: 26px;
}

.trust__item strong {
  display: block;
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.trust__item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========== Sections ========== */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__head {
  margin-bottom: 56px;
  max-width: 600px;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ========== Catalog ========== */
.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.catalog__filter {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.catalog__filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.catalog__filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.product-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__media > img {
  transform: scale(1.06);
}

/* Product gallery slider */
.product-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-gallery__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.product-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-gallery__slide.is-active img {
  transform: scale(1.04);
}

.product-gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.product-gallery:hover .product-gallery__zoom,
.product-gallery__zoom:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-gallery__zoom:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
}

.product-gallery:hover .product-gallery__arrow,
.product-gallery__arrow:focus-visible {
  opacity: 1;
}

.product-gallery__arrow:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-gallery__arrow--prev { left: 10px; }
.product-gallery__arrow--next { right: 10px; }

.product-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.product-gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 37, 64, 0.15);
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.product-gallery__dot.is-active {
  width: 22px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.product-gallery__count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(10, 37, 64, 0.55);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(8px);
  animation: fade-in 0.25s ease;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: modal-in 0.35s var(--transition-bounce);
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(92vh - 80px);
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(92vh - 80px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__arrow--prev { left: -64px; }
.lightbox__arrow--next { right: -64px; }

.lightbox__caption {
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 600px;
}

.lightbox__counter {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
  .lightbox__close { top: 8px; right: 8px; }
  .product-gallery__arrow { opacity: 1; }
  .product-gallery__zoom { opacity: 1; transform: none; }
}

.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
}

.product-card__badge--hot {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.product-card__body {
  padding: 24px 28px 28px;
}

.product-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 8px 0 12px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-card__features li {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.product-card__price-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.product-card__price-unit {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ========== Advantages ========== */
.advantages__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.advantages__visual {
  position: relative;
}

.advantages__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.advantages__img-wrap img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.advantages__float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float-card 5s ease-in-out infinite;
}

.advantages__float-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-success), #059669);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.advantages__float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-navy);
}

.advantages__float-card span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.advantages__list {
  margin-top: 40px;
}

.advantages__item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left var(--transition);
}

.advantages__item:hover {
  padding-left: 8px;
}

.advantages__item:last-child {
  border-bottom: none;
}

.advantages__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  flex-shrink: 0;
}

.advantages__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.advantages__item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ========== How it works ========== */
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.how__step {
  position: relative;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.how__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.how__step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
}

.how__step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light), #fff);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
}

.how__step-icon svg {
  width: 28px;
  height: 28px;
}

.how__step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.how__step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========== Areas ========== */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .areas__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.area-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.area-card.is-primary {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  border-color: transparent;
  color: #fff;
}

.area-card.is-primary .area-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-accent);
}

.area-card.is-primary h3,
.area-card.is-primary p {
  color: #fff;
}

.area-card.is-primary p {
  opacity: 0.85;
}

.area-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 50%;
  color: var(--color-primary);
}

.area-card__icon svg {
  width: 28px;
  height: 28px;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.area-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ========== Reviews ========== */
.reviews__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-card__stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-navy);
}

.review-card footer span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ========== CTA Banner ========== */
.cta-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0A8FD4 50%, var(--color-accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* ========== Contact ========== */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact__list {
  margin: 32px 0 40px;
}

.contact__list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact__list-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.contact__list-icon svg {
  width: 22px;
  height: 22px;
}

.contact__list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact__list a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.contact__list a:hover {
  color: var(--color-primary-dark);
}

.contact__bed-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: 24px;
}

.contact__forms {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-card--alt {
  background: var(--color-bg-alt);
  border-color: transparent;
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.form-card__sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-group label span {
  color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 110, 175, 0.1);
}

.form-group input.is-error,
.form-group textarea.is-error {
  border-color: var(--color-error);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 6px;
  min-height: 1.2em;
}

.form-card__privacy {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 12px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ========== FAQ ========== */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
}

.faq__item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq__item p a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 80px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__nav h4,
.footer__contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 20px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer__nav a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer__phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer__phone:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  animation: fade-in 0.3s ease;
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: #fff;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.4s var(--transition-bounce);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.modal__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-navy);
}

.modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  border-radius: 50%;
  color: var(--color-success);
}

.modal__icon svg {
  width: 36px;
  height: 36px;
}

.modal__box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.modal__box p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ========== FAB ========== */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-success), #059669);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fab-pulse 3s ease infinite;
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.55);
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 6px 32px rgba(16, 185, 129, 0.65), 0 0 0 12px rgba(16, 185, 129, 0.1); }
}

/* ========== Scroll reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    justify-content: center;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__float-grid {
    max-width: 100%;
  }

  .advantages__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .hero__visual {
    display: none;
  }

  .hero__inner {
    gap: 32px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav__link {
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  .header__phone span {
    display: none;
  }

  .burger {
    display: flex;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
  }

  .how__steps {
    grid-template-columns: 1fr;
  }

  .areas__grid {
    grid-template-columns: 1fr;
  }

  .reviews__track {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero__stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero__float-grid {
    gap: 12px;
  }

  .advantages__float-card {
    right: 0;
    bottom: -16px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__footer .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
