/* ===== Request Modal (match index/subzero) ===== */
body.page-wolf .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
body.page-wolf .modal-overlay.is-open {
  display: flex !important;
}
body.page-wolf .modal-overlay .modal-container {
  background: #fff;
  border-radius: 16px;
  width: min(720px, 100%);
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}
body.page-wolf .modal-overlay .modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.page-wolf .modal-overlay .modal-header h2 {
  margin: 0;
  font-weight: 700;
  color: #1a1a1a;
}
body.page-wolf .modal-overlay .modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
}
body.page-wolf .modal-overlay .modal-body {
  padding: 32px;
}
body.page-wolf .request-form-modern .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
body.page-wolf .request-form-modern .form-group {
  display: flex;
  flex-direction: column;
}
body.page-wolf .request-form-modern label {
  font-weight: 600;
  margin-bottom: 8px;
}
body.page-wolf .request-form-modern input,
body.page-wolf .request-form-modern select,
body.page-wolf .request-form-modern textarea {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
}
body.page-wolf .request-form-modern input:focus,
body.page-wolf .request-form-modern select:focus,
body.page-wolf .request-form-modern textarea:focus {
  outline: none;
  border-color: #1e90ff;
}
body.page-wolf .consent-group {
  margin-top: 16px;
}
body.page-wolf .checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
body.page-wolf .checkbox-label input[type="checkbox"] {
  margin-top: 4px;
}
body.page-wolf .consent-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #666;
}
@media (max-width: 768px) {
  body.page-wolf .request-form-modern .form-row {
    grid-template-columns: 1fr;
  }
  body.page-wolf .modal-overlay .modal-body {
    padding: 24px;
  }
}
/* ===== Scope: только страница Wolf ===== */

/* Wolf header: prevent global .btn-call::after phone duplication (same as subzero) */
body.page-wolf header .btn-call::after {
  content: none !important;
}

/* Align header button vertical rhythm with index header */
body.page-wolf .header-right .btn-book,
body.page-wolf .header-right .btn-call {
  padding: 6px 12px !important;
  border-radius: 18px !important;
  font-size: 0.98rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: "Montserrat", system-ui, -apple-system, Arial, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 32px !important;
}

/* Match header container height/paddings */
body.page-wolf .header-flex {
  height: 64px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
body.page-wolf .header-right {
  gap: 24px !important;
  align-items: center !important;
}
body.page-wolf .header-left {
  gap: 18px !important;
  align-items: center !important;
}
body.page-wolf .header-logo-small {
  height: 120px !important;
  width: auto !important;
}
body.page-wolf .header-slogan {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
}

/* Mobile header parity with index */
@media (max-width: 480px) {
  body.page-wolf .header-flex {
    height: 64px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.page-wolf .header-left {
    gap: 10px !important;
  }
  body.page-wolf .header-logo-small {
    height: 120px !important;
    width: auto !important;
  }
  body.page-wolf .header-nav {
    display: none !important;
  }
  body.page-wolf .header-right {
    gap: 6px !important;
  }
  body.page-wolf .header-right .btn-call {
    font-size: 0.9rem !important;
    padding: 6px 10px !important;
    border-radius: 18px !important;
    white-space: nowrap !important;
  }
  body.page-wolf .header-right .btn-book {
    display: none !important;
  }
}

@media (max-width: 650px) {
  body.page-wolf .header-slogan {
    display: none !important;
  }
  body.page-wolf .header-nav {
    display: none !important;
  }
  body.page-wolf .header-right .btn-book {
    display: none !important;
  }
  body.page-wolf .header-right {
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
}

/* Breadcrumbs */
.page-wolf .brand-crumbs {
  max-width: 1200px;
  margin: 12px auto 4px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
}

.page-wolf .brand-crumbs .home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6a00;
  font-weight: 700;
}

.page-wolf .brand-crumbs .crumb-back {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.page-wolf .brand-crumbs .crumb-current {
  color: #8a8f98;
}

.page-wolf .brand-crumbs .crumb-sep {
  color: #c8ccd3;
}

/* HERO */
.page-wolf .sub-hero {
  padding: clamp(18px, 3.5vw, 28px) 0 10px;
  text-align: center;
}

.page-wolf .hero-title-bg {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1),
    0 2px 6px rgba(17, 24, 39, 0.05);
  padding: 10px 18px;
  margin: 0 auto 6px;
}

.page-wolf .hero-title {
  font: 900 clamp(22px, 3.8vw, 34px) / 1.1 "Montserrat", system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
  color: #1d4ed8;
  margin: 0;
}

/* Mobile: make WOLF logo span full width (like Sub‑Zero) */
@media (max-width: 430px) {
  /* Full-bleed container so logo can span viewport width */
  .page-wolf .sub-hero .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Logo nearly full viewport width with safe-area taken into account */
  .page-wolf .sub-hero img.brand-logo-large,
  .page-wolf .sub-hero img[alt="Wolf"] {
    display: block !important;
    width: calc(
      100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 12px
    ) !important;
    max-width: calc(
      100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 12px
    ) !important;
    height: auto !important;
    margin: 8px auto 10px !important;
  }
}

/* iOS-specific reinforcement */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    .is-ios .page-wolf .sub-hero .container {
      width: 100vw !important;
      max-width: 100vw !important;
      margin-left: calc(50% - 50vw) !important;
    }
    .is-ios .page-wolf .sub-hero img.brand-logo_large,
    .is-ios .page-wolf .sub-hero img[alt="Wolf"] {
      width: 96vw !important;
      max-width: 96vw !important;
      height: auto !important;
    }
  }
}

/* Лице́нзии под заголовком (мини) */
.page-wolf .license-minimal .license-buttons {
  display: inline-flex;
  gap: 12px;
}

.page-wolf .license-minimal .license-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-weight: 800;
  font-size: inherit;
  letter-spacing: inherit;
}

/* CTA в hero */
.page-wolf .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: #ff6a00;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.3),
    0 4px 12px rgba(255, 106, 0, 0.2);
}

.page-wolf .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(255, 106, 0, 0.34),
    0 6px 14px rgba(255, 106, 0, 0.22);
}

/* WHY CHOOSE */
.page-wolf .features-block {
  margin-top: 12px;
}
.page-wolf .hero.sub-hero + .features-block::before,
.page-wolf .hero.sub-hero + .features-block::after {
  display: none !important;
  content: none !important;
}
.page-wolf #why-wolf::before,
.page-wolf #why-wolf::after {
  display: none !important;
  content: none !important;
}
/* Kill any global top borders on Why block */
.page-wolf .features-block {
  border-top: 0 !important;
}
.page-wolf #why-wolf {
  border-top: 0 !important;
  box-shadow: none !important;
}

.page-wolf .features-title {
  text-align: center;
  font: 900 clamp(28px, 3.2vw, 40px) / 1.1 "Montserrat", system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 10px 0 22px;
}
@media (max-width: 480px) {
  .page-wolf .features-title {
    font-size: 28px !important;
    margin: 8px 0 16px !important;
  }
}

.page-wolf .features-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1024px) {
  .page-wolf .features-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .page-wolf .features-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 1023.98px) {
  .page-wolf .features-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639.98px) {
  .page-wolf .features-inner {
    grid-template-columns: 1fr;
  }
}

.page-wolf .why-card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 18px 16px;
  text-align: left;
  box-shadow: 0 6px 16px rgba(20, 32, 50, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.page-wolf .why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: linear-gradient(90deg, #1e90ff, #ff6600);
}
.page-wolf .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(20, 32, 50, 0.12);
}
.page-wolf .why-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.page-wolf .why-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff 0%, #007bff 60%);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(30, 144, 255, 0.22);
}
.page-wolf .why-icon {
  aspect-ratio: 1/1;
}
.page-wolf .why-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.page-wolf .why-title {
  font-weight: 800;
  color: #111827;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.page-wolf .why-text {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 480px) {
  .page-wolf .why-card {
    padding: 14px 10px;
    text-align: center;
  }
  .page-wolf .why-card::before {
    content: none;
  }
  .page-wolf .why-head {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
  }
  .page-wolf .why-icon {
    width: 48px;
    height: 48px;
  }
  .page-wolf .why-text {
    display: none;
  }
}

.page-wolf .feature svg {
  width: 44px;
  height: 44px;
}

.page-wolf .feature div {
  font-weight: 800;
  font-size: clamp(15px, 1.4vw, 18px);
}

/* Portfolio */
/* Our Recent — 1:1 like Sub-Zero (custom smooth carousel) */
.page-wolf .portfolio-carousel {
  margin-top: 48px;
  margin-bottom: 24px;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.page-wolf .carousel-track {
  display: flex;
  animation: carousel-smooth 40s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.page-wolf .carousel-slide {
  flex: 0 0 300px;
  margin-right: 24px;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-wolf .carousel-slide:last-child {
  margin-right: 0;
}
.page-wolf .carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.page-wolf .slide-info {
  padding: 12px 12px 14px;
}
.page-wolf .carousel-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}
@keyframes carousel-smooth {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-5 * (300px + 24px)));
  }
}

.page-wolf .portfolio-block .section-title {
  text-align: center;
  font: 900 clamp(26px, 4.5vw, 40px) / 1.1 "Montserrat", system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0 0 14px;
}

/* remove Swiper-specific styles for Our Recent on Wolf to match Sub-Zero custom carousel */

/* Reviews (classic card) */
/* Reviews — modern marquee like Sub-Zero */
.reviews--modern {
  margin-top: -130px;
}
.page-wolf #reviews-wolf.reviews--modern {
  margin-top: 16px !important;
}
.page-wolf #reviews-wolf.reviews-block {
  background: #ffffff !important;
}
.reviews-carousel {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}
.reviews-carousel-track {
  display: flex;
  animation: reviews-carousel-move 35s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.review-carousel-slide {
  flex: 0 0 350px;
  margin-right: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.review-carousel-rating {
  color: #ffb400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.review-carousel-text {
  margin: 0 0 10px 0;
  color: #333;
  line-height: 1.45;
  font-style: italic;
}
.review-carousel-author {
  color: #555;
  font-size: 0.95rem;
}
@keyframes reviews-carousel-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-5 * (350px + 20px)));
  }
}

.page-wolf .reviews-swiper {
  padding: 6px 6px 36px;
}

.page-wolf .review-card {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 41, 80, 0.08);
}

.page-wolf .review-title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
}

.page-wolf .review-stars {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 2px;
  color: #ff9f0a;
}

.page-wolf .review-text {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  margin: 0 0 12px;
}

.page-wolf .review-author {
  font-size: clamp(14px, 1.1vw, 16px);
  font-style: italic;
  font-weight: 700;
  color: #6b7280;
}

.page-wolf .reviews-block .swiper-button-next,
.page-wolf .reviews-block .swiper-button-prev {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(46, 67, 255, 0.15);
  color: #2f6bff;
}

.page-wolf .reviews-block .swiper-button-next:after,
.page-wolf .reviews-block .swiper-button-prev:after {
  font-size: 16px;
}

.page-wolf .reviews-block .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 0.35;
  background: #2f6bff;
}

.page-wolf .reviews-block .swiper-pagination-bullet-active {
  opacity: 1;
}

/* FAQ */
.page-wolf .wf-faq .wf-title {
  text-align: center;
  font: 900 clamp(26px, 4.5vw, 40px) / 1.1 "Montserrat", system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.page-wolf .wf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1023.98px) {
  .page-wolf .wf-grid {
    grid-template-columns: 1fr;
  }
}

.page-wolf .wf-item {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.page-wolf .wf-btn {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: none;
  background: 0 0;
  font-weight: 800;
}

.page-wolf .wf-panel {
  padding: 0 20px 18px;
  color: #4b5563;
}

/* Brand cards */
.page-wolf .brand-cards .brand-block {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.page-wolf .brand-cards .brand-logo {
  height: 64px;
  display: grid;
  place-items: center;
}

.page-wolf .brand-cards .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6a00;
  font-weight: 800;
}

/* Sticky CTA */
.page-wolf .sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 18px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #ff6a00;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.34),
    0 4px 12px rgba(255, 106, 0, 0.22);
  font-weight: 900;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-wolf .sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== iPhone-only тонкие правки (не влияют на desktop) ===== */

/* Скрываем "закрывающие" тени, если они авто-подставляются браузером на логотип */
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
  .page-wolf .brand-logo-large {
    filter: none;
  }
}

/* Убираем горизонтальные "обрезки" логотипа, которые некоторые браузеры рисуют на мобилках */
@media (max-width: 480px) {
  .page-wolf .brand-logo-large {
    display: block;
    width: min(92vw, 560px);
    max-width: 92vw !important;
    height: auto !important;
    margin: 0 auto 8px !important;
  }

  .page-wolf .hero-title-bg {
    margin-top: 2px;
  }

  /* Поджать расстояние между кнопкой "BOOK ..." и заголовком "Why Choose ..." */
  .page-wolf .features-block {
    margin-top: 18px;
  }
}

/* Убираем margin/padding от родительских контейнеров, если где-то появляется серый "зазор" */
.page-wolf header ~ .sub-hero {
  margin-top: 0 !important;
}

/* Поправка: если где-то включены "общие логотипные" стили, отключаем им max-width, т.к. здесь контролируем сами */
.page-wolf img.brand-logo-large {
  max-width: none;
}

/* В Safari иногда добавляется тень через псевдоэлементы — гасим */
.page-wolf .brand-logo-large:before,
.page-wolf .brand-logo-large:after {
  display: none !important;
  content: none !important;
}

/* Логотип */
.page-wolf .brand-logo-large {
  width: 420px;
  max-width: 92vw;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  margin: 0 auto 8px;
  display: block;
}

@media (min-width: 992px) {
  .page-wolf .brand-logo-large {
    width: 760px;
    max-width: min(84vw, 980px);
  }
}

/* Переборка отступов под "Why Choose" (desktop), чтобы карточки попадали на первый экран */
@media (min-width: 1024px) {
  .page-wolf .features-block {
    margin-top: 10px;
  }
}

/* ---------- WOLF: уместить 4 карточки в первый экран ---------- */

/* 1) Чуть компактнее логотип и вертикальные отступы в герое */
.page-wolf .brand-logo-large {
  width: clamp(480px, 58vw, 840px);
  margin: 6px auto 8px;
  height: auto;
}

/* License line like Sub-Zero */
.page-wolf .license-minimal {
  margin: 6px 0 0;
}
.page-wolf .license-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.page-wolf .license-item {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #111;
  font-size: 1rem;
  text-transform: uppercase;
}
.page-wolf .license-item:not(:last-child)::after {
  content: "\2022";
  display: inline-block;
  width: 1.2em;
  text-align: center;
  margin: 0 12px;
  color: #9aa3af;
}
@media (max-width: 480px) {
  .page-wolf .license-line {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .page-wolf .license-item {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  .page-wolf .license-item:not(:last-child)::after {
    width: 1em;
    margin: 0 6px;
  }
}

/* Заголовок + кнопка — меньше «воздуха» */
.page-wolf .hero-title-bg {
  margin-top: 8px;
}

.page-wolf .hero .cta-button {
  margin-top: 18px;
  margin-bottom: 16px; /* чуть ниже, не двигая остальные */
}

/* Пилюли: плотнее, чтобы не «растягивали» секцию */
.page-wolf .license-minimal .license-buttons a {
  white-space: nowrap;
  letter-spacing: 0.2px;
  padding: 10px 16px;
}

/* 2) Why Choose — подтягиваем вверх и чуть компактнее карточки */
.page-wolf .features-title {
  margin: 8px 0 18px;
}

@media (min-width: 1100px) {
  .page-wolf .features-block {
    margin-top: -22px;
  }

  .page-wolf .features-inner .feature {
    padding: 26px 22px;
  }
}

@media (min-width: 1280px) {
  .page-wolf .features-block {
    margin-top: -44px;
  }
}

@media (min-width: 1440px) {
  .page-wolf .features-block {
    margin-top: -68px;
  }
}

@media (min-width: 1680px) {
  .page-wolf .features-block {
    margin-top: -88px;
  }

  /* большие мониторы */
}

/* iPhone: чтобы "LICENSED" не ломалось и интервалы аккуратные */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    .page-wolf .license-minimal .license-buttons a {
      font-size: 13.6px;
      padding: 10px 14px;
    }

    .page-wolf .features-title {
      margin: 8px 0 14px;
    }

    .page-wolf .features-block {
      margin-top: -2px;
    }
  }
}

/* Desktop-only: уменьшить логотип WOLF */
@media (min-width: 1024px) {
  .page-wolf .brand-logo-large {
    width: 42vw;
    /* было шире — теперь компактнее */
    max-width: 760px;
    /* верхний предел на стандартных десктопах */
    height: auto;
  }
}

@media (min-width: 1280px) {
  .page-wolf .brand-logo-large {
    width: 38vw;
    max-width: 700px;
  }
}

@media (min-width: 1440px) {
  .page-wolf .brand-logo-large {
    width: 34vw;
    max-width: 660px;
  }
}

/* Чуть подтянем отступы, чтобы блоки ниже не уезжали */
@media (min-width: 1024px) {
  .page-wolf .brand-logo-large {
    margin: 6px auto 8px;
  }

  .page-wolf .hero-title-bg {
    margin-top: 10px;
  }
}

/* Desktop: подтянуть блок "Why Choose Wolfix" ближе к CTA */
@media (min-width: 1024px) {
  /* уменьшаем зазор под оранжевой кнопкой */
  .page-wolf .hero .cta-button {
    margin: 12px auto 12px;
    /* было больше */
  }

  /* поднимаем секцию с иконками */
  .page-wolf .features-block {
    margin-top: 8px;
    /* было больше — стало ближе к кнопке */
  }
}

/* На более широких экранах поднимем ещё чуть-чуть */
@media (min-width: 1280px) {
  .page-wolf .features-block {
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  .page-wolf .features-block {
    margin-top: -12px;
  }
}

@media (min-width: 1680px) {
  .page-wolf .features-block {
    margin-top: -20px;
  }
}

/* --- Desktop tuning: подтягиваем секцию и слегка ужимаем карточки --- */
@media (min-width: 1280px) {
  /* ещё ближе к CTA */
  .page-wolf .features-block {
    margin-top: -28px;
    /* было 0 / -12 — стало выше */
  }

  /* компактнее карточки, чтобы вся четвёрка влезала */
  .page-wolf .features-inner {
    gap: 28px;
    /* немного меньше, чем по умолчанию */
  }

  .page-wolf .feature {
    padding: 28px 24px;
    /* было больше — уменьшаем высоту */
  }

  .page-wolf .feature svg {
    width: 44px;
    height: 44px;
  }

  .page-wolf .feature div {
    font-size: 18px;
    /* чуть компактнее подписи */
    line-height: 1.2;
  }
}

@media (min-width: 1440px) {
  .page-wolf .features-block {
    margin-top: -36px;
    /* ещё чуть ближе на очень широких */
  }
}

/* Сжимаем зазор между оранжевой кнопкой и заголовком "Why Choose Wolfix" */
@media (min-width: 1024px) {
  .page-wolf .features-block {
    margin-top: -54px;
    /* подними/опусти секцию, меняя это значение */
  }

  .page-wolf .features-title {
    margin-top: 0;
    /* на всякий случай убираем возможный верхний отступ заголовка */
  }
}

/* На очень широких экранах можно ещё на пару пикселей ближе */
@media (min-width: 1440px) {
  .page-wolf .features-block {
    margin-top: -52px;
  }
}

/* Final desktop tweak: make only the main CTA a bit lower (no layout shifts elsewhere) */
@media (min-width: 1024px) {
  body.page-wolf .sub-hero #main-cta {
    margin-top: 26px !important;
  }
}

/* Raise Why Choose slightly (without moving other elements) */
body.page-wolf .sub-hero + .features-block {
  margin-top: -12px !important;
}
@media (min-width: 1024px) {
  body.page-wolf .sub-hero + .features-block {
    margin-top: -24px !important;
  }
}

/* === FINAL OVERRIDE (placed last): ensure Why Choose sits higher === */
@media (max-width: 1023.98px) {
  html body.page-wolf main > section.sub-hero + section.features-block {
    margin-top: -32px !important;
  }
}
@media (min-width: 1024px) {
  html body.page-wolf main > section.sub-hero + section.features-block {
    margin-top: -64px !important;
  }
}

/* Wolf: подтянуть Why Choose ближе к кнопке (десктоп) */
@media (min-width: 1024px) {
  /* уменьшаем «низ» у hero специально для Wolf */
  body.page-wolf .hero.sub-hero {
    padding-bottom: 8px !important;
  }

  /* и одновременно поднимаем следующий за hero блок с фичами */
  body.page-wolf .hero.sub-hero + .features-block {
    margin-top: -28px !important;
    /* сделай -24/-32, если нужно чуть по-другому */
  }

  /* на очень широких — ещё на пару пикселей */
  body.page-wolf .hero.sub-hero + .features-block {
    margin-top: -32px !important;
  }
}
/* Wolf — плотнее блоки под логотипом (desktop) */
@media (min-width: 1024px) {
  /* Чуть уменьшаем зазор под заголовком */
  body.page-wolf .hero-title-bg {
    margin-bottom: 8px !important;
  }

  /* Подтягиваем чипсы ближе к заголовку */
  body.page-wolf .hero-title-bg + .license-minimal {
    margin-top: -6px !important;
    /* было 0 → ближе */
  }

  /* И сам блок с чипсами делаем компактнее */
  body.page-wolf .license-minimal {
    margin-bottom: 10px !important;
    /* было больше → ближе к кнопке */
  }

  /* Поднимаем кнопку ближе к чипсам */
  body.page-wolf .license-minimal + .cta-button,
  body.page-wolf .hero .cta-button {
    margin-top: 10px !important;
    /* уменьшай до 6–8px, если хочешь ещё ближе */
  }
}

/* Wolf — вернуть немного воздуха под чипсами и перед WHY (desktop) */
@media (min-width: 1024px) {
  /* Кнопку опускаем немного ниже чипсов */
  body.page-wolf .hero .cta-button {
    margin-top: 18px !important;
    /* было 10px — стало чуть ниже */
  }

  /* Разрыв перед блоком с 4 карточками (WHY) делаем больше */
  body.page-wolf .features-block {
    margin-top: 44px !important;
    /* подбери 36–48px под свой вкус */
  }
}
/* Wolf — немного воздуха между кнопкой Book и WHY (только desktop) */
@media (min-width: 1024px) {
  /* Поднимаем/опускаем оранжевую кнопку — делаем ЧУТЬ ниже чипсов */
  body.page-wolf .sub-hero #main-cta,
  body.page-wolf .sub-hero .cta-button {
    margin-top: 22px !important;
    /* подгони 18–26px по вкусу */
  }

  /* WHY блок опускаем чуть ниже — чтобы 4 карточки дышали */
  body.page-wolf .features-block {
    margin-top: 56px !important;
    /* подгони 48–64px по вкусу */
  }
}

/* ---- Wolf: опустить блок "Why Choose Wolfix" на десктопе ---- */
@media (min-width: 1100px) {
  body.page-wolf main .features-block {
    /* двигаем секцию вниз относительно кнопки BOOK */
    margin-top: 76px !important;
    /* подбери: 72–96px */
  }
}

/* Wolf: опустить "Why Choose Wolfix" на десктопе (не трогаем мобилки) */
@media (min-width: 1100px) {
  #why-wolf {
    margin-top: 20px !important;
    /* подбери 72–112px под вкус */
  }
}

/* === iPhone-only: pull "Why Choose" closer to BOOK (no desktop changes) === */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    html.handset body.page-wolf .sub-hero + .features-block,
    body.is-iphone.page-wolf .sub-hero + .features-block,
    body.page-wolf .sub-hero + .features-block {
      margin-top: -54px !important;
    }
    html.handset body.page-wolf .features-title,
    body.is-iphone.page-wolf .features-title {
      margin: 6px 0 12px !important;
    }
  }
}

/* ===== ABSOLUTE FINAL iPhone OVERRIDE (place last) ===== */
/* iPhone: match by explicit id present in wolf.html */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    html
      body.page-wolf
      main
      > section.sub-hero
      + section#why-wolf.features-block,
    html body.page-wolf main > section.sub-hero + section.features-block {
      margin-top: -68px !important;
    }
    /* tighten hero bottom spacing and heading margins on iPhone */
    body.page-wolf .sub-hero {
      padding-bottom: 4px !important;
    }
    body.page-wolf .sub-hero .cta-button {
      margin-bottom: 6px !important;
    }
    body.page-wolf .features-title {
      margin: 4px 0 12px !important;
    }
    /* direct ID target as absolute last resort */
    body.page-wolf #why-wolf {
      margin-top: -72px !important;
    }
  }
}

/* По умолчанию везде скрыта */
.sticky-cta {
  display: none;
}

/* Только на iPhone — показываем и анимируем появление */
body.is-iphone .sticky-cta {
  display: flex !important;
  /* перекрывает старые @media */
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

/* Когда наблюдатель решит показать */
body.is-iphone .sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none !important;
  }
}

/* по умолчанию скрыта везде */
.sticky-cta {
  display: none;
}

/* показываем ТОЛЬКО на iPhone (класс навешиваем скриптом) */
body.is-iphone .sticky-cta {
  display: flex !important;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

body.is-iphone .sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* по умолчанию скрыта везде */
.sticky-cta {
  display: none;
}

/* показываем только на телефонах */
html.handset .sticky-cta {
  display: flex !important;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  gap: 10px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

/* когда должна быть видимой */
html.handset .sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* === FINAL POSITIONING OVERRIDE: Raise Why Choose block === */
@media (max-width: 1023.98px) {
  html body.page-wolf main > section#why-wolf.features-block {
    margin-top: 17px !important;
  }
}
@media (min-width: 1024px) {
  html body.page-wolf main > section#why-wolf.features-block {
    margin-top: 1px !important;
  }
}

/* Phones: pull "Why Choose" closer to the BOOK button */
@media (max-width: 480px) {
  html body.page-wolf main > section.sub-hero + section.features-block,
  html body.page-wolf .sub-hero + .features-block {
    margin-top: -42px !important;
  }
}
/* Узкая hero-кнопка только на телефонах */
html.handset .sub-hero .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  /* перетираем возможное width:100% */
  min-width: 220px;
  max-width: 320px;
  /* "как на десктопе" — не во всю ширину */
  padding: 14px 22px;
  margin-left: auto;
  margin-right: auto;
  /* центрируем */
}
/* Плавающая CTA на телефонах — центрируем текст */
html.handset .sticky-cta {
  display: flex;
  /* у нас уже flex, но на всякий */
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}

/* === Phones only: 2×2 "Same-Day" кнопки под Why Choose === */

/* если у тебя уже стоит класс html.handset (мы его добавляли JS-детектором) */
html.handset .features-block .features-inner {
  display: grid;
  /* переопределяем возможный flex */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  /* вертикальный × горизонтальный */
}

html.handset .features-block .feature {
  padding: 14px 12px;
}

/* fallback: вдруг класс handset не проставился — по ширине экрана */
@media (max-width: 600px) {
  .features-block .features-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .features-block .feature {
    padding: 14px 12px;
  }
}

/* === WOLF: портфолио как на главной/Sub-Zero === */

/* 1) Уменьшаем отступ между карточками "Why" и портфолио */
.page-wolf .features-block {
  /* было щедро, делаем компактнее */
  margin-bottom: 56px;
  /* было ~120–160px */
}

/* На маленьких экранах – ещё чуть ближе */
@media (max-width: 600px) {
  .page-wolf .features-block {
    margin-bottom: 40px;
  }
}

/* 2) Сам раздел портфолио — ближе к предыдущему блоку */
.page-wolf .portfolio-block {
  margin-top: 36px;
  /* было слишком много */
}

/* 3) Размер и вид карточек с фото (как на Sub-Zero) */
.portfolio-swiper--wolf .swiper-slide img,
.portfolio-swiper .swiper-slide img {
  /* на случай, если класс без модификатора */
  width: 100%;
  height: clamp(220px, 46vw, 440px);
  /* Sub-Zero: компактнее, без «пол-экрана» */
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
}

/* Чуть меньше «хвост» под пагинацией */
.portfolio-swiper--wolf,
.portfolio-swiper {
  /* если один инстанс на странице */
  padding-bottom: 28px;
}

/* Заголовок секции — компактнее снизу */
.page-wolf .portfolio-block .section-title {
  margin: 0 0 22px;
}

/* ——— Wolf: сделать стык секций плотнее и без серой полосы ——— */

/* 1) Ещё меньше отступ от блока "Why" до портфолио */
.page-wolf .features-block {
  margin-bottom: 28px;
  /* было больше — уменьшаем ещё */
  padding-bottom: 0;
}

/* На мобилках — чуть плотнее */
@media (max-width: 600px) {
  .page-wolf .features-block {
    margin-bottom: 20px;
  }
}

/* 2) У портфолио убираем возможные "перемычки" и сдвигаем выше */
.page-wolf .portfolio-block {
  margin-top: 14px;
  /* ещё ближе к "Why" */
  background: #fff;
  /* если полоса идёт от фонового градиента */
  border-top: none;
  padding-top: 0;
}

/* 3) На некоторых темах полоса рисуется псевдо-элементами — отключим */
.page-wolf .features-block::after,
.page-wolf .portfolio-block::before {
  content: none !important;
}

/* 4) Подстраховка: если фон страницы/обёртки слегка серый — делаем белым */
.page-wolf main {
  background: #fff;
}

/* (если у тебя секции в обёртке с собственным bg)
.page-wolf .container { background: #fff; } */

/* --- Wolf: портфолио как на Sub-Zero --- */

/* высота кадров, без искажений, как на subzero */
.page-wolf .portfolio-swiper--wolf .swiper-slide img,
.page-wolf .portfolio-swiper .swiper-slide img {
  width: 100%;
  height: clamp(260px, 58vw, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
}

/* компактнее низ у слайдера (пагинация/стрелки) */
.page-wolf .portfolio-swiper--wolf,
.page-wolf .portfolio-swiper {
  padding-bottom: 28px;
}

/* (опционально) чуть меньше стрелки, если есть */
.page-wolf .portfolio-block .swiper-button-prev,
.page-wolf .portfolio-block .swiper-button-next {
  width: 40px;
  height: 40px;
}

/* (опционально) точки пагинации поплотнее */
.page-wolf .portfolio-block .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 0.35;
}

.page-wolf .portfolio-block .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Wolf: сделать фото в портфолио ещё меньше */
.page-wolf .portfolio-swiper--wolf .swiper-slide img,
.page-wolf .portfolio-swiper .swiper-slide img {
  /* было clamp(260px, 58vw, 520px) */
  height: clamp(200px, 42vw, 360px);
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
}

/* Чуть короче "подвал" слайдера, чтобы секция стала компактнее */
.page-wolf .portfolio-swiper--wolf,
.page-wolf .portfolio-swiper {
  padding-bottom: 22px;
  /* было 28px */
}

/* ISSUES — Wolf (как на Sub-Zero) */
.wf-issues {
  padding: clamp(28px, 4vw, 56px) 0 clamp(22px, 3.5vw, 48px);
}

.wf-issues .section-title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  text-align: center;
  font-weight: 900;
  line-height: 1.1;
  font-size: clamp(28px, 3.2vw, 40px);
}

.issues-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px) clamp(16px, 2.2vw, 28px);
}

/* «чип» */
.issue-chip {
  width: 100%;
  display: block;
  text-align: left;
  padding: clamp(14px, 1.6vw, 22px) clamp(44px, 3.6vw, 56px)
    clamp(14px, 1.6vw, 22px) clamp(18px, 1.8vw, 28px);
  background: #fff;
  border: 1px solid #eef3ff;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(23, 41, 80, 0.08);
  font-weight: 800;
  font-size: clamp(16px, 1.25vw, 20px);
  color: #1c2430;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
  cursor: pointer;
}

.issue-chip::after {
  content: "";
  position: absolute;
  right: clamp(14px, 1.6vw, 18px);
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #3b82f6;
  border-top: 3px solid #3b82f6;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.65;
  transition: right 0.18s ease, opacity 0.18s ease;
}

.issue-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(23, 41, 80, 0.12);
  border-color: #e6eeff;
}

.issue-chip:hover::after {
  right: clamp(12px, 1.2vw, 16px);
  opacity: 1;
}

/* Match Sub-Zero icon size in issue cards */
.issues-section .issue-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

/* адаптив сетки как на Sub-Zero */
@media (max-width: 1280px) {
  .issues-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .issues-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .issues-grid {
    grid-template-columns: 1fr;
  }
}
/* одинаковая высота чипов в строке */
.issues-grid > li {
  display: flex;
  /* ячейка растягивается по высоте строки */
}

/* Match Sub-Zero category title icon size */
.issues-section .category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 24px;
  text-align: left;
}
.issues-section .category-title svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #2f6bff;
}

/* Issue cards — match Sub-Zero white buttons */
.issues-section .issue-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

/* ===== iPhone-only: Issues grid/buttons 1:1 with Monogram/Sub-Zero ===== */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    /* ровно 2 колонки 50/50 и четкий центральный «шов» */
    html body.page-wolf .issues-section .issues-grid,
    html body.page-wolf .issues-grid {
      grid-template-columns: calc(50% - 8px) calc(50% - 8px) !important;
      column-gap: 16px !important;
      row-gap: 16px !important;
      justify-items: stretch !important;
      align-items: stretch !important;
      grid-auto-rows: 1fr !important;
      padding: 0 !important;
    }

    /* одинаковая высота и аккуратные переносы */
    html body.page-wolf .issues-section .issue-card,
    html body.page-wolf .issue-card {
      box-sizing: border-box !important;
      width: 100% !important;
      margin-inline: 0 !important;
      padding: 14px 16px !important;
      min-height: 168px !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-start !important;
    }
    html body.page-wolf .issue-card .issue-icon {
      width: 28px !important;
      height: 28px !important;
      line-height: 28px !important;
      font-size: 24px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      margin-bottom: 8px !important;
    }
    html body.page-wolf .issue-card h4 {
      font-size: 1.05rem !important;
      margin: 0 0 6px !important;
      line-height: 1.25 !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
      white-space: normal !important;
      word-break: break-word !important;
      hyphens: auto !important;
    }
    html body.page-wolf .issue-card p {
      font-size: 0.92rem !important;
      line-height: 1.3 !important;
      display: -webkit-box !important;
      -webkit-line-clamp: 2 !important;
      -webkit-box-orient: vertical !important;
      overflow: hidden !important;
      white-space: normal !important;
      word-break: break-word !important;
      hyphens: auto !important;
    }
  }
}

/* Phones/tablets ≤600px: force 2 columns for issue buttons (not 1) */
@media (max-width: 600px) {
  html body.page-wolf .issues-section .issues-grid,
  html body.page-wolf .issues-grid {
    grid-template-columns: calc(50% - 8px) calc(50% - 8px) !important;
    column-gap: 16px !important;
    row-gap: 16px !important;
  }
}
.issues-section .issue-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border-color: #e6ebf2;
}
.issues-section .issue-card .issue-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.issues-section .issue-card h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}
.issues-section .issue-card p {
  margin: 0;
  color: #666;
  line-height: 1.35;
  font-size: 0.95rem;
}

.issues-section .issue-category {
  margin-bottom: 48px;
}
.issues-section .issue-category:last-child {
  margin-bottom: 0;
}
.issues-section .issues-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .issues-section .issues-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .issues-section .issues-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Issues CTA — match Sub-Zero */
.issues-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.issues-cta p {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin: 0 0 24px;
  font-weight: 600;
  line-height: 1.4;
}
.issues-cta .btn-book {
  display: inline-block;
  background: linear-gradient(90deg, #ff6600, #ff9900);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 25px;
  padding: 16px 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.issues-cta .btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  background: linear-gradient(90deg, #ff5500, #ff8800);
}

/* Diagnostic Modal (like Sub-Zero) */
#diagnostic-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
#diagnostic-modal .modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  margin: auto;
}
#diagnostic-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 600px) {
  #diagnostic-modal .modal-content {
    padding: 30px 20px !important;
    margin: 20px !important;
  }
}

.issue-chip {
  display: flex;
  /* контент вертикально центрируем */
  align-items: center;
  height: 100%;
  min-height: clamp(84px, 6.8vw, 116px);
  /* стандартная «высота» как у двухстрочных */
}

/* можно чуть уменьшить min-height на телефонах */
@media (max-width: 560px) {
  .issue-chip {
    min-height: clamp(68px, 14vw, 94px);
  }
}
/* HOW section — same styling as Sub-Zero */
.wf-how {
  margin: 56px 0 48px;
}

.wf-how .section-title {
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.1;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 46px);
  color: #2f6bff;
}

/* Wolf: make How the Repair Works title black */
.page-wolf .wf-how .section-title {
  color: #1a1a1a !important;
}

/* Wolf FAQ — 1:1 with Sub‑Zero */
.page-wolf #faq-wolf {
  background: #fff !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  margin: clamp(40px, 6vh, 72px) 0;
}
.page-wolf #faq-wolf::before,
.page-wolf #faq-wolf::after {
  display: none !important;
  content: none !important;
}
.page-wolf #faq-wolf .wf-title {
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  text-align: center !important;
  margin-bottom: 16px !important;
  line-height: 1.1 !important;
}

/* Buttons/panels animation like Sub-Zero */
.page-wolf #faq-wolf .wf-panel {
  display: none;
  padding: 0 clamp(18px, 1.8vw, 22px) clamp(18px, 1.8vw, 22px);
}
.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  display: block;
  background: #fff;
}

/* Smooth panel (no jump) */
.page-wolf #faq-wolf .wf-panel {
  max-height: 0;
  overflow: hidden;
  will-change: max-height, opacity, padding;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease,
    padding 0.28s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  opacity: 1;
  padding-top: clamp(10px, 1.2vw, 14px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
}

/* Header active gradient like Sub-Zero */
.page-wolf #faq-wolf .wf-item.is-open .wf-btn {
  color: #1a1a1a;
  background: none;
  border: 1px solid #2f6bff;
  box-shadow: inset 0 0 0 2px #2f6bff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-chev {
  stroke: #2f6bff;
  transform: rotate(180deg);
}

.wf-how .how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}

.wf-how .how-item {
  background: #fff;
  border-radius: 18px;
  padding: clamp(18px, 1.8vw, 24px);
  box-shadow: 0 12px 32px rgba(23, 41, 80, 0.08);
}

.wf-how .how-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.wf-how .how-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 18px/1 "Montserrat", system-ui, -apple-system, sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.25);
  flex: 0 0 40px;
}

.wf-how .how-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  color: #111827;
}

.wf-how .how-text {
  margin: 8px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: #374151;
}

/* Mobile: стекаем в одну колонку */
@media (max-width: 840px) {
  .wf-how .how-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ base */
.wf-faq {
  margin: 72px 0;
}

.wf-faq .wf-title {
  margin: 0 0 28px;
  text-align: center;
  font-weight: 900;
  line-height: 1.1;
  font-size: clamp(28px, 3.2vw, 46px);
  color: #2f6bff;
}

.wf-faq .wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.8vw, 18px);
}

@media (max-width: 900px) {
  .wf-faq .wf-grid {
    grid-template-columns: 1fr;
  }
}

.wf-faq .wf-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(23, 41, 80, 0.08);
  overflow: hidden;
}

.wf-faq .wf-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 1.8vw, 22px);
  background: #fff;
  border: none;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25;
  color: #111827;
}

.wf-faq .wf-chev {
  width: 22px;
  height: 22px;
  stroke: #6b7280;
  stroke-width: 2;
  fill: none;
  flex: 0 0 22px;
  transition: transform 0.2s ease;
}

.wf-faq .wf-panel {
  padding: 0 clamp(18px, 1.8vw, 22px) clamp(18px, 1.8vw, 22px);
  display: none;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: #374151;
}

.wf-faq .wf-item.is-open .wf-btn {
  color: #1a1a1a;
  background: none;
  border: 1px solid #2f6bff;
  box-shadow: inset 0 0 0 2px #2f6bff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wf-faq .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

.wf-faq .wf-item.is-open .wf-panel {
  display: block;
  background: #fff;
}

/* Плавная панель FAQ */
.wf-faq .wf-panel {
  /* Убираем display:none — иначе не анимируется */
  max-height: 0;
  overflow: hidden;

  /* чтобы не дергались размеры при появлении текста */
  will-change: max-height, opacity, padding;

  /* плавная анимация */
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease,
    padding 0.28s ease;
  opacity: 0;

  /* те же отступы, что были — но анимируем padding */
  padding: 0 clamp(18px, 1.8vw, 22px);
  padding-top: 0;
  padding-bottom: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: #374151;
}

/* Когда открыт — делаем видимым, padding возвращаем */
.wf-faq .wf-item.is-open .wf-panel {
  opacity: 1;
  padding-top: clamp(10px, 1.2vw, 14px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
}

/* как и было — активная «шапка» остаётся оранжевой */
.wf-faq .wf-item.is-open .wf-btn {
  color: #1a1a1a;
  background: none;
  border: 1px solid #2f6bff;
  box-shadow: inset 0 0 0 2px #2f6bff;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wf-faq .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

/* Базовая панель: скрыта, без padding-анимации */
.wf-faq .wf-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 clamp(18px, 1.8vw, 22px) 0;
  /* горизонт оставили, вертикали 0 */
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
  will-change: max-height, opacity;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  color: #374151;
}

/* Открытая панель: padding есть, но без transition у padding */
.wf-faq .wf-item.is-open .wf-panel {
  opacity: 1;
  padding-top: clamp(10px, 1.2vw, 14px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
}

/* Кнопка как была */
.wf-faq .wf-item.is-open .wf-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wf-faq .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

/* Панель по умолчанию закрыта */
.wf-faq .wf-panel {
  height: 0;
  /* анимируем высоту */
  overflow: hidden;
  opacity: 0;
  transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
  will-change: height, opacity;
  padding: 0 clamp(18px, 1.8vw, 22px);
  /* вертикальный padding = 0, горизонтальный есть */
}

/* Открытая панель — вертикальный padding включаем (без transition у padding) */
.wf-faq .wf-item.is-open .wf-panel {
  opacity: 1;
  padding-top: clamp(10px, 1.2vw, 14px);
  padding-bottom: clamp(14px, 1.6vw, 18px);
}

/* оформление кнопки при open — как было */
.wf-faq .wf-item.is-open .wf-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wf-faq .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

/* --- FAQ base --- */
.wf-faq .wf-item {
  border-radius: 20px;
}

.wf-faq .wf-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  font-weight: 800;
  font-size: clamp(16px, 1.4vw, 20px);
  box-shadow: 0 10px 24px rgba(23, 41, 80, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.wf-faq .wf-btn:hover {
  box-shadow: 0 14px 32px rgba(23, 41, 80, 0.12);
}

.wf-faq .wf-chev {
  width: 18px;
  height: 18px;
  stroke: #2f6bff;
  transition: transform 0.2s ease;
}

/* Панель: никаких transition здесь! Управляем анимацией из JS */
.wf-faq .wf-panel {
  overflow: hidden;
  height: 0;
  /* закрыта */
  opacity: 0;
  padding: 0 22px;
  /* горизонталь оставляем */
}

/* Открытая — включаем вертикальные паддинги (без transition) */
.wf-faq .wf-item.is-open .wf-panel {
  padding-top: 12px;
  padding-bottom: 14px;
  opacity: 1;
}

/* Кнопка при open как у Sub-Zero */
.wf-faq .wf-item.is-open .wf-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.wf-faq .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

/* Анимации отключаем при prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wf-faq .wf-panel {
    transition: none !important;
  }
}

/* Корневая карточка вопроса */
#faq-wolf .wf-item {
  border-radius: 20px;
}

/* Кнопка вопроса */
#faq-wolf .wf-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: clamp(16px, 1.4vw, 20px);
  box-shadow: 0 10px 24px rgba(23, 41, 80, 0.08);
  transition: box-shadow 0.2s ease;
}

#faq-wolf .wf-btn:hover {
  box-shadow: 0 14px 32px rgba(23, 41, 80, 0.12);
}

#faq-wolf .wf-chev {
  width: 18px;
  height: 18px;
  stroke: #2f6bff;
  transition: transform 0.2s ease;
}

/* Панель — плавно раскрываем высоту без JS */
#faq-wolf .wf-panel {
  display: grid;
  grid-template-rows: 0fr;
  /* закрыто */
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s;
  opacity: 0;
  /* горизонтальные отступы можно оставить, вертикальные дадим в открытом состоянии */
  padding: 0 22px;
}

/* Внутреннее содержимое, чтобы было что «резать» */
#faq-wolf .wf-panel > * {
  overflow: hidden;
}

/* Открытое состояние */
#faq-wolf .wf-item.is-open .wf-panel {
  grid-template-rows: 1fr;
  /* плавно раскрывается */
  opacity: 1;
  padding-top: 12px;
  padding-bottom: 14px;
}

/* Красим кнопку при открытии (как на Sub-Zero) */
#faq-wolf .wf-item.is-open .wf-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#faq-wolf .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

/* Для людей с reduced motion — без анимаций */
@media (prefers-reduced-motion: reduce) {
  #faq-wolf .wf-panel {
    transition: none !important;
  }
}
/* Карточка вопроса */
#faq-wolf .wf-item {
  border-radius: 20px;
  margin: 14px 0;
}

/* Кнопка вопроса */
#faq-wolf .wf-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  font-size: clamp(16px, 1.4vw, 20px);
  box-shadow: 0 10px 24px rgba(23, 41, 80, 0.08);
  transition: box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease,
    border-radius 0.2s ease;
}

#faq-wolf .wf-btn:hover {
  box-shadow: 0 14px 32px rgba(23, 41, 80, 0.12);
}

#faq-wolf .wf-chev {
  width: 18px;
  height: 18px;
  stroke: #2f6bff;
  transition: transform 0.22s ease, stroke 0.2s ease;
}

/* Панель-аккордеон: grid-accordion — самое стабильное решение */
#faq-wolf .wf-panel {
  display: grid;
  /* ключ для grid-accordion */
  grid-template-rows: 0fr;
  /* закрыто */
  opacity: 0;
  padding: 0 22px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 41, 80, 0.08);
  transition: grid-template-rows 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    padding 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.28s ease;
  will-change: grid-template-rows, padding, opacity;
  contain: content;
  /* исключает «полуоткрытия» в Safari/Chrome */
}

/* Внутренний враппер — чтобы grid аккуратно «резал» контент */
#faq-wolf .wf-panel > .wf-panel__inner {
  overflow: hidden;
  min-height: 0;
  /* обязательно для grid-потомка */
}

/* Открытое состояние */
#faq-wolf .wf-item.is-open .wf-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#faq-wolf .wf-item.is-open .wf-chev {
  stroke: #fff;
  transform: rotate(180deg);
}

#faq-wolf .wf-item.is-open .wf-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 12px 22px 16px;
}

/* Accessibility */
#faq-wolf .wf-btn:focus-visible {
  outline: 3px solid #2f6bff;
  outline-offset: 2px;
}

/* Без анимаций для reduced motion */
@media (prefers-reduced-motion: reduce) {
  #faq-wolf .wf-panel {
    transition: none !important;
  }
}

/* Контейнер панели: анимируем только max-height */
.wf-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  will-change: max-height;
}

/* Внутренности с отступами — их НЕ анимируем */
.wf-panel__inner {
  padding: 18px 22px;
}

/* Вернём стрелочку, если используете поворот */
.wf-btn .wf-chev {
  transition: transform 0.25s ease;
}

.wf-item.is-open .wf-btn .wf-chev {
  transform: rotate(180deg);
}

/* Уважим prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wf-panel {
    transition: none;
  }

  .wf-btn .wf-chev {
    transition: none;
  }
}

/* Контент панели внутри модалки: контрастный текст и белый фон */
#wf-modal,
#request-modal {
  /* id модалки у тебя #request-modal — оставил оба на всякий */
}

#request-modal .wf-panel {
  background: #fff;
}

#request-modal .wf-panel__inner {
  color: #111827;
  /* почти чёрный */
}

/* базовые переменные: сколько раскрывать максимум */
#faq-wolf {
  --faq-open-max: 1600px;
  /* можно увеличить, если есть очень длинные ответы */
}

/* кнопка и панель */
#faq-wolf .wf-item {
  border-radius: 18px;
  overflow: hidden;
}

#faq-wolf .wf-btn {
  position: relative;
  display: block;
  border: none;
  width: 100%;
  cursor: pointer;
}

#faq-wolf .wf-panel {
  background: #fff;
  color: #111827;
  overflow: hidden;
  max-height: 0;
  /* закрыто */
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 20px;
  /* убираем внутренние отступы, чтобы не торчали в закрытом виде */
}

/* аккуратный паддинг только в открытом состоянии */
#faq-wolf .wf-item.is-open .wf-panel {
  max-height: var(--faq-open-max);
  padding: 18px 20px 20px;
}

/* чтобы шапка не перекрывала контент (на всякий) */
#faq-wolf .wf-btn {
  z-index: 1;
  position: relative;
}

#faq-wolf .wf-panel {
  z-index: 0;
  position: relative;
}

/* ===== OVERRIDES to match Monogram (no fill, blue border, chevrons) ===== */
#faq-wolf .wf-btn {
  background: none !important;
  border: 1px solid #eaeef3 !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  color: #1a1a1a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

#faq-wolf .wf-btn:hover {
  background: #f8fafc !important;
  color: #2f6bff !important;
  border-color: transparent !important;
  box-shadow: inset 0 0 0 2px #2f6bff !important;
}

#faq-wolf .wf-chev {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  flex: 0 0 24px !important;
  transition: transform 0.2s ease;
}

#faq-wolf .wf-panel {
  display: none !important;
  padding: 0 24px 20px !important;
  color: #666 !important;
  line-height: 1.6 !important;
}
#faq-wolf .wf-item.is-open .wf-panel {
  display: block !important;
}

#faq-wolf .wf-item.is-open .wf-btn {
  background: none !important;
  color: #1a1a1a !important;
  border-color: transparent !important;
  box-shadow: inset 0 0 0 2px #2f6bff !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
#faq-wolf .wf-item.is-open .wf-chev {
  stroke: #2f6bff !important;
  transform: rotate(180deg);
}

/* в модалке те же стили — на случай более строгих наследований */
#request-modal #faq-wolf .wf-panel {
  background: #fff;
  color: #111827;
}

/* --- FAQ внутри модалки: надёжная анимация без замеров --- */
#request-modal #faq-wolf {
  --faq-open-max: 1600px;
}

#request-modal #faq-wolf .wf-item {
  overflow: visible; /* ничего не обрезаем */
}

#request-modal #faq-wolf .wf-panel {
  background: #fff;
  color: #111827;
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-height: 0; /* закрыто */
  opacity: 0;
  padding: 0 20px;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

#request-modal #faq-wolf .wf-item.is-open .wf-panel {
  max-height: var(--faq-open-max); /* раскрываться всегда можно */
  opacity: 1;
  padding: 16px 20px 18px;
}

/* чтобы контент точно не прятался прокруткой контейнера */
#request-modal .wf-modal__dialog {
  overflow: auto;
}

/* === FINAL OVERRIDE: make WOLF logo full-bleed on mobile (keep header changes only) === */
@media (max-width: 480px) {
  html body.page-wolf .sub-hero .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.page-wolf .sub-hero img.brand-logo-large,
  html body.page-wolf .sub-hero img[alt="Wolf"] {
    display: block !important;
    width: calc(
      100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px
    ) !important;
    max-width: calc(
      100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px
    ) !important;
    height: auto !important;
    margin: 8px auto 10px !important;
  }
}

/* Fix duplicate "Serving the Bay Area" text: show only one variant per viewport */
.top-strip .top-strip-text--short {
  display: none;
}
@media (max-width: 480px) {
  .top-strip .top-strip-text--full {
    display: none;
  }
  .top-strip .top-strip-text--short {
    display: inline-block;
  }
}

.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  display: block !important;
  max-height: 240px !important;
  opacity: 1 !important;
  padding-top: clamp(10px, 1.2vw, 14px) !important;
  padding-bottom: clamp(14px, 1.6vw, 18px) !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-btn {
  color: #fff !important;
  background: linear-gradient(180deg, #ff8a00 0%, #ff6a00 100%) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-chev {
  stroke: #fff !important;
  transform: rotate(180deg) !important;
}

/* Wolf FAQ: final style overrides to match Sub-Zero exactly */
.page-wolf #faq-wolf .wf-btn {
  background: #fff !important;
  border-radius: 18px !important;
}
.page-wolf #faq-wolf .wf-item.is-open {
  border-color: var(--wf-blue) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-btn {
  background: #fff !important;
  color: var(--wf-blue) !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-btn span {
  color: var(--wf-blue) !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-chev {
  stroke: var(--wf-blue) !important;
  transform: rotate(180deg) !important;
}
.page-wolf #faq-wolf .wf-panel {
  border-top: 1px solid transparent !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  border-top-color: var(--wf-line) !important;
  background: #fff !important;
}

/* Wolf FAQ: ensure panel fully opens and text is visible */
.page-wolf #faq-wolf .wf-panel {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 clamp(18px, 1.8vw, 22px) 0 !important;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease,
    padding 0.24s ease !important;
}
.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  max-height: 1600px !important;
  opacity: 1 !important;
  padding-top: 12px !important;
  padding-bottom: 14px !important;
}

/* FINAL OVERRIDE: Wolf FAQ panel open/close (max-height model) */
html body.page-wolf #faq-wolf .wf-panel {
  display: block !important;
  grid-template-rows: unset !important;
  height: auto !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 22px 0 !important;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease,
    padding 0.24s ease !important;
}
html body.page-wolf #faq-wolf .wf-item.is-open .wf-panel {
  max-height: 1600px !important;
  opacity: 1 !important;
  padding-top: 12px !important;
  padding-bottom: 14px !important;
}

/* Wolf FAQ: uniform button height + proper text wrapping */
.page-wolf #faq-wolf .wf-item {
  display: flex !important;
  flex-direction: column !important;
}
.page-wolf #faq-wolf .wf-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: clamp(78px, 6.8vw, 98px) !important; /* desktop/tablet */
  white-space: normal !important;
  word-break: break-word !important;
  hyphens: auto !important;
}
@media (max-width: 600px) {
  .page-wolf #faq-wolf .wf-btn {
    min-height: clamp(64px, 18vw, 90px) !important;
  }
}

/* Wolf FAQ: compact button height override */
.page-wolf #faq-wolf .wf-btn {
  min-height: clamp(56px, 5.2vw, 74px) !important;
}
@media (max-width: 600px) {
  .page-wolf #faq-wolf .wf-btn {
    min-height: clamp(52px, 14vw, 70px) !important;
  }
}

/* Wolf: Service Area styles 1:1 with Sub‑Zero */
.page-wolf .service-area-section {
  margin: clamp(40px, 6vh, 72px) 0;
  padding: 40px 0;
}
.page-wolf .service-area-header {
  text-align: center;
  margin-bottom: 40px;
}
.page-wolf .service-area-section .section-title {
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: #1a1a1a !important;
  text-align: center !important;
  margin-bottom: 16px !important;
  line-height: 1.1 !important;
}
.page-wolf .service-area-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
.page-wolf .service-area-content {
  max-width: 1000px;
  margin: 0 auto;
}
.page-wolf .service-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.page-wolf .service-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(23, 41, 80, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.page-wolf .service-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 41, 80, 0.1);
}
.page-wolf .service-feature .feature-icon {
  font-size: 26px;
}
.page-wolf .service-feature .feature-content h4 {
  margin: 0 0 6px;
  font-weight: 800;
  color: #111827;
  font-size: 1.05rem;
}
.page-wolf .service-feature .feature-content p {
  margin: 0;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.35;
}
.page-wolf .service-cta {
  margin-top: 28px;
  text-align: center;
}
.page-wolf .service-cta .btn-book {
  display: inline-block;
  background: linear-gradient(90deg, #ff6600, #ff9900);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-wolf .service-cta .btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}
@media (max-width: 1200px) {
  .page-wolf .service-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .page-wolf .service-area-section {
    margin: 32px 16px;
    padding: 32px 20px;
  }
  .page-wolf .service-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-wolf .service-feature {
    padding: 20px;
  }
  .page-wolf .service-cta .btn-book {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* Wolf FAQ: 3-column desktop grid and tighter spacing (match Sub-Zero) */
.page-wolf #faq-wolf .wf-item {
  margin: 0 !important;
}
.page-wolf #faq-wolf .wf-grid {
  gap: 12px !important;
}
@media (min-width: 1200px) {
  .page-wolf #faq-wolf .wf-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (min-width: 900px) and (max-width: 1199.98px) {
  .page-wolf #faq-wolf .wf-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Wolf FAQ: 2-column grid + clamp question text to 3 lines */
.page-wolf #faq-wolf .wf-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
@media (max-width: 900px) {
  .page-wolf #faq-wolf .wf-grid {
    grid-template-columns: 1fr !important;
  }
}
.page-wolf #faq-wolf .wf-btn {
  min-height: 0 !important;
}
.page-wolf #faq-wolf .wf-btn span {
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3;
  line-height: 1.2 !important;
}

/* ===== ABSOLUTE LAST iPhone FIX: Why Choose closer to BOOK ===== */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 430px) {
    html body.page-wolf #why-wolf,
    html body.page-wolf .hero.sub-hero + .features-block,
    html body.page-wolf .sub-hero + .features-block,
    html body.page-wolf main .features-block {
      margin-top: -80px !important;
    }
    /* kill any top paddings injected by global styles on iPhone */
    html body.page-wolf .features-block {
      padding-top: 0 !important;
    }
    html body.page-wolf .features-block .container {
      padding-top: 0 !important;
    }
    /* stop margin-collapsing so negative margin applies precisely */
    html body.page-wolf #why-wolf {
      display: flow-root !important;
      border-top: 0 !important;
    }
  }
}

/* Wolf FAQ: normalize question button heights (consistent) */
.page-wolf #faq-wolf .wf-btn {
  min-height: 84px !important;
  display: flex !important;
  align-items: center !important;
}
@media (max-width: 600px) {
  .page-wolf #faq-wolf .wf-btn {
    min-height: 72px !important;
  }
}

/* Wolf FAQ: compact, content-based height (final) */
.page-wolf #faq-wolf .wf-btn {
  min-height: auto !important;
  padding: 14px 16px !important;
  align-items: flex-start !important;
}

/* Wolf FAQ: make 'Door won't close…' question exactly 2 lines */
.page-wolf #faq-wolf #wolf-q5 span {
  -webkit-line-clamp: 2 !important;
}

.page-wolf .service-cta .cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.15;
}
.page-wolf .service-cta .cta-subtitle {
  font-size: 1rem;
  color: #666;
  margin: 0 0 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.page-wolf .service-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(23, 41, 80, 0.08);
  margin-top: 40px;
}
.page-wolf .cta-content {
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-wolf .service-cta {
    padding: 30px 20px;
    margin-top: 30px;
  }
  .page-wolf .cta-content .cta-title {
    font-size: 1.6rem;
  }
  .page-wolf .service-cta .btn-book {
    font-size: 0.7rem;
    padding: 16px 28px;
  }
}

/* Wolf Footer — match Sub-Zero */
.page-wolf .site-footer {
  background: #fff;
  color: #1a1a1a;
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 0 !important;
  box-shadow: none !important;
}
.page-wolf .footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.page-wolf .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-wolf .footer-brand .footer-line {
  flex: 1 1 auto;
  height: 1px;
  background: #e5e7eb;
  min-width: 64px;
}
.page-wolf .footer-logo {
  width: 600px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.page-wolf .footer-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}
.page-wolf .footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.page-wolf .footer-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.page-wolf .footer-phone:hover {
  color: #ff6600;
  transform: translateY(-2px);
}
.page-wolf .footer-email {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.page-wolf .footer-email:hover {
  color: #ff6600;
  transform: translateY(-2px);
}
.page-wolf .footer-hours {
  font-size: 1rem;
  color: #888;
}
.page-wolf .footer-copy {
  padding-top: 40px !important;
}
.page-wolf .footer-copy p {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}
@media (max-width: 1200px) {
  .page-wolf .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .page-wolf .footer-contact-info {
    align-items: center;
    text-align: center;
  }
  .page-wolf .footer-logo {
    width: 500px;
    height: 133px;
  }
}
@media (max-width: 768px) {
  .page-wolf .site-footer {
    padding: 30px 0 20px;
    margin-top: 60px;
  }
  .page-wolf .footer-main {
    gap: 25px;
  }
  .page-wolf .footer-logo {
    width: 300px;
    height: 80px;
  }
  .page-wolf .footer-contact-info {
    gap: 14px;
  }
  .page-wolf .footer-phone {
    font-size: 1.2rem;
  }
  .page-wolf .footer-email {
    font-size: 1rem;
  }
}

.page-wolf .service-cta {
  box-shadow: none !important;
}
.page-wolf .service-area-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-wolf .service-area-section + .site-footer {
  border-top: 0 !important;
}
.page-wolf .service-area-section {
  background: #fff !important;
}
.page-wolf main {
  background: #fff !important;
}

/* Wolf: eliminate gray band above footer */
.page-wolf #service-area {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.page-wolf #service-area .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: #fff !important;
}
.page-wolf .site-footer {
  margin-top: 0 !important;
  border-top: 0 !important;
  background: #fff !important;
}
.page-wolf #service-area::before,
.page-wolf #service-area::after,
.page-wolf .site-footer::before,
.page-wolf .site-footer::after {
  content: none !important;
  display: none !important;
}

/* Wolf: spacing between Ready-CTA and footer (like Sub-Zero) */
.page-wolf #service-area {
  margin-bottom: 24px !important;
  padding-bottom: 12px !important;
  background: #fff !important;
}
.page-wolf .site-footer {
  margin-top: 24px !important;
  padding-top: 30px !important;
  background: #fff !important;
  border-top: 0 !important;
}

/* Wolf: remove any inter-section margin to kill gray band; use footer padding only */
.page-wolf #service-area {
  margin-bottom: 0 !important;
}
.page-wolf .site-footer {
  margin-top: 0 !important;
  padding-top: 48px !important;
  border-top: 0 !important;
  background: #fff !important;
}

/* Wolf: larger spacing between Ready and footer (padding-only) */
.page-wolf #service-area {
  padding-bottom: 40px !important;
}
.page-wolf .site-footer {
  padding-top: 40px !important;
}

/* Wolf: increase spacing by +30px */
.page-wolf #service-area {
  padding-bottom: 70px !important;
}
.page-wolf .site-footer {
  padding-top: 70px !important;
}

/* Wolf: adjust spacing -15px */
.page-wolf #service-area {
  padding-bottom: 55px !important;
}
.page-wolf .site-footer {
  padding-top: 55px !important;
}

/* Wolf footer: clamp legal copy to 2 lines */
.page-wolf .footer-copy p {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.page-wolf .footer-main {
  gap: 12px !important;
  margin-bottom: 0 !important;
}
.page-wolf .footer-contact-info .contact-item {
  margin: 0 !important;
}
.page-wolf .footer-copy {
  padding-top: 15px !important;
  margin-top: 0 !important;
}
