/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/

/* ===== GLOBAL BROWSER FIXES - DESKTOP & TABLET ONLY ===== */
@media (min-width: 769px) {
    /* Remove double scrollbars in Chrome/Edge */
    html, body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    /* Ensure Avada containers don't add extra padding */
    #wrapper, #main, #content, .fusion-page-title-bar, 
    .fusion-header-wrapper, .fusion-footer {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Fix for Avada's default padding */
    .fusion-fullwidth {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix for any theme container */
    .fusion-container, .fusion-builder-row, 
    .fusion-builder-column, .fusion-column-wrapper {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Hide scrollbar but keep functionality */
    body::-webkit-scrollbar {
        width: 8px;
    }

    body::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    body::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    body::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

    /* Fix for Firefox full-width issue */
    @-moz-document url-prefix() {
        html, body {
            scrollbar-width: thin;
            scrollbar-color: #888 #f1f1f1;
        }
        
        #wrapper {
            overflow-x: hidden;
        }
    }

    /* Ensure all our sections are full width */
    .pinned-video-hero,
    .hero-transition-section,
    .historia-desktop-section,
    .historia-mobile-section,
    .hotspots-desktop-section,
    .hotspots-mobile-section,
    .como-te-acompanio-desktop-section,
    .como-te-acompanio-mobile-section,
    .novia-video-section,
    .talleres-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        position: relative;
    }
}

/* ===== GLOBAL RESETS ===== */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#main, #content, .post-content, .fusion-fullwidth, .fusion-builder-row, 
.fusion-layout-column, .fusion-column-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.fusion-text.fusion-text-1 {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== PINNED VIDEO HERO SECTION ===== */
.pinned-video-hero {
  position: relative;
  height: 400vh;
  overflow: hidden;
  background: #000 !important;
  color: #fff;
  margin: 0 !important;
  padding: 0 !important;
}

.video-pinned-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-wrapper video.loading {
  opacity: 0.5;
}

/* ===== OMAMA-STYLE SEQUENCE ANIMATIONS ===== */
.sequence-canvas-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
}

.sequence-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-sequence {
  position: fixed;
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 300;
  text-align: center;
  line-height: 0.9;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  padding: 40px 50px;
  color: #ffffff;
  z-index: 101;
  pointer-events: none;
  will-change: opacity, visibility, transform;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.heading-sequence.active {
  opacity: 1;
  visibility: visible;
}

.heading-sequence .line-1,
.heading-sequence .line-2 {
  display: block;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), 
              transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.heading-sequence.active .line-1 {
  opacity: 1;
  transition-delay: 0.2s;
}

.heading-sequence.active .line-2 {
  opacity: 1;
  transition-delay: 0.8s;
}

/* Text 1: Center-Center */
.seq-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: auto;
  max-width: 80%;
  text-align: center;
  padding: 50px 60px;
}

.seq-1.active {
  transform: translate(-50%, -50%);
}

.seq-1 .line-1 {
  transform: translateY(30px);
}

.seq-1 .line-2 {
  transform: translateY(40px);
}

.seq-1.active .line-1,
.seq-1.active .line-2 {
  transform: translateY(0);
}

/* Text 2: Bottom-Left */
.seq-2 {
  bottom: 10%;
  left: 5%;
  text-align: left;
  width: auto;
  max-width: 40%;
  transform: translateY(20px);
  padding: 35px 45px;
}

.seq-2.active {
  transform: translateY(0);
}

.seq-2 .line-1 {
  transform: translateY(30px);
}

.seq-2 .line-2 {
  transform: translateY(40px);
}

.seq-2.active .line-1,
.seq-2.active .line-2 {
  transform: translateY(0);
}

/* Text 3: Bottom-Right */
.seq-3 {
  bottom: 10%;
  right: 5%;
  text-align: right;
  width: auto;
  max-width: 40%;
  transform: translateY(20px);
  padding: 35px 45px;
}

.seq-3.active {
  transform: translateY(0);
}

.seq-3 .line-1 {
  transform: translateY(30px);
}

.seq-3 .line-2 {
  transform: translateY(40px);
}

.seq-3.active .line-1,
.seq-3.active .line-2 {
  transform: translateY(0);
}

/* Text 4: Bottom-Left */
.seq-4 {
  bottom: 20%;
  left: 5%;
  text-align: left;
  width: auto;
  max-width: 40%;
  transform: translateX(-30px);
  padding: 35px 45px;
}

.seq-4.active {
  transform: translateX(0);
}

.seq-4 .line-1 {
  transform: translateX(-40px);
}

.seq-4 .line-2 {
  transform: translateX(-50px);
}

.seq-4.active .line-1,
.seq-4.active .line-2 {
  transform: translateX(0);
}

/* ===== STATIC TAGLINE ===== */
.hero-tagline { 
  position: absolute;
  bottom: 0;
  width: 100%; 
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.3);
  padding: 1.5rem 0;
  text-align: center;
  z-index: 102;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-tagline__text { 
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ===== HERO TRANSITION SECTION ===== */
.hero-transition-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #7A6046;
  color: #ffffff;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 300;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-transition-section .transition-content {
  width: 100%;
  max-width: 800px;
  padding: 60px 40px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-transition-section .transition-title {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #ffffff;
}

.hero-transition-section .transition-text {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
}

.hero-transition-section .transition-line {
  margin-bottom: 20px;
}

.hero-transition-section .transition-line:last-child {
  margin-bottom: 0;
}

/* ===== VIDEO ANIMATION CONTROLS ===== */
.video-controls-overlay {
  position: absolute;
  bottom: 80px;
  right: 20px;
  z-index: 103;
  display: flex;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.video-controls-overlay:hover {
  opacity: 1;
}

.video-control-btn {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: all 0.3s;
}

.video-control-btn:hover {
  background: rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .heading-sequence {
    font-size: clamp(56px, 8vw, 120px);
    padding: 30px 40px;
  }
  
  .seq-1 {
    padding: 40px 50px;
    max-width: 85%;
  }
  
  .seq-2,
  .seq-3,
  .seq-4 {
    max-width: 45%;
    padding: 25px 35px;
  }
  
  .hero-transition-section .transition-content {
    padding: 50px 30px;
  }
  
  .hero-transition-section .transition-title {
    font-size: clamp(36px, 4.5vw, 60px);
    margin-bottom: 30px;
  }
  
  .hero-transition-section .transition-text {
    font-size: clamp(17px, 2.2vw, 20px);
    max-width: 600px;
  }
  
  .video-controls-overlay {
    bottom: 70px;
    right: 15px;
  }
}

@media (max-width: 768px) {
  .heading-sequence {
    font-size: clamp(40px, 7vw, 80px) !important;
    padding: 25px 30px !important;
    line-height: 1.15 !important;
  }
  
  .seq-1,
  .seq-2,
  .seq-3,
  .seq-4 {
    left: 50%;
    right: auto;
    transform: translateX(-50%) !important;
    text-align: center;
    max-width: 90%;
    width: auto;
    padding: 30px 35px;
  }
  
  .seq-1 {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -40%) !important;
    padding: 35px 40px;
  }
  
  .seq-1.active {
    transform: translate(-50%, -50%) !important;
  }
  
  .seq-2 {
    bottom: 20%;
  }
  
  .seq-3 {
    bottom: 20%;
  }
  
  .seq-4 {
    bottom: 35% !important;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
  }
  
  .seq-4.active {
    transform: translate(-50%, 0) !important;
  }
  
  .seq-4 .line-1,
  .seq-4 .line-2 {
    transform: translateY(30px) !important;
  }
  
  .seq-4.active .line-1,
  .seq-4.active .line-2 {
    transform: translateY(0) !important;
  }
  
  .heading-sequence,
  .hero-tagline {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  
  .pinned-video-hero {
    height: 350vh;
  }
  
  .video-overlay-content {
    height: 350vh;
  }
  
  .hero-transition-section .transition-content {
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .hero-transition-section .transition-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.5;
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-line {
    margin-bottom: 15px;
    text-align: center;
  }
  
  .video-controls-overlay {
    bottom: 60px;
    right: 10px;
  }
  
  .video-control-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .heading-sequence {
    font-size: clamp(32px, 6vw, 64px) !important;
    padding: 20px 25px !important;
  }
  
  .seq-1,
  .seq-2,
  .seq-3,
  .seq-4 {
    padding: 25px 30px;
    max-width: 95%;
  }
  
  .seq-4 {
    bottom: 30% !important;
    transform: translate(-50%, 0) !important;
    padding: 28px 32px !important;
  }
  
  .seq-4.active {
    transform: translate(-50%, 0) !important;
  }
  
  .hero-transition-section .transition-content {
    padding: 30px 15px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .hero-transition-section .transition-title {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-text {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.5;
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-line {
    margin-bottom: 12px;
    text-align: center;
  }
  
  .hero-tagline {
    padding: 1rem 0;
  }
}

@media (max-width: 375px) {
  .heading-sequence {
    font-size: clamp(28px, 5.5vw, 56px) !important;
    padding: 18px 22px !important;
    line-height: 1.2 !important;
  }
  
  .seq-1,
  .seq-2,
  .seq-3,
  .seq-4 {
    padding: 22px 26px;
    max-width: 96%;
  }
  
  .seq-4 {
    bottom: 28% !important;
    transform: translate(-50%, 0) !important;
    padding: 24px 28px !important;
  }
  
  .seq-4.active {
    transform: translate(-50%, 0) !important;
  }
  
  .hero-transition-section .transition-content {
    padding: 25px 10px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .hero-transition-section .transition-title {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-text {
    font-size: clamp(14px, 1.6vw, 16px);
    text-align: center;
    width: 100%;
  }
  
  .hero-transition-section .transition-line {
    margin-bottom: 10px;
    text-align: center;
  }
}

/* Hide iOS video player controls */
video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

.gsap-pin-spacer {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html {
  scroll-behavior: smooth;
}

/* ===== HISTORIA DESKTOP & TABLET SECTION ===== */
.historia-desktop-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #f8f5f2;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.historia-static-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
  z-index: 20;
}

.historia-content-wrapper {
  padding: 40px 0;
}

.historia-main-title {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 30px;
  padding: 0;
  color: transparent;
  background: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2c2c2c;
  text-fill-color: transparent;
  text-stroke: 1px #2c2c2c;
}

.historia-description {
  margin-bottom: 40px;
}

.historia-description p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0;
}

.historia-cta {
  margin-top: 40px;
}

.historia-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1.5px solid #2c2c2c;
  border-radius: 50px;
  background: transparent;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.historia-explore-btn:hover {
  background: #2c2c2c;
  color: #f8f5f2;
  transform: translateY(-2px);
}

.historia-explore-btn:hover svg {
  transform: translateX(4px);
}

.historia-explore-btn svg {
  transition: transform 0.3s ease;
}

.historia-carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-left: 50%;
  z-index: 25;
}

.historia-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.historia-carousel-item {
  flex: 0 0 70vw;
  height: 100%;
  padding-right: 10vw;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 30;
}

.historia-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  min-height: 500px;
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}

.historia-item-image {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 16px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: white;
  margin: 0;
  flex: 0 0 auto;
}

.historia-image-real {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.historia-item-content {
  flex: 1;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.historia-item-title {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: #2c2c2c;
  margin: 0 0 20px;
  text-align: center;
}

.historia-item-text {
  flex-grow: 1;
}

.historia-item-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0;
  text-align: center;
}

.historia-floating-tag {
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 24px;
  background: #f4f4f4;
  border: 1px solid #A9A9A9;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2c2c2c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 35;
  min-width: 200px;
  text-align: center;
}

.historia-floating-tag span {
  opacity: 1;
  font-weight: 500;
}

.historia-section-progress {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1200px;
  height: 4px;
  background: rgba(44, 44, 44, 0.1);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1000;
  display: none;
}

.historia-section-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #7A6046;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.historia-like-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(44, 44, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.historia-like-btn:hover {
  background: #f8f5f2;
  transform: scale(1.05);
}

.historia-like-btn svg {
  stroke: #666;
}

.historia-static-content.faded {
  opacity: 0.25;
}

.historia-static-content.hidden {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 1200px) {
  .historia-static-content {
    left: 8%;
    width: 45%;
  }
  
  .historia-carousel-container {
    margin-left: 45%;
  }
  
  .historia-carousel-item {
    flex: 0 0 75vw;
  }
  
  .historia-item-wrapper {
    padding: 35px;
    min-height: 450px;
  }
  
  .historia-item-image {
    border-width: 14px;
    border-radius: 28px;
  }
  
  .historia-image-real {
    max-height: 320px;
  }
  
  .historia-floating-tag {
    left: -5%;
    min-width: 180px;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 14px;
  }
  
  .historia-section-progress {
    bottom: 30px;
  }
}

@media (max-width: 992px) {
  .historia-desktop-section {
    min-height: 100vh;
    overflow: hidden;
  }
  
  .historia-static-content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
    margin: 0;
    padding: 0;
  }
  
  .historia-carousel-container {
    margin-left: 45%;
    height: 100vh;
    min-height: 100vh;
  }
  
  .historia-carousel-track {
    align-items: center;
  }
  
  .historia-carousel-item {
    flex: 0 0 75vw;
    padding-right: 5vw;
  }
  
  .historia-item-wrapper {
    padding: 30px;
    min-height: 500px;
    gap: 25px;
  }
  
  .historia-item-image {
    border-width: 12px;
    border-radius: 24px;
  }
  
  .historia-image-real {
    max-height: 280px;
  }
  
  .historia-floating-tag {
    left: -5%;
    min-width: 150px;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 12px;
  }
  
  .historia-section-progress {
    bottom: 30px;
  }
}

/* ===== HISTORIA MOBILE SECTION ===== */
.historia-mobile-section {
  width: 100%;
  background: #f8f5f2;
  padding: 30px 0 50px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.historia-mobile-header {
  padding: 0 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.historia-mobile-title {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 20px;
  padding: 0;
  color: transparent;
  background: none;
  text-align: left;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2c2c2c;
  text-fill-color: transparent;
  text-stroke: 1px #2c2c2c;
}

.historia-mobile-description {
  margin-bottom: 25px;
}

.historia-mobile-description p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0;
  text-align: left;
}

.historia-mobile-cta {
  margin-top: 25px;
}

.historia-mobile-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border: 1.5px solid #2c2c2c;
  border-radius: 50px;
  background: transparent;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.historia-mobile-explore-btn:hover {
  background: #2c2c2c;
  color: #f8f5f2;
  transform: translateY(-2px);
}

.historia-mobile-explore-btn:hover svg {
  transform: translateX(4px);
}

.historia-mobile-explore-btn svg {
  transition: transform 0.3s ease;
}

.historia-mobile-carousel-container {
  position: relative;
  width: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  overscroll-behavior: contain;
}

.historia-mobile-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0 30px;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.historia-mobile-carousel::-webkit-scrollbar {
  display: none;
}

.historia-mobile-carousel-item {
  flex: 0 0 calc(100vw - 60px);
  scroll-snap-align: start;
  min-width: 0;
}

.historia-mobile-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.historia-mobile-item-image {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 10px solid white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
  margin: 0;
}

.historia-mobile-image-real {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.historia-mobile-like-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(44, 44, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.historia-mobile-like-btn:hover {
  background: #f8f5f2;
  transform: scale(1.05);
}

.historia-mobile-like-btn svg {
  stroke: #666;
}

.historia-mobile-floating-tag {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  background: #f4f4f4;
  border: 1px solid #A9A9A9;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2c2c2c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px;
  width: fit-content;
  text-align: center;
}

.historia-mobile-floating-tag span {
  opacity: 1;
  font-weight: 500;
}

.historia-mobile-item-content {
  flex: 1;
  padding: 0;
  text-align: left;
}

.historia-mobile-item-title {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.1;
  color: #2c2c2c;
  margin: 0 0 15px;
  text-align: left;
}

.historia-mobile-item-text {
  flex-grow: 1;
}

.historia-mobile-item-text p {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  font-weight: 300;
  margin: 0;
  text-align: left;
}

.historia-mobile-progress-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.historia-mobile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.historia-mobile-dot.active {
  background: #7A6046;
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .historia-mobile-section {
    display: none;
  }
}

@media (max-width: 480px) {
  .historia-mobile-section {
    padding: 20px 0 40px;
  }
  
  .historia-mobile-header {
    padding: 0 15px 25px;
  }
  
  .historia-mobile-title {
    font-size: clamp(2rem, 7vw, 3rem);
    margin-bottom: 15px;
  }
  
  .historia-mobile-description {
    margin-bottom: 20px;
  }
  
  .historia-mobile-description p {
    font-size: 1rem;
  }
  
  .historia-mobile-carousel-container {
    padding: 0 15px;
  }
  
  .historia-mobile-carousel-item {
    flex: 0 0 calc(100vw - 50px);
  }
  
  .historia-mobile-item-wrapper {
    padding: 20px;
    border-radius: 16px;
    gap: 15px;
  }
  
  .historia-mobile-item-image {
    border-width: 8px;
    border-radius: 16px;
  }
  
  .historia-mobile-image-real {
    max-height: 200px;
  }
  
  .historia-mobile-item-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .historia-mobile-item-text p {
    font-size: 14px;
  }
  
  .historia-mobile-floating-tag {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 10px;
  }
  
  .historia-mobile-like-btn {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
}

/* ===== INTERACTIVE HOTSPOTS - DESKTOP & TABLET VERSION ===== */
.hotspots-desktop-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #7a6046 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 20;
}

/* Rotating Marquee - DESKTOP & TABLET ONLY */
.hotspots-desktop-section .hotspots-marquee-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hotspots-desktop-section .hotspots-marquee-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: clamp(3rem, 8vw, 6rem) !important;
  font-weight: 900 !important;
  color: #C5AD96 !important;
  margin: 0;
  padding: 0;
  animation: marquee-scroll 40s linear infinite;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.12;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0) translateY(-50%);
  }
  100% {
    transform: translateX(-50%) translateY(-50%);
  }
}

/* ===== INTERACTIVE HOTSPOTS - MOBILE VERSION ===== */
.hotspots-mobile-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #7a6046 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 20;
}

/* ===== SHARED HOTSPOTS STYLES ===== */
/* Background Image */
.hotspots-bg-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hotspots-desktop-section .hotspots-bg-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  margin-left: 0;
}

.hotspots-bg-image-container {
  overflow: hidden; /* Prevents any overflow */
}

.hotspots-mobile-section .hotspots-bg-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
}

/* Hotspots Container */
.hotspots-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Hotspot Styles - SHARED */
.hotspot {
  position: absolute;
  width: 60px;
  height: 60px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 11;
}

/* Hotspot Circle - SHARED - UPDATED WITH ACTIVE STATE */
.hotspot-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.hotspot:hover .hotspot-circle,
.hotspot.active .hotspot-circle {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.05);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hotspot Number - SHARED */
.hotspot-number {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hotspot:hover .hotspot-number,
.hotspot.active .hotspot-number {
  color: #2c2c2c;
}

/* Hotspot Glow - SHARED */
.hotspot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: hotspot-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 1;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hotspot-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
  50% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

.hotspot:hover .hotspot-glow {
  animation: hotspot-pulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile-specific hotspot sizes */
.hotspots-mobile-section .hotspot {
  width: 70px;
  height: 70px;
}

.hotspots-mobile-section .hotspot-circle {
  width: 50px;
  height: 50px;
}

.hotspots-mobile-section .hotspot-number {
  font-size: 16px;
}

.hotspots-mobile-section .hotspot-glow {
  width: 70px;
  height: 70px;
}

/* ===== SHARED PANEL STYLES ===== */
.hotspots-panel {
  position: fixed;
  bottom: 2%;
  left: 10%;
  width: 60vw;
  max-width: 900px;
  height: 35vh;
  min-height: 280px;
  background: white;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  border-radius: 8px;
}

.hotspots-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.panel-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(44, 44, 44, 0.1);
}

.panel-close-btn:hover {
  background: #f8f5f2;
  transform: rotate(90deg);
}

.panel-close-btn svg {
  stroke: #666;
  width: 18px;
  height: 18px;
  transition: stroke 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-content {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Panel Image Column - SHARED */
.panel-image-column {
  flex: 0 0 35%;
  height: 100%;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.panel-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.panel-image.loaded {
  opacity: 1;
}

/* Panel Text Column - SHARED */
.panel-text-column {
  flex: 0 0 65%;
  height: 100%;
  padding: 40px 50px;
  background: white;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.panel-text-content {
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.panel-title {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2c2c2c;
}

.panel-description {
  margin-bottom: 25px;
}

.panel-description p {
  font-size: 13px !important;
  line-height: 1.6;
  font-weight: 300;
  margin: 0 !important;
  color: #666;
}

.panel-label {
  font-size: 14px;
  font-weight: 400;
  color: #7A6046;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
  width: calc(100% - 20px); /* Reduced width for better alignment */
  margin-left: 10px; /* Center it */
}

/* ===== MOBILE PANEL SPECIFIC STYLES ===== */
.hotspots-mobile-section .hotspots-panel {
  width: 90vw;
  left: 5%;
  height: 50vh; /* ORIGINAL HEIGHT - KEEP THIS */
  bottom: 2%;
}

.hotspots-mobile-section .panel-content {
  flex-direction: column;
}

.hotspots-mobile-section .panel-image-column {
  flex: 0 0 40%;
  padding: 15px;
}

.hotspots-mobile-section .panel-text-column {
  flex: 0 0 60%;
  padding: 20px 25px;
  align-items: flex-start;
  justify-content: flex-start;
}

.hotspots-mobile-section .panel-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* ORIGINAL: This hides the description on mobile */
/* .hotspots-mobile-section .panel-description {
  display: none !important;
} */

/* NEW: Show mobile descriptions with proper styling */
.hotspots-mobile-section .panel-description.mobile-description {
  display: block !important; /* Override the display: none */
  margin-bottom: 12px !important; /* Reduced margin to fit in existing space */
  margin-top: 5px !important;
}

.hotspots-mobile-section .panel-description.mobile-description p {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 300 !important;
  color: #666 !important;
  margin: 0 !important;
  text-align: left !important;
  letter-spacing: 0.01em !important;
}

.hotspots-mobile-section .panel-label {
  padding-top: 15px;
  font-size: 13px;
  width: calc(100% - 30px); /* More reduced for mobile */
  margin-left: 15px; /* Better centering */
  margin-top: auto; /* Push to bottom */
}

/* FIX: Equal height for desktop panel columns */
.hotspots-desktop-section .panel-content {
  display: flex;
  align-items: stretch; /* This makes columns equal height */
}

.hotspots-desktop-section .panel-image-column,
.hotspots-desktop-section .panel-text-column {
  display: flex;
  flex-direction: column;
}

.hotspots-desktop-section .panel-description {
  flex-grow: 1; /* Take available space */
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .hotspots-desktop-section .hotspots-panel {
    width: 80vw;
    left: 10%;
    height: 40vh;
  }
  
  .hotspots-desktop-section .panel-text-column {
    padding: 30px 35px;
  }
  
  .hotspots-desktop-section .panel-title {
    font-size: 1.6rem;
  }
  
  .hotspots-desktop-section .panel-description p {
    font-size: 12px !important;
  }
  
  .hotspots-desktop-section .hotspots-marquee-text {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
  }
}

@media (max-width: 768px) {
  .hotspots-mobile-section {
    height: 80vh;
    min-height: 80vh;
  }
  
  .hotspots-mobile-section .hotspots-panel {
    width: 85vw;
    left: 7.5%;
    height: 50vh; /* ORIGINAL HEIGHT */
    bottom: 1%;
  }
  
  .hotspots-mobile-section .panel-content {
    flex-direction: column;
  }
  
  .hotspots-mobile-section .panel-image-column {
    flex: 0 0 40%;
    padding: 15px;
  }
  
  .hotspots-mobile-section .panel-text-column {
    flex: 0 0 60%;
    padding: 25px 30px;
  }
  
  .hotspots-mobile-section .panel-title {
    font-size: 1.3rem;
    margin-bottom: 10px; /* Reduced to make room for description */
  }
  
  /* Mobile description adjustments for tablet */
  .hotspots-mobile-section .panel-description.mobile-description {
    margin-bottom: 10px !important;
    margin-top: 5px !important;
  }
  
  .hotspots-mobile-section .panel-description.mobile-description p {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 576px) {
  .hotspots-mobile-section {
    height: 70vh;
    min-height: 70vh;
  }
  
  .hotspots-mobile-section .hotspots-panel {
    width: 90vw;
    left: 5%;
    height: 50vh; /* ORIGINAL HEIGHT - NOT CHANGED */
  }
  
  .hotspots-mobile-section .panel-image-column {
    flex: 0 0 45%;
  }
  
  .hotspots-mobile-section .panel-text-column {
    flex: 0 0 55%;
    padding: 20px 25px;
  }
  
  .hotspots-mobile-section .panel-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .hotspots-mobile-section .panel-description.mobile-description p {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }
  
  .hotspots-mobile-section .panel-label {
    font-size: 12px;
    padding-top: 12px;
    width: calc(100% - 40px); /* Even more reduced */
    margin-left: 20px; /* Better centering */
  }
  
  /* FIX: Mobile panel alignment */
  .hotspots-mobile-section .panel-text-column {
    padding-left: 20px; /* Reduce left padding */
    padding-right: 30px; /* Increase right padding */
  }
}

/* Adjust for very small screens */
@media (max-width: 375px) {
  .hotspots-mobile-section .hotspots-panel {
    height: 50vh; /* ORIGINAL HEIGHT - NOT CHANGED */
  }
  
  .hotspots-mobile-section .panel-image-column {
    flex: 0 0 45%;
    padding: 12px;
  }
  
  .hotspots-mobile-section .panel-text-column {
    flex: 0 0 55%;
    padding: 15px 20px;
  }
  
  .hotspots-mobile-section .panel-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .hotspots-mobile-section .panel-description.mobile-description {
    margin-bottom: 8px !important;
    margin-top: 4px !important;
  }
  
  .hotspots-mobile-section .panel-description.mobile-description p {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }
  
  .hotspots-mobile-section .panel-label {
    font-size: 11px;
    padding-top: 10px;
    width: calc(100% - 40px);
    margin-left: 20px;
  }
}


/* ===== CÓMO TE ACOMPAÑO - DESKTOP & TABLET VERSION ===== */
.como-te-acompanio-desktop-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #f8f5f2 url('/wp-content/uploads/2025/12/petran_1.webp') no-repeat center/cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.como-te-acompanio-desktop-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 245, 242, 0.85);
  z-index: 1;
}

.como-te-acompanio-static-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
  z-index: 20;
  transition: opacity 0.5s ease;
}

.como-te-acompanio-content-wrapper {
  padding: 40px 0;
}

.como-te-acompanio-main-title {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 20px;
  padding: 0;
  color: transparent;
  background: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2c2c2c;
  text-fill-color: transparent;
  text-stroke: 1px #2c2c2c;
}

.como-te-acompanio-subheading {
  margin-bottom: 15px;
}

.como-te-acompanio-subheading p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #7A6046;
  font-weight: 400;
  font-style: italic;
  margin: 0;
}

.como-te-acompanio-description {
  margin-bottom: 40px;
}

.como-te-acompanio-description p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0;
}

.como-te-acompanio-cta {
  margin-top: 40px;
}

.como-te-acompanio-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1.5px solid #2c2c2c;
  border-radius: 50px;
  background: transparent;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.como-te-acompanio-explore-btn:hover {
  background: #2c2c2c;
  color: #f8f5f2;
  transform: translateY(-2px);
}

.como-te-acompanio-explore-btn:hover svg {
  transform: translateX(4px);
}

.como-te-acompanio-explore-btn svg {
  transition: transform 0.3s ease;
}

.como-te-acompanio-carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-left: 50%;
  z-index: 25;
}

.como-te-acompanio-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.como-te-acompanio-carousel-item {
  flex: 0 0 70vw;
  height: 100%;
  padding-right: 10vw;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 30;
}

.como-te-acompanio-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  min-height: 500px;
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}

.como-te-acompanio-item-image {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 16px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: white;
  margin: 0;
  flex: 0 0 auto;
}

.como-te-acompanio-image-real {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.como-te-acompanio-icon-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(44, 44, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.como-te-acompanio-icon {
  font-size: 20px;
  line-height: 1;
  display: block;
}

.como-te-acompanio-floating-tag {
  position: absolute;
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 24px;
  background: #f4f4f4;
  border: 1px solid #A9A9A9;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2c2c2c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 35;
  min-width: 180px;
  text-align: center;
}

.como-te-acompanio-floating-tag span {
  opacity: 1;
  font-weight: 500;
}

.como-te-acompanio-item-content {
  flex: 1;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.como-te-acompanio-item-title {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: #2c2c2c;
  margin: 0 0 20px;
  text-align: left;
}

.como-te-acompanio-item-description {
  flex-grow: 1;
}

.como-te-acompanio-item-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0 0 15px;
  text-align: left;
}

.como-te-acompanio-item-description p:last-child {
  margin-bottom: 0;
}

.como-te-acompanio-section-progress {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1200px;
  height: 4px;
  background: rgba(44, 44, 44, 0.1);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1000;
  display: none;
}

.como-te-acompanio-section-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #7A6046;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.como-te-acompanio-static-content.hidden {
  opacity: 0;
  pointer-events: none;
}

.como-te-acompanio-static-content.faded {
  opacity: 0.25;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .como-te-acompanio-static-content {
    left: 8%;
    width: 45%;
  }
  
  .como-te-acompanio-carousel-container {
    margin-left: 45%;
  }
  
  .como-te-acompanio-carousel-item {
    flex: 0 0 75vw;
  }
  
  .como-te-acompanio-item-wrapper {
    padding: 35px;
    min-height: 450px;
  }
  
  .como-te-acompanio-item-image {
    border-width: 14px;
    border-radius: 28px;
  }
  
  .como-te-acompanio-image-real {
    max-height: 320px;
  }
  
  .como-te-acompanio-floating-tag {
    left: -5%;
    min-width: 160px;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 14px;
  }
}

@media (max-width: 992px) {
  .como-te-acompanio-desktop-section {
    min-height: 100vh;
    overflow: hidden;
  }
  
  .como-te-acompanio-static-content {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 500px;
  }
  
  .como-te-acompanio-carousel-container {
    margin-left: 45%;
    height: 100vh;
    min-height: 100vh;
  }
  
  .como-te-acompanio-carousel-track {
    align-items: center;
  }
  
  .como-te-acompanio-carousel-item {
    flex: 0 0 75vw;
    padding-right: 5vw;
  }
  
  .como-te-acompanio-item-wrapper {
    padding: 30px;
    min-height: 500px;
    gap: 25px;
  }
  
  .como-te-acompanio-item-image {
    border-width: 12px;
    border-radius: 24px;
  }
  
  .como-te-acompanio-image-real {
    max-height: 280px;
  }
  
  .como-te-acompanio-floating-tag {
    left: -5%;
    min-width: 150px;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 12px;
  }
  
  .como-te-acompanio-section-progress {
    bottom: 30px;
  }
}

@media (max-width: 767px) {
  .como-te-acompanio-desktop-section {
    display: none;
  }
}

/* ===== CÓMO TE ACOMPAÑO - MOBILE VERSION ===== */
.como-te-acompanio-mobile-section {
  width: 100%;
  background: #f8f5f2;
  padding: 30px 0 50px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.como-te-acompanio-mobile-header {
  padding: 0 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.como-te-acompanio-mobile-title {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 15px;
  padding: 0;
  color: transparent;
  background: none;
  text-align: left;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2c2c2c;
  text-fill-color: transparent;
  text-stroke: 1px #2c2c2c;
}

.como-te-acompanio-mobile-subheading {
  margin-bottom: 10px;
}

.como-te-acompanio-mobile-subheading p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #7A6046;
  font-weight: 400;
  font-style: italic;
  margin: 0;
  text-align: left;
}

.como-te-acompanio-mobile-description {
  margin-bottom: 25px;
}

.como-te-acompanio-mobile-description p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0;
  text-align: left;
}

.como-te-acompanio-mobile-cta {
  margin-top: 25px;
}

.como-te-acompanio-mobile-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border: 1.5px solid #2c2c2c;
  border-radius: 50px;
  background: transparent;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.como-te-acompanio-mobile-explore-btn:hover {
  background: #2c2c2c;
  color: #f8f5f2;
  transform: translateY(-2px);
}

.como-te-acompanio-mobile-explore-btn:hover svg {
  transform: translateX(4px);
}

.como-te-acompanio-mobile-explore-btn svg {
  transition: transform 0.3s ease;
}

.como-te-acompanio-mobile-carousel-container {
  position: relative;
  width: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  overscroll-behavior: contain;
}

.como-te-acompanio-mobile-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0 30px;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.como-te-acompanio-mobile-carousel::-webkit-scrollbar {
  display: none;
}

.como-te-acompanio-mobile-carousel-item {
  flex: 0 0 calc(100vw - 60px);
  scroll-snap-align: start;
  min-width: 0;
}

.como-te-acompanio-mobile-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.como-te-acompanio-mobile-item-image {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 10px solid white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
  margin: 0;
}

.como-te-acompanio-mobile-image-real {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.como-te-acompanio-mobile-icon-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(44, 44, 44, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
}

.como-te-acompanio-mobile-icon {
  font-size: 18px;
  line-height: 1;
  display: block;
}

.como-te-acompanio-mobile-floating-tag {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  background: #f4f4f4;
  border: 1px solid #A9A9A9;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2c2c2c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px;
  width: fit-content;
  text-align: center;
}

.como-te-acompanio-mobile-floating-tag span {
  opacity: 1;
  font-weight: 500;
}

.como-te-acompanio-mobile-item-content {
  flex: 1;
  padding: 0;
  text-align: left;
}

.como-te-acompanio-mobile-item-title {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.1;
  color: #2c2c2c;
  margin: 0 0 15px;
  text-align: left;
}

.como-te-acompanio-mobile-item-text {
  flex-grow: 1;
}

.como-te-acompanio-mobile-item-text p {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  font-weight: 300;
  margin: 0;
  text-align: left;
}

.como-te-acompanio-mobile-progress-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.como-te-acompanio-mobile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.como-te-acompanio-mobile-dot.active {
  background: #7A6046;
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .como-te-acompanio-mobile-section {
    display: none;
  }
}

@media (max-width: 480px) {
  .como-te-acompanio-mobile-section {
    padding: 20px 0 40px;
  }
  
  .como-te-acompanio-mobile-header {
    padding: 0 15px 25px;
  }
  
  .como-te-acompanio-mobile-title {
    font-size: clamp(2rem, 7vw, 3rem);
    margin-bottom: 12px;
  }
  
  .como-te-acompanio-mobile-subheading {
    margin-bottom: 8px;
  }
  
  .como-te-acompanio-mobile-subheading p {
    font-size: 1rem;
  }
  
  .como-te-acompanio-mobile-description {
    margin-bottom: 20px;
  }
  
  .como-te-acompanio-mobile-description p {
    font-size: 1rem;
  }
  
  .como-te-acompanio-mobile-carousel-container {
    padding: 0 15px;
  }
  
  .como-te-acompanio-mobile-carousel-item {
    flex: 0 0 calc(100vw - 50px);
  }
  
  .como-te-acompanio-mobile-item-wrapper {
    padding: 20px;
    border-radius: 16px;
    gap: 15px;
  }
  
  .como-te-acompanio-mobile-item-image {
    border-width: 8px;
    border-radius: 16px;
  }
  
  .como-te-acompanio-mobile-image-real {
    max-height: 200px;
  }
  
  .como-te-acompanio-mobile-item-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .como-te-acompanio-mobile-item-text p {
    font-size: 14px;
  }
  
  .como-te-acompanio-mobile-floating-tag {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 10px;
  }
  
  .como-te-acompanio-mobile-icon-button {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
  
  .como-te-acompanio-mobile-icon {
    font-size: 16px;
  }
}

/* ===== NOVIA VIDEO TRANSITION SECTION ===== */
.novia-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #7A6046 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 100;
}

/* Layer 1: Brown Background */
.novia-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #7A6046;
    z-index: 1;
}

/* Layer 2: Fixed Marquee (behind video) */
.novia-marquee-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 5vh;
}

.novia-marquee-content {
    display: flex;
    white-space: nowrap;
    transform: rotate(-10deg); /* Fixed 10° angle for the track */
    transform-origin: left bottom;
    animation: marquee-scroll 30s linear infinite; /* Text scrolls along the diagonal */
}

.novia-marquee-content span {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
    margin-right: 2em;
    text-transform: uppercase;
    font-family: sans-serif;
    white-space: nowrap;
}

/* ===== SECOND MARQUEE LINE (CSS DUPLICATE) ===== */
.novia-marquee-content::before {
    content: 'NOVIA • PRESENCIA • CALMA • LUZ  NOVIA • PRESENCIA • CALMA • LUZ  NOVIA • PRESENCIA • CALMA • LUZ  NOVIA • PRESENCIA • CALMA • LUZ';
    position: absolute;
    display: flex;
    white-space: nowrap;
    transform: rotate(-5deg) translateX(100%); /* Start off-screen right */
    transform-origin: left bottom;
    animation: marquee-scroll-2 35s linear infinite; /* REMOVED DELAY: 10s */
    font-size: clamp(3.2rem, 6.5vw, 5.5rem); /* Smaller than main */
    font-weight: 250; /* Slightly bolder */
    color: rgba(255, 255, 255, 1); /* Pure white */
    letter-spacing: 0.15em; /* More spacing for elegance */
    margin-right: 2.5em; /* More spacing between repeats */
    text-transform: uppercase;
    font-family: sans-serif;
    opacity: 1; /* Very subtle */
    margin-left: -25%; /* Start further right */
    margin-bottom: 12%; /* Higher up */
    filter: blur(0.3px); /* Subtle blur for depth */
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0) rotate(-10deg);
    }
    100% {
        transform: translateX(-50%) rotate(-10deg);
    }
}

/* Second marquee animation */
@keyframes marquee-scroll-2 {
    0% {
        transform: translateX(100%) rotate(-5deg); /* Start off-screen */
    }
    100% {
        transform: translateX(-150%) rotate(-5deg); /* Move further left */
    }
}

/* Adjust marquee position to account for rotation */
.novia-marquee-content {
    margin-left: -10%;
    margin-bottom: 0%;
}

/* Optional: Pause animations until video starts */
.novia-video-section:not(.video-started) .novia-marquee-content,
.novia-video-section:not(.video-started) .novia-marquee-content::before {
    animation-play-state: paused;
}

/* ===== TABLET STYLES ===== */
@media (max-width: 1024px) {
    .novia-marquee-content span {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    .novia-marquee-content {
        margin-left: -15%;
        margin-bottom: 0%;
        transform: rotate(-8deg);
        animation: marquee-scroll-tablet 25s linear infinite;
    }
    
    @keyframes marquee-scroll-tablet {
        0% {
            transform: translateX(0) rotate(-8deg);
        }
        100% {
            transform: translateX(-50%) rotate(-8deg);
        }
    }
}

/* LANDSCAPE TABLET */
@media (max-width: 1024px) and (orientation: landscape) {
    .novia-marquee-content span {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .novia-marquee-content {
        margin-left: -10%;
        margin-bottom: 0%;
        transform: rotate(-6deg);
        animation: marquee-scroll-landscape 20s linear infinite;
    }
    
    @keyframes marquee-scroll-landscape {
        0% {
            transform: translateX(0) rotate(-6deg);
        }
        100% {
            transform: translateX(-50%) rotate(-6deg);
        }
    }
}

/* Layer 4: Text Overlay (on top) */
.novia-text-overlay {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 4; /* TOP LAYER */
    max-width: 500px;
    pointer-events: none;
    opacity: 1;
    padding-right: 20px;
}

.novia-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.novia-description p {
    font-size: 16px !important;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Layer 3: Video Container */
.novia-video-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3; /* COVERS marquee (2), shows text (4) */
    margin: 0 !important;
    padding: 0 !important;
}

.novia-video-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    transform-origin: center center;
    will-change: transform;
    background: transparent; /* Transparent to show marquee behind when shrunk */
}

/* Video Element */
.novia-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* ===== CLEAN VIDEO CONTROLS ===== */
.novia-video-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1200px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Show controls on video hover */
.novia-video-wrapper:hover .novia-video-controls {
    opacity: 1;
}

/* Control Buttons */
.video-control-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.video-control-btn svg {
    stroke: white;
    width: 20px;
    height: 20px;
}

/* Time Display */
.video-time-display {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0 15px;
    flex-shrink: 0;
    min-width: 85px;
    text-align: center;
}

.time-separator {
    opacity: 0.6;
    margin: 0 2px;
}

/* Timeline */
.video-timeline {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
}

.timeline-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1.5px;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffffff;
    border-radius: 1.5px;
    transition: width 0.1s linear;
}

/* ===== TABLET STYLES ===== */
@media (max-width: 1024px) {
    .novia-text-overlay {
        left: 20px;
        max-width: 400px;
    }
    
    .novia-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }
    
    .novia-marquee-content span {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    .novia-video-controls {
        width: 94%;
        bottom: 20px;
        height: 40px;
        padding: 0 15px;
        max-width: 800px;
    }
    
    .video-control-btn {
        width: 34px;
        height: 34px;
    }
    
    .video-time-display {
        font-size: 12px;
        min-width: 80px;
        margin: 0 12px;
    }
}

/* LANDSCAPE TABLET */
@media (max-width: 1024px) and (orientation: landscape) {
    .novia-text-overlay {
        top: 15px;
        max-width: 350px;
    }
    
    .novia-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        margin-bottom: 10px;
    }
    
    .novia-description p {
        font-size: 15px !important;
    }
    
    .novia-marquee-content span {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .novia-video-controls {
        width: 92%;
        bottom: 15px;
        height: 38px;
    }
}

/* HIDE ON MOBILE */
@media (max-width: 767px) {
    .novia-video-section {
        display: none !important;
    }
}

/* Hide iOS video player controls */
.novia-video::-webkit-media-controls {
    display: none !important;
}

.novia-video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* ===== TALLERES SECTION (DESKTOP ONLY) ===== */
/* Hide on mobile - KEEP THIS! */
@media (max-width: 768px) {
    .talleres-section {
        display: none !important;
    }
}

.talleres-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #f8f5f2;
}

/* center 50% column */
.talleres-inner {
  position: relative;
  width: 50%;
  height: 100%;
  margin: 0 auto;
}

/* EVERYTHING inside is absolutely layered */
.talleres-intro,
.talleres-visual,
.talleres-detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* INTRO - REVERSED POSITION */
.talleres-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 120px;
  text-align: center;
  z-index: 2;
}

/* Main title styling */
.talleres-section-title {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0;
  padding: 0;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #2c2c2c;
  text-fill-color: transparent;
  text-stroke-width: 1px;
  text-stroke-color: #2c2c2c;
  color: transparent;
  background: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  text-align: center;
  z-index: 4;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

/* Heading styling */
.talleres-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2c2c2c;
  margin: 0 0 20px 0;
  line-height: 1.3;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* Description styling */
.talleres-description {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  font-weight: 300;
  color: #666;
  margin: 0 auto;
  max-width: 80%;
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

/* VISUAL STAGE */
.talleres-visual {
  z-index: 1;
}

/* MAIN IMAGE */
.talleres-main-image {
  position: absolute;
  top: calc(50% + 30px);
  left: 0;
  width: 40%;
  opacity: 0.35;
}

.talleres-main-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* MAIN CTA */
.talleres-main-cta {
  position: relative;
  opacity: 0;
  padding: 11px 48px;
  border: 1.5px solid #2c2c2c;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  background: transparent;
  z-index: 5;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  margin: 10px auto !important;
  display: block;
  width: fit-content;
}

/* Hover effect */
.talleres-main-cta:hover {
  background: #2c2c2c;
  color: #f8f5f2;
  transform: scale(1.05);
}

/* IMAGE STACK */
.talleres-image-stack {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stack-top {
  display: flex;
  gap: 10px;
  margin-bottom: 10px !important;
  width: 100%;
}

.stack-bottom {
  margin-top: 10px !important;
  width: 100%;
}

/* DETAIL CONTENT - FIXED VERTICAL POSITION */
.talleres-detail {
  display: flex;
  gap: 60px;
  opacity: 0;
  z-index: 3;
  position: absolute;
  top: 50%; /* Changed from 0 */
  left: 0;
   transform: translateY(calc(-40%)) !important;
  width: 100%;
  height: auto; /* Changed from 100% */
}

.talleres-text,
.talleres-image-stack {
  width: 50%;
}

.talleres-text {
  padding-right: 30px;
}

/* Subheading styling */
.talleres-subheading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2c2c2c;
  margin: 0 0 30px 0;
  line-height: 1.3;
}

/* Long text styling */
.talleres-long-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  font-weight: 300;
  margin: 0 0 20px 0;
}

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

.stack-top img,
.stack-bottom img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  opacity: 0;
}

.stack-top img {
  width: calc(50% - 10px);
}

/* ===== TALLERES SECTION FIXES ===== */

/* Chrome-specific fixes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .talleres-section {
        /* Force proper rendering in Chrome */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .talleres-section-title {
        /* Chrome-specific stroke rendering */
        -webkit-text-stroke: 1px #2c2c2c;
        paint-order: stroke fill;
    }
}

/* Ensure consistent box-sizing */
.talleres-section * {
    box-sizing: border-box !important;
}