/* ===== Variables — light theme ===== */
:root {
  --bg: #f0f5fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --surface: #eef4f9;
  --border: rgba(15, 40, 80, 0.1);
  --text: #0f1f33;
  --text-muted: #5c6f85;
  --accent: #0099cc;
  --accent-2: #2563eb;
  --accent-glow: rgba(0, 153, 204, 0.28);
  --warm: #ff6b4a;
  --sale: #e63946;
  --success: #16a34a;
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', sans-serif;
  --header-h: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 20px 48px -16px rgba(15, 40, 80, 0.12);
  --shadow-sm: 0 4px 20px rgba(15, 40, 80, 0.08);
}

*, *::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 120% 80% at 100% -20%, rgba(0, 153, 204, 0.08), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(37, 99, 235, 0.06), transparent 45%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(1280px, 92vw);
  margin-inline: auto;
}

/* ===== Cursor glow ===== */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 204, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header__bar {
  width: min(1280px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__text span { color: var(--accent); }

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(0, 153, 204, 0.08);
}

.btn--sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(0, 153, 204, 0.18);
  top: -10%;
  right: -5%;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.12);
  bottom: 10%;
  left: -10%;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 107, 74, 0.1);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 40, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 40, 80, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero__inner {
  padding-left: max(4vw, 20px);
}

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0, 153, 204, 0.1);
  border: 1px solid rgba(0, 153, 204, 0.22);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, #0f4c75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* AC Unit visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 4vw;
}

.ac-unit {
  position: relative;
  animation: ac-float 6s ease-in-out infinite;
}

@keyframes ac-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.ac-unit__body {
  width: 280px;
  padding: 24px;
  background: linear-gradient(145deg, #ffffff, #e8f4fc);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 48px var(--accent-glow);
}

.ac-unit__display {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 0 30px var(--accent-glow);
  animation: temp-pulse 3s ease-in-out infinite;
}

@keyframes temp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.ac-unit__vents {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-unit__vents span {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 3px;
  animation: vent-flow 2s ease-in-out infinite;
}

.ac-unit__vents span:nth-child(2) { animation-delay: 0.2s; width: 90%; }
.ac-unit__vents span:nth-child(3) { animation-delay: 0.4s; width: 80%; }
.ac-unit__vents span:nth-child(4) { animation-delay: 0.6s; width: 85%; }
.ac-unit__vents span:nth-child(5) { animation-delay: 0.8s; width: 75%; }

@keyframes vent-flow {
  0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

.ac-unit__waves {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.ac-unit__waves span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: wave 2s ease-out infinite;
}

.ac-unit__waves span:nth-child(2) { animation-delay: 0.5s; }
.ac-unit__waves span:nth-child(3) { animation-delay: 1s; }

@keyframes wave {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===== Sections ===== */
section { padding: 100px 0; position: relative; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  flex-wrap: wrap;
  gap: 20px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.section-head p { color: var(--text-muted); margin-top: 8px; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}

.section-tag--sale { color: var(--sale); }

.link-arrow {
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  white-space: nowrap;
}

.link-arrow:hover { transform: translateX(4px); }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Categories ===== */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  display: block;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 153, 204, 0.35);
  box-shadow: var(--shadow), 0 0 32px var(--accent-glow);
}

.category-card:hover::before { transform: scaleX(1); }

.category-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.category-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.category-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== Products / Carousel ===== */
.products-section { padding: 60px 0; }
.products-section--alt {
  background: linear-gradient(180deg, transparent, rgba(0, 153, 204, 0.06), transparent);
}

.carousel {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}

.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 153, 204, 0.3);
  box-shadow: var(--shadow);
}

.product-card__img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8f4fc 0%, #f5f9fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 153, 204, 0.12), transparent 60%);
}

.product-card__img svg {
  width: 80px;
  height: 80px;
  color: var(--accent);
  opacity: 0.6;
  transition: var(--transition);
}

.product-card:hover .product-card__img svg {
  transform: scale(1.1) rotate(-5deg);
  opacity: 1;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  z-index: 1;
}

.product-card__badge--sale {
  background: var(--sale);
  color: #fff;
}

.product-card__badge--hit {
  background: var(--accent);
  color: #fff;
}

.product-card__body { padding: 20px; }

.product-card__brand {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.product-card__price strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.product-card__price del {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

.product-card__actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.8125rem;
}

.product-card__actions .btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.product-card__actions .btn-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 153, 204, 0.08);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel__btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: var(--transition);
  cursor: pointer;
}

.carousel__dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.service-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: rgba(0, 153, 204, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 153, 204, 0.18);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

/* Steps */
.steps {
  position: relative;
  padding-top: 40px;
}

.steps__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 48px;
}

.steps__line {
  position: absolute;
  top: 120px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step:hover .step__icon {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.1);
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Advantages ===== */
.advantages {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.05), transparent);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.advantage {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.advantage:hover {
  background: var(--bg-card);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.advantage__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.advantage__icon svg { width: 100%; height: 100%; }

.advantage h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.brands {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.brands p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.brands__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.brands__list span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.55;
  transition: var(--transition);
}

.brands__list span:hover {
  opacity: 1;
  color: var(--accent);
}

/* ===== Reviews ===== */
.reviews {
  overflow: hidden;
}

.reviews__slider {
  position: relative;
  margin-bottom: 40px;
}

.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  border-color: rgba(0, 153, 204, 0.35);
  box-shadow: var(--shadow);
}

.review-card__stars {
  color: #ffc107;
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.review-card__author strong {
  display: block;
  font-size: 0.9375rem;
}

.review-card__author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.reviews__controls .carousel__btn {
  position: static;
  transform: none;
}

.reviews__progress {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.reviews__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.4s;
  width: 20%;
}

.reviews__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq__item[open] {
  border-color: rgba(0, 153, 204, 0.35);
  box-shadow: var(--shadow-sm), 0 0 24px rgba(0, 153, 204, 0.1);
}

.faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover { color: var(--accent); }

.faq__item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  animation: faq-open 0.4s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CTA Block ===== */
.cta-block__inner {
  text-align: center;
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(0, 153, 204, 0.1), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(0, 153, 204, 0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cta-block__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  animation: float 10s ease-in-out infinite;
}

.cta-block__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 24px;
  position: relative;
}

.cta-block__inner ul {
  margin-bottom: 32px;
  position: relative;
}

.cta-block__inner li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.cta-block__inner .btn { position: relative; }

/* ===== Footer ===== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 -4px 24px rgba(15, 40, 80, 0.04);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.footer__address { margin-top: 8px; }

.footer h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--text);
}

.footer__phones li { margin-bottom: 10px; }

.footer__phones a,
.footer__email {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__phones a:hover,
.footer__email:hover { color: var(--accent); }

.footer__links li { margin-bottom: 8px; }

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__links a:hover { color: var(--accent); }

.footer__cities {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__cities p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer__cities-list a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__cities-list a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0, 153, 204, 0.08);
}

/* ===== Float CTA ===== */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
}

.float-cta__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--accent-glow);
  animation: pulse-btn 2s ease-in-out infinite;
  transition: transform 0.3s;
}

.float-cta__btn:hover { transform: scale(1.1); }

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 8px 32px var(--accent-glow); }
  50% { box-shadow: 0 8px 48px var(--accent-glow), 0 0 0 12px rgba(0, 153, 204, 0.15); }
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 64px rgba(15, 40, 80, 0.2);
}

.modal.active .modal__dialog {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--surface);
  color: var(--text);
}

.modal__content h2,
.modal__success h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 12px 0 8px;
}

.modal__content > p,
.modal__success > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.modal__success {
  text-align: center;
  padding: 20px 0;
}

.modal__success[hidden] { display: none; }

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--success);
}

.success-icon svg { width: 100%; height: 100%; }

.success-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-check 0.6s ease forwards 0.3s;
}

.modal.active .success-check {
  animation: draw-check 0.6s ease forwards 0.3s;
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* ===== Form ===== */
.form { display: flex; flex-direction: column; gap: 16px; }

.form__field span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.15);
  background: #fff;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form__checkbox input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.form__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 8px;
}

/* ===== Toast stub ===== */
.toast-stub {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 3000;
}

.toast-stub.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== Calculator ===== */
.calculator {
  background: linear-gradient(180deg, rgba(0, 153, 204, 0.06), transparent 40%);
}

.calc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.calc__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calc__panel--input {
  padding: 32px;
}

.calc__panel--result {
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: linear-gradient(160deg, #fff 0%, #f0f8fc 100%);
  border-color: rgba(0, 153, 204, 0.2);
}

.calc__block + .calc__block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.calc__block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.calc__block-head label,
.calc__label {
  font-weight: 700;
  font-size: 0.9375rem;
}

.calc__area-value {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.calc__area-value strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 100px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent-2) var(--range-pct, 19%),
    var(--surface) var(--range-pct, 19%),
    var(--surface) 100%
  );
  outline: none;
  cursor: pointer;
}

.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
  cursor: grab;
  transition: transform 0.2s;
}

.calc__range::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.calc__range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.calc__range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
  cursor: grab;
}

.calc__range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc__hint {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 10px;
}

.calc__hint strong {
  color: var(--accent);
}

.calc__type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.calc__type {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.calc__type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc__type span {
  font-weight: 700;
  font-size: 0.9375rem;
}

.calc__type small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc__type:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0, 153, 204, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.12);
}

.calc__type:hover {
  border-color: rgba(0, 153, 204, 0.4);
}

.calc__extras {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.calc-extra {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}

.calc-extra:hover {
  border-color: rgba(0, 153, 204, 0.35);
}

.calc-extra:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0, 153, 204, 0.06);
  box-shadow: var(--shadow-sm);
}

.calc-extra input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-extra__box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.calc-extra:has(input:checked) .calc-extra__box {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.calc-extra:has(input:checked) .calc-extra__box::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.calc-extra__text strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.calc-extra__text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-extra__price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.calc-result__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.calc-result__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.calc-result__lines {
  margin-bottom: 20px;
}

.calc-result__lines li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9375rem;
}

.calc-result__lines li:last-child {
  border-bottom: none;
}

.calc-result__lines span {
  color: var(--text-muted);
}

.calc-result__total-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 20px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
}

.calc-result__total-wrap > span:first-child {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.calc-result__total {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calc-result__total.is-bump {
  transform: scale(1.06);
}

.calc-result__currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-result__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.calc-result__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-result__perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.calc-result__perks div {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

/* ===== Certificates ===== */
.certificates {
  background: linear-gradient(180deg, transparent, rgba(0, 153, 204, 0.05), transparent);
}

.certificates__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-pill:hover {
  border-color: rgba(0, 153, 204, 0.3);
  transform: translateY(-2px);
}

.trust-pill__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.trust-pill strong {
  display: block;
  font-size: 0.9375rem;
}

.trust-pill span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.certificates__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-10px) rotate(-1deg);
}

.cert-card:hover .cert-card__paper {
  box-shadow: var(--shadow), 0 0 40px var(--accent-glow);
}

.cert-card__paper {
  position: relative;
  aspect-ratio: 3/4;
  padding: 24px 20px;
  background: linear-gradient(160deg, #fff 0%, #f0f7fc 50%, #e2eef8 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-card__paper::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px double rgba(0, 153, 204, 0.15);
  border-radius: 8px;
  pointer-events: none;
}

.cert-card__paper--haier {
  background: linear-gradient(160deg, #fff 0%, #f5f8ff 50%, #e8eeff 100%);
}

.cert-card__paper--montage {
  background: linear-gradient(160deg, #fff 0%, #f0faf5 50%, #dff5eb 100%);
}

.cert-card__paper--service {
  background: linear-gradient(160deg, #fff 0%, #fff8f0 50%, #ffecd9 100%);
}

.cert-card__seal {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0.85;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.cert-card__seal::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}

.cert-card__logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  z-index: 1;
}

.cert-card__type {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  z-index: 1;
}

.cert-card__year {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 1;
}

.cert-card__label {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.cert-card__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}

.cert-card:hover .cert-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.certificates__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.certificates__note p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 520px;
}

.certificates__note em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* ===== Portfolio ===== */
.portfolio {
  padding-top: 80px;
}

.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.portfolio__filter {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.portfolio__filter:hover {
  color: var(--accent);
  border-color: rgba(0, 153, 204, 0.3);
}

.portfolio__filter.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
  margin-bottom: 48px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.35s;
}

.work-card.is-hidden {
  display: none;
}

.work-card--wide {
  grid-column: span 2;
}

.work-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.work-card__img {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.work-card--wide .work-card__img {
  height: 220px;
}

.work-card__img--1 { background: linear-gradient(135deg, #b8e0f5 0%, #6eb5d9 50%, #4a90b8 100%); }
.work-card__img--2 { background: linear-gradient(135deg, #c5d4f7 0%, #7b9ae8 50%, #5a7ad4 100%); }
.work-card__img--3 { background: linear-gradient(135deg, #a8e6cf 0%, #5bc99a 50%, #3da87a 100%); }
.work-card__img--4 { background: linear-gradient(135deg, #ffe0b2 0%, #ffb74d 50%, #f59e42 100%); }
.work-card__img--5 { background: linear-gradient(135deg, #e1bee7 0%, #ba68c8 50%, #9c4daa 100%); }
.work-card__img--6 { background: linear-gradient(135deg, #cfd8dc 0%, #90a4ae 50%, #607d8b 100%); }

.work-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 31, 51, 0.35), transparent 50%);
}

.work-card__tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: var(--text);
  z-index: 1;
}

.work-card__body {
  padding: 20px;
}

.work-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.work-card__body p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.work-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.work-card__link:hover {
  transform: translateX(4px);
}

.portfolio__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.portfolio__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1.1;
}

.portfolio__stats span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Blog ===== */
.blog {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.04), transparent);
}

.blog__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 153, 204, 0.25);
}

.blog-card--featured {
  grid-row: span 2;
}

.blog-card__visual {
  height: 140px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.blog-card--featured .blog-card__visual {
  height: 200px;
}

.blog-card__visual--1 { background: linear-gradient(135deg, #0099cc, #2563eb); }
.blog-card__visual--2 { background: linear-gradient(135deg, #5bc99a, #3da87a); }
.blog-card__visual--3 { background: linear-gradient(135deg, #7b9ae8, #5a7ad4); }
.blog-card__visual--4 { background: linear-gradient(135deg, #ffb74d, #f59e42); }

.blog-card__cat {
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 6px;
}

.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__body time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.blog-card:hover h3 {
  color: var(--accent);
}

.blog-card--featured .blog-card__body h3 {
  font-size: 1.25rem;
}

.blog-card__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.blog-card__more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.blog__subscribe {
  margin-top: 48px;
}

.blog__subscribe-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(0, 153, 204, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(0, 153, 204, 0.18);
  border-radius: var(--radius-lg);
}

.blog__subscribe-inner h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  flex: 1;
  min-width: 200px;
}

.blog__subscribe-inner > p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: -12px;
}

.blog__subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 2;
  min-width: 280px;
}

.blog__subscribe-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: #fff;
}

.blog__subscribe-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.15);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 51, 0.75);
  backdrop-filter: blur(10px);
}

.lightbox__dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  text-align: center;
  transform: scale(0.85) rotate(-2deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 32px 80px rgba(15, 40, 80, 0.25);
}

.lightbox.active .lightbox__dialog {
  transform: scale(1) rotate(0);
}

.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.lightbox__close:hover {
  background: var(--surface);
  color: var(--text);
}

.lightbox__preview {
  margin-bottom: 20px;
}

.lightbox__doc {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 320px;
  margin: 0 auto;
  padding: 32px 24px;
  background: linear-gradient(160deg, #fff, #e8f4fc);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: cert-float 4s ease-in-out infinite;
}

@keyframes cert-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lightbox__seal {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px var(--accent-glow);
}

.lightbox__seal::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
}

.lightbox__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.lightbox__stamp {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.lightbox__demo {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 8px;
}

.lightbox__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.lightbox__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .product-card { flex: 0 0 calc(33.333% - 14px); }
  .review-card { flex: 0 0 calc(50% - 12px); }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .certificates__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--wide { grid-column: span 1; }
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .blog-card--featured { grid-column: span 2; grid-row: span 1; }
  .portfolio__stats { grid-template-columns: repeat(2, 1fr); }
  .calc__panel--result { position: static; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--header-h) + 60px);
  }

  .hero__inner { padding-left: 0; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__visual { padding: 40px 0 0; }
  .hero__scroll { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    padding: 100px 32px 32px;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    justify-content: flex-start;
    align-items: stretch;
  }

  .nav.open { right: 0; }

  .nav__link {
    padding: 14px 0;
    font-size: 1.0625rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }

  .header__phone { display: none; }
  .burger { display: flex; }

  .services__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .header__bar { border-radius: var(--radius); }
  .product-card { flex: 0 0 calc(100% - 0px); min-width: 100%; }
  .review-card { flex: 0 0 100%; min-width: 100%; }
  .carousel { padding: 0 40px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .categories__grid { grid-template-columns: 1fr; }
  .cta-block__inner { padding: 40px 24px; }
  .certificates__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__stats { grid-template-columns: 1fr 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: span 1; }
  .certificates__note { flex-direction: column; text-align: center; }
  .blog__subscribe-inner { flex-direction: column; text-align: center; }
  .blog__subscribe-form { width: 100%; }
  .calc { grid-template-columns: 1fr; }
  .calc__panel--result { position: static; }
  .calc__type-toggle { grid-template-columns: 1fr; }
}
