/* ═══════════════════════════════════════════
   Dr. Simi Japón | Expansión Bespoke Style
   ═══════════════════════════════════════════ */

:root {
  --exp-red: #E31E24;
  --exp-black: #0a0a0a;
  --exp-dark: #111111;
  --exp-cream: #faf9f6;
  --exp-gold: #c9a84c;
  --exp-text: #222222;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  --shadow-pink: 0 4px 20px rgba(227, 30, 36, 0.12);
  --shadow-cyan: 0 4px 20px rgba(201, 168, 76, 0.12);
  --shadow-yellow: 0 4px 20px rgba(184, 134, 11, 0.12);
}

/* Reset & Base */
body {
  font-family: var(--font-sans);
  background: var(--exp-cream);
  color: var(--exp-text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--exp-text);
}

p {
  font-family: var(--font-sans);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--exp-cream);
}

::-webkit-scrollbar-thumb {
  background: #d4d8e2;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--exp-red);
}

/* Layout Utilities */
section {
  position: relative;
  overflow: hidden;
}

.min-h-100 {
  min-height: 100vh;
}

/* HEADER EXPANSIÓN */
header.exp-topbar {
  background: #ed1c24;
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 3px solid #3d3d3d;
  top: 0;
  left: 0;
  transition: box-shadow 0.3s ease;
}

.exp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
}

.logoExpansion {
  height: 30px;
  margin: 0.5rem 0rem;
  display: block;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--exp-black);
  padding-top: 67px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--exp-red), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

.hero-presented {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(227, 30, 36, 0.15);
  border: 1px solid rgba(227, 30, 36, 0.4);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-presented span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 850px;
}

.hero-title em {
  font-style: normal;
  color: var(--exp-red);
}

.hero-intro {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* SHARED TITLE ELEMENTS */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--exp-text);
  line-height: 1.15;
}

.section-title-light {
  color: #ffffff;
}

.divider-red {
  width: 48px;
  height: 3px;
  background: var(--exp-red);
  margin: 1.25rem 0;
}

/* BLOCK CONTEXT (Section 1) */
.block-context {
  background: var(--exp-cream);
  padding: 6rem 0;
  scroll-margin-top: 67px;
}

.context-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: var(--exp-text);
  font-weight: 400;
}

.context-lead.text-muted {
  color: #5c6270 !important;
}

/* STICKY TEXT SCROLL */
.sticky-text-trigger {
  border-left: 2px solid transparent;
  padding-left: 1.5rem;
  transition: border-color 0.4s ease;
}

.sticky-text-trigger.active {
  border-color: var(--exp-red);
}

/* HIGHLIGHT CARD (Quote & Stats Style) */
.highlight-card {
  background: var(--exp-black);
  border-left: 4px solid var(--exp-red);
  border-radius: 4px;
  padding: 2rem 2.25rem;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.highlight-card p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin: 0;
}

.highlight-card .highlight-icon {
  color: var(--exp-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.font-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* PHOTO FEATURE */
.photo-feature {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.photo-feature img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.photo-feature:hover img {
  transform: scale(1.03);
}

.photo-caption {
  background: var(--exp-black);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 60px;
}

.photo-caption i {
  color: var(--exp-red);
  flex-shrink: 0;
  margin-top: 4px;
}

.photo-caption span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* SESSIONS SECTION (Section 2) */
.sessions-section {
  background: var(--exp-dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 67px;
}

.sessions-section::before {
  content: 'DR. SIMI';
  position: absolute;
  right: -2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.session-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
  position: relative;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

.planes-card {
  transition: none !important;
}

.planes-card.reveal-done {
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease !important;
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--exp-red);
  transition: height 0.35s ease;
}

.session-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(227, 30, 36, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.session-card:hover::before {
  height: 100%;
}

.session-number {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--exp-red);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.session-body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* PLAN CARDS (Section 4 - Redesign) */
.planes-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
}

/* EXPERIENCE SECTION (Section 2 - Redesign) */
.experience-section {
  background: var(--exp-dark);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 67px;
}

.experience-section::before {
  content: 'DR. SIMI';
  position: absolute;
  right: -2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 18rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.012);
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.experience-row {
  will-change: opacity, transform;
}

.experience-image-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.02);
}

.experience-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-image-wrapper:hover .experience-img {
  transform: scale(1.04);
}

.experience-text-content {
  padding: 1rem 2rem;
}

.experience-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(227, 30, 36, 0.35);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.experience-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.experience-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-weight: 300;
}

/* STATS ELEMENTS */
.stat-number {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: #ffffff;
  display: block;
}

/* BOOTSTRAP CAROUSEL CUSTOMIZATION */
#carouselSectionOne,
#carouselSectionFour {
  border-radius: 6px;
  overflow: hidden;
}

#carouselSectionOne .carousel-inner,
#carouselSectionFour .carousel-inner {
  height: 480px;
}

#carouselSectionOne .carousel-item img,
#carouselSectionFour .carousel-item img {
  height: 480px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#carouselSectionOne:hover .carousel-item img,
#carouselSectionFour:hover .carousel-item img {
  transform: scale(1.03);
}

/* Custom Navigation Controls (Chevron Arrows) */
#carouselSectionOne .carousel-control-prev,
#carouselSectionOne .carousel-control-next,
#carouselSectionFour .carousel-control-prev,
#carouselSectionFour .carousel-control-next {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#carouselSectionOne:hover .carousel-control-prev,
#carouselSectionOne:hover .carousel-control-next,
#carouselSectionFour:hover .carousel-control-prev,
#carouselSectionFour:hover .carousel-control-next {
  opacity: 1;
}

#carouselSectionOne .carousel-control-prev:hover,
#carouselSectionOne .carousel-control-next:hover,
#carouselSectionFour .carousel-control-prev:hover,
#carouselSectionFour .carousel-control-next:hover {
  background: var(--exp-red);
  border-color: var(--exp-red);
  transform: translateY(-50%) scale(1.08);
}

#carouselSectionOne .carousel-control-prev,
#carouselSectionFour .carousel-control-prev {
  left: 15px;
}

#carouselSectionOne .carousel-control-next,
#carouselSectionFour .carousel-control-next {
  right: 15px;
}

#carouselSectionOne .carousel-control-prev-icon,
#carouselSectionOne .carousel-control-next-icon,
#carouselSectionFour .carousel-control-prev-icon,
#carouselSectionFour .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* Custom Indicators (Sleek Dash Line) */
#carouselSectionOne .carousel-indicators,
#carouselSectionFour .carousel-indicators {
  margin-bottom: 1rem;
}

#carouselSectionOne .carousel-indicators [data-bs-target],
#carouselSectionFour .carousel-indicators [data-bs-target] {
  width: 16px;
  height: 3px;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
  transition: background-color 0.3s ease, width 0.3s ease;
  border-radius: 1.5px;
}

#carouselSectionOne .carousel-indicators .active,
#carouselSectionFour .carousel-indicators .active {
  background-color: var(--exp-red);
  width: 28px;
}



/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 280px;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(227, 30, 36, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(227, 30, 36, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* LIGHTBOX MODAL */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 15, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.custom-modal-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal.active {
  display: flex;
}

.custom-modal.active .custom-modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10001;
}

.modal-close:hover {
  color: var(--exp-red);
}



/* CIERRE */
.closing-section {
  background: var(--exp-black);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 67px;
}

.closing-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(227, 30, 36, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.closing-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #ffffff;
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.closing-quote::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--exp-red);
  line-height: 0;
  vertical-align: -2.5rem;
  margin-right: 0.2rem;
  font-family: var(--font-serif);
  opacity: 0.6;
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1.25rem 1.75rem;
  position: relative;
  z-index: 1;
}

.b2b-badge i {
  font-size: 1.5rem;
  color: var(--exp-red);
}

.b2b-badge p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

.b2b-badge strong {
  color: #fff;
}

/* FOOTER */
footer {
  background: #050505;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* BOTÓN */
.boton {
  text-align: center;
}

.boton a {
  display: inline-block;
  background: #ffffff;
  color: #ed1c24;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.75rem;
  border: 2px solid #ffffff;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.boton a:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* RESPONSIVE */
@media (min-width: 769px) and (max-width: 1024px) {

  .photo-feature img,
  #carouselSectionOne .carousel-inner,
  #carouselSectionOne .carousel-item img,
  #carouselSectionFour .carousel-inner,
  #carouselSectionFour .carousel-item img {
    height: 360px;
  }

  .sessions-section::before {
    font-size: 12rem;
  }

  .experience-img {
    height: 300px;
  }

  .experience-text-content {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .exp-topbar-inner {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 67px;
    min-height: 100svh;
  }

  .hero-content {
    padding: 2rem 1.25rem 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .photo-feature img,
  #carouselSectionOne .carousel-inner,
  #carouselSectionOne .carousel-item img,
  #carouselSectionFour .carousel-inner,
  #carouselSectionFour .carousel-item img {
    height: 500px !important;
  }

  .block-context,
  .sessions-section,
  .experience-section,
  .closing-section {
    padding: 3.5rem 0;
  }

  .sessions-section::before,
  .experience-section::before {
    display: none;
  }

  .experience-img {
    height: 240px !important;
  }

  .experience-text-content {
    padding: 1.5rem 0;
  }

  .experience-number {
    font-size: 3rem;
  }

  .experience-title {
    font-size: 1.6rem;
  }

  .experience-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .session-card:hover {
    transform: none;
  }

  .closing-quote::before {
    font-size: 4rem;
    vertical-align: -1.8rem;
  }

  .b2b-badge {
    -webkit-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }

  footer {
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 2rem 1rem;
  }