/* --- @font-face: SuisseIntl Trial (local) — completa --- */
@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Hairline.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-HairlineIt.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-ThinIt.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-LightIt.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-RegularIt.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Book.otf') format('opentype');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-BookIt.otf') format('opentype');
  font-weight: 450;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-MediumIt.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-SemiboldIt.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-BoldIt.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-Black.otf') format('opentype');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('media/Fonts/SuisseIntl/suisse-font-family/SuisseIntlTrial-BlackIt.otf') format('opentype');
  font-weight: 800 900;
  font-style: italic;
  font-display: swap;
}

/* --- @font-face: Space Grotesk (local) --- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('media/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Variables: Termas Brand — Black & Gold --- */
:root {
  --bg-color: #0A0A0A;
  --bg-secondary: #111111;
  --text-main: #ffffff;
  --text-muted: #aaaaaa;
  --brand-black: #0A0A0A;
  --brand-yellow: #FFBD1D;
  --brand-orange: #E8A800;
  --brand-red: #cc9000;
  --accent: var(--brand-yellow);
  --font-primary: 'Space Grotesk', 'SuisseIntl', sans-serif;
  --transition-smooth: cubic-bezier(0.8, 0, 0.1, 1);
}

/* Reset and Globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--brand-black);
  color: var(--text-main);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--text-main);
  color: var(--bg-color);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* --- Typography System --- */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #FFBD1D;
  margin-bottom: 2rem;
  display: block;
  font-weight: 600;
}

/* --- Navbar (Fixed) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1.2rem 5vw;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.4s var(--transition-smooth);
}

.nav-links a:hover::after {
  transform: translateX(0);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 10px;
  transition: all 0.3s linear;
  transform-origin: 1px;
}

.nav-hamburger.active span:first-child {
  transform: rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--brand-black);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }
  
  .nav-links.mobile-open {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 15vh 5vw;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: transparent;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.1);
  /* for slow zoom effect */
  animation: zoomOut 15s ease-out forwards;
}

@keyframes zoomOut {
  to {
    transform: scale(1);
  }
}

.hero-content {
  max-width: 1200px;
  z-index: 10;
  margin-top: 5vh;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 5rem);
  margin-bottom: 2rem;
  font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.brand-bold {
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 600px;
}

/* --- Interactive Titles Section --- */
.interactive-titles-section {
  position: relative;
  padding: 8vh 0;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hover-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hover-bg-container .bg-base {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--brand-black);
}

.hover-bg-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(80%) contrast(1.2);
  /* Cinematic desaturated look */
  transition: opacity 0.8s var(--transition-smooth), transform 3s ease-out, filter 1s;
  transform: scale(1.05);
}

.hover-bg-container img.active {
  opacity: 0.5;
  /* Show the image slightly over the black background */
  transform: scale(1);
  filter: grayscale(20%) contrast(1);
  /* Return color slightly */
}

.titles-container {
  width: 100%;
  z-index: 10;
}

.interactive-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.interactive-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: padding 0.5s var(--transition-smooth);
}

.interactive-title:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.interactive-title h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  /* Initially outline text */
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  transition: all 0.5s var(--transition-smooth);
  position: relative;
}

.interactive-title .arrow {
  font-size: clamp(2rem, 5vw, 4rem);
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.5s var(--transition-smooth);
  font-weight: 300;
}

/* Hover States for Interactive Titles */
.interactive-title:hover {
  padding-left: 3rem;
  padding-right: 3rem;
}

.interactive-title:hover h2,
.interactive-title.active h2 {
  color: var(--brand-yellow);
  -webkit-text-stroke: 1px transparent;
}

.interactive-title:hover .arrow,
.interactive-title.active .arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-orange);
}

@media (max-width: 768px) {
  .interactive-title:hover {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* --- How Section --- */
.how-section {
  padding: 10vh 0 5vh;
  background-color: var(--brand-black);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.how-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.how-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5vw;
  margin-bottom: 4rem;
}

.how-header .experience-milestone {
  margin-left: auto;
}

.how-text-block {
  max-width: 900px;
}

.how-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-main);
}

.benefit-item.experience-milestone {
  justify-content: center;
  border: 1px solid rgba(255, 189, 29, 0.3);
  background: rgba(255, 189, 29, 0.08);
  border-radius: 24px;
  cursor: pointer;
  padding: 2.5rem 3.5rem;
  width: fit-content;
  margin-bottom: 0;
  position: relative;
  transition: all 0.4s var(--transition-smooth);
}

.milestone-hover-wrapper {
  position: absolute;
  top: -1px;
  /* Align perfectly over the 1px border */
  left: -1px;
  width: calc(100% + 2px);
  /* Cover the whole area including the border */
  height: calc(100% + 2px);
  background: var(--bg-secondary);
  border-radius: 24px;
  /* Matches parent radius exactly */
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
  z-index: 10;
}

.milestone-hover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.milestone-caption {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: max-content;
  color: var(--brand-yellow);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  opacity: 0;
  transition: all 0.4s var(--transition-smooth);
  pointer-events: none;
}

.experience-milestone:hover .milestone-hover-wrapper {
  opacity: 1;
  visibility: visible;
}

.experience-milestone:hover .milestone-caption {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Modifier to place the caption at the top of the card instead of the bottom */
.experience-milestone.caption-top .milestone-caption {
  top: auto;
  bottom: calc(100% + 1rem);
  /* Positioned above the card */
  transform: translateX(-50%) translateY(10px);
}

.experience-milestone.caption-top:hover .milestone-caption {
  transform: translateX(-50%) translateY(0);
}



.milestone-year {
  font-family: 'SuisseIntl', sans-serif;
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-yellow);
  opacity: 0.9;
}

.milestone-text {
  font-family: 'SuisseIntl', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--brand-yellow);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .experience-milestone {
    align-items: center;
    text-align: center;
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.benefit-item {
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.6s var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-icon {
  height: 100px;
  /* Ensures all icons take same space */
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--brand-yellow);
  filter: drop-shadow(0 0 15px rgba(248, 179, 3, 0.4));
  transition: transform 0.6s var(--transition-smooth);
}

.benefit-icon .lucide,
.benefit-icon svg {
  width: 4rem;
  height: 4rem;
  stroke-width: 1.2px;
  /* Unified stroke weight for all icons */
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item h3 {
  opacity: 1;
  transform: translateY(0);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.5s var(--transition-smooth);
}

.benefit-item p {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--transition-smooth);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* Hover State */
.benefit-item:hover .benefit-icon {
  transform: translateY(-10px) scale(1.05);
}

.benefit-item:hover h3 {
  color: var(--brand-yellow);
}

.benefit-item:hover p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* consolidated grid rules below */

@media (max-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- Trust Section --- */
.trust-section {
  padding: 10vh 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-center {
  text-align: center;
}

.logos-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 3rem;
  padding: 1rem 0;
}

.logos-slider::before,
.logos-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-black) 0%, transparent 100%);
}

.logos-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-black) 0%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: scroll-logos 45s linear infinite;
  padding-right: 4rem;
}

.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-placeholder {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-placeholder:hover {
  opacity: 1;
}

.client-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Blanco puro */
  opacity: 1;
  transition: all 0.4s var(--transition-smooth);
}

.client-logo.logo-selina {
  height: 48px;
}


.cta-section {
  padding: 6vh 0 15vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(4rem, 12vw, 15rem);
  line-height: 0.9;
  margin-bottom: 5rem;
  white-space: nowrap;
}

/* Magnetic Circle Button */
.magnetic-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: var(--brand-yellow);
  color: #0A0A0A;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 10;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  will-change: transform;
}

.magnetic-btn:hover {
  background-color: var(--brand-orange);
  color: #0A0A0A;
}

/* --- Clean Footer --- */
.minimal-footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  display: flex;
  align-items: center;
}

.footer-col.left {
  justify-content: flex-start;
}

.footer-col.center {
  justify-content: center;
}

.footer-col.right {
  justify-content: flex-end;
  opacity: 0.8;
}

.subbrand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-col.left, .footer-col.center, .footer-col.right {
    justify-content: center;
    align-items: center;
  }

  .footer-col.right {
    align-items: center;
  }

  .subbrand-block {
    align-items: center;
  }
}

/* --- Interaction Animations --- */
.reveal-text {
  opacity: 0;
  transform: translateY(60px);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

/* --- Hotels Page & Antigravity Styles --- */

.hotel-hero {
  justify-content: flex-end;
  text-align: right;
}

.hotel-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 2vw;
  /* Subtle padding instead of a panel */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(70deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bg-dark-blue {
  background-color: var(--brand-black);
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  align-items: center;
}

.align-center {
  align-items: center;
}

.massive-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--text-main);
  font-weight: 800;
}

.massive-title strong {
  font-weight: 900;
  color: inherit;
}

.large-para {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.muted-para {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.rounded-frame {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.rounded-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.deep-dive-section {
  padding: 10vh 0;
}

.hotels-how .benefits-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  /* Increased to allow more room for titles */
  margin: 0 auto;
  gap: 3rem;
}

@media (max-width: 1200px) {
  .hotels-how .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.hotels-how .benefit-item h3 {
  white-space: nowrap;
}

.results-section .benefit-item h3 {
  white-space: nowrap;
}

.hotels-how {
  padding: 8vh 0;
}

.hotels-how .how-text-block {
  margin: 0 auto 4rem;
  text-align: center;
}

.hotel-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.process-card {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s var(--transition-smooth);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
}

.step-num {
  font-size: 0.8rem;
  color: var(--brand-yellow);
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.2rem;
}

.process-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.process-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Cases / Portfolio Section --- */
.cases-section {
  padding: 10vh 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cases-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.case-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  aspect-ratio: 4/3;
  transition: transform 0.45s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.case-card:hover {
  transform: scale(1.4) translateZ(0);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  z-index: 100;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: filter 0.4s ease;
}

.case-card:hover img {
  filter: brightness(1.08);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 1;
  transition: all 0.4s var(--transition-smooth);
  z-index: 2;
}

.case-card:hover .case-overlay {
  padding-top: 1.8rem;
  background: transparent;
  opacity: 0;
}

.case-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-yellow);
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.case-overlay p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-top: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Success Cases Toggle & Pagination --- */
.case-card.is-hidden {
  display: none;
}

.cases-pagination {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.view-more-btn {
  background: transparent;
  border: 1px solid var(--brand-yellow);
  color: var(--brand-yellow);
  padding: 1rem 3rem;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}

.view-more-btn:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: 0 10px 25px rgba(255, 189, 29, 0.2);
  transform: translateY(-3px);
}


.cta-section {
  padding: 20vh 0;
  background-color: var(--brand-black);
}

.cta-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  background-color: var(--brand-yellow);
  color: #0A0A0A;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.4s var(--transition-smooth);
  margin-top: 3rem;
}

.cta-pill-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 189, 29, 0.3);
}

.contact-info {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
}

@media (max-width: 900px) {

  .grid-2-cols,
  .hotel-process-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .massive-title {
    font-size: 3rem;
  }
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 15vh 0;
  background-color: var(--brand-black);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.6s var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-15px);
  border-color: rgba(255, 189, 29, 0.2);
}

.testimonial-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  position: relative;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 800;
  color: var(--brand-yellow);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.author-title {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }
}
/* --- Futuristic Crossfade Carousel --- */
.crossfade-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 40px;
  background: var(--brand-black);
}

.crossfade-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05); /* Slight zoom out effect */
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 3s ease-out;
  pointer-events: none;
}

.crossfade-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.crossfade-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-block {
    position: relative;
}

/* Container for caption to crossfade it as well */
.crossfade-caption {
    position: absolute;
    top: -2rem; /* Adjusted to float above the image */
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease;
}

.crossfade-caption.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Resultados Tangibles Section --- */
.resultados-section {
    padding: 10vh 0;
    background-color: var(--brand-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resultados-section .benefits-grid {
    margin-top: 4rem;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .resultados-section .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* --- Business Model Section --- */
.finance-model-section {
    padding: 10vh 0;
    background-color: var(--brand-black);
}

.finance-model-section .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .finance-model-section .steps-grid {
        grid-template-columns: 1fr;
    }
}

.finance-step {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.finance-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-yellow), transparent);
    opacity: 0.2;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.finance-step:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.5) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 204, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.finance-step:hover::before {
    opacity: 1;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(15, 15, 15, 0.7);
    color: var(--brand-yellow);
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), 0 15px 25px rgba(0,0,0,0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.finance-step:hover .step-icon {
    background: rgba(20, 20, 20, 1);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15), 0 15px 30px rgba(255, 204, 0, 0.15);
    transform: scale(1.08);
}

.step-icon i {
    width: 32px;
    height: 32px;
}

.finance-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    color: var(--brand-yellow);
}

.finance-step p {
    color: var(--brand-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Hero CTA Section --- */
.hero-cta-section {
    position: relative;
    padding: 15vh 5vw;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-black) 0%, rgba(10, 10, 10, 0.6) 50%, var(--brand-black) 100%);
    z-index: 1;
}

.hero-cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-cta-content .massive-title {
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    text-wrap: balance;
}

.hero-cta-content .cta-pill-primary {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* ============================================================
   RESPONSIVE — MOBILE OVERHAUL
   ============================================================ */

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {

  .how-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3rem;
  }

  .how-header .how-text-block {
    width: 100%;
    flex-shrink: 0;
  }

  .how-header .experience-milestone,
  .how-header .benefit-item.experience-milestone {
    margin-left: 0 !important;
    align-self: center !important;
    width: auto;
  }
}

@media (max-width: 1024px) {
  .hotel-process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {

  /* --- Global --- */
  .container {
    padding: 0 6vw;
  }

  /* --- Hero Section --- */
  .hero-section {
    height: 75vh;
    min-height: 500px;
    padding: 12vh 5vw 5vh;
    align-items: center;
  }

  .hero-bg img {
    object-position: center center;
    transform: scale(1);
    animation: none;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  }

  /* --- How Section --- */
  .how-section {
    padding: 8vh 0 5vh;
  }

  .how-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .how-header .experience-milestone {
    margin-left: 0 !important;
    align-self: center;
    padding: 2rem 2.5rem;
  }

  .how-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .milestone-year {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  /* --- Benefits Grid responsive via 1024px query above --- */

  .benefit-item p {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.8rem;
  }

  .benefit-icon .lucide,
  .benefit-icon svg {
    width: 3rem;
    height: 3rem;
  }

  .benefit-icon {
    height: 70px;
    margin-bottom: 1rem;
  }

  .benefit-item h3 {
    font-size: 0.9rem;
    white-space: normal;
  }

  /* --- Interactive Titles --- */
  .interactive-titles-section {
    min-height: auto;
    padding: 6vh 0;
  }

  .interactive-title {
    padding: 2rem 0;
  }

  .interactive-title h2 {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
  }

  .interactive-title .arrow {
    font-size: 1.5rem;
    opacity: 1;
    transform: translateX(0);
  }

  .interactive-title:hover {
    padding-left: 0;
    padding-right: 0;
  }

  /* --- Trust Section / Logos --- */
  .trust-section {
    padding: 6vh 0;
  }

  .client-logo {
    height: 40px;
    max-width: 120px;
  }

  .logos-track {
    gap: 2.5rem;
  }

  /* --- Cases Grid --- */
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .case-card {
    aspect-ratio: 16/10;
  }

  /* --- CTA Section --- */
  .cta-section {
    padding: 10vh 0;
  }

  .cta-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
    white-space: normal;
    line-height: 1;
    margin-bottom: 3rem;
  }

  .magnetic-btn {
    width: 160px;
    height: 160px;
    font-size: 0.9rem;
  }

  /* --- Subpage Heroes --- */
  .hotel-hero {
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .hotel-hero .hero-content {
    align-items: center;
    padding-right: 0;
    text-align: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  }

  /* --- Subpage Grids --- */
  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hotel-process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-card {
    padding: 2rem;
  }

  /* --- Massive Title --- */
  .massive-title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .large-para {
    font-size: 1.1rem;
  }

  .muted-para {
    font-size: 1rem;
  }

  /* --- Rounded Frame --- */
  .rounded-frame {
    border-radius: 20px;
  }

  /* --- Deep Dive --- */
  .deep-dive-section {
    padding: 6vh 0;
  }

  /* --- Crossfade Carousel --- */
  .crossfade-carousel {
    border-radius: 20px;
  }

  /* --- Testimonials --- */
  .testimonials-section {
    padding: 8vh 0;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .testimonial-quote {
    font-size: 0.95rem;
  }

  /* --- Finance Steps / Business Model --- */
  .finance-model-section .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .finance-step {
    padding: 2.5rem 1.5rem;
  }

  /* --- Hero CTA Section (subpages) --- */
  .hero-cta-section {
    padding: 10vh 5vw;
    background-attachment: scroll; /* Fix iOS parallax bug */
  }

  .hero-cta-content .massive-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .hero-cta-content .cta-pill-primary {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  /* --- Contact Info --- */
  .contact-info {
    font-size: 1.1rem;
  }

  /* --- Footer --- */
  .minimal-footer {
    padding: 2rem 0;
  }

  /* --- Results Section --- */
  .results-section .benefit-item h3 {
    white-space: normal;
    font-size: 0.9rem;
  }

  .hotels-how .benefit-item h3 {
    white-space: normal;
  }
}

/* --- Small Mobile (≤ 600px) --- */
@media (max-width: 600px) {

  .hero-section {
    height: 70vh;
    min-height: 450px;
    padding: 10vh 5vw 5vh;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7.5vw, 2.5rem);
  }

  .how-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .interactive-title h2 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .cta-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .magnetic-btn {
    width: 140px;
    height: 140px;
    font-size: 0.8rem;
  }

  .experience-milestone {
    padding: 1.5rem 2rem;
  }

  .milestone-year {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .cta-pill-primary {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.2rem;
  }

  .process-card {
    padding: 1.5rem;
  }

  .case-card {
    aspect-ratio: 4/3;
  }
}
/* --- History Modal --- */
.history-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 3, 28, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--transition-smooth);
}

.history-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.history-modal-content {
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.6s var(--transition-smooth);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.history-modal.active .history-modal-content {
  transform: translateY(0);
}

.close-history-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.close-history-modal:hover {
  color: var(--brand-yellow);
}

.close-history-modal i {
  width: 24px;
  height: 24px;
}

.history-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.history-image {
  position: relative;
  overflow: hidden;
}

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

.history-text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history-title {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: none;
}

.history-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.history-text p:last-child {
  margin-bottom: 0;
}

.history-text strong {
  color: var(--text-main);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .history-modal-body {
    grid-template-columns: 1fr;
  }
  
  .history-image {
    height: 250px;
  }
  
  .history-text {
    padding: 2rem;
  }
  
  .history-title {
    font-size: 1.5rem;
  }
}