/* ============================================
   Laura Vélez de León - Custom Brand Styles
   Logoterapia · Análisis Existencial · Sentido de Vida
   ============================================ */

/* Google Font: Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600&display=swap');

/* ---- Brand Color Variables ---- */
:root {
  --lv-coral: #F47047;
  --lv-turquesa: #49ABC9;
  --lv-marfil: #F9F4EF;
  --lv-verde: #43634E;
  --lv-negro: #282828;

  /* Dynamic accent (set by JS, defaults to orange) */
  --lv-accent: #F47047;
  --lv-accent-hover: #e05e35;
  --lv-accent-rgb: 244, 112, 71;

  /* Override template variables */
  --primary: #282828;
  --secondary: #555555;
  --bg: #282828;
  --black: #282828;
  --white: #FFFFFF;

  /* Override font variables */
  --font_bai: 'Montserrat', sans-serif;
}

/* ---- Global Typography ---- */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: transparent;
  color: var(--lv-negro);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--lv-negro);
}

/* ---- Background Overrides ---- */
.rr-bg-marfil,
.rr-bg-light,
.rr-bg-white,
section.rr-bg-light,
div.rr-bg-white {
  background-color: var(--lv-marfil) !important;
}

.rr-bg-grey {
  background-color: #f2f2f2;
}

.section-bg {
  background-color: #f0ebe5;
}

/* ---- Buttons & CTAs ---- */
.rr-btn {
  background-color: var(--lv-accent);
  border-color: var(--lv-accent);
}

.rr-btn:hover {
  background-color: var(--lv-accent-hover);
  border-color: var(--lv-accent-hover);
}

.rr-btn-primary {
  background-color: var(--lv-accent);
  color: #fff;
}

.rr-btn-primary:hover {
  background-color: var(--lv-accent-hover);
  color: #fff;
}

.underline::after {
  background-color: var(--lv-accent);
}

/* ---- Links ---- */
a:hover {
  color: var(--lv-accent);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar-thumb {
  background: var(--lv-turquesa);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--lv-verde);
}

/* ---- Progress/Back to top ---- */
.progress-wrap::after {
  color: var(--lv-accent);
}

/* ---- Quote Section (Video Reveal) ---- */
.quote-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
  text-align: center;
  color: #fff;
  opacity: 0; /* Animated via GSAP */
  visibility: hidden;
  position: relative;
  z-index: 10;
}

.quote-text {
  font-size: 2.8rem;
  font-family: var(--rr-ff-heading);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 30px;
  max-width: 900px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.quote-author {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 500;
  opacity: 0.9;
  position: relative;
}

.quote-author::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  width: 40px;
  height: 1px;
  background-color: #fff;
}

@media (max-width: 768px) {
  .quote-text {
    font-size: 1.8rem;
  }
  .quote-author {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
}

/* ---- Biography Section ---- */
.bio-section {
  position: relative;
  overflow: hidden;
}

.bio-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--lv-accent);
  margin-bottom: 30px;
}

.bio-accolades-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bio-accolades-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  opacity: 0; /* Animated with GSAP */
  transform: translateY(20px);
}

.bio-icon {
  color: #F47047; /* User brand orange */
  font-size: 1.4rem;
  margin-right: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.bio-accolades-list p {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.bio-image-wrap {
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.bio-main-img {
  width: 100%;
  transition: transform 0.5s ease;
}

@media (max-width: 991px) {
  .bio-title {
    font-size: 1.8rem;
  }
  .bio-image-wrap {
    margin-top: 50px;
  }
}

.progress-wrap svg.progress-circle path {
  stroke: var(--lv-accent);
}

/* ---- Loader ---- */
/* Orange theme selected → green bg, orange text */
[data-color-scheme="orange"] .loader-wrap,
.loader-wrap {
  background: var(--lv-verde);
}

[data-color-scheme="orange"] .loader-wrap svg,
.loader-wrap svg {
  fill: var(--lv-verde);
}

[data-color-scheme="orange"] .loader-wrap .load-text span,
.loader-wrap .load-text span {
  color: var(--lv-coral);
}

/* Green theme selected → orange bg, green text */
[data-color-scheme="green"] .loader-wrap {
  background: var(--lv-coral);
}

[data-color-scheme="green"] .loader-wrap svg {
  fill: var(--lv-coral);
}

[data-color-scheme="green"] .loader-wrap .load-text span {
  color: var(--lv-verde);
}

/* ---- Header ---- */
.header-area-3.header-area-11 .social-links li a:hover {
  color: var(--lv-accent);
}

/* Final Header Reveal Logic - Targeting main container for stability */
header.header-area-11 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important; /* Matches debug fix */
  /* Start locked */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

header.header-area-11.header-locked {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

header.header-area-11.header-show-force {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background-color: var(--lv-marfil) !important;
  z-index: 99999 !important;
}

/* Base sticky class for other pages/template logic */
.sticky {
  background-color: var(--lv-marfil) !important;
}

#smooth-wrapper, #smooth-content {
  background-color: transparent !important;
  z-index: 2;
  position: relative;
}

.hero-section-9 {
  background-color: transparent !important;
  height: 100vh;
  position: relative;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  z-index: 5;
}

.hero-section-9__wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 0 !important;
}

/* Full-width SVG logo mask hero effect */
.intro-overlay__inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Align logo to bottom */
  overflow: visible;
  padding: 0 !important;
  margin: 0 !important;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-logo-mask {
  width: 50%;
  height: auto;
  max-width: 800px;
  /* Optional cap for very wide screens */
  display: block;
  overflow: visible;
  margin: 0 auto;
}

/* Ensure sections cover fixed video */
section:not(.hero-section-9):not(.video-reveal-spacer) {
  position: relative;
  z-index: 10;
  background-color: var(--lv-marfil) !important;
}

.video-reveal-spacer {
  position: relative;
  z-index: 10;
  background: transparent !important;
}

.hero-logo-mask-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  
  /* Mask logic: subtract logo from white background */
  -webkit-mask-image: url('/Logo BLANCO.svg'), linear-gradient(#fff, #fff);
  mask-image: url('/Logo BLANCO.svg'), linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  
  /* Correcting sizes: logo is 80%, background gradient is 100% */
  mask-repeat: no-repeat, no-repeat;
  mask-position: center calc(100% + 5px), center center;
  mask-size: 80% auto, 100% 100%;
  
  -webkit-mask-repeat: no-repeat, no-repeat;
  -webkit-mask-position: center calc(100% + 5px), center center;
  -webkit-mask-size: 80% auto, 100% 100%;
  
  z-index: 5;
}

.hero-logo-glass-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Glassmorphism effect */
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Mask: apply only to the logo shape */
  -webkit-mask-image: url('/Logo BLANCO.svg');
  mask-image: url('/Logo BLANCO.svg');
  
  mask-repeat: no-repeat;
  mask-position: center calc(100% + 5px);
  mask-size: 80% auto;
  
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center calc(100% + 5px);
  -webkit-mask-size: 80% auto;
  
  z-index: 4; /* Layered behind the white overlay's hole */
}

/* Mobile responsive adjustments for Hero Mask */
@media (max-width: 768px) {
  .hero-logo-mask-overlay {
    mask-position: center center, center center;
    -webkit-mask-position: center center, center center;
    mask-size: 92% auto, 100% 100%;
    -webkit-mask-size: 92% auto, 100% 100%;
  }

  .hero-logo-glass-fill {
    mask-position: center center;
    -webkit-mask-position: center center;
    mask-size: 92% auto;
    -webkit-mask-size: 92% auto;
  }
}

/* YouTube Video Background styles */
.hero-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1 !important;
  overflow: hidden;
  pointer-events: none;
  background-color: #F47047; /* User brand orange for loading state */
}

/* Dark overlay for the video - starts hidden to keep orange pure during load */
.hero-video-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video-bg.video-ready::after {
  opacity: 1;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.25);
  border: none;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.hero-video-bg iframe.video-ready {
  opacity: 1;
}

.hero-logo-mask image {
  /* Initial scale for parallax effect */
  transform-origin: center;
}

.hero-section-9__author-main-img {
  max-width: 400px;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-section-9__author-main-img:hover {
  transform: translateY(-5px);
}

.hero-section-9__author-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-section-9__title {
  color: var(--lv-negro);
  margin-bottom: 20px;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
}

.hero-section-9__desc {
  color: var(--lv-verde);
  font-weight: 500;
}

.hero-section-9__name {
  color: var(--lv-negro);
}

/* The following rule is added based on the instruction's context,
   it will override the color and add margin-bottom to the existing .hero-section-9__desc */
.hero-section-9__desc {
  color: var(--lv-negro);
  margin-bottom: 30px;
}

/* --- Testimonial / Slider Optimization --- */
.testimonial-9 {
  padding-top: 60px !important;
  /* Overriding section-spacing-top-140 */
}

.testimonial-9__item .media {
  height: 600px !important;
  max-height: 600px;
  overflow: hidden;
}

.testimonial-9__item .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-9__content .sub-title {
  margin-bottom: 30px !important;
  transform: none !important;
  /* Optional: disabling aggressive vertical animation */
}

.testimonial-9__content .title {
  margin-bottom: 40px !important;
  transform: none !important;
}

.testimonial-9__content .author {
  transform: none !important;
}

@media only screen and (max-width: 767px) {
  .testimonial-9__item .media {
    height: 400px !important;
  }
}

.hero-section-9__desg {
  color: var(--lv-accent);
}

/* ---- About Overview 9 Consolidada ---- */
.about-overview-9 {
  background-color: var(--lv-marfil) !important;
}

.about-overview-9__wrap {
  display: grid !important;
  grid-template-columns: 600px 1fr !important;
  gap: 60px !important; /* Espacio entre imagen y texto */
  align-items: center;
}

.about-overview-9__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important; /* Espacio entre bloques de texto y contadores */
  max-width: 100% !important;
  margin-left: 0 !important;
  opacity: 1 !important; /* Forzar visibilidad si GSAP falla */
  visibility: visible !important;
}

.about-overview-9__title {
  color: var(--lv-negro);
  margin-bottom: 20px !important;
}

.about-overview-9__desc {
  max-width: 100% !important;
  margin-bottom: 20px !important;
}

.about-overview-9__btn {
  margin-top: 40px !important;
  margin-bottom: 20px !important;
}

.about-overview-9__btn a.underline {
  color: var(--lv-accent) !important;
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.about-overview-9__counter {
  display: flex !important;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 1 !important;
  visibility: visible !important;
}

.about-overview-9__counter-item {
  padding: 0 !important;
  margin-bottom: 20px;
  border: none !important;
  opacity: 1 !important; /* Asegurar que los números se vean */
  visibility: visible !important;
}

.about-overview-9__counter-item h2 {
  color: var(--lv-accent) !important;
  font-size: 60px !important;
  line-height: 1 !important;
  margin-bottom: 5px;
}

.about-overview-9__counter-item p {
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsivo para About Overview 9 */
@media only screen and (max-width: 1399px) {
  .about-overview-9__wrap {
    grid-template-columns: 480px 1fr !important;
  }
  .about-overview-9__counter-item h2 {
    font-size: 45px !important;
  }
}

@media only screen and (max-width: 991px) {
  .about-overview-9 {
    padding: 60px 0 !important;
  }
  .about-overview-9__wrap {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-overview-9__thumb {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .about-overview-9__counter-item h2 {
    font-size: 40px !important;
  }
  .about-overview-9__content {
    gap: 25px !important;
  }
}

/* ---- Services Section 9 ---- */
.our-service-9__number {
  color: var(--lv-turquesa);
}

.our-service-9__title a {
  color: var(--lv-negro);
}

.our-service-9__title a:hover {
  color: var(--lv-accent);
}

.our-service-9__btn .underline {
  color: var(--lv-accent);
}

/* ---- Portfolio Section 9 ---- */
.our-portfolio-9__subtitle {
  color: var(--lv-turquesa);
}

/* ---- Achievements Section 9 ---- */
.achievements-section-9__status {
  color: var(--lv-accent);
}

.achievements-section-9__year span {
  color: var(--lv-verde);
}

/* ---- Footer 9 ---- */
.footer-9 {
  background-color: var(--lv-negro);
}

.footer-9__instagram-btn a:hover {
  color: var(--lv-accent);
}

.footer-9__bottom-title .title {
  color: rgba(255, 255, 255, 0.05);
}

.footer-9__bottom-title .title span {
  color: rgba(255, 255, 255, 0.08);
}

/* ---- Breadcrumb (inner pages) ---- */
.breadcrumb {
  background-color: var(--lv-verde);
}

/* ---- Side Info / Mobile Menu ---- */
.side-info {
  background-color: var(--lv-marfil);
}

/* ---- Testimonial 9 ---- */
.testimonial-9__content .sub-title {
  color: var(--lv-turquesa);
}

/* ---- Awarded Section (about page) ---- */
.awarded__inner {
  border-color: var(--lv-turquesa);
}

/* ---- Selection Color ---- */
::selection {
  background-color: var(--lv-accent);
  color: #fff;
}

/* ---- Smooth transitions for brand feel ---- */
.our-service-9__item,
.our-portfolio-9__item,
.achievements-section-9__item {
  transition: all 0.3s ease;
}

/* ---- Accent lines and borders ---- */
.our-service-9__wrap {
  border-color: rgba(67, 99, 78, 0.15);
}

/* ---- Inner pages: general header override ---- */
.header-area-3 .main-menu>ul>li>a:hover,
.header-area-4 .main-menu>ul>li>a:hover {
  color: var(--lv-accent);
}

/* ============================================
   Color Scheme Switcher Toggle
   ============================================ */
#color-scheme-toggle {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 30px;
  background: rgba(40, 40, 40, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#color-scheme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.cs-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cs-dot.active {
  transform: scale(1.2);
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.cs-dot--orange {
  background-color: #F47047;
}

.cs-dot--green {
  background-color: #43634E;
}

/* ============================================
   Mobile Menu & Hamburger Styles
   ============================================ */

/* Hamburger Button */
.rr-hamburger-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.rr-hamburger-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--lv-accent); /* Verde por defecto para visibilidad en fondo claro */
  transition: all 0.3s ease;
}

/* En el hero transparente, forzamos blanco */
.header-area-11.header-locked .rr-hamburger-btn span {
  background-color: #fff;
}

.header-show-force .rr-hamburger-btn span {
  background-color: var(--lv-accent);
}

/* Slide-down Mobile Menu Dropdown */
.mobile-nav-dropdown {
  position: absolute;
  top: 100%; /* Justo debajo del header sticky */
  left: 0;
  width: 100%;
  background-color: var(--lv-marfil);
  z-index: 990;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid rgba(244, 112, 71, 0.2);
  padding: 10px 0;
}

.mobile-main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-main-menu ul li {
  text-align: center;
}

.mobile-main-menu ul li a {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--lv-accent);
  padding: 15px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.mobile-main-menu ul li a:hover,
.mobile-main-menu ul li a.active {
  color: #F47047;
  background-color: rgba(244, 112, 71, 0.05);
}

@media (min-width: 1200px) {
  .mobile-nav-dropdown {
    display: none !important;
  }
}

/* Eliminada duplicación previa de About Overview 9 */

@media only screen and (max-width: 1399px) {
  .about-overview-9__wrap {
    grid-template-columns: 480px 1fr !important;
  }
}

@media only screen and (max-width: 991px) {
  .about-overview-9__wrap {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}
/* Normalizar separación en sección servicios (Nueva estructura de 2 columnas) */
.our-service-9__wrapper {
  gap: 120px !important;
  grid-template-columns: 1fr 1fr !important; /* Ahora que son solo 2 hijos, podemos usar 1fr 1fr */
  justify-content: center !important;
}

/* Forzar que las columnas se comporten igual */
.our-service-9__wrap, 
.our-service-9__wrap-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 120px !important;
  padding-top: 0 !important;
}

/* Reset de estilos del template que causan asimetría */
.our-service-9__item {
  padding-top: 0 !important;
  margin-top: 0 !important;
  text-align: left !important; /* Uniformidad en alineación */
}

@media only screen and (max-width: 1199px) {
  .our-service-9__wrapper,
  .our-service-9__wrap,
  .our-service-9__wrap-box {
    gap: 60px !important;
  }
}

@media only screen and (max-width: 767px) {
  .our-service-9__wrapper {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .our-service-9__wrap,
  .our-service-9__wrap-box {
    gap: 40px !important;
  }
}

/* Ajustar el color del cuadro de fondo detrás de la imagen de biografía */
.about-overview-9__thumb::before {
  background: var(--lv-marfil) !important;
  z-index: 0 !important; /* Asegurar que esté DETRÁS de la imagen */
}

/* Asegurar que la imagen esté por delante del cuadro de fondo */
.about-overview-9__thumb img {
  position: relative;
  z-index: 2;
}

/* Estilo para el nuevo título de Expertise */
.expertise-title {
  font-size: 55px;
  font-weight: 500;
  line-height: 1.1;
  color: #F47047 !important; /* Naranja de la marca */
  margin-bottom: 80px;
  letter-spacing: -2px;
  font-family: var(--font_bai);
  text-transform: uppercase;
}

@media only screen and (max-width: 991px) {
  .expertise-title {
    font-size: 40px;
    margin-bottom: 40px;
  }
}

@media (max-width: 575px) {
  .expertise-title {
    font-size: 32px;
  }
}

/* Estilos para el carrusel de Podcast */
.our-portfolio-9 {
  overflow: hidden;
  padding-bottom: 80px;
}

.our-portfolio-9__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.our-portfolio-9__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Animated hover line fix: Change black to green */
.our-portfolio-9__item::before,
.our-portfolio-9__item::after {
  background: var(--lv-verde) !important;
}

.our-portfolio-9__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.our-portfolio-9__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.our-portfolio-9__item:hover .our-portfolio-9__thumb img {
  transform: scale(1.1);
}

.our-portfolio-9__content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.our-portfolio-9__subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lv-turquesa);
  margin-bottom: 12px;
  display: block;
}

.podcast-guest {
  font-weight: 700;
  color: #F47047 !important; /* Naranja de la marca */
}

.our-portfolio-9__title {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--lv-negro);
  margin-top: auto;
}

.our-portfolio-9__title a {
  color: inherit;
  transition: color 0.3s ease;
}

.our-portfolio-9__item:hover .our-portfolio-9__title a {
  color: var(--lv-accent);
}

/* Pagination Dots */
.our-portfolio-9__swiper-pagination {
  text-align: center;
  margin-top: 40px;
}

.our-portfolio-9__swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--lv-accent);
  opacity: 0.3;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.our-portfolio-9__swiper-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  opacity: 1;
}

@media (max-width: 768px) {
  .our-portfolio-9__title {
    font-size: 1.2rem;
  }
  .our-portfolio-9__thumb {
    aspect-ratio: 16 / 9;
  }
}

.achievements-section-9__wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}

.achievements-year__active {
  height: 120px !important;
  width: 350px;
  flex-shrink: 0;
}

.achievements-section-9__year {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer; /* Indicar que se puede hacer clic para cambiar */
  transition: opacity 0.3s ease;
}

.achievements-section-9__year:hover {
  opacity: 0.7;
}

.achievements-section-9__year span {
  font-size: 110px;
  line-height: 1;
  font-weight: 700;
  color: var(--lv-verde);
  letter-spacing: -4px;
}

.achievements-section-9__item:hover .achievements-section-9__status {
  color: var(--lv-verde);
}

.achievements-section-9__status {
  font-size: 0.9rem;
  color: var(--lv-accent);
  font-weight: 600;
  transition: color 0.3s ease;
}

.achievements-section-9__arrow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  left: 300px; /* Positioned between year and list */
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none; /* El contenedor no bloquea clicks */
  width: fit-content;
}

.achievements-section-9__swiper-button-prev,
.achievements-section-9__swiper-button-next {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(67, 99, 78, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
  color: var(--lv-verde);
  pointer-events: auto; /* Restaurar clicks en los botones */
}

.achievements-section-9__swiper-button-prev:hover,
.achievements-section-9__swiper-button-next:hover {
  background-color: var(--lv-accent);
  border-color: var(--lv-accent);
  color: #fff;
  transform: scale(1.1);
}

.achievements__active {
  flex: 1;
  overflow: hidden;
}

.achievements-section-9__item {
  border-bottom: 1px solid rgba(67, 99, 78, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.achievements-section-9__number {
  font-size: 1rem;
  color: var(--lv-negro);
  opacity: 0.4;
}

.achievements-section-9__name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--lv-negro);
  flex: 1;
}

.achievements-section-9__status {
  font-size: 0.9rem;
  color: var(--lv-accent);
  font-weight: 600;
}

@media (max-width: 1199px) {
  .achievements-year__active {
    width: 250px;
  }
  .achievements-section-9__year span {
    font-size: 90px;
  }
  .achievements-section-9__arrow {
    left: 210px;
  }
}

@media (max-width: 991px) {
  .achievements-section-9__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .achievements-year__active {
    width: 100%;
    height: 80px !important;
  }
  .achievements-section-9__year span {
    font-size: 80px;
  }
  .achievements-section-9__arrow {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    flex-direction: row;
    margin-bottom: 10px;
  }
  .achievements__active {
    width: 100% !important;
    min-height: 250px;
  }
  .achievements-section-9__item {
    padding: 15px 0;
    flex-wrap: wrap;
  }
  .achievements-section-9__name {
    font-size: 1rem;
    flex: none;
    width: 100%;
  }
  .achievements-section-9__status {
    width: 100%;
    margin-top: 5px;
    font-size: 0.8rem;
  }
}

/* --- Footer Polish --- */
.footer-9 .copyright {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  grid-template-columns: none !important;
  padding: 20px 0;
}

.footer-9 .copyright__text p {
  margin-bottom: 0;
  display: flex !important;
  align-items: center !important;
  gap: 5px;
}

.footer-9 .copyright__text p a {
  color: var(--lv-accent) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--lv-accent);
  transition: all 0.3s ease;
}

.footer-9 .copyright__text p a:hover {
  color: var(--lv-verde) !important;
  border-bottom-color: var(--lv-verde);
}

@media (max-width: 991px) {
  .footer-9 .copyright {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    padding: 30px 0;
  }
  
  .footer-9 .copyright__text p {
    justify-content: center !important;
  }
}

/* Footer Navigation Links visibility and hover */
.footer-9 .info-item a {
  color: #FFFFFF !important;
  opacity: 0.8;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-9 .info-item a:hover {
  color: var(--lv-accent) !important;
  opacity: 1;
  padding-left: 5px; /* Subtle micro-animation */
}

/* Adjust Footer Big Text for longer name */
.footer-9__bottom .title {
  font-size: 8.5vw !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap;
  justify-content: center !important; /* Center to prevent the flex gap */
}

@media (max-width: 1199px) {
  .footer-9__bottom .title {
    font-size: 8vw !important;
  }
}

@media (max-width: 767px) {
  .footer-9__bottom .title {
    font-size: 7vw !important;
  }
}

/* --- RECREATED INNER HEADER (STABLE VERSION) --- */
.recreated-inner-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  z-index: 99999 !important;
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
}

.inner-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.inner-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.inner-nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--lv-verde) !important;
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.inner-nav ul li a:hover,
.inner-nav ul li a.active {
  color: var(--lv-accent) !important;
}

.social-links-inner {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.social-links-inner li a {
  color: var(--lv-verde) !important;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links-inner li a:hover {
  color: var(--lv-accent) !important;
  transform: translateY(-2px);
}

.side-toggle-inner {
  cursor: pointer;
  padding: 10px;
}

/* Mobile Dropdown for Recreated Header */
.recreated-inner-header .mobile-nav-dropdown {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  background: #FFF;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 9999;
}

.recreated-inner-header .mobile-nav-dropdown.active-inner {
  display: block;
}

.recreated-inner-header .mobile-nav-dropdown ul {
  list-style: none;
  padding: 0;
}

.recreated-inner-header .mobile-nav-dropdown ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.recreated-inner-header .mobile-nav-dropdown ul li a {
  font-weight: 600;
  color: var(--lv-verde);
  display: block;
}

.recreated-inner-header .mobile-nav-dropdown:not(.active-inner) {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure smooth-content doesn't have artifacts on route change */
#smooth-content {
  background-color: transparent !important;
  z-index: 1;
  min-height: 100vh !important;
  display: flex;
  flex-direction: column;
}

#smooth-wrapper {
  background-color: var(--lv-marfil); /* Matches body background */
  width: 100%;
}

/* Ensure Breadcrumb area is above any potential ghost layers */
.breadcrumb-area {
  z-index: 2;
  position: relative;
}

.contact-section {
  z-index: 2;
  position: relative;
}

/* Breadcrumb / Hero for Inner Pages */
.breadcrumb-area {
  background-color: rgba(67, 99, 78, 0.85); /* Semi-transparent Brand Green */
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.breadcrumb-area .title {
  color: #FFFFFF;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contact-info-box {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info-box h3 {
  color: var(--lv-verde);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}

.contact-info-list li i {
  color: var(--lv-accent);
  font-size: 1.2rem;
  margin-top: 5px;
}

.contact-form-box {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-form-box .form-group {
  margin-bottom: 20px;
}

.contact-form-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--lv-negro);
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: var(--lv-verde);
}

.brand-btn {
  background: var(--lv-accent);
  color: #FFF;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.brand-btn:hover {
  background: var(--lv-verde);
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  .breadcrumb-area .title {
    font-size: 3rem;
  }
}




/* ---- Hero Scroll Down Arrow ---- */
.hero-scroll-down {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 100;
  width: 60px;
  height: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--lv-verde);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: hero-float 3s ease-in-out infinite;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-scroll-down:hover {
  background-color: var(--lv-accent);
  border-color: var(--lv-accent);
  color: #fff;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .hero-scroll-down {
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* Ocultar controles de reproductor no deseados en la sección Hero/Frase */
.quote-container .mini-audio-player,
.quote-container .audio-controls,
.quote-container button[class*="play"],
.hero-video-bg iframe + div,
.hero-video-bg + div [class*="player"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Supresión agresiva de cualquier control o botón en el Hero */
.hero-section-9 button:not(.rr-btn),
.hero-section-9 .swiper-button-prev,
.hero-section-9 .swiper-button-next,
.hero-section-9 .mini-audio-player,
.hero-section-9 .audio-controls,
.hero-video-bg .player-controls,
.hero-video-bg div[class*="player"],
.hero-video-bg button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ocultar cualquier elemento circular o de control que aparezca en el centro del Hero */
.hero-section-9 .icon,
.hero-section-9 [class*="icon"],
.hero-section-9 [class*="control"],
.hero-section-9 [class*="player"],
.hero-section-9 .video-popup,
.hero-video-bg .icon,
.hero-video-bg [class*="icon"],
.hero-video-bg [class*="control"],
.hero-video-bg [class*="player"],
.hero-video-bg .video-popup {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hero-video-click-mask {
  background: transparent;
  cursor: default;
}
