/* ============================================
   CERTIFICATES SECTION
   ============================================ */

.cert-section {
  background: #00468e;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.cert-inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 80px 72px;
  gap: 0;
}

.cert-left {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 2;
}

.cert-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.cert-info {
  border-left: 3px solid rgba(255,255,255,0.4);
  padding-left: 20px;
}

.cert-info-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  transition: opacity 0.25s ease;
}

.cert-info-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin: 0;
  transition: opacity 0.25s ease;
}

.cert-nav {
  display: flex;
  gap: 12px;
}

.cert-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cert-nav-btn:hover {
  border-color: #00468e;
  color: #00468e;
  background: rgba(0,70,142,0.05);
}

.cert-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cert-fan {
  position: relative;
  width: 100%;
  height: 80vh;
}

.cert-fan-item {
  position: absolute;
  width: 400px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transition: transform 0.65s cubic-bezier(0.34, 1.10, 0.64, 1),
              box-shadow 0.5s ease,
              opacity 0.5s ease;
  cursor: pointer;
  will-change: transform;
}

.cert-fan-item img {
  width: 100%;
  height: 72vh;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cert-fan-item.active {
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .cert-inner { flex-direction: column; padding: 60px 24px; gap: 48px; }
  .cert-left { flex: none; width: 100%; }
  .cert-right { min-height: 400px; width: 100%; }
  .cert-fan { height: 400px; }
  .cert-fan-item { width: 240px; }
  .cert-fan-item img { height: 320px; max-height: 320px; }
}

/* ── MOBILE: Certificates carousel ── */
@media (max-width: 600px) {
  .cert-section {
    min-height: auto !important;
    padding: 36px 0 52px !important;
  }

  .cert-inner {
    flex-direction: column;
    padding: 0 !important;
    gap: 0 !important;
    min-height: auto !important;
  }

  /* Скрываем левую панель с текстом */
  .cert-left { display: none !important; }

  .cert-right {
    width: 100% !important;
    min-height: auto !important;
    overflow: visible;
  }

  /* Карусель вместо веера */
  .cert-fan {
    height: auto !important;
    display: flex !important;
    overflow-x: scroll !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 16px !important;
    padding: 12px 20px 20px !important;
    width: 100% !important;
  }

  .cert-fan::-webkit-scrollbar { display: none; }

  /* Карточки в строку */
  .cert-fan-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 1 !important;
    width: 80vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    transition: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
  }

  .cert-fan-item img {
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  /* Обёртка карусели со стрелками */
  .cert-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .cert-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    color: #00468e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    line-height: 1;
  }

  .cert-carousel-prev { left: 4px; }
  .cert-carousel-next { right: 4px; }

  /* Точки-навигация */
  .cert-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .cert-mobile-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }

  .cert-mobile-dot.active {
    background: #ffffff;
    transform: scale(1.3);
  }

  /* Скрываем на десктопе */
  .cert-carousel-wrap,
  .cert-mobile-dots { display: none; }
}


.cert-canvas-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f0f0f0;
}

.cert-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-preview-img {
  transform: scale(1.04);
}

.cert-modal-frame-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 88vh;
  overflow-y: auto;
}

.cert-modal-frame-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  display: block;
}

/* Modal */
.cert-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.cert-modal.open {
  display: flex;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(4px);
}

.cert-modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 90vw;
  max-width: 900px;
}

.cert-modal-frame-wrap {
  flex: 1;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  height: 85vh;
}

.cert-modal-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cert-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cert-modal-close:hover { background: rgba(255,255,255,0.3); }

.cert-modal-nav {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  line-height: 1;
}

.cert-modal-nav:hover { background: rgba(255,255,255,0.3); }

.cert-modal-label {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  white-space: nowrap;
  margin: 0;
}

.cert-name {
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #00468e;
  margin: 0;
  text-align: center;
  border-top: 1px solid rgba(0,70,142,0.1);
}

@media (max-width: 767px) {
  .cert-section { padding: 48px 20px 56px; }
  .cert-grid { grid-template-columns: 1fr; max-width: 100%; }
}

/* ============================================
   HERO — фиксированный фон (parallax через CSS)
   ============================================ */

.hero-family-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center 20%;
}

/* Мобильные — отключаем fixed (не работает на iOS) */
@media (max-width: 767px) {
  .hero-family-bg {
    background-attachment: scroll;
    background-position: 260% 260%;
    background-position: center top;
  }
}

/* ============================================
   DEALER SECTION — официальный дилер
   ============================================ */

.dealer-section {
  background: #ffffff;
  padding: 60px 48px 0;
}

.dealer-header {
  padding-bottom: 36px;
}

.dealer-header {
  margin-bottom: 36px;
}

.dealer-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  color: #00468e;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.dealer-title strong {
  font-weight: 700;
}

.dealer-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  color: #0066cc;
  margin: 0;
}

/* Photo collage — clip-path диагонали */
.photo-collage {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.c-box {
  display: block;
  width: 56%;
  position: relative;
  overflow: hidden;
}

.c-box img {
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.c-box:hover img {
  transform: scale(1.04);
}

/* Левое фото — диагональный правый край */
.c-box:nth-child(1) {
  clip-path: polygon(0 0, 97% 0, 82% 100%, 0 100%);
}

/* Правое фото — абсолютное, перекрывает справа */
.c-box:nth-child(2) {
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 3% 100%);
  position: absolute;
  top: 0;
  left: 44%;
  width: 56%;
}

/* Нижнее фото — полная ширина, диагональный верхний край */
.c-box:nth-child(3) {
  width: 100%;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

.c-box:nth-child(3) img {
  height: clamp(340px, 36vw, 500px);
  object-position: center 38%;
}

@media (max-width: 767px) {
  .dealer-section {
    padding: 28px 0 0;
  }
  .dealer-header {
    padding-left: 24px !important;
  }
  .dealer-header {
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
  }
  .dealer-title {
    font-size: clamp(20px, 5.5vw, 28px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #00468e !important;
  }
  .dealer-title strong {
    font-weight: 700 !important;
  }
  .dealer-subtitle {
    font-size: 14px !important;
    color: #0066cc !important;
    font-weight: 400 !important;
    margin-top: 6px !important;
  }
  .c-box,
  .c-box:nth-child(1),
  .c-box:nth-child(2),
  .c-box:nth-child(3) {
    width: 100%;
    position: relative;
    left: auto; top: auto;
    clip-path: none;
  }
  .c-box img,
  .c-box:nth-child(3) img { height: 220px; }
}

/* ── MOBILE: blue block overflow visible для замков ── */
@media (max-width: 600px) {
  .hero-blue-block {
    overflow: visible !important;
  }
}

/* Скруглённый переход сверху */
.cert-section {
  border-radius: 32px 32px 0 0;
  margin-top: -28px;
  box-shadow: 0 -16px 48px rgba(0,0,0,0.28);
}

@media (max-width: 600px) {
  .cert-section {
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    box-shadow: 0 -12px 36px rgba(0,0,0,0.28);
  }
}

/* ── Плавающие кнопки ── */
.float-btns {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: row;
  gap: 14px;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.float-btns.visible {
  opacity: 1;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.float-wa { background: #25D366; }

.float-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.float-ph {
  background: #00468e;
  animation: phone-ring 3s ease-in-out infinite;
  transform-origin: center center;
  transition: box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .float-btns {
    right: 40px;
    bottom: 30px;
    gap: 18px;
  }
  .float-btn {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }
  .float-btn svg {
    width: 32px;
    height: 32px;
  }
}

@keyframes phone-ring {
  /* 2 секунды тишины */
  0%   { transform: rotate(0deg)   scale(1)    translateY(0); }
  65%  { transform: rotate(0deg)   scale(1)    translateY(0); }
  /* звон ~1 секунда */
  69%  { transform: rotate(-12deg) scale(1.08) translateY(-4px); }
  73%  { transform: rotate(12deg)  scale(1.08) translateY(-7px); }
  77%  { transform: rotate(-9deg)  scale(1.06) translateY(-5px); }
  81%  { transform: rotate(9deg)   scale(1.06) translateY(-3px); }
  85%  { transform: rotate(-5deg)  scale(1.03) translateY(-2px); }
  89%  { transform: rotate(5deg)   scale(1.03) translateY(-1px); }
  93%  { transform: rotate(-2deg)  scale(1.01) translateY(0); }
  97%  { transform: rotate(2deg)   scale(1.01) translateY(0); }
  100% { transform: rotate(0deg)   scale(1)    translateY(0); }
}

/* ── Сертификаты: десктоп/мобайл переключение ── */
.cert-mobile-only { display: none; }
.cert-desktop-only { display: flex; }

@media (max-width: 600px) {
  .cert-desktop-only { display: none !important; }
  .cert-mobile-only { display: block; padding: 0 0 32px; }

  .cert-title-mobile {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0 16px;
  }

  /* Карусель — горизонтальный скролл */
  .cert-slider-mobile {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .cert-slider-mobile::-webkit-scrollbar { display: none; }

  .cert-slide-mobile {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .cert-slide-mobile img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    display: block;
  }

  /* Точки */
  .cert-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .cert-dot-m {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .cert-dot-m.active {
    background: #fff;
    transform: scale(1.3);
  }
}

/* ============================================
   CATALOG SECTION
   ============================================ */

.catalog-section {
  background: #f4f6fa;
  padding: 80px 48px 100px;
}

.catalog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00468e;
  margin: 0 0 10px 0;
}

.catalog-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: #111;
  margin: 0 0 8px 0;
  line-height: 1.15;
}

.catalog-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #666;
  margin: 0 0 48px 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.catalog-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

/* ── Product Card ── */
.pcard {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pcard:hover {
  box-shadow: 0 16px 56px rgba(0,70,142,0.15);
  transform: translateY(-4px);
}

/* Main: two-column (left info + right image) */
.pcard-main {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

.pcard-col-left {
  flex: 0 0 44%;
  padding: 22px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcard-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 900;
  color: #0066cc;
  letter-spacing: -0.5px;
  line-height: 1;
}

.pcard-mark {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  align-self: flex-start;
}

.pcard-badge {
  background: linear-gradient(135deg, #00685e 0%, #004d45 100%);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: flex-start;
}

.pcard-badge--purple {
  background: linear-gradient(135deg, #6b3fa0 0%, #4a1f7a 100%);
}

.pcard-badge--navy {
  background: linear-gradient(135deg, #1a3a6b 0%, #0d2348 100%);
}

.pcard-badge--homeaccess {
  background: linear-gradient(135deg, #0d4a8a 0%, #06295c 100%);
}

.pcard-series {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.pcard-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.pcard-type {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(10px, 1.5vw, 12px);
  color: rgba(255,255,255,0.75);
}

.pcard-code {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 800;
  color: #111;
  margin-top: 2px;
}

.pcard-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.8vw, 15px);
  color: #0077aa;
  line-height: 1.5;
  margin: 0;
}

.pcard-desc strong {
  font-size: clamp(13px, 2vw, 17px);
  color: #00468e;
  font-weight: 700;
}

.pcard-price {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #ff6b1a 0%, #e85500 100%);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 8px;
  align-self: flex-start;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 14px rgba(232,85,0,0.35);
}

/* Right: product image */
.pcard-col-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 16px 0;
  min-height: 240px;
}

.pcard-img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

/* Bottom: includes + button */
.pcard-bottom {
  padding: 0 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}

.pcard-includes {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pcard-includes-title {
  font-weight: 600;
  color: #222;
}

.pcard-battery {
  margin-top: 6px;
  color: #555;
}

.pcard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00468e;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 10px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pcard-btn:hover {
  background: #005ab3;
  transform: translateY(-1px);
}

/* Features bar — вверху карточки */
.pcard-features {
  order: -1;
  background: #00468e;
  padding: 14px 20px 18px;
}

.pcard-features-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 12px 0;
}

.pcard-features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 4px;
}

.pcard-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pcard-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
}

.pcard-feat-icon svg {
  width: 25px;
  height: 25px;
}

.pcard-feat span {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.3;
}

/* ── Specs accordion ── */
.pcard-specs {
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
  margin: 0 -24px;
}

.pcard-specs-toggle {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #00468e;
  text-align: left;
  gap: 12px;
}

.pcard-specs-toggle:hover {
  background: #f5f8fc;
}

.pcard-specs-arrow {
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.pcard-specs.open .pcard-specs-arrow {
  transform: rotate(180deg);
}

.pcard-specs-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pcard-specs.open .pcard-specs-body {
  max-height: 3000px;
}

.pcard-specs-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pcard-specs-table {
  padding: 8px 24px 24px;
}

.pcard-specs-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #444;
  line-height: 1.65;
  margin: 12px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf3;
}

.pcard-specs-group {
  margin-bottom: 0;
  border-bottom: 1px solid #e8edf3;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.pcard-specs-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.pcard-specs-group-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #00857a;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 12px 0 8px 0;
}

.pcard-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f3f7;
}

.pcard-spec-row:last-child {
  border-bottom: none;
}

.psk {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #555;
  flex: 0 0 44%;
  line-height: 1.4;
}

.psv {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #111;
  font-weight: 500;
  flex: 1;
  text-align: right;
  line-height: 1.4;
}

.pcard-specs-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: #888;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e8edf3;
}

.pcard-specs-note + .pcard-specs-note {
  margin-top: 4px;
  padding-top: 0;
  border-top: none;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .catalog-section {
    padding: 44px 0 0;
    background: #f4f6fa;
  }
  .catalog-inner {
    padding: 0 16px;
  }
  .catalog-header {
    padding: 0 0 28px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  /* Карточка — вертикальная на мобиле */
  .pcard {
    border-radius: 20px;
    overflow: hidden;
  }
  .pcard-main {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }

  /* Изображение — наверх, во всю ширину */
  .pcard-col-right {
    order: -1;
    width: 100%;
    padding: 12px;
    min-height: 0;
    height: auto;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .pcard-img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    display: block;
  }

  /* Левая колонка — ниже, во всю ширину */
  .pcard-col-left {
    flex: none;
    width: 100%;
    padding: 20px 20px 16px;
    gap: 10px;
  }

  .pcard-bottom {
    padding: 0 20px 22px;
    gap: 12px;
  }
  .pcard-btn {
    align-self: stretch;
    text-align: center;
    padding: 15px;
    font-size: 16px;
  }
  .pcard-features {
    padding: 14px 16px 18px;
  }
  .pcard-feat-icon {
    width: 42px;
    height: 42px;
  }
  .pcard-feat-icon svg {
    width: 23px;
    height: 23px;
  }
  .pcard-feat span {
    font-size: 9.5px;
  }
}

/* ── MOBILE: About Philips — карточка с «вылетом» ── */
@media (max-width: 600px) {
  .about-philips {
    flex-direction: column;
    min-height: auto;
  }

  /* Фото сверху — полная ширина, увеличенная высота */
  .about-philips-image {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 85vw !important;
    min-height: 300px !important;
    flex-shrink: 0;
    overflow: hidden;
  }

  .about-philips-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
  }

  /* Текстовый блок «наезжает» на фото */
  .about-philips-content {
    position: relative;
    z-index: 1;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: -25px; /* вылет поверх фото */
    background: #ffffff !important;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    padding: 28px 24px 36px !important;
    justify-content: flex-start;
  }

  /* Цвета текста на белом фоне */
  .about-philips-title {
    color: #00468e !important;
    font-size: clamp(22px, 6vw, 32px) !important;
    text-shadow: none !important;
  }

  .about-philips-subtitle {
    color: #0066cc !important;
    text-shadow: none !important;
  }

  .about-philips-text {
    color: #333333 !important;
    text-shadow: none !important;
  }
}
