/*
 * STYLES.CSS - CÓDIGO PERSONALIZADO
 * CSS refactorizado para el sitio web de Dario Quiceno Trainer
 * Bootstrap se mantiene como framework base - este archivo contiene solo los estilos personalizados
 */

/*------------------------------------*\
  #ÍNDICE
  1. Variables y sistema de diseño
  2. Tipografía y fuentes
  3. Estilos base personalizados
  4. Header y navegación
  5. Hero / Banner
  6. Sección About
  7. Sección Classes
  8. Sección Why Choose Me
  9. Sección Numbers
  10. Sección Testimoniales
  11. Sección Gallery
  12. Sección Contact
  13. Footer
  14. Lightbox y modales
  15. Animaciones
\*------------------------------------*/


/*------------------------------------*\
  #1. VARIABLES Y SISTEMA DE DISEÑO
\*------------------------------------*/
:root {
    /* Colores principales */
    --color-primary: #e95cff;
    --color-primary-dark: #b025c9;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #e9e9e9;
    --color-gray-medium: #acacac;
    --color-gray-dark: #333333;
    --color-dark-bg: #0c0c0c;
    --color-dark-secondary: #191919;
    
    /* Espaciado */
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-huge: 96px;
    
    /* Tipografía */
    --font-size-xs: 0.875rem;   /* 14px */
    --font-size-sm: 1rem;       /* 16px */
    --font-size-md: 1.25rem;    /* 20px */
    --font-size-lg: 1.5rem;     /* 24px */
    --font-size-xl: 2rem;       /* 32px */
    --font-size-2xl: 3rem;      /* 48px */
    --font-size-3xl: 4rem;      /* 64px */
    --font-size-4xl: 5rem;      /* 80px */
    --font-size-5xl: 6rem;      /* 96px */
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
  }
  
  
  /*------------------------------------*\
    #2. TIPOGRAFÍA Y FUENTES
  \*------------------------------------*/
  @font-face {
      font-family: 'Grey Goose';
      src: url('../assets/fonts/GREY-GOOSE/Grey-Goose.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
  }
  
  @font-face {
      font-family: 'Grey Goose';
      src: url('../assets/fonts/GREY-GOOSE/Grey-Goose-Bold.ttf') format('truetype');
      font-weight: bold;
      font-style: normal;
      font-display: swap;
  }
  
  @font-face {
      font-family: 'Grey Goose';
      src: url('../assets/fonts/GREY-GOOSE/Grey-Goose-Extrabold.otf') format('opentype');
      font-weight: 800;
      font-style: normal;
      font-display: swap;
  }
  
  @font-face {
      font-family: 'Grey Goose';
      src: url('../assets/fonts/GREY-GOOSE/Grey-Goose-Light.ttf') format('truetype');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
  }
  
  
  /*------------------------------------*\
    #3. ESTILOS BASE PERSONALIZADOS
  \*------------------------------------*/
  body {
    font-family: 'Grey Goose', sans-serif;
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
  }
  
  a {
    text-decoration: none;
    transition: color var(--transition-normal);
  }
  
  .text-primary {
    color: var(--color-primary) !important;
  }
  
  main {
    padding-top: 150px; /* Espacio para el header fijo */
  }
  
  @media (max-width: 767px) {
    main {
      padding-top: 100px;
    }
  }
  
  
  /*------------------------------------*\
    #4. HEADER Y NAVEGACIÓN
  \*------------------------------------*/
  .main-header {
    height: 150px;
    background-color: rgba(0, 0, 0, 0.9);
    transition: all var(--transition-normal);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
  }
  
  .main-header.sticky {
    height: 90px;
    background-color: #111111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .header-container {
    height: 100%;
    padding-left: 60px !important;
    padding-right: 60px !important;
    display: flex;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    max-width: 80%;
    height: auto;
    transition: all var(--transition-normal);
  }
  
  .header-contact p {
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--color-gray-light);
    font-weight: 500;
  }
  
  .header-contact p a {
    color: var(--color-gray-light);
  }
  
  .header-contact p a:hover {
    color: var(--color-primary);
  }
  
  .header-contact p i {
    margin-right: var(--spacing-xs);
    font-size: var(--font-size-md);
    color: var(--color-white);
  }
  
  .hamburger-btn {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    outline: none;
    padding: 0;
  }
  
  .hamburger-btn span,
  .hamburger-btn span:before,
  .hamburger-btn span:after {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    transition: all var(--transition-normal);
  }
  
  .hamburger-btn span {
    top: 60%;
    transform: translateY(-50%);
  }
  
  .hamburger-btn span:before,
  .hamburger-btn span:after {
    content: '';
    left: 0;
  }
  
  .hamburger-btn span:before {
    top: -8px;
  }
  
  .hamburger-btn span:after {
    bottom: -8px;
  }
  
  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    overflow-y: auto;
  }
  
  .fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
  }
  
  .close-menu {
    top: 40px;
    right: 60px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: var(--color-white);
    cursor: pointer;
    outline: none;
    transition: color var(--transition-normal);
    z-index: 1060;
  }
  
  .close-menu:hover {
    color: var(--color-primary);
  }
  
  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  
  .menu-link {
    font-size: var(--font-size-xl);
    font-weight: bold;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    color: var(--color-white);
  }
  
  .menu-link:hover {
    color: var(--color-white);
  }
  
  .menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width var(--transition-slow);
  }
  
  .menu-link:hover::after {
    width: 100%;
  }
  
  .menu-footer {
    padding: 60px;
  }
  
  .menu-contact p {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-md);
  }
  
  .menu-contact a {
    color: var(--color-white);
  }
  
  .menu-contact a:hover {
    color: var(--color-primary);
  }
  
  .social-icons {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
  }
  
  .social-icons a {
    font-size: var(--font-size-md);
    color: var(--color-white);
    transition: color var(--transition-normal);
  }
  
  .social-icons a:hover {
    color: var(--color-primary);
  }
  
  @media (max-width: 991px) {
    .close-menu {
      right: 30px;
    }
    
    .menu-link {
      font-size: var(--font-size-lg);
    }
    
    .menu-footer {
      padding: 30px;
    }
  }
  
  @media (max-width: 767px) {
    .main-header {
      height: 100px;
    }
    
    .main-header.sticky {
      height: 70px;
    }
    
    .header-container {
      padding-left: var(--spacing-sm) !important;
      padding-right: var(--spacing-sm) !important;
    }
    
    .close-menu {
      top: 20px;
      right: 20px;
    }
    
    .menu-link {
      font-size: var(--font-size-md);
    }
    
    .menu-footer {
      padding: 20px;
    }
    
    .social-icons {
      justify-content: center;
      margin-top: var(--spacing-md);
    }
    
    .menu-contact {
      text-align: center;
    }
  }
  
  
  /*------------------------------------*\
    #5. HERO / BANNER
  \*------------------------------------*/
  .hero-section {
    padding-top: 150px;
    padding-bottom: 0;
    overflow: hidden;
    background-color: var(--color-dark-bg);
    position: relative;
  }
  
  .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark-bg);
    z-index: 0;
  }
  
  .hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  
  .hero-bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
  
  .hero-row {
    position: relative;
    z-index: 2;
  }
  
  .hero-image-column {
    margin-left: 180px;
    position: relative;
    z-index: 2;
    padding-right: 0;
  }
  
  .hero-image-wrapper {
    padding-left: 70px;
    padding-right: 160px;
    position: relative;
  }
  
  .hero-image {
    width: 100%;
    border-radius: 4px;
  }
  
  .hero-content-column {
    position: relative;
    z-index: 3;
    margin-left: -15%;
    padding-left: 0;
  }
  
  .hero-content {
    padding-top: 150px;
    padding-right: 70px;
    position: relative;
  }

  .hero-content-branding {
    margin-top: 45px;
    padding: 0 100px;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-white);
    font-weight: normal;
    margin-bottom: 0;
  }
  
  .hero-title {
    font-size: 125px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-text {
    font-size: var(--font-size-lg);
    font-weight: normal;
    color: #efefef;
    margin-bottom: var(--spacing-xl);
    max-width: 90%;
  }
  
  .btn-skewed {
    transform: skewX(170deg);
    font-size: var(--font-size-md);
    font-style: italic;
    font-weight: bold;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 0;
    background: var(--color-primary);
    border: none;
    position: relative;
    transition: all var(--transition-normal);
  }
  
  .btn-skewed:hover {
    background: var(--color-primary-dark);
    transform: skewX(170deg) translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 92, 255, 0.3);
  }
  
  .btn-text {
    display: inline-block;
    transform: skewX(-170deg);
  }
  
  .muscle-icon {
    margin-left: var(--spacing-xs);
  }
  
  .hero-social-column {
    position: relative;
    z-index: 4;
    padding-top: 100px;
  }
  
  .social-icons-wrapper {
    margin-bottom: var(--spacing-xs);
  }

  .show-img {
    display: block;
  }

  .hide-img {
    display: none;
  }
  
  .social-icon {
    font-size: var(--font-size-lg);
    color: var(--color-white);
    margin: 0 17px;
    transition: color var(--transition-normal), transform var(--transition-fast);
  }
  
  .social-icon:hover {
    color: var(--color-primary);
    transform: scale(1.1);
  }
  
  .divider-wrapper {
    max-width: 190px;
    margin: 20px auto 0;
  }
  
  .divider-line {
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: skewX(150deg);
    border-radius: 0;
  }
  
  @media (max-width: 1200px) {
    .hero-title {
      font-size: 80px;
    }
    
    .hero-subtitle {
      font-size: var(--font-size-lg);
    }
    
    .hero-text {
      font-size: var(--font-size-md);
    }
    
    .hero-content-column {
      margin-left: -20%;
    }
    
    .hero-image-wrapper {
      padding-right: 120px;
    }
  }
  
  @media (max-width: 992px) {
    .hero-section {
      padding-top: 200px;
    }
    
    .hero-content-column {
      margin-left: 0;
    }
    
    .hero-image-column {
      margin-left: 0;
    }
    
    .hero-image-wrapper {
      padding-left: var(--spacing-sm);
      padding-right: var(--spacing-sm);
      margin-bottom: 30px;
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-content {
      padding-right: var(--spacing-sm);
      padding-top: 0;
      text-align: center;
    }
    
    .hero-title {
      font-size: 60px;
    }
    
    .hero-subtitle {
      font-size: var(--font-size-md);
    }
    
    .hero-text {
      font-size: var(--font-size-sm);
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-social-column {
      padding-top: var(--spacing-xl);
    }
  }
  
  @media (max-width: 576px) {
    .hero-section {
      padding-top: 50px;
    }
    
    .hero-title {
      font-size: 48px;
    }
    
    .hero-subtitle {
      font-size: var(--font-size-md);
    }
    
    .btn-skewed {
      padding: var(--spacing-xs) var(--spacing-md);
      font-size: var(--font-size-sm);
    }
    
    .hero-image-wrapper {
      max-width: 100%;
    }
  }
  
  
  /*------------------------------------*\
    #6. SECCIÓN ABOUT
  \*------------------------------------*/
  .about-section {
    padding: 155px 0 50px;
    background-color: var(--color-dark-bg);
    position: relative;
    overflow: hidden;
  }
  
  .about-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  
  .about-bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
  }
  
  .about-features-column,
  .about-video-column {
    position: relative;
    z-index: 2;
    padding: 0 var(--spacing-sm);
  }
  
  .about-video-column {
    padding-left: var(--spacing-xl);
  }
  
  .feature-item {
    margin-bottom: 45px;
  }
  
  .feature-icon {
    margin-top: var(--spacing-xs);
    max-width: 47px;
  }
  
  .feature-title {
    font-size: var(--font-size-xl);
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
  }
  
  .feature-text {
    font-size: var(--font-size-md);
    font-weight: 500;
    color: var(--color-gray-medium);
  }
  
  .video-wrapper {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
  }
  
  .video-wrapper img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
  }
  
  .video-wrapper:hover img {
    transform: scale(1.03);
  }
  
  @media (max-width: 1200px) {
    .feature-title {
      font-size: var(--font-size-lg);
    }
    
    .feature-text {
      font-size: var(--font-size-sm);
    }
  }
  
  @media (max-width: 992px) {
    .about-section {
      padding: 100px 0 40px;
    }
    
    .about-video-column {
      padding-left: var(--spacing-sm);
      margin-top: var(--spacing-xl);
    }
    
    .feature-item {
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 767px) {
    .feature-title {
      font-size: var(--font-size-md);
    }
    
    .feature-text {
      font-size: var(--font-size-sm);
    }
    
    .about-features-column {
      padding: 0 var(--spacing-sm);
    }
    
    .about-video-column {
      padding: 0 var(--spacing-sm);
    }
  }
  
  
  /*------------------------------------*\
    #7. SECCIÓN CLASSES
  \*------------------------------------*/
  .classes-section {
    padding: 160px 0 100px;
    background-color: var(--color-black);
    overflow: hidden;
  }
  
  .section-line-wrapper {
    max-width: 38px;
    margin-left: 5px;
    margin-bottom: var(--spacing-sm);
  }
  
  .section-line {
    height: 7px;
    background-color: var(--color-primary);
    transform: skewX(150deg);
    border-radius: 0;
  }
  
  .classes-section .section-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    font-style: italic;
    line-height: 0.9;
    color: var(--color-white);
    margin-bottom: -90px;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
  }
  
  .classes-grid {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  
  .class-item {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .class-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 0;
    transform: translateZ(0);
  }
  
  .class-image-gray,
  .class-image-color {
    position: relative; /* Cambiar de absolute a relative */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 1; /* Ambas imágenes visibles */
  }
  
  /*
  .class-image-color {
    opacity: 0;
    z-index: 1;
  }
  
  .class-image-gray {
    opacity: 1;
    z-index: 0;
  }
  */
  
  /*
  .class-image-wrapper:hover .class-image-gray {
    opacity: 0;
  }
  
  .class-image-wrapper:hover .class-image-color {
    opacity: 1;
    transform: scale(1.1);
  }
  */
  
  .class-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
  }
  
  .btn-all-classes {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 30px;
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    transition: all var(--transition-normal);
  }
  
  .btn-all-classes:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 92, 255, 0.3);
  }
  
  .btn-all-classes i {
    margin-left: 10px;
  }
  
  @media (max-width: 1400px) {
    .classes-section .section-title {
      font-size: var(--font-size-4xl);
    }
  }
  
  @media (max-width: 1200px) {
    .classes-section .section-title {
      font-size: var(--font-size-3xl);
      margin-bottom: -60px;
    }
    
    .classes-grid {
      margin-top: 100px;
    }
  }
  
  @media (max-width: 992px) {
    .classes-section {
      padding: 120px 0 80px;
    }
    
    .class-item {
      margin-bottom: 20px;
    }
    
    .classes-section .section-title {
      font-size: var(--font-size-2xl);
      margin-bottom: -40px;
    }
  }
  
  @media (max-width: 768px) {
    .classes-grid {
      margin-top: 80px;
    }
    
    .btn-all-classes {
      padding: 12px 25px;
      font-size: 15px;
    }
  }
  
  @media (max-width: 576px) {
    .class-item {
      padding: 0 5px;
      margin-bottom: 10px;
    }
    
    .classes-grid {
      margin-top: 60px;
    }
  }
  
  
  /*------------------------------------*\
    #8. SECCIÓN WHY CHOOSE ME
  \*------------------------------------*/
  .why-choose-me-section {
    padding: 50px 0 0;
    background-color: var(--color-black);
    overflow: hidden;
  }
  
  .why-choose-me-image-column {
    position: relative;
  }
  
  .why-choose-me-image-wrapper {
    padding-top: 150px;
    max-width: 100%;
  }
  
  .why-choose-me-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform var(--transition-normal);
  }
  
  .why-choose-me-image-wrapper:hover img {
    transform: scale(1.02);
  }
  
  .why-choose-me-content-column {
    position: relative;
    z-index: 9;
  }
  
  .why-choose-me-content {
    padding-right: 20px;
    padding-top: 0;
    margin-left: -100px;
  }
  
  .why-section-title {
    font-size: 120px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 20px;
    margin-top: 50px;
    text-transform: uppercase;
  }
  
  .section-text {
    font-size: 22px;
    color: var(--color-gray-light);
    margin-top: 60px;
    margin-bottom: 60px;
    line-height: 1.7;
  }
  
  .skills-wrapper {
    margin-bottom: 75px;
  }
  
  .skill-item {
    margin-bottom: 40px;
  }
  
  .skill-item:last-child {
    margin-bottom: 0;
  }
  
  .skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .skill-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
  }
  
  .skill-percentage {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
  }
  
  .skill-bar {
    height: 5px;
    background-color: #2d1662;
    border-radius: 0;
    overflow: hidden;
    position: relative;
  }
  
  .skill-progress {
    height: 100%;
    background-color: var(--color-primary);
    width: 0;
    transition: width 1.5s ease;
  }
  
  .biography-link-wrapper {
    text-align: right;
  }
  
  .biography-link {
    display: inline-block;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    position: relative;
    padding-right: 10px;
  }
  
  .biography-link i {
    color: var(--color-primary);
    margin-left: 8px;
    transition: transform 0.3s ease;
  }
  
  .biography-link:hover {
    color: var(--color-primary);
  }
  
  .biography-link:hover i {
    transform: translateX(5px);
  }
  
  @media (max-width: 1200px) {
    .why-choose-me-content {
      margin-left: -50px;
    }
    
    .why-section-title {
      font-size: 90px;
    }
    
    .section-text {
      font-size: 18px;
    }
  }
  
  @media (max-width: 992px) {
    .why-choose-me-section {
      padding: 40px 0 50px;
    }
    
    .why-choose-me-image-wrapper {
      padding-top: 0;
      max-width: 80%;
      margin: 0 auto;
    }
    
    .why-choose-me-content {
      margin-left: 0;
      padding: 50px 15px;
      text-align: center;
    }
    
    .why-section-title {
      font-size: 70px;
      margin-top: 30px;
      text-align: center;
    }
    
    .section-text {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      max-width: 80%;
    }
    
    .skill-item {
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  @media (max-width: 768px) {
    .why-choose-me-image-wrapper {
      max-width: 100%;
    }
    
    .why-choose-me-content {
      padding: 40px 15px;
    }
    
    .why-section-title {
      font-size: 50px;
      margin-top: 20px;
    }
    
    .skill-title, 
    .skill-percentage {
      font-size: 16px;
    }
    
    .section-text {
      font-size: 16px;
      max-width: 100%;
    }
    
    .skill-item {
      max-width: 100%;
    }
  }
  
  
/*------------------------------------*\
  #9. SECCIÓN NUMBERS
\*------------------------------------*/
.numbers-section {
    padding: 260px 0 180px;
    background-color: var(--color-black);
    overflow: hidden;
    position: relative;
  }
  
  .numbers-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/NO-BG.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
  }
  
  .numbers-title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 240px;
    font-weight: 900;
    color: rgba(30, 30, 30, 0.5);
    white-space: nowrap;
    z-index: 2;
    letter-spacing: 10px;
  }
  
  .counter-item {
    position: relative;
    z-index: 3;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .counter-item.animated {
    opacity: 1;
    transform: translateY(0);
  }
  
  .counter-item[data-animation="fade-down"] {
    transform: translateY(0px);
  }
  
  .counter-wrapper {
    padding: 20px 10px;
    text-align: center;
  }
  
  .counter-number {
    font-size: 60px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .counter-suffix {
    font-size: 60px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
  }
  
  .counter-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
    line-height: 1.3;
  }
  
  @media (max-width: 1400px) {
    .numbers-title-bg {
      font-size: 200px;
    }
    
    .counter-number, .counter-suffix {
      font-size: 50px;
    }
    
    .counter-title {
      font-size: 18px;
    }
  }
  
  @media (max-width: 1200px) {
    .numbers-section {
      padding: 200px 0 120px;
    }
    
    .numbers-title-bg {
      font-size: 160px;
    }
    
    .counter-number, .counter-suffix {
      font-size: 45px;
    }
  }
  
  @media (max-width: 992px) {
    .numbers-section {
      padding: 150px 0 100px;
    }
    
    .numbers-title-bg {
      font-size: 120px;
    }
    
    .counter-item {
      margin-bottom: 40px;
    }
    
    .counter-title {
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  @media (max-width: 768px) {
    .numbers-section {
      padding: 100px 0 80px;
    }
    
    .numbers-title-bg {
      font-size: 80px;
    }
    
    .counter-number, .counter-suffix {
      font-size: 40px;
    }
    
    .counter-title {
      font-size: 16px;
    }
  }
  
  @media (max-width: 576px) {
    .counter-title {
      max-width: 100%;
    }
  }
  
  
  /*------------------------------------*\
    #10. SECCIÓN TESTIMONIALES
  \*------------------------------------*/
  .testimonial-section {
    padding: 150px 0 100px;
    background-color: var(--color-dark-bg);
    overflow: hidden;
    position: relative;
  }
  
  .testimonial-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(12, 12, 12, 0.9);
    z-index: 1;
  }
  
  .testimonial-bg-wrapper {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }
  
  .testimonial-bg {
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/testimonial-bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
  }
  
  .testimonial-section .section-line-wrapper {
    max-width: 38px;
    margin-left: 5px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
  }
  
  .testimonial-section .section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: var(--color-white);
    text-transform: uppercase;
    position: relative;
    z-index: 4;
    margin-bottom: 50px;
  }
  
  .testimonial-carousel {
    position: relative;
    z-index: 2;
    margin-bottom: 70px;
  }
  
  .testimonial-item {
    outline: none;
  }
  
  .testimonial-content-wrap {
    position: relative;
  }
  
  .testimonial-author-image {
    position: relative;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
  }
  
  .testimonial-author-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }
  
  .testimonial-quote {
    font-size: 110px;
    font-weight: 700;
    line-height: 0;
    margin-top: 135px;
    color: var(--color-primary);
    position: relative;
    font-family: Georgia, serif;
    z-index: -1;
  }
  
  .testimonial-text {
    font-size: 21px;
    font-weight: 500;
    font-style: normal;
    color: var(--color-white);
    letter-spacing: 0;
    position: relative;
    margin-bottom: 25px;
  }
  
  .testimonial-text p {
    margin-top: -50px;
    margin-left: 30px;
  }
  
  .testimonial-author {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0;
  }
  
  /* Flechas de navegación */
  .slick-prev,
  .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 43px;
    height: 43px;
    font-size: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
  }
  
  .slick-prev {
    left: -95px;
  }
  
  .slick-next {
    right: -95px;
  }
  
  .slick-prev:before,
  .slick-next:before {
    font-family: 'FontAwesome';
    font-size: 43px;
    color: #555555;
    transition: color 0.3s ease;
  }
  
  .slick-prev:before {
    content: "\f104"; /* Flecha izquierda FontAwesome */
  }
  
  .slick-next:before {
    content: "\f105"; /* Flecha derecha FontAwesome */
  }
  
  .slick-prev:hover:before,
  .slick-next:hover:before {
    color: var(--color-white);
  }
  
  .more-reviews-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
  }
  
  .more-reviews-link {
    display: inline-block;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-normal);
  }
  
  .more-reviews-link i {
    color: var(--color-primary);
    margin-left: 8px;
    transition: transform 0.3s ease;
  }
  
  .more-reviews-link:hover {
    color: var(--color-primary);
  }
  
  .more-reviews-link:hover i {
    transform: translateX(5px);
  }
  
  @media (max-width: 1400px) {
    .testimonial-section .section-title {
      font-size: var(--font-size-3xl);
    }
    
    .testimonial-quote {
      font-size: 180px;
    }
  }
  
  @media (max-width: 1200px) {
    .testimonial-section .section-title {
      font-size: var(--font-size-2xl);
      margin-bottom: 40px;
    }
    
    .testimonial-quote {
      font-size: 150px;
      margin-top: 120px;
    }
    
    .slick-prev {
      left: -50px;
    }
    
    .slick-next {
      right: -50px;
    }
  }
  
  @media (max-width: 992px) {
    .testimonial-section {
      padding: 100px 0 70px;
    }
    
    .testimonial-section .section-title {
      font-size: var(--font-size-xl);
      margin-bottom: 40px;
    }
    
    .testimonial-quote {
      font-size: 120px;
      margin-top: 80px;
    }
    
    .testimonial-text {
      font-size: 18px;
    }
    
    .testimonial-text p {
      margin-top: -40px;
      margin-left: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .testimonial-section .section-title {
      font-size: var(--font-size-lg);
    }
    
    .testimonial-quote {
      font-size: 90px;
      margin-top: 30px;
    }
    
    .testimonial-author-image {
      margin-bottom: 30px;
    }
    
    .testimonial-text p {
      margin-top: -30px;
      margin-left: 10px;
      font-size: 16px;
    }
    
    .slick-prev,
    .slick-next {
      top: auto;
      bottom: -40px;
      transform: none;
    }
    
    .slick-prev {
      left: 35%;
    }
    
    .slick-next {
      right: 35%;
    }
  }
  
  
  /*------------------------------------*\
    #11. SECCIÓN GALLERY
  \*------------------------------------*/
  .gallery-section {
    padding: 110px 0 100px;
    background-color: var(--color-dark-bg);
    overflow: hidden;
    position: relative;
  }
  
  .gallery-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(12, 12, 12, 0.9);
    z-index: 1;
  }
  
  .gallery-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }
  
  .gallery-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
  }
  
  .gallery-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-link {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .gallery-link:hover img {
    transform: scale(1.1);
  }
  
  .instagram-follow-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .instagram-follow-link {
    display: inline-block;
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
  }
  
  .instagram-follow-link i {
    margin-right: 8px;
    color: var(--color-primary);
  }
  
  .instagram-follow-link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
  }
  
  /* Lightbox personalizado */
  .custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
  }
  
  .custom-lightbox.active {
    opacity: 1;
    display: block;
  }
  
  .lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1;
  }
  
  .lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 80%;
    z-index: 2;
    text-align: center;
  }
  
  .lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .lightbox-image.active {
    opacity: 1;
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #555555;
    font-size: 60px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
  }
  
  .lightbox-close:hover {
    color: var(--color-white);
  }
  
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #555555;
    font-size: 43px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .lightbox-prev {
    left: 20px;
  }
  
  .lightbox-next {
    right: 20px;
  }
  
  .lightbox-prev:hover,
  .lightbox-next:hover {
    color: var(--color-white);
  }
  
  .lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--color-white);
    font-size: 16px;
    z-index: 10;
  }
  
  .lightbox-social {
    position: absolute;
    top: 38px;
    right: 100px;
    z-index: 10;
    display: flex;
    gap: 20px;
  }
  
  .lightbox-social a {
    color: #555555;
    font-size: 18px;
    transition: color 0.3s ease;
  }
  
  .lightbox-social a:hover {
    color: var(--color-white);
  }
  
  body.lightbox-open {
    overflow: hidden;
  }
  
  @media (max-width: 1200px) {
    .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .gallery-section {
      padding: 80px 0 70px;
    }
    
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .instagram-follow-link {
      font-size: 15px;
    }
    
    .lightbox-social {
      right: 70px;
    }
    
    .lightbox-close {
      font-size: 40px;
    }
  }
  
  @media (max-width: 576px) {
    .gallery-grid {
      grid-template-columns: repeat(1, 1fr);
    }
    
    .lightbox-social {
      display: none;
    }
  }
  
  
  /*------------------------------------*\
    #12. SECCIÓN CONTACT
  \*------------------------------------*/
  .contact-section {
    padding: 50px 0 80px;
    background-color: var(--color-dark-secondary);
    overflow: hidden;
    position: relative;
  }
  
  .contact-info-column {
    padding-right: 30px;
    padding-left: 160px; /* Margen izquierdo de 160px */
  }
  
  .contact-form-column {
    padding-right: 160px; /* Margen derecho de 160px */
    padding-left: 20px;
  }
  
  .contact-section .section-line-wrapper {
    max-width: 38px;
    margin-left: 5px;
    margin-bottom: 5px;
    position: relative;
  }
  
  .contact-section .section-title {
    font-size: 50px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
  }
  
  .contact-description {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 45px;
  }
  
  .contact-details {
    margin-bottom: 40px;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: var(--color-gray-medium);
    font-size: 22px;
    font-weight: 400;
  }
  
  .contact-item span a {
    color: var(--color-gray-medium);
    transition: color var(--transition-normal);
  }
  
  .contact-item span a:hover {
    color: var(--color-primary);
  }
  
  .contact-item i {
    color: var(--color-white);
    margin-right: 16px;
    margin-top: 7px;
    font-size: 17px;
    width: 17px;
  }
  
  .contact-form {
    margin-top: 10px;
  }
  
  .contact-form .form-group {
    margin-bottom: 30px;
  }
  
  .contact-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #333333;
    border-radius: 0;
    padding: 10px 0;
    color: var(--color-white);
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  
  .contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--color-primary);
  }
  
  .contact-form .form-control::placeholder {
    color: #6d6d6d;
  }
  
  .contact-form textarea.form-control {
    min-height: 120px;
    resize: none;
  }
  
  .terms-checkbox {
    margin-bottom: 35px !important;
  }
  
  .form-check-input {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid #333333;
    border-radius: 50%;
    /* margin-right: 10px; */
    cursor: pointer;
  }
  
  .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }
  
  .form-check-label {
    color: var(--color-gray-medium);
    font-size: 16px;
    cursor: pointer;
  }
  
  .form-check-label a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-normal);
  }
  
  .form-check-label a:hover {
    color: var(--color-primary);
  }
  
  .btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 40px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
  }
  
  .btn-submit:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 92, 255, 0.3);
  }
  
  @media (max-width: 1400px) {
    .contact-info-column {
      padding-left: 100px;
    }
    
    .contact-form-column {
      padding-right: 100px;
    }
  }
  
  @media (max-width: 1200px) {
    .contact-info-column {
      padding-left: 60px;
      padding-right: 30px;
    }
    
    .contact-form-column {
      padding-right: 60px;
      padding-left: 30px;
    }
    
    .contact-section .section-title {
      font-size: 40px;
    }
  }
  
  @media (max-width: 992px) {
    .contact-section {
      padding: 80px 0 60px;
    }
    
    .contact-info-column {
      padding-left: 40px;
      padding-right: 40px;
      margin-bottom: 50px;
    }

    .contact-form-column {
      padding-right: 40px;
      padding-left: 40px;
    }
    
    .contact-form-column a {
        color: #bebebe;
    }    
    
    .contact-section .section-title {
      text-align: center;
    }
    
    .contact-description {
      text-align: center;
    }
    
    .contact-details {
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  @media (max-width: 768px) {
    .contact-info-column,
    .contact-form-column {
      padding-left: 20px;
      padding-right: 20px;
    }
    
    .contact-section .section-title {
      font-size: 36px;
    }
    
    .btn-submit {
      width: 100%;
    }
    
    .contact-details {
      max-width: 100%;
    }
  }
  
  
  /*------------------------------------*\
    #13. FOOTER
  \*------------------------------------*/
  .main-footer {
    background-color: var(--color-black);
    padding: 75px 0;
    border-top: 1px solid #222222;
    height: 255px; /* Altura fija como solicitado */
    display: flex;
    align-items: center;
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-column {
    padding: 0 20px;
  }
  
  .footer-logo-wrapper {
    margin-top: 26px; /* Todos los elementos comienzan a la misma altura */
  }
  
  .footer-logo-wrapper img {
    max-width: 80%;
    height: auto;
  }
  
  .footer-social-column {
    margin-top: 26px; /* Misma altura que el logo */
  }
  
  .footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
  }
  
  .footer-social-icon {
    color: #e9e9e9; /* Color como solicitado */
    font-size: 26px;
    transition: all var(--transition-normal);
  }
  
  .footer-social-icon:hover {
    color: var(--color-white); /* Blanco al hacer hover */
    transform: scale(1.1);
  }
  
  .footer-copyright-column {
    margin-top: 26px; /* Misma altura que los otros elementos */
  }
  
  .footer-copyright {
    color: #e9e9e9; /* Color como solicitado */
    font-size: 17px; /* Tamaño de fuente solicitado */
    line-height: 1.7;
    text-align: right;
  }
  
  .footer-copyright p {
    margin-bottom: 0;
  }
  
  @media (max-width: 992px) {
    .main-footer {
      height: auto; /* En móviles, la altura es automática */
      padding: 50px 0;
    }
    
    .footer-copyright {
      text-align: center;
      margin-top: 30px;
    }
    
    .footer-logo-wrapper {
      text-align: center;
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .footer-social-column {
      margin: 20px 0;
    }
    
    .footer-social-icons {
      gap: 25px;
    }
    
    .footer-social-icon {
      font-size: 22px;
    }
  }
  
  
  /*------------------------------------*\
    #14. LIGHTBOX Y MODALES
  \*------------------------------------*/
  /* Modal para PDF */
  .pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .pdf-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
  }
  
  .pdf-modal-content {
    background-color: var(--color-dark-secondary);
    border: 1px solid #333;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  
  .pdf-modal.active .pdf-modal-content {
    transform: scale(1);
  }
  
  .pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
  }
  
  .pdf-modal-title {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
  }
  
  .pdf-modal-close {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
  }
  
  .pdf-modal-close:hover {
    color: var(--color-primary-dark);
  }
  
  .pdf-modal-body {
    padding: 20px;
    overflow: hidden;
  }
  
  .pdf-modal-body iframe {
    border: none;
    display: block;
    background-color: #fff;
    width: 100%;
    height: 500px;
  }
  
  @media (max-width: 768px) {
    .pdf-modal-content {
      width: 95%;
    }
    
    .pdf-modal-body iframe {
      height: 400px;
    }
  }
  
  @media (max-width: 576px) {
    .pdf-modal-body iframe {
      height: 350px;
    }
  }
  
  
  /*------------------------------------*\
    #15. ANIMACIONES
  \*------------------------------------*/
  .animate-element {
    opacity: 0;
    transition: all 1s ease;
  }
  
  .animate-from-left {
    transform: translateX(-100px);
  }
  
  .animate-from-right {
    transform: translateX(100px);
  }
  
  .animate-element.animated {
    opacity: 1;
    transform: translateX(0);
  }
  
  .delay-200 {
    transition-delay: 0.2s;
  }
  
  .delay-400 {
    transition-delay: 0.4s;
  }
  
  .delay-600 {
    transition-delay: 0.6s;
  }
  
  .delay-800 {
    transition-delay: 0.8s;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .fade-in {
    animation: fadeIn 0.8s ease forwards;
  }
  
  .fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }
  
  /* Animación para móvil */
  @media (max-width: 768px) {
    .animate-from-left,
    .animate-from-right {
      transform: translateY(50px);
    }
    
    .animate-element.animated {
      transform: translateY(0);
    }
}

/* Correcciones para el header en dispositivos móviles */

/* Ajuste del padding del contenedor del header para móviles */
@media (max-width: 576px) {
    .header-container {
      padding-left: 15px !important; /* Reducir el padding izquierdo */
      padding-right: 15px !important; /* Reducir el padding derecho */
    }
    
    /* Ajustar el tamaño y posición del logo para evitar que se salga */
    .logo img {
      max-width: 70%; /* Reducir tamaño máximo en móviles */
      transition: all 0.3s ease;
    }
    
    /* Ajuste específico para el logo cuando el header está en modo sticky */
    .main-header.sticky .logo img {
      max-width: 60%; /* Reducir aún más cuando está en sticky */
    }
    
    /* Ajuste para el botón de hamburguesa para que no esté tan pegado al borde */
    .menu-toggle {
      margin-right: 20px; /* Añadir un pequeño margen a la derecha */
    }
    
    /* Altura del header ajustada para móviles */
    .main-header {
      height: 80px; /* Altura inicial más pequeña para móviles */
    }
    
    .main-header.sticky {
      height: 60px; /* Altura en sticky más pequeña para móviles */
    }
}
  
  /* Ajuste adicional para pantallas muy pequeñas */
@media (max-width: 375px) {
    .logo img {
      max-width: 65%; /* Reducir aún más para las pantallas más pequeñas */
    }
    
    .main-header.sticky .logo img {
      max-width: 55%; /* Reducir aún más en sticky para pantallas muy pequeñas */
    }
}

/* Correcciones para la sección Why Choose Me en dispositivos móviles */

@media (max-width: 767px) {
    /* Ajustes generales para la sección */
    .why-choose-me-section {
      padding: 40px 0 30px;
      text-align: center;
    }
    
    /* Ajustes para la imagen */
    .why-choose-me-image-wrapper {
      padding-top: 0;
      max-width: 100%;
      margin: 0 auto 30px;
    }
    
    .why-choose-me-image-wrapper img {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      border-radius: 4px;
    }
    
    /* Ajustes para el contenido */
    .why-choose-me-content {
      margin-left: 0 !important;
      padding: 0 15px !important;
      text-align: center;
    }
    
    /* Ajustes específicos para el título */
    .why-section-title {
      font-size: 40px !important;
      margin-top: 0 !important;
      margin-bottom: 20px !important;
      text-align: center;
      width: 100% !important;
    }
    
    /* Ajustes para el texto descriptivo */
    .section-text {
      font-size: 16px !important;
      margin-top: 20px !important;
      margin-bottom: 30px !important;
      text-align: center !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100% !important;
      padding: 0 10px;
    }
    
    /* Ajustes para las barras de habilidades */
    .skills-wrapper {
      margin-bottom: 40px;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }
    
    .skill-item {
      margin-bottom: 25px;
      max-width: 100%;
    }
    
    .skill-header {
      justify-content: space-between; /* Asegura que título y porcentaje estén alineados correctamente */
    }
    
    .skill-title {
      font-size: 15px;
      text-align: left;
    }
    
    .skill-percentage {
      font-size: 15px;
      text-align: right;
    }
    
    .skill-bar {
      margin-bottom: 5px;
    }
    
    /* Layout específico para cambiar la distribución de columnas */
    .why-choose-me-section .row {
      display: flex;
      flex-direction: column;
    }
    
    .why-choose-me-image-column,
    .why-choose-me-content-column {
      width: 100% !important;
      max-width: 100% !important;
      flex: 0 0 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding: 0 !important;
    }
    
    /* Se elimina el offset en móvil */
    .offset-2 {
      margin-left: 0 !important;
    }
    
    /* Ajustar espaciado entre imagen y contenido */
    .why-choose-me-content-column {
      margin-top: 20px;
    }
}
  
  /* Ajustes específicos para pantallas extra pequeñas */
@media (max-width: 375px) {
    .why-section-title {
      font-size: 36px !important;
    }
    
    .section-text {
      font-size: 15px !important;
    }
}

/* Correcciones para la sección Numbers en dispositivos móviles */

@media (max-width: 767px) {
    /* Ajustes generales para la sección */
    .numbers-section {
      padding: 80px 0 60px; /* Reducir el padding vertical */
    }
    
    /* Ajustar tamaño del título de fondo */
    .numbers-title-bg {
      font-size: 60px;
      opacity: 0.3; /* Aumentar ligeramente la opacidad para mejor legibilidad */
    }
    
    /* Cambiar la disposición de los contadores a 2x2 */
    .numbers-section .row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    /* Ajustar el ancho de cada contador para formato 2x2 */
    .counter-item {
      width: 50% !important;
      max-width: 50% !important;
      flex: 0 0 50% !important;
      margin-bottom: 30px;
      padding: 0 5px;
    }
    
    /* Ajustes visuales para los números */
    .counter-number, 
    .counter-suffix {
      font-size: 36px; /* Reducir tamaño de fuente */
      line-height: 1.1;
    }
    
    /* Ajustar estilos para los títulos */
    .counter-title {
      font-size: 12px; /* Reducir tamaño */
      margin-top: 5px;
      line-height: 1.3;
      height: 45px; /* Altura fija para evitar desalineación */
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 5px;
    }
    
    /* Ajustes para el wrapper del contador */
    .counter-wrapper {
      padding: 10px 5px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    /* Eliminar cualquier margen extra */
    .counter-item[data-animation="fade-up"],
    .counter-item[data-animation="fade-down"] {
      transform: none; /* Eliminar transformaciones iniciales para mejor alineación */
    }
}
  
  /* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 375px) {
    .numbers-section {
      padding: 60px 0 40px;
    }
    
    .counter-number, 
    .counter-suffix {
      font-size: 30px;
    }
    
    .counter-title {
      font-size: 11px;
      height: 40px;
    }
    
    .numbers-title-bg {
      font-size: 50px;
    }
}

/* Correcciones para la sección Testimonial en dispositivos móviles */

@media (max-width: 767px) {
    /* Ajustes generales para la sección */
    .testimonial-section {
      padding: 70px 0 50px;
    }
    
    /* Ajustes para el título */
    .testimonial-section .section-title {
      font-size: var(--font-size-xl);
      margin-bottom: 30px;
    }
    
    /* Ajustes para la imagen del autor */
    .testimonial-author-image {
      margin-bottom: 50px; /* Espacio para las flechas de navegación */
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }
    
    /* Estilos para las comillas */
    .testimonial-quote {
      font-size: 70px;
      margin-top: 0;
      text-align: center;
      margin-bottom: 20px;
    }
    
    /* Ajustes para el texto del testimonio */
    .testimonial-text {
      font-size: 16px;
      line-height: 1.6;
    }
    
    .testimonial-text p {
      margin-top: 0;
      margin-left: 0;
      text-align: center;
    }
    
    /* Ajustes para el nombre del autor */
    .testimonial-author {
      font-size: 18px;
      text-align: center;
      margin-top: 20px;
    }
    
    /* POSICIONAMIENTO DE LAS FLECHAS DE NAVEGACIÓN */
    .slick-prev,
    .slick-next {
      top: 35% !important; /* Colocar a la altura media de la imagen */
      bottom: auto !important;
      transform: translateY(-50%) !important;
      background-color: rgba(0, 0, 0, 0.4) !important;
      width: 36px !important;
      height: 36px !important;
      border-radius: 50% !important;
      z-index: 10 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    .slick-prev {
      left: 10px !important; /* Posicionar a la izquierda */
    }
    
    .slick-next {
      right: 10px !important; /* Posicionar a la derecha */
    }
    
    .slick-prev:before,
    .slick-next:before {
      font-size: 24px !important;
      color: white !important; /* Asegurar que las flechas sean blancas */
      opacity: 1 !important;
      line-height: 1 !important;
    }
    
    /* Añadir estilo hover para mejor feedback */
    .slick-prev:hover,
    .slick-next:hover {
      background-color: rgba(233, 92, 255, 0.7) !important; /* Color primario semi-transparente */
    }
    
    /* Asegurar que el contenedor tenga posición relativa */
    .testimonial-content-wrap {
      position: relative;
    }
    
    /* Ajustes para la navegación del carrusel en general */
    .slick-slider {
      padding: 0 15px; /* Añadir padding lateral para evitar que las flechas toquen bordes */
    }
}
  
  /* Ajustes para pantallas muy pequeñas */
@media (max-width: 375px) {
    .testimonial-quote {
      font-size: 60px;
    }
    
    .testimonial-text {
      font-size: 15px;
    }
    
    .slick-prev,
    .slick-next {
      width: 30px !important;
      height: 30px !important;
    }
    
    .slick-prev:before,
    .slick-next:before {
      font-size: 20px !important;
    }
}

/* Corrección de flechas del carrusel para dispositivos móviles */
@media (max-width: 767px) {
    /* Posicionamiento y tamaño de flechas */
    .slick-prev,
    .slick-next {
        width: 43px !important; /* Mismo tamaño que en escritorio */
        height: 43px !important;
        top: 35% !important; /* Mantener a la altura de la imagen */
        background-color: transparent !important; /* Eliminar fondo */
        border-radius: 0 !important; /* Eliminar border-radius */
        z-index: 10 !important;
    }
    
    .slick-prev {
        left: -10px !important; /* Mover más hacia fuera */
    }
    
    .slick-next {
        right: -10px !important; /* Mover más hacia fuera */
    }
    
    /* Apariencia de los iconos de las flechas */
    .slick-prev:before,
    .slick-next:before {
        font-size: 43px !important; /* Tamaño original */
        color: #555555 !important; /* Color gris original */
        opacity: 1 !important;
        font-weight: bold !important; /* Añadir negrita */
    }
    
    /* Hover estado */
    .slick-prev:hover:before,
    .slick-next:hover:before {
        color: #555555 !important; /* Mantener color al hacer hover */
    }
    
    /* Para el caso específico de 375px o menos */
    @media (max-width: 375px) {
        .slick-prev {
            left: -25px !important; /* Mover más hacia fuera en pantallas muy pequeñas */
        }
        
        .slick-next {
            right: -25px !important; /* Mover más hacia fuera en pantallas muy pequeñas */
        }
    }
}

/* Corrección para la sección Numbers en 768px */
@media (min-width: 768px) and (max-width: 991px) {
    /* Asegurar que todos los contadores estén en línea y alineados */
    .numbers-section .row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start; /* Alinear todos en la parte superior */
    }
    
    /* Ajustar ancho y margen de los contadores */
    .counter-item {
        width: 25% !important;
        max-width: 25% !important;
        flex: 0 0 25% !important;
        padding: 0 5px; /* Reducir padding lateral */
        margin-bottom: 0 !important; /* Eliminar margen inferior */
    }
    
    /* Ajustar el contenido dentro de cada contador */
    .counter-wrapper {
        padding: 0px 5px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    /* Ajustar tamaño de números y texto para que quepan */
    .counter-number, 
    .counter-suffix {
        font-size: 36px; /* Reducir tamaño de números */
        line-height: 1.1;
    }
    
    /* Reducir altura del título y asegurar alineación */
    .counter-title {
        font-size: 12px;
        line-height: 1.2;
        min-height: 45px; /* Altura fija para todos los títulos */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ajuste específico para el último contador (tiene texto más largo) */
    .counter-item:last-child .counter-title {
        font-size: 10px; /* Reducir aún más para que quepa el texto */
    }
    
    /* Ocultar título de fondo o ajustar su tamaño */
    .numbers-title-bg {
        font-size: 100px;
        opacity: 0.4;
    }
}

/* Corrección mejorada para la sección Testimonials en 768px */
@media (min-width: 768px) and (max-width: 991px) {
    /* Ajustes para el título de la sección */
    .testimonial-section .section-title {
        font-size: 42px;
        width: 100%;
        text-align: left;
        margin-bottom: 40px;
    }
    
    /* Mantener estructura de dos columnas pero ajustarlas */
    .testimonial-content-wrap .row {
        display: flex;
        flex-direction: row; /* Mantener layout horizontal */
    }
    
    /* Ajustes para la columna de la imagen */
    .testimonial-content-wrap .row .col-md-5 {
        width: 40%;
        flex: 0 0 40%;
        padding-right: 10px;
    }
    
    /* Ajustes para la columna del texto */
    .testimonial-content-wrap .row .col-md-6 {
        width: 60%;
        flex: 0 0 60%;
        padding-left: 10px;
    }
    
    /* Ajustar posición vertical de la imagen */
    .testimonial-author-image {
        margin-top: 25px; /* Alinear con el comienzo del texto */
    }
    
    /* Ajustes para el texto del testimonio */
    .testimonial-quote {
        font-size: 80px;
        margin-top: 0;
        text-align: left;
    }
    
    .testimonial-text {
        margin-top: -30px; /* Ajustar para que suba un poco */
    }
    
    .testimonial-text p {
        margin-left: 20px;
        text-align: left;
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Ajustes para el nombre del autor */
    .testimonial-author {
        text-align: right;
        margin-top: 15px;
        font-size: 18px;
    }
    
    /* Posicionamiento de las flechas */
    .slick-prev,
    .slick-next {
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 10;
    }
    
    .slick-prev {
        left: -30px !important;
    }
    
    .slick-next {
        right: -30px !important;
    }
    
    .slick-prev:before,
    .slick-next:before {
        font-size: 40px;
        color: #555555;
    }
}

/* Corrección para la sección Why Choose Me en 768px */
@media (min-width: 768px) and (max-width: 991px) {
    /* Ajustes generales de la sección */
    .why-choose-me-section {
        padding: 60px 0 40px;
    }
    
    /* Hacer que el contenedor sea flex para reorganizar los elementos */
    .why-choose-me-section .container-fluid {
        display: flex;
        flex-direction: column;
    }
    
    /* Eliminar offsets para aprovechar el espacio completo */
    .why-choose-me-section .offset-2,
    .why-choose-me-section .col-4 {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    /* Contenedor para el título - primera fila */
    .why-section-title-row {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    /* Ajustar el título */
    .why-section-title {
        font-size: 55px;
        margin-top: 0;
        text-align: center;
        width: 100%;
    }
    
    /* Contenedor para imagen y texto - segunda fila */
    .why-content-row {
        display: flex;
        flex-direction: row;
        margin-bottom: 40px;
    }
    
    /* Ajustes para la columna de la imagen */
    .why-choose-me-image-column {
        width: 48%;
        padding: 0 10px;
    }
    
    .why-choose-me-image-wrapper {
        padding-top: 0;
        margin-top: 0;
    }
    
    /* Ajustes para la columna del texto */
    .why-choose-me-content-column {
        width: 52%;
        padding: 0 10px;
    }
    
    .why-choose-me-content {
        margin-left: 0;
        padding-right: 0;
        text-align: left;
    }
    
    /* Ajustes para el texto descriptivo */
    .section-text {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: left;
        padding: 0;
    }
    
    /* Contenedor para las barras de habilidades - tercera fila */
    .skills-row {
        width: 100%;
        padding: 0 20px;
    }
    
    /* Ajustes para las barras de habilidades */
    .skills-wrapper {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .skill-item {
        margin-bottom: 25px;
    }
    
    .skill-header {
        justify-content: space-between;
    }
    
    .skill-title {
        font-size: 16px;
    }
    
    .skill-percentage {
        font-size: 16px;
    }
    
    /* Agregar algo de espacio después de las barras */
    .skills-wrapper {
        margin-bottom: 40px;
    }
}

/* Corrección para la sección Why Choose Me en 576px */
@media (min-width: 576px) and (max-width: 767px) {
    /* Ajustes generales de la sección */
    .why-choose-me-section {
        padding: 50px 0 30px;
    }
    
    /* Márgenes laterales para el contenedor */
    .why-choose-me-section .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Ajustes para el título */
    .why-section-title-row {
        margin-bottom: 25px;
    }
    
    .why-section-title {
        font-size: 45px;
        text-align: center;
    }
    
    /* Ajustes para la columna de la imagen */
    .why-choose-me-image-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .why-choose-me-image-wrapper {
        max-width: 60%;
        margin: 0 auto;
    }
    
    /* Ajustes para la columna del texto */
    .why-choose-me-content-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 15px;
    }
    
    .why-choose-me-content {
        text-align: center;
    }
    
    .section-text {
        font-size: 16px;
        text-align: center;
        margin-top: 15px;
        margin-bottom: 30px;
    }
    
    /* Ajustes para las barras de habilidades */
    .skills-row {
        padding: 0 15px;
    }
    
    .skills-wrapper {
        max-width: 90%;
        margin: 0 auto 30px;
    }
    
    .skill-item {
        margin-bottom: 20px;
    }
    
    .skill-title {
        font-size: 15px;
    }
    
    .skill-percentage {
        font-size: 15px;
    }
    
    /* Convertir la fila de contenido en columna para móviles */
    .why-content-row {
        display: flex;
        flex-direction: column;
    }
}

/* Ajustes adicionales para móviles más pequeños */
@media (max-width: 575px) {
    /* Ajustes generales de la sección */
    .why-choose-me-section {
        padding: 40px 0 30px;
    }
    
    /* Márgenes laterales para el contenedor */
    .why-choose-me-section .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ajustes para el título */
    .why-section-title {
        font-size: 36px;
    }
    
    /* Ajustes para la imagen */
    .why-choose-me-image-wrapper {
        max-width: 90%;
    }
    
    /* Ajustes para el texto */
    .section-text {
        font-size: 15px;
    }
    
    /* Ajustes para las barras de habilidades */
    .skills-wrapper {
        max-width: 100%;
    }
    
    .skill-title {
        font-size: 14px;
    }
}

/* Corrección para la sección Why Choose Me en 992px y superior */
@media (min-width: 992px) {
    /* Restaurar estructura original para desktop */
    .why-choose-me-section {
        padding: 50px 0 0;
    }
    
    /* Ocultar las filas de estructura añadidas para tablets/móviles */
    .why-section-title-row,
    .why-content-row,
    .skills-row {
        display: none;
    }
    
    /* Mostrar la estructura original */
    .why-choose-me-section .container-fluid > .row:not(.why-section-title-row):not(.why-content-row):not(.skills-row) {
        display: flex !important;
    }
    
    /* Restaurar posicionamiento de columnas */
    .why-choose-me-section .container-fluid > .row:not(.why-section-title-row):not(.why-content-row):not(.skills-row) .offset-2 {
        margin-left: 16.666667%;
    }
    
    .why-choose-me-section .container-fluid > .row:not(.why-section-title-row):not(.why-content-row):not(.skills-row) .col-4 {
        width: 33.333333%;
        max-width: 33.333333%;
        flex: 0 0 33.333333%;
    }
    
    /* Estilos específicos para la imagen */
    .why-choose-me-image-wrapper {
        padding-top: 150px;
        max-width: 100%;
    }
    
    /* Estilos para el contenido */
    .why-choose-me-content {
        padding-right: 20px;
        padding-top: 0;
        margin-left: -100px;
    }
    
    /* Estilos para el título */
    .why-section-title {
        font-size: 120px;
        font-weight: 800;
        font-style: italic;
        line-height: 1;
        color: var(--color-white);
        margin-bottom: 20px;
        margin-top: 50px;
        text-align: left;
    }
    
    /* Estilos para el texto */
    .section-text {
        font-size: 22px;
        color: var(--color-gray-light);
        margin-left: 120px;
        margin-bottom: 60px;
        text-align: left;
    }
    
    /* Estilos para las barras de habilidades */
    .skills-wrapper {
        margin-bottom: 75px;
    }
    
    .skill-item {
        margin-bottom: 40px;
    }
    
    .skill-title {
        font-size: 18px;
    }
    
    .skill-percentage {
        font-size: 18px;
    }
}

/* Estilos responsivos completos para la sección Why Choose Me */

/* Mostrar/ocultar layouts según resolución */
/* Desktop (992px y superior) */
@media (min-width: 992px) {
    .desktop-layout {
        display: block;
    }
    
    .mobile-tablet-layout {
        display: none;
    }
}

/* Tablets y móviles (menos de 992px) */
@media (max-width: 991px) {

    .desktop-layout {
        display: none;
    }
    
    .mobile-tablet-layout {
        display: block;
    }
}

/* Estilos específicos para tablets (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Ajustes para el título de la sección */
    .why-section-title-row .why-section-title {
        font-size: 55px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    /* Ajustes para las columnas en layout de dos columnas */
    .why-content-row {
        display: flex;
        margin-bottom: 40px;
    }
    
    .why-content-row .why-choose-me-image-column {
        width: 48%;
        padding: 0 10px;
    }
    
    .why-content-row .why-choose-me-content-column {
        width: 52%;
        padding: 0 10px;
    }
    
    /* Ajustes para el texto */
    .mobile-tablet-layout .section-text {
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 30px;
        text-align: left;
    }
    
    /* Ajustes para las barras de habilidades */
    .mobile-tablet-layout .skills-wrapper {
        max-width: 90%;
        margin: 0 auto 60px;
    }
}

/* Estilos específicos para móviles (576px-767px) */
@media (min-width: 576px) and (max-width: 767px) {
    /* Ajustes para el título */
    .why-section-title-row .why-section-title {
        font-size: 45px;
        text-align: center;
        margin-bottom: 25px;
    }
    
    /* Convertir layout de dos columnas a una columna */
    .why-content-row {
        flex-direction: column;
    }
    
    .why-content-row .why-choose-me-image-column,
    .why-content-row .why-choose-me-content-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    /* Ajustes para la imagen */
    .why-content-row .why-choose-me-image-wrapper {
        max-width: 80%;
        margin: 0 auto 25px;
        margin-left: 120px;
    }

    /* Ajustes para el texto */
    .mobile-tablet-layout .why-choose-me-content {
        text-align: center;
    }
    
    .mobile-tablet-layout .section-text {
        text-align: center;
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Ajustes para las barras de habilidades */
    .mobile-tablet-layout .skills-wrapper {
        max-width: 90%;
        margin: 0 auto 30px;
    }
}

/* Estilos específicos para móviles pequeños (menos de 576px) */
@media (max-width: 575px) {
    /* Ajustes para el título */
    .why-section-title-row .why-section-title {
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    /* Convertir layout de dos columnas a una columna */
    .why-content-row {
        flex-direction: column;
    }
    
    /* Ajustes para la imagen */
    .why-content-row .why-choose-me-image-wrapper {
        max-width: 90%;
        margin: 0 auto 20px;
    }
    
    /* Ajustes para el texto */
    .mobile-tablet-layout .section-text {
        font-size: 15px;
        text-align: center;
    }
    
    /* Ajustes para las barras de habilidades */
    .mobile-tablet-layout .skills-wrapper {
        max-width: 100%;
    }
    
    .mobile-tablet-layout .skill-title {
        font-size: 14px;
    }
}

/* Desktop (992px y superior) */
@media (min-width: 992px) {
    .desktop-layout {
        display: block !important;
    }
    
    .mobile-tablet-layout {
        display: none !important;
    }
}

/* Tablets y móviles (menos de 992px) */
@media (max-width: 991px) {
    .desktop-layout {
        display: none !important;
    }
    
    .mobile-tablet-layout {
        display: block !important;
    }
}

/* Si los selectores anteriores no funcionan, podemos ser más específicos */
@media (max-width: 991px) {
    #why-choose-me .desktop-layout {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }
    
    #why-choose-me .mobile-tablet-layout {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
}


/* Estilos para Flip Cards */
.scene {
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.card {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  position: relative;
  aspect-ratio: 3/4;
}

.card.is-flipped {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 5px;
}

.card__face--front {
  background-color: var(--color-dark-secondary);
}

.card__face--back {
  background-color: var(--color-black);
  transform: rotateY(180deg);
}

.card__face .class-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.card__face .class-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  position: absolute;
  top: 50px;
    left: 30px;
    right: 30px;
    bottom: 50px;
  padding: 20px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.card-content p {
  font-size: 16px;
  margin-bottom: 10px;
}

.card-content ul {
  padding-left: 20px;
  margin-bottom: 0;
  font-size: 14px;
}

.card-content li {
  margin-bottom: 5px;
}

.card-content .price {
  font-weight: bold;
  font-size: 15px;
  margin: 10px 0;
  color: var(--color-primary);
}

.card-content .btn {
  margin-top: auto;
  align-self: center;
  transform: skewX(170deg);
}

.card-content .btn span {
  display: inline-block;
  transform: skewX(-170deg);
}

/* Comportamiento Hover para desktop */
@media (min-width: 992px) {
  .card:hover {
    transform: rotateY(180deg);
  }
}

/* Ajustes responsivos */
@media (max-width: 991px) {
  .card-content h3 {
    font-size: 20px;
  }
  
  .card-content p, .card-content ul, .card-content .price {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .scene {
    height: 350px;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .scene {
    height: 300px;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .card-content h3 {
    font-size: 18px;
  }
  
  .card-content ul {
    padding-left: 15px;
  }
}

/* Animaciones adicionales */
.card__face--front img {
  transition: transform 0.5s ease;
}

.card:hover .card__face--front img {
  transform: scale(1.05);
}

/* Compatibilidad para tema claro */
.light-mode .card__face--back {
  background-color: var(--color-white);
}

.light-mode .card-content {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--color-black);
}

.light-mode .card-content h3,
.light-mode .card-content .price {
  color: var(--color-primary-dark);
}