/* ==========================================================================
   CONTORNO CORPORAL HUB - HERO STYLES
   ========================================================================== */

/* Ambient & Layout */
.contorno-page-main {
  width: 100%;
  position: relative;
  overflow-x: clip;
  padding-top: clamp(78px, 11.3vh, 114px);
}

/* Remove bottom background orb so bottom area is pure uniform #FAF7F2 matching the shape */
.glass-orb-3 {
  display: none !important;
}

/* Center Typography Block */
.hub-hero-center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.hub-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 3.6vw, 4.1rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #5c3b28;
  margin: 0;
}

.hub-title-line {
  display: block;
  white-space: nowrap;
}

.hub-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: #7b604e;
  margin: 0;
  max-width: 520px;
}

/* --------------------------------------------------------------------------
   PROCEDURE PAGE: FULL-BLEED HERO BANNER (IMAGE FILLS VIEWPORT BELOW HEADER)
   -------------------------------------------------------------------------- */
.procedure-hero-banner {
  width: calc(100% - clamp(16px, 2.2vw, 32px));
  max-width: 1680px;
  margin: 0 auto clamp(3.5rem, 7vh, 5rem);
  height: calc(100vh - clamp(78px, 11.3vh, 114px));
  min-height: 460px;
  border-radius: clamp(24px, 2.8vw, 36px);
  position: relative;
  overflow: hidden;
  box-shadow: none;
  border: none;
  background: #f4ece4;
}

.procedure-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.procedure-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.05) 0%, rgba(20, 14, 10, 0.05) 45%, rgba(20, 14, 10, 0.55) 100%);
}

.procedure-hero-overlay .hub-hero-title {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.procedure-hero-overlay .hub-hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   PROCEDURE HERO: DOCTOR CARD + DETAIL/CTA ROW BELOW THE TITLE
   -------------------------------------------------------------------------- */
.procedure-hero-inner {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.procedure-hero-inner .hub-hero-center-content {
  text-align: left;
  align-items: flex-start;
}

.procedure-hero-detail-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.procedure-hero-doctor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  flex-shrink: 0;
}

.procedure-hero-doctor-photo {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  display: block;
}

.procedure-hero-doctor-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.procedure-hero-doctor-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.procedure-hero-doctor-credential {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.procedure-hero-doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.procedure-hero-doctor-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.procedure-hero-detail-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 560px;
}

.procedure-hero-detail-desc {
  flex: 1 1 260px;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.procedure-hero-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.procedure-hero-cta-btn:hover {
  background: #ffffff;
  color: #5c3b28;
}

/* --------------------------------------------------------------------------
   RESULTS GALLERY: BEFORE/AFTER PHOTOS & PROCESS VIDEOS
   -------------------------------------------------------------------------- */
.results-gallery-section {
  width: 100%;
  background: transparent;
  padding: clamp(3rem, 7vh, 6rem) 0;
}

.results-gallery-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vh, 6rem);
}

.results-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.results-gallery-row-video {
  grid-template-columns: 0.95fr 1fr;
}

.results-gallery-row-photos {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

.results-gallery-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  max-width: 460px;
}

.results-gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #5c3b28;
  margin: 0;
}

.results-gallery-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #5c3b28;
  margin: 0;
}

.results-gallery-desc {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.65;
  color: #7b604e;
  margin: 0;
}

.results-gallery-video-link {
  margin-top: 0.4rem;
}

/* Right column: auto-scrolling infinite loop carousel of all results, 2-3 visible at a time */
.results-carousel-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.results-carousel-track {
  display: flex;
  width: max-content;
  animation: resultsCarouselLoop 130s linear infinite;
  will-change: transform;
}

.results-carousel-track:hover,
.results-carousel-track:focus-within {
  animation-play-state: paused;
}

.results-carousel-group {
  display: flex;
  flex-shrink: 0;
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  padding-left: clamp(0.75rem, 1.4vw, 1.15rem);
}

.results-carousel-item {
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: clamp(14px, 1.8vw, 20px);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(60, 40, 25, 0.1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.results-carousel-item:hover {
  transform: translateY(-4px);
}

.results-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes resultsCarouselLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Bottom row: single large video card */
.results-gallery-video-wrap {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.results-gallery-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(60, 40, 25, 0.1);
}

.results-video-controls {
  justify-content: center;
  margin-top: 1.1rem;
}

@media (max-width: 900px) {
  .results-gallery-row,
  .results-gallery-row-video,
  .results-gallery-row-photos {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .results-gallery-row-video {
    display: flex;
    flex-direction: column;
  }

  .results-gallery-content {
    max-width: 100%;
  }

  .results-carousel-item {
    width: clamp(160px, 60vw, 220px);
  }
}

/* --------------------------------------------------------------------------
   RESULTS LIGHTBOX (before/after photo + procedure details popup)
   -------------------------------------------------------------------------- */
.results-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 9, 6, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.results-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.results-lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 88vh;
  background: #FAF7F2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.results-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.results-lightbox-close:hover {
  background: #C19A6B;
  color: #170E09;
  transform: scale(1.1);
}

.results-lightbox-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #000;
}

.results-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.results-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.results-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.results-lightbox-nav:hover {
  background: #5c3b28;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.results-lightbox-nav.prev {
  left: 14px;
}

.results-lightbox-nav.next {
  right: 14px;
}

.results-lightbox-info {
  padding: clamp(2rem, 4vw, 3rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.results-lightbox-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: #5c3b28;
  margin: 0;
}

.results-lightbox-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: #7b604e;
  margin: 0;
}

.results-lightbox-procedures {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a2f1e;
  font-weight: 600;
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(92, 59, 40, 0.14);
}

@media (max-width: 720px) {
  .results-lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .results-lightbox-media {
    min-height: 260px;
    max-height: 340px;
  }
}

/* --------------------------------------------------------------------------
   PROCEDURE OVERVIEW: WHAT IS A TUMMY TUCK
   -------------------------------------------------------------------------- */
.procedure-overview-section {
  width: 100%;
  background: transparent;
  padding: clamp(6.5rem, 14vh, 11rem) 0;
}

.procedure-overview-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.procedure-overview-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  max-width: 640px;
}

.procedure-overview-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #5c3b28;
  margin: 0;
}

.procedure-overview-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #7b604e;
  margin: 0;
}

.procedure-overview-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
  width: 100%;
}

.procedure-overview-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #4a2f1e;
  font-weight: 500;
  white-space: nowrap;
}

.procedure-overview-check-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #b27a42;
}

.procedure-overview-image-wrap {
  position: relative;
  width: 100%;
  border-radius: clamp(20px, 2.5vw, 32px);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
}

.procedure-overview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure-overview-badge-card {
  position: absolute;
  left: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 280px;
  background: rgba(92, 59, 40, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.procedure-overview-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.procedure-overview-badge-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.28;
  color: #ffffff;
  margin: 0;
}

.procedure-related-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(92, 59, 40, 0.14);
}

.procedure-related-links-label {
  margin-right: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #795e4b;
  text-transform: uppercase;
}

.procedure-related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  color: #8C532B;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.procedure-related-link svg {
  transition: transform 0.22s ease;
}

.procedure-related-link:hover {
  color: #5c3b28;
  transform: translateY(-1px);
}

.procedure-related-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .procedure-related-links {
    justify-content: flex-start;
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .procedure-overview-section {
    padding: clamp(3rem, 8vh, 4.5rem) 0;
  }

  .procedure-overview-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .procedure-overview-content {
    max-width: 100%;
  }

  .procedure-overview-image-wrap {
    aspect-ratio: 16 / 10;
  }

  .procedure-overview-check-item {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .procedure-overview-checklist {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN FOR PROCEDURE HERO
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .procedure-hero-banner {
    width: calc(100% - 2rem);
    max-width: 100%;
    margin: 1.5rem auto 2.8rem;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 280px;
    max-height: 460px;
    border-radius: 24px;
  }

  .procedure-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 35%;
  }
}

@media (max-width: 640px) {
  .contorno-page-main {
    padding-top: 87px;
  }

  .hub-hero-title {
    font-size: clamp(2.15rem, 8.5vw, 2.85rem);
    line-height: 1.08;
  }

  .hub-title-line {
    white-space: normal;
  }

@media (max-width: 480px) {
  .hub-hero-title {
    font-size: clamp(2.1rem, 9.2vw, 2.75rem);
    line-height: 1.08;
  }
}
  .procedure-hero-banner {
    width: calc(100% - 1.5rem);
    margin: 0 auto 2.25rem;
    aspect-ratio: auto;
    height: clamp(560px, 78vh, 700px);
    min-height: unset;
    max-height: unset;
    border-radius: 20px;
  }

  .procedure-hero-bg-img {
    object-position: 22% 30%;
  }

  .procedure-hero-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .procedure-hero-detail-panel {
    max-width: 100%;
    width: 100%;
  }

  .procedure-hero-doctor-card {
    display: none;
  }

  .procedure-hero-cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .procedure-hero-banner {
    width: calc(100% - 1rem);
    margin: 0 auto 2rem;
    aspect-ratio: auto;
    height: clamp(540px, 80vh, 640px);
    min-height: unset;
    max-height: unset;
    border-radius: 16px;
  }

  .procedure-hero-bg-img {
    object-position: 22% 30%;
  }
}

/* ==========================================================================
   3. STICKY EDITORIAL SCROLL SECTION (MATCHING DERMATO REFERENCE)
   ========================================================================== */
.hub-editorial-scroll-section {
  width: 100%;
  position: relative;
  background-color: #FAF7F2;
  padding: 5rem 0 4.5rem;
  overflow: visible;
}

.hub-editorial-scroll-container {
  width: calc(100% - clamp(2rem, 5vw, 6rem));
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(260px, 22vw, 330px) 1fr clamp(260px, 22vw, 330px);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: start;
  position: relative;
}

/* Center Sticky Column */
.hub-editorial-col-sticky {
  position: sticky;
  top: calc(50vh - 160px);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.editorial-sticky-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 720px;
}

.editorial-pill-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5C4333;
  background: rgba(239, 232, 223, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 0.4rem 1.05rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0, 37, 61, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.editorial-sticky-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.28;
  color: #5c3b28;
  letter-spacing: -0.015em;
  margin: 0;
}

/* Decorative inline glyphs */
.editorial-inline-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 0.25rem;
}

.glyph-feather {
  color: #8c6542;
}

.glyph-leaf {
  color: #3a7248;
}

/* Rating badge */
.editorial-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.editorial-rating-score {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #8c6542;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(140, 101, 66, 0.25);
}

.editorial-rating-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.editorial-rating-stars {
  color: #d99a38;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.editorial-rating-count {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #7b604e;
  font-weight: 500;
}

/* Left & Right Scrolling Columns */
.hub-editorial-col-scroll {
  display: flex;
  flex-direction: column;
}

.hub-editorial-col-left {
  gap: clamp(140px, 24vh, 260px);
  padding-top: clamp(80px, 14vh, 160px);
  align-items: flex-start;
}

.hub-editorial-col-right {
  gap: clamp(160px, 28vh, 300px);
  padding-top: clamp(120px, 18vh, 210px);
  align-items: flex-end;
}

/* Image Cards matching the user's reference screenshots */
.editorial-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(60, 40, 25, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(60, 40, 25, 0.12);
}

.editorial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card 1: Top-Left (Vertical Rectangle) */
.editorial-card-1 {
  width: clamp(230px, 18vw, 290px);
  height: clamp(310px, 26vw, 390px);
  border-radius: 28px;
}

/* Card 2: Top-Right (Vertical Rectangle) */
.editorial-card-2 {
  width: clamp(230px, 18vw, 290px);
  height: clamp(300px, 25vw, 380px);
  border-radius: 28px;
}

/* Card 3: Bottom-Left (Portrait/Square) */
.editorial-card-3 {
  width: clamp(200px, 15vw, 240px);
  height: clamp(230px, 18vw, 270px);
  border-radius: 24px;
}

/* Card 4: Bottom-Right (Landscape) */
.editorial-card-4 {
  width: clamp(250px, 20vw, 330px);
  height: clamp(190px, 16vw, 250px);
  border-radius: 28px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hub-editorial-scroll-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hub-editorial-col-sticky {
    position: relative;
    top: auto;
    padding: 0;
  }

  .hub-editorial-col-scroll {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 0;
  }

  .hub-editorial-col-right {
    align-items: center;
  }
}

@media (max-width: 860px) {
  .hub-editorial-col-scroll {
    display: none !important;
  }

  .hub-editorial-scroll-container {
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100% - 2rem);
  }

  .hub-editorial-scroll-section {
    padding: 3.5rem 0 3rem;
  }

  .editorial-sticky-content {
    max-width: 100%;
    gap: 1.25rem;
  }

  .editorial-sticky-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.2;
  }
}

/* ==========================================================================
   4. TRATAMIENTOS POR ÁREA (ACCORDION / DERMATO STYLE)
   ========================================================================== */
.hub-treatments-section {
  width: 100%;
  position: relative;
  background-color: #FAF7F2;
  padding: 3.5rem 0 2rem;
  overflow: visible;
}

.hub-treatments-container {
  width: calc(100% - clamp(2rem, 5vw, 6rem));
  max-width: 1480px;
  margin: 0 auto;
}

/* Section Header */
.hub-treatments-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hub-treatments-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  font-weight: 400;
  color: #5c3b28;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

/* Accordion List */
.hub-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Individual Accordion Card */
.hub-accordion-card {
  background: #FAF6F0;
  border: 1px solid rgba(140, 101, 66, 0.16);
  border-radius: clamp(24px, 2.5vw, 36px);
  padding: clamp(1.8rem, 2.6vw, 2.5rem) clamp(1.8rem, 3.2vw, 3.2rem);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 20px rgba(60, 40, 25, 0.03);
}

.hub-accordion-card:hover {
  border-color: rgba(140, 101, 66, 0.28);
  box-shadow: 0 8px 30px rgba(60, 40, 25, 0.06);
}

/* Card Header / Trigger */
.hub-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  cursor: pointer;
  user-select: none;
}

.hub-accordion-left {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  flex-shrink: 0;
}

.hub-accordion-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8c6542;
}

.hub-accordion-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hub-accordion-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  font-weight: 400;
  color: #5c3b28;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Right Section of Header */
.hub-accordion-right {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.8vw, 3.5rem);
  flex-grow: 1;
  justify-content: flex-end;
}

.hub-accordion-desc-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 460px;
}

.hub-accordion-desc {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  line-height: 1.55;
  color: #6b5444;
  margin: 0;
}

.hub-accordion-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.4rem;
  border: 1px solid #8c6542;
  border-radius: 999px;
  background: transparent;
  color: #6b5444;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  align-self: flex-start;
  text-decoration: none;
}

.hub-accordion-view-btn:hover {
  background: #8c6542;
  color: #FFFFFF;
  border-color: #8c6542;
}

/* Circle Toggle Button (+ / -) */
.hub-accordion-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(140, 101, 66, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c3b28;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(60, 40, 25, 0.05);
  transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  padding: 0;
  position: relative;
}

.hub-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: block;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}

.hub-toggle-icon::before,
.hub-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #5c3b28;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hub-toggle-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.hub-toggle-icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.hub-accordion-card.is-open .hub-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.hub-accordion-card:hover .hub-accordion-toggle-btn {
  border-color: #8c6542;
}

.hub-accordion-card.is-open .hub-accordion-toggle-btn {
  background: #FAF7F2;
  color: #5c3b28;
  border-color: rgba(140, 101, 66, 0.35);
}

/* Accordion Body (CSS Grid Smooth Height Animation) */
.hub-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.35s ease;
}

.hub-accordion-card.is-open .hub-accordion-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: clamp(1.8rem, 2.5vw, 2.5rem);
}

.hub-accordion-body-inner {
  overflow: hidden;
}

.hub-accordion-divider {
  width: 100%;
  height: 1px;
  background: rgba(140, 101, 66, 0.12);
  margin-bottom: 2rem;
}

/* Expanded Grid Layout (matching reference with photo cards) */
.hub-expanded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  width: 100%;
}

.hub-expanded-card {
  background: #FAF7F2;
  border: 1px solid rgba(140, 101, 66, 0.14);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
}

.hub-expanded-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(60, 40, 25, 0.08);
  border-color: rgba(140, 101, 66, 0.32);
}

.hub-expanded-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #eedfd0;
}

.hub-expanded-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-expanded-card:hover .hub-expanded-img-wrap img {
  transform: scale(1.05);
}

/* Framing for Block 4 (Full-Body Transformation) images */
#bloque-transformacion .hub-expanded-img-wrap img {
  object-fit: cover;
  object-position: center;
}

#bloque-transformacion .hub-expanded-card:hover .hub-expanded-img-wrap img {
  transform: scale(1.05);
}

.hub-expanded-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: #8c6542;
  border: 1px solid rgba(140, 101, 66, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hub-expanded-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.hub-expanded-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: #5c3b28;
  margin: 0;
  line-height: 1.25;
}

.hub-card-title-link {
  color: #5c3b28;
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.hub-card-title-link:hover {
  color: #8c6542;
}

.hub-title-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8c6542;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
}

.hub-card-title-link:hover .hub-title-arrow {
  transform: translateX(4px);
  color: #5c3b28;
}

.hub-expanded-card {
  cursor: default;
}

.hub-expanded-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #7b604e;
  margin: 0;
  flex-grow: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hub-accordion-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hub-accordion-left {
    width: 100%;
    justify-content: flex-start;
  }

  .hub-accordion-right {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .hub-accordion-desc-group {
    max-width: none;
    flex-grow: 1;
  }
}

@media (max-width: 640px) {
  .hub-treatments-section {
    padding: 3rem 0 1.5rem;
  }

  .hub-accordion-card {
    padding: 1.5rem 1.25rem;
    border-radius: 24px;
  }

  .hub-accordion-title {
    font-size: 1.55rem;
  }

  .hub-accordion-right {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .hub-accordion-toggle-btn {
    align-self: flex-end;
    margin-top: -3.5rem;
  }

  .hub-expanded-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   6. RESEÑAS & TESTIMONIOS (DERMATO TWO-COLUMN EDITORIAL STYLE)
   ========================================================================== */
.hub-testimonials-section {
  width: 100%;
  position: relative;
  background-color: #FAF7F2;
  padding: 6rem 0 13rem;
  overflow: hidden;
}

.hub-testimonials-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  box-sizing: border-box;
}

/* Left Column: Video Showcase */
.hub-testimonials-video-col {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

/* Right Column: Reviews & Ticker */
.hub-testimonials-reviews-col {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.hub-testimonials-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.hub-testimonials-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 620px;
}

.hub-testimonials-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  font-weight: 400;
  color: #5c3b28;
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.hub-testimonials-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: #7b604e;
  margin: 0;
}

/* Marquee track of written reviews */
.hub-reviews-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.hub-reviews-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: hubMarqueeLeftToRight 90s linear infinite;
}

.hub-reviews-marquee-track:hover {
  animation-play-state: paused;
}

/* Moving loop from left to right as requested */
@keyframes hubMarqueeLeftToRight {
  0% {
    transform: translateX(calc(-50% - 0.75rem));
  }
  100% {
    transform: translateX(0);
  }
}

/* Review card */
.hub-review-card {
  width: clamp(280px, 22vw, 320px);
  min-height: 270px;
  background: #FFFFFF;
  border: 1px solid rgba(140, 101, 66, 0.14);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(60, 40, 25, 0.03);
  flex-shrink: 0;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hub-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(60, 40, 25, 0.08);
}

.hub-review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #b88242;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.hub-review-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5c3b28;
  margin: 0.9rem 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.hub-review-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(140, 101, 66, 0.08);
}

.hub-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0e6dc;
  color: #8c6542;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid rgba(140, 101, 66, 0.18);
}

.hub-review-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hub-review-author-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: #5c3b28;
}

.hub-review-proc {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #8c6542;
  font-weight: 500;
}

/* Right Column: Single Video Showcase (Homepage Preview & Interaction) */
.hub-video-showcase-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 540px;
  border-radius: 26px;
  overflow: hidden;
  background: #111822;
  box-shadow: 0 20px 48px -6px rgba(0, 0, 0, 0.28);
}

/* Individual Video Slides */
.hub-video-slide.video-reel-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  flex: none;
  border-radius: 26px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.98);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.4rem;
  box-sizing: border-box;
  z-index: 1;
  background: #111822;
}

.hub-video-slide.video-reel-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 3;
}

/* Video card elements matching homepage style.css */
.hub-video-slide .video-reel-bg {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  object-fit: cover;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0.95;
}

.hub-video-slide:hover .video-reel-bg {
  transform: scale(1.08);
  opacity: 1;
}

.hub-video-slide .video-reel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(2, 37, 61, 0.65) 65%,
    rgba(2, 37, 61, 0.96) 100%
  );
  z-index: 1;
}

.hub-video-slide .video-reel-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #FFFFFF;
}

.hub-video-slide .video-reel-proc-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: #CEA052;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-video-slide .video-reel-patient-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.hub-video-slide .video-reel-quote {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.42;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-video-slide .video-reel-action {
  margin-top: 0.6rem;
  width: 100%;
}

.hub-video-slide .video-play-btn-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.hub-video-slide .video-play-btn-bottom .video-play-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #CEA052;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hub-video-slide .video-play-btn-bottom .video-play-icon svg {
  width: 12px;
  height: 12px;
  fill: #003A5D;
  margin-left: 2px;
}

.hub-video-slide:hover .video-play-btn-bottom {
  background: #CEA052;
  border-color: #CEA052;
  color: #003A5D;
  box-shadow: 0 8px 24px rgba(206, 160, 82, 0.45);
}

.hub-video-slide:hover .video-play-btn-bottom .video-play-icon {
  background: #003A5D;
}

.hub-video-slide:hover .video-play-btn-bottom .video-play-icon svg {
  fill: #FFFFFF;
  transform: scale(1.1);
}

/* Card Side Arrow Buttons */
.hub-video-card-arrows {
  position: absolute;
  top: 48%;
  left: 0.75rem;
  right: 0.75rem;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.hub-video-card-arrow-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 9, 6, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hub-video-card-arrow-btn:hover {
  background: #CEA052;
  color: #003A5D;
  border-color: #CEA052;
  transform: scale(1.1);
}

/* Video Modal Guaranteed Display Styles */
.video-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 9, 6, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 99999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
}

.video-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Responsive */
@media (max-width: 1080px) {
  .hub-testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
  }

  .hub-testimonials-reviews-col {
    display: contents;
  }

  .hub-testimonials-header-row {
    order: 1;
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  .hub-testimonials-header-text {
    max-width: 100%;
    align-items: center;
  }

  .hub-testimonials-video-col {
    width: 100%;
    order: 2;
    display: flex;
    justify-content: center;
  }

  .hub-video-showcase-card {
    max-width: 380px;
    height: 520px;
  }

  .hub-reviews-marquee-wrap {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hub-testimonials-section {
    padding: 4rem 0 8.5rem;
  }

  .hub-testimonials-container {
    gap: 2rem;
  }

  .hub-testimonials-header-row {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0;
    text-align: center;
  }

  .hub-testimonials-header-text {
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .hub-testimonials-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }

  .hub-testimonials-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hub-video-showcase-card {
    max-width: 340px;
    height: 480px;
  }
}

/* ==========================================================================
   FOOTER PRE-BANNER & CONTORNO CORPORAL VISUALS
   ========================================================================== */
.footer-banner-visual {
  align-items: stretch !important;
  top: 0 !important;
}

.footer-banner-visual .footer-banner-img {
  width: 78%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 94% 72% !important;
  align-self: auto !important;
  margin-top: 0 !important;
  margin-right: 0;
  margin-left: auto;
  opacity: 0.9;
  filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.62) 70%, rgba(0, 0, 0, 0.22) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, rgba(0, 0, 0, 0.62) 70%, rgba(0, 0, 0, 0.22) 84%, transparent 100%);
}

.hub-testimonials-cta {
  margin-top: clamp(4rem, 7vw, 6rem);
}

main .hub-testimonials-section.reviews-before-map {
  padding-bottom: clamp(9rem, 12vw, 12rem);
}

.hub-testimonials-cta .testimonials-cta-watermark {
  width: clamp(190px, 19vw, 280px);
  right: clamp(-4.5rem, -5vw, -7rem);
  top: 56%;
  opacity: 0.16;
}

@media (max-width: 768px) {
  main .hub-testimonials-section.reviews-before-map {
    padding-bottom: 5rem;
  }

  .hub-testimonials-cta .testimonials-cta-watermark {
    width: 155px;
    right: -1.5rem;
    top: 57%;
    opacity: 0.14;
  }
}

@media (max-width: 900px) {
  .footer-banner-visual {
    align-items: stretch !important;
  }

  .footer-banner-visual .footer-banner-img {
    max-width: 320px;
    height: 100%;
    margin-right: 0;
    margin-top: 0 !important;
    object-position: right center !important;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.12) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.5) 68%, rgba(0, 0, 0, 0.12) 86%, transparent 100%);
  }
}
