/* ========================================
   RESPONSIVE CSS - MOBILE & TABLET
======================================== */

/* === TABLETS === */
@media screen and (max-width: 1024px) {
  :root {
    --fs-hero: 3.5rem;
    --fs-3xl: 2.5rem;
    --fs-2xl: 2rem;
    --spacing-3xl: 4rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .navbar__menu {
    gap: var(--spacing-lg);
  }

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   RESPONSIVE CSS - MOBILE & TABLET
======================================== */

/* === TABLET === */
@media screen and (max-width: 1024px) {
  :root {
    --fs-hero: 3.5rem;
    --fs-3xl: 2.5rem;
    --fs-2xl: 2rem;
    --spacing-3xl: 4rem;
  }

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

/* === MOBILE === */
@media screen and (max-width: 768px) {
  :root {
    --fs-hero: 2.5rem;
    --fs-3xl: 2rem;
    --fs-2xl: 1.75rem;
    --fs-xl: 1.5rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 3rem;
    --navbar-height: var(--navbar-mobile-height);
  }

  /* === NAVBAR MOBILE === */
  .navbar .container {
    padding: 0 var(--spacing-sm);
  }

  .navbar__logo {
    height: 40px;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar__menu {
    position: fixed;
    top: var(--navbar-mobile-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-mobile-height));
    background-color: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    gap: 0;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    border-top: 1px solid rgba(163, 126, 73, 0.1);
  }

  .navbar__menu.active {
    transform: translateX(0);
  }

  .navbar__link {
    font-size: var(--fs-sm);
    padding: var(--spacing-md) 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(163, 126, 73, 0.1);
  }

  .navbar__link::after {
    display: none;
  }

  /* === DROPDOWN MOBILE === */
  .navbar__dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(163, 126, 73, 0.1);
  }

  .navbar__link--dropdown {
    justify-content: center;
    width: 100%;
    cursor: pointer;
    padding: var(--spacing-md) 0;
    pointer-events: auto;
  }

  .navbar__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .navbar__dropdown.active .navbar__dropdown-menu {
    max-height: 500px;
    padding: var(--spacing-sm) 0;
  }

  .navbar__dropdown.active .navbar__arrow {
    transform: rotate(180deg);
  }

  .navbar__dropdown-item {
    text-align: center;
    padding: var(--spacing-sm);
    font-size: var(--fs-xs);
    border-bottom: none;
    background: transparent;
  }

  .navbar__dropdown-item:hover {
    transform: translateX(0);
    background-color: rgba(163, 126, 73, 0.1);
  }

  .navbar__dropdown-item--all {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }

  /* === LANGUAGE SELECTOR MOBILE === */
  .navbar__languages {
    margin-left: 0;
    margin-top: var(--spacing-lg);
    width: 100%;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(163, 126, 73, 0.2);
  }

  .navbar__lang-toggle {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-sm);
  }

  .navbar__lang-menu {
    position: static;
    width: 100%;
    margin-top: var(--spacing-sm);
    transform: none;
  }

  .navbar__languages.active .navbar__lang-menu {
    transform: none;
  }

  /* === WHATSAPP FLOAT MOBILE === */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  /* === FOOTER MOBILE === */
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-md);
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__logo img {
    max-width: 150px;
  }

  .footer__description {
    font-size: 0.9375rem;
    text-align: center;
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__links {
    align-items: center;
  }

  .footer__title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    width: 100%;
  }

  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer__list {
    align-items: center;
    gap: 0.65rem;
  }

  .footer__list a {
    font-size: 0.9375rem;
    text-align: center;
  }

  .footer__list a:hover {
    transform: translateX(0) scale(1.05);
  }

  .footer__contact {
    align-items: center;
    width: 100%;
  }

  .footer__contact-list {
    align-items: center;
    gap: 0.85rem;
  }

  .footer__contact-item {
    font-size: 0.9375rem;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .footer__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .footer__contact-item svg {
    flex-shrink: 0;
  }

  .footer__bottom {
    padding-top: var(--spacing-md);
  }

  .footer__copyright {
    font-size: 0.8125rem;
    line-height: 1.6;
    padding: 0 var(--spacing-sm);
  }

  /* === BOTONES === */
  .btn {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--fs-xs);
  }

  /* Prevenir scroll cuando menu está abierto */
  body.menu-open {
    overflow: hidden;
  }
}

/* === MOBILE SMALL === */
@media screen and (max-width: 480px) {
  :root {
    --fs-hero: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --fs-xl: 1.25rem;
  }

  .navbar__logo {
    height: 35px;
  }

  .footer__logo img {
    max-width: 140px;
  }

  .footer__description {
    font-size: 0.875rem;
  }

  .footer__title {
    font-size: 1.0625rem;
  }

  .footer__list a {
    font-size: 0.875rem;
  }

  .footer__contact-item {
    font-size: 0.875rem;
  }

  .footer__icon {
    width: 16px;
    height: 16px;
  }

  .footer__copyright {
    font-size: 0.75rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ========================================
   INDEX.HTML - HERO RESPONSIVE COMPLETO
   Versión final con todas las correcciones
======================================== */

/* === DESKTOP GRANDE (1441px+) === */
@media screen and (min-width: 1441px) {
  .hero {
    min-height: 100vh;
  }

  .hero__logo {
    width: 200px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-xl);
  }

  .hero__title {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-lg);
  }

  .hero__title-line--gold {
    font-size: 5rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: var(--spacing-xl);
  }

  .hero__cta {
    margin-bottom: var(--spacing-2xl);
  }

  .hero__scroll {
    bottom: 50px;
  }
}

/* === LAPTOPS MEDIANAS (1281px - 1440px) === */
@media screen and (min-width: 1281px) and (max-width: 1440px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding-top: var(--navbar-height);
  }

  .hero__logo {
    width: 180px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-xl);
  }

  .hero__title {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
  }

  .hero__title-line--gold {
    font-size: 4.4rem;
  }

  .hero__subtitle {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
  }

  .hero__cta {
    margin-bottom: var(--spacing-2xl);
    gap: var(--spacing-lg);
  }

  .hero__cta .btn {
    min-width: 200px;
    padding: 14px 32px;
  }

  /* Scroll indicator más pequeño */
  .hero__scroll {
    bottom: 25px;
  }

  .hero__scroll-text {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .hero__scroll-line {
    height: 30px;
  }

  .hero__scroll-line::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--color-dorado-principal);
  }
}

/* === LAPTOPS PEQUEÑAS (1025px - 1280px) === */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding-top: var(--navbar-height);
  }

  .hero__logo {
    width: 160px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-lg);
  }

  .hero__title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
  }

  .hero__title-line--gold {
    font-size: 3.85rem;
  }

  .hero__title-line--gold::after {
    bottom: -10px;
    height: 3px;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 650px;
  }

  .hero__cta {
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
  }

  .hero__cta .btn {
    min-width: 190px;
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  /* Scroll indicator más pequeño */
  .hero__scroll {
    bottom: 20px;
    gap: var(--spacing-xs);
  }

  .hero__scroll-text {
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-bottom: 0;
  }

  .hero__scroll-line {
    height: 25px;
  }

  .hero__scroll-line::after {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid var(--color-dorado-principal);
  }
}

/* === FIX PARA LAPTOPS CON ALTURA PEQUEÑA === */
@media screen and (min-width: 1025px) and (max-height: 750px) {
  .hero__logo {
    width: 140px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-md);
  }

  .hero__title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero__title-line--gold {
    font-size: 3.3rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .hero__cta {
    margin-bottom: var(--spacing-lg);
  }

  .hero__scroll {
    bottom: 15px;
    gap: 4px;
  }

  .hero__scroll-text {
    font-size: 0.6rem;
  }

  .hero__scroll-line {
    height: 20px;
  }
}

/* === TABLET (768px - 1024px) === */
@media screen and (max-width: 1024px) {
  .hero {
    min-height: 100vh;
  }

  .hero__content {
    padding-top: var(--navbar-height);
  }

  .hero__logo {
    width: 150px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-lg);
  }

  .hero__title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
  }

  .hero__title-line--gold {
    font-size: 3.3rem;
  }

  .hero__subtitle {
    font-size: var(--fs-base);
    max-width: 550px;
    margin-bottom: var(--spacing-lg);
  }

  .hero__cta {
    margin-bottom: var(--spacing-xl);
  }

  .hero__scroll {
    bottom: 30px;
  }

  .hero__scroll-text {
    font-size: 0.7rem;
  }

  .hero__scroll-line {
    height: 35px;
  }
}

/* === MOBILE (481px - 768px) === */
@media screen and (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__content {
    padding-top: var(--navbar-height);
  }

  .hero__logo {
    width: 130px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-lg);
  }

  .hero__title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
  }

  .hero__title-line--gold {
    font-size: 2.5rem;
  }

  .hero__title-line--gold::after {
    width: 120px;
    bottom: -8px;
    height: 2px;
  }

  .hero__subtitle {
    font-size: var(--fs-sm);
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .hero__cta {
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    padding: 0 var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__scroll {
    bottom: 25px;
  }

  .hero__scroll-text {
    font-size: var(--fs-xs);
  }

  .hero__scroll-line {
    height: 30px;
  }
}

/* === MOBILE SMALL (máx 480px) === */
@media screen and (max-width: 480px) {
  .hero__logo {
    width: 110px;
  }

  .hero__logo-container {
    margin-bottom: var(--spacing-md);
  }

  .hero__title {
    font-size: 1.85rem;
  }

  .hero__title-line--gold {
    font-size: 2.1rem;
  }

  .hero__title-line--gold::after {
    width: 100px;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    padding: 0 var(--spacing-sm);
  }

  .hero__cta {
    padding: 0 var(--spacing-md);
  }

  .hero__scroll {
    bottom: 20px;
  }

  .hero__scroll-line {
    height: 25px;
  }
}

/* === FILOSOFÍA RESPONSIVE === */
@media screen and (max-width: 1024px) {
  .filosofia__content {
    gap: var(--spacing-2xl);
  }

  .filosofia__text {
    padding-right: var(--spacing-md);
  }

  .filosofia__img {
    height: 500px;
  }

  .filosofia__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }

  .filosofia__stat-number {
    font-size: var(--fs-2xl);
  }
}

@media screen and (max-width: 768px) {
  .filosofia {
    padding: var(--spacing-2xl) 0;
  }

  .filosofia__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .filosofia__text {
    padding-right: 0;
    text-align: center;
  }

  .filosofia__subtitle {
    padding-left: 0;
  }

  .filosofia__subtitle::before {
    display: none;
  }

  .filosofia__title {
    font-size: var(--fs-2xl);
  }

  .filosofia__description {
    font-size: var(--fs-sm);
  }

  .filosofia__stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
  }

  .filosofia__stat-number {
    font-size: var(--fs-xl);
  }

  .filosofia__img {
    height: 400px;
  }

  .filosofia__decoration {
    display: none;
  }

  .filosofia__image-badge {
    font-size: var(--fs-xs);
    padding: var(--spacing-xs) var(--spacing-md);
  }
}

@media screen and (max-width: 480px) {
  .filosofia__title {
    font-size: var(--fs-xl);
  }

  .filosofia__img {
    height: 300px;
  }

  .filosofia__stats {
    gap: var(--spacing-md);
  }
}

/* === SERVICIOS PREVIEW RESPONSIVE === */
@media screen and (max-width: 1200px) {
  .servicios-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .servicios-preview {
    padding: var(--spacing-2xl) 0;
  }

  .servicios-preview__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .servicios-preview__header {
    margin-bottom: var(--spacing-2xl);
  }

  .servicios-preview__subtitle::before,
  .servicios-preview__subtitle::after {
    display: none;
  }

  .servicios-preview__title {
    font-size: var(--fs-2xl);
  }

  .servicios-preview__description {
    font-size: var(--fs-base);
  }

  .service-card__image {
    height: 180px;
  }

  .service-card__content {
    padding: var(--spacing-md);
  }

  .service-card__number {
    font-size: 70px;
    top: -75px;
  }

  .service-card__title {
    font-size: var(--fs-base);
  }

  .servicios-preview__cta {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .servicios-preview__cta-text {
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-md);
  }
}

@media screen and (max-width: 480px) {
  .servicios-preview__cta-text {
    font-size: var(--fs-base);
  }

  .service-card__image {
    height: 160px;
  }

  .service-card__number {
    font-size: 60px;
    top: -65px;
  }
}

/* === MOBILE PEQUEÑO === */
@media screen and (max-width: 480px) {
  :root {
    --fs-hero: 2rem;
    --fs-3xl: 1.75rem;
    --fs-2xl: 1.5rem;
    --spacing-lg: 1.5rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .navbar__logo {
    height: 35px;
  }

  .navbar__menu {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .navbar__link {
    font-size: 0.875rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .footer__section h4 {
    font-size: var(--fs-base);
  }

  .footer__contact-item {
    font-size: 0.75rem;
  }
}

/* === LANDSCAPE MOBILE === */
@media screen and (max-height: 600px) and (orientation: landscape) {
  .navbar__menu {
    padding: var(--spacing-md) var(--spacing-sm);
    gap: 0;
  }

  .navbar__link {
    font-size: var(--fs-xs);
    padding: 0.5rem 0;
  }

  .navbar__languages {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }

  .navbar__lang-toggle {
    padding: 0.4rem;
  }
}

/* === TABLETS LANDSCAPE === */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .navbar__menu {
    gap: var(--spacing-md);
  }

  .navbar__link {
    font-size: 0.875rem;
  }
}

/* === PROCESO RESPONSIVE === */
@media screen and (max-width: 768px) {
  .proceso {
    padding: var(--spacing-2xl) 0;
  }

  .proceso__header {
    margin-bottom: var(--spacing-xl);
  }

  .proceso__title {
    font-size: var(--fs-xl);
  }

  .proceso__description {
    font-size: var(--fs-sm);
  }

  /* Timeline móvil */
  .proceso__timeline::before {
    left: 40px;
  }

  .proceso__step {
    grid-template-columns: auto 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
  }

  .proceso__step:nth-child(even) .proceso__step-content,
  .proceso__step:nth-child(odd) .proceso__step-content {
    grid-column: 2;
    text-align: left;
  }

  .proceso__step:nth-child(even) .proceso__step-icon,
  .proceso__step:nth-child(odd) .proceso__step-icon {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .proceso__step:nth-child(even) .proceso__step-number,
  .proceso__step:nth-child(odd) .proceso__step-number {
    display: none;
  }

  .proceso__step-icon {
    width: 60px;
    height: 60px;
  }

  .proceso__step-icon svg {
    width: 28px;
    height: 28px;
  }

  .proceso__step-content {
    padding: var(--spacing-md);
  }

  .proceso__step-title {
    font-size: var(--fs-base);
  }

  .proceso__step-text {
    font-size: 0.75rem;
  }

  .proceso__step-features {
    justify-content: flex-start !important;
  }

  .proceso__step-features li {
    font-size: 0.65rem;
  }
}

/* === GALERÍA RESPONSIVE SIMPLIFICADA === */

@media screen and (max-width: 1200px) {
  .galeria__grid {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: auto;
    gap: var(--spacing-md);
  }

  .galeria__item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .galeria__item:nth-child(2) {
    grid-column: 3 / 6;
    grid-row: 1 / 3;
  }

  .galeria__item:nth-child(3) {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
  }

  .galeria__item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }

  .galeria__item:nth-child(5) {
    grid-column: 6 / 9;
    grid-row: 2 / 3;
  }

  .galeria__item:nth-child(6) {
    grid-column: 1 / 9;
    grid-row: 3 / 4;
    height: 320px;
  }
}

@media screen and (max-width: 968px) {
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .galeria__item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .galeria__item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .galeria__item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .galeria__item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .galeria__item:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .galeria__item:nth-child(6) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
    height: 330px;
  }
  
  .galeria__item-title {
    font-size: 0.9rem;
  }
  
  .galeria__category {
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 768px) {
  .galeria {
    padding: var(--spacing-2xl) 0;
  }

  .galeria__header {
    margin-bottom: var(--spacing-xl);
  }

  .galeria__title {
    font-size: var(--fs-xl);
  }

  .galeria__description {
    font-size: var(--fs-sm);
  }

  .galeria__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
    gap: var(--spacing-md);
  }

  .galeria__item:nth-child(1),
  .galeria__item:nth-child(2),
  .galeria__item:nth-child(3),
  .galeria__item:nth-child(4),
  .galeria__item:nth-child(5),
  .galeria__item:nth-child(6) {
    grid-column: 1 / 2;
    grid-row: auto;
    height: auto;
    border: 5px solid rgba(163, 126, 73, 0.6);
  }

  .galeria__overlay {
    opacity: 1;
  }

  .galeria__content {
    transform: translateY(0);
  }

  .galeria__category {
    font-size: 0.6rem;
  }

  .galeria__item-title {
    font-size: 0.85rem;
  }

  .galeria__btn {
    font-size: 0.7rem;
    padding: 0.5rem var(--spacing-sm);
  }
}

@media screen and (max-width: 480px) {
  .galeria__grid {
    grid-auto-rows: 300px;
    gap: var(--spacing-sm);
  }

  .galeria__item {
    border: 5px solid rgba(163, 126, 73, 0.6);
  }

  .galeria__overlay {
    padding: var(--spacing-md);
  }

  .galeria__header {
    margin-bottom: var(--spacing-lg);
  }

  .galeria__title {
    font-size: var(--fs-lg);
  }
  
  .galeria__category {
    font-size: 0.55rem;
  }
  
  .galeria__item-title {
    font-size: 0.8rem;
  }
}

/* === CTA FINAL RESPONSIVE === */
@media screen and (max-width: 768px) {
  .cta-final {
    padding: var(--spacing-2xl) 0;
  }

  .cta-final__text {
    margin-bottom: var(--spacing-xl);
  }

  .cta-final__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .cta-final__description {
    font-size: var(--fs-sm);
  }

  .cta-final__buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .cta-final__btn {
    min-width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .cta-final__stats {
    flex-direction: column;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
  }

  .cta-final__stat {
    font-size: var(--fs-xs);
  }
}

@media screen and (max-width: 480px) {
  .cta-final__btn {
    min-width: 100%;
  }

  .cta-final__btn-label {
    font-size: 0.65rem;
  }

  .cta-final__btn-text {
    font-size: var(--fs-sm);
  }
}

/* ========================================
   NOSOTROS.HTML - RESPONSIVE COMPLETO
   Split Screen Hero Media Queries
======================================== */

/* === FIX PARA LAPTOPS GRANDES (1441px - 1920px) === */
@media (min-width: 1441px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
  }

  .split-hero__title {
    font-size: 3rem;
  }

  .split-hero__content {
    max-width: 650px;
  }
}

/* === FIX PARA LAPTOPS MEDIANAS (1281px - 1440px) === */
@media (min-width: 1281px) and (max-width: 1440px) {
  .split-hero {
    grid-template-columns: 45% 55%;
  }

  .split-hero__right {
    padding: var(--spacing-lg) var(--spacing-xl);
  }

  .split-hero__content {
    max-width: 100%;
    padding-right: var(--spacing-md);
  }

  .split-hero__title {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .split-hero__text {
    font-size: 0.9rem;
  }

  .split-hero__highlights {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) 0;
  }

  .split-hero__highlight-content h3 {
    font-size: 0.9rem;
  }

  .split-hero__highlight-content p {
    font-size: 0.8rem;
  }

  .split-hero__cta {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
}

/* === FIX PARA LAPTOPS PEQUEÑAS (1025px - 1280px) === */
@media (min-width: 1025px) and (max-width: 1280px) {
  .split-hero {
    grid-template-columns: 40% 60%;
  }

  .split-hero__right {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .split-hero__content {
    max-width: 100%;
  }

  .split-hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .split-hero__text {
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
  }

  .split-hero__highlights {
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-sm);
  }

  .split-hero__highlight-content h3 {
    font-size: 0.85rem;
  }

  .split-hero__highlight-content p {
    font-size: 0.75rem;
  }

  .split-hero__cta {
    padding: 10px 20px;
    font-size: 0.75rem;
  }
}

/* === TABLET (768px - 1024px) === */
@media (max-width: 1024px) {
  .split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .split-hero__left {
    height: 50vh;
    min-height: 400px;
  }

  .split-hero__image-container {
    position: relative;
    height: 50vh;
    min-height: 400px;
  }

  .split-hero__right {
    padding: var(--spacing-2xl) var(--spacing-lg);
    min-height: 50vh;
  }

  .split-hero__content {
    max-width: 600px;
  }

  .split-hero__title {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  /* En tablet, título en una sola línea si cabe */
  .split-hero__title .title-line {
    display: inline;
  }

  .split-hero__highlights {
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
  }

  .split-hero__highlight-content h3 {
    font-size: 0.95rem;
  }

  .split-hero__highlight-content p {
    font-size: 0.85rem;
  }
}

/* === MOBILE (481px - 768px) === */
@media (max-width: 768px) {
  .split-hero__left {
    height: 40vh;
    min-height: 300px;
  }

  .split-hero__image-container {
    height: 40vh;
    min-height: 300px;
  }

  .split-hero__right {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .split-hero__title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }

  /* En mobile, forzar saltos de línea */
  .split-hero__title .title-line {
    display: block;
  }

  .split-hero__text {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
  }

  .split-hero__highlights {
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
  }

  .split-hero__highlight {
    gap: var(--spacing-sm);
  }

  .split-hero__highlight svg {
    width: 24px;
    height: 24px;
  }

  .split-hero__cta {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.85rem;
  }
}

/* === MOBILE SMALL (máx 480px) === */
@media (max-width: 480px) {
  .split-hero__left {
    height: 35vh;
    min-height: 250px;
  }

  .split-hero__image-container {
    height: 35vh;
    min-height: 250px;
  }

  .split-hero__right {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .split-hero__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .split-hero__text {
    font-size: 0.85rem;
  }

  .split-hero__highlight-content h3 {
    font-size: 0.9rem;
  }

  .split-hero__highlight-content p {
    font-size: 0.75rem;
  }

  .split-hero__cta {
    padding: 12px var(--spacing-md);
    font-size: 0.8rem;
  }
}
/* ========================================
   VALORES SECTION - RESPONSIVE
======================================== */

@media (max-width: 1200px) {
  .valores {
    padding: 100px 0 180px;
  }

  .valores__grid {
    gap: var(--spacing-xl);
  }

  .valor-card {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

@media (max-width: 1024px) {
  .valores {
    padding: 80px 0 150px;
  }

  .valores__header {
    padding-top: var(--spacing-lg);
  }

  .valores__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .valores::after {
    display: none;
  }

  .valores__title {
    font-size: 2.2rem;
  }

  .valores__description {
    font-size: 1rem;
  }

  .valor-card__icon-container {
    width: 80px;
    height: 80px;
  }

  .valor-card__icon {
    width: 40px;
    height: 40px;
  }

  .valor-card__icon-bg {
    width: 80px;
    height: 80px;
  }

  .valor-card__icon-container::after {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .valores {
    padding: 60px 0 120px;
  }

  .valores__header {
    margin-bottom: calc(var(--spacing-xl) * 1.5);
    padding-top: var(--spacing-md);
  }

  .valores__subtitle {
    font-size: 0.7rem;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
  }

  .valores__subtitle::before,
  .valores__subtitle::after {
    width: 30px;
  }

  .valores__title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
  }

  .valores__description {
    font-size: 0.95rem;
  }

  .valores__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .valor-card {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .valor-card__icon-container {
    width: 70px;
    height: 70px;
    margin-bottom: var(--spacing-md);
  }

  .valor-card__icon {
    width: 36px;
    height: 36px;
  }

  .valor-card__icon-bg {
    width: 70px;
    height: 70px;
  }

  .valor-card__icon-container::after {
    width: 80px;
    height: 80px;
  }

  .valor-card__title {
    font-size: 1.3rem;
  }

  .valor-card__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .valores {
    padding: 48px 0 100px;
  }

  .valores__header {
    padding-top: 0;
  }

  .valores__subtitle {
    padding: 0;
    margin-bottom: var(--spacing-md);
  }

  .valores__subtitle::before,
  .valores__subtitle::after {
    display: none;
  }

  .valores__title {
    font-size: 1.6rem;
  }

  .valores__description {
    font-size: 0.9rem;
  }

  .valor-card {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .valor-card__title {
    font-size: 1.2rem;
  }

  .valor-card__text {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* ========================================
   TIMELINE SECTION - RESPONSIVE (SIN FECHAS)
======================================== */

@media (max-width: 1200px) {
  .timeline__wrapper {
    padding: 0 70px;
  }

  .timeline__line {
    left: 70px;
    right: 70px;
  }

  .timeline-item {
    min-width: 300px;
    max-width: 300px;
  }
}

@media (max-width: 1024px) {
  .timeline {
    padding: calc(var(--spacing-2xl) * 2) 0 calc(var(--spacing-2xl) * 1.5);
  }

  .timeline__header {
    margin-bottom: calc(var(--spacing-2xl) * 2);
    padding-top: var(--spacing-xl);
  }

  .timeline__wrapper {
    margin-top: var(--spacing-2xl);
    padding: 0 60px;
  }

  .timeline__line {
    left: 60px;
    right: 60px;
    top: 65px;
  }

  .timeline-item {
    min-width: 280px;
    max-width: 280px;
  }

  .timeline-item__content {
    min-height: 230px;
    padding: var(--spacing-lg);
  }

  .timeline-item__title {
    font-size: 1.3rem;
  }

  .timeline-item__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: calc(var(--spacing-xl) * 2.5) 0 var(--spacing-2xl);
  }

  .timeline__header {
    margin-bottom: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
  }

  .timeline__subtitle {
    font-size: 0.7rem;
    padding: 0 var(--spacing-lg);
  }

  .timeline__subtitle::before,
  .timeline__subtitle::after {
    width: 35px;
  }

  .timeline__title {
    font-size: 2rem;
  }

  .timeline__description {
    font-size: 1rem;
  }

  .timeline__wrapper {
    padding: 0 50px;
  }

  .timeline__line {
    left: 50px;
    right: 50px;
    top: 60px;
    height: 2px;
  }

  .timeline__track {
    gap: var(--spacing-lg);
  }

  .timeline-item {
    min-width: 260px;
    max-width: 260px;
  }

  .timeline-item__dot {
    width: 24px;
    height: 24px;
  }

  .timeline-item__dot-inner {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .timeline-item__content {
    padding: var(--spacing-lg) var(--spacing-md);
    min-height: 220px;
  }

  .timeline-item__title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
  }

  .timeline-item__text {
    font-size: 0.85rem;
  }

  .timeline-item__icon {
    width: 45px;
    height: 45px;
  }

  .timeline-item__icon svg {
    width: 22px;
    height: 22px;
  }

  .timeline__nav {
    width: 45px;
    height: 45px;
  }

  .timeline__nav svg {
    width: 22px;
    height: 22px;
  }

  .timeline__nav--prev {
    left: 5px;
  }

  .timeline__nav--next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .timeline {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
  }

  .timeline__header {
    padding-top: 0;
  }

  .timeline__subtitle {
    padding: 0;
  }

  .timeline__subtitle::before,
  .timeline__subtitle::after {
    display: none;
  }

  .timeline__title {
    font-size: 1.8rem;
  }

  .timeline__description {
    font-size: 0.95rem;
  }

  .timeline__wrapper {
    padding: 0 45px;
  }

  .timeline__line {
    left: 45px;
    right: 45px;
  }

  .timeline__track {
    gap: var(--spacing-md);
    padding: var(--spacing-xl) var(--spacing-xs);
  }

  .timeline-item {
    min-width: 240px;
    max-width: 240px;
  }

  .timeline-item__content {
    padding: var(--spacing-md);
    min-height: 200px;
  }

  .timeline-item__title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
  }

  .timeline-item__text {
    font-size: 0.8rem;
  }

  .timeline-item__icon {
    width: 42px;
    height: 42px;
  }

  .timeline-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .timeline__nav {
    width: 42px;
    height: 42px;
  }

  .timeline__nav svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   TEAM + CTA SECTION - RESPONSIVE
======================================== */

@media (max-width: 1024px) {
  /* TEAM */
  .team {
    padding: 80px 0;
  }

  .team__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .team__image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .team__title {
    font-size: 2.2rem;
  }

  /* CTA */
  .cta-final {
    min-height: 500px;
  }

  .cta-final__content {
    padding: 80px 0;
  }

  .cta-final__title {
    font-size: 2.5rem;
  }

  .cta-final__text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  /* TEAM */
  .team {
    padding: 60px 0;
  }

  .team__content {
    gap: var(--spacing-xl);
  }

  .team__image-container {
    border-width: 3px;
  }

  .team__title {
    font-size: 2rem;
  }

  .team__description {
    font-size: 1rem;
  }

  .team__quote {
    padding: var(--spacing-lg);
  }

  .team__quote-text {
    font-size: 1.1rem;
  }

  /* CTA */
  .cta-final__content {
    padding: 60px 0;
  }

  .cta-final__title {
    font-size: 2rem;
  }

  .cta-final__text {
    font-size: 1.05rem;
  }

  .cta-final__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-final__btn {
    justify-content: center;
  }

  .cta-final__info {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  /* TEAM */
  .team {
    padding: 48px 0;
  }

  .team__image-container {
    border-width: 2px;
  }

  .team__title {
    font-size: 1.8rem;
  }

  .team__description {
    font-size: 0.95rem;
  }

  .team__quote {
    padding: var(--spacing-md);
  }

  .team__quote-text {
    font-size: 1rem;
    padding-left: var(--spacing-md);
  }

  .team__quote-author {
    padding-left: var(--spacing-md);
  }

  /* CTA */
  .cta-final__content {
    padding: 48px 0;
  }

  .cta-final__title {
    font-size: 1.7rem;
  }

  .cta-final__text {
    font-size: 1rem;
  }

  .cta-final__btn {
    padding: 16px 28px;
    font-size: 0.9rem;
  }
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

/* ========================================
   HERO CONTACTO - RESPONSIVE
======================================== */

/* === DESKTOP LARGE (1440px+) === */
@media (min-width: 1440px) {
  .hero-contacto__content {
    max-width: 1000px;
  }
}

/* === LAPTOP (1024px - 1439px) === */
@media (max-width: 1439px) {
  .hero-contacto {
    min-height: 95vh;
  }
  
  .hero-contacto__content {
    max-width: 850px;
  }
}

/* === TABLET LANDSCAPE (969px - 1024px) === */
@media (max-width: 1024px) {
  .hero-contacto {
    min-height: 90vh;
    padding: 3rem 0 4rem;
  }
  
  .shape--1 {
    width: 350px;
    height: 350px;
  }
  
  .shape--2 {
    width: 280px;
    height: 280px;
  }
}

/* === TABLET (641px - 968px) === */
@media (max-width: 968px) {
  .hero-contacto {
    min-height: 90vh;
    padding: 3rem 0 4rem;
  }
  
  .hero-contacto__tag {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    gap: 0.6rem;
  }
  
  .title-line {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .title-line--gold {
    font-size: clamp(2.8rem, 7vw, 5rem);
  }
  
  .hero-contacto__subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  }
  
  .hero-contacto__info {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .info-item {
    padding: 0.9rem 1.3rem;
    flex: 1 1 45%;
    min-width: 200px;
  }
  
  .info-item span {
    font-size: 0.9rem;
  }
  
  .hero-contacto__cta {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
  }
  
  .shape--1 {
    width: 300px;
    height: 300px;
  }
  
  .shape--2 {
    width: 250px;
    height: 250px;
  }
  
  .shape--3 {
    width: 150px;
    height: 150px;
  }
}

/* === TABLET PORTRAIT (641px - 768px) === */
@media (max-width: 768px) {
  .hero-contacto {
    padding: 2.5rem 0 3.5rem;
  }
  
  .hero-contacto__info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .info-item {
    width: 85%;
    max-width: 350px;
    flex: none;
  }
}

/* === MOBILE LARGE (481px - 640px) === */
@media (max-width: 640px) {
  .hero-contacto {
    min-height: 100vh;
    padding: 2rem 0 3rem;
    margin-top: 70px;
  }
  
  .hero-contacto__content {
    padding: 0 1.5rem;
  }
  
  .hero-contacto__tag {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  
  .tag-icon {
    font-size: 0.7rem;
  }
  
  .hero-contacto__title {
    margin-bottom: 1.25rem;
  }
  
  .title-line {
    font-size: clamp(1.8rem, 5.5vw, 2.5rem);
  }
  
  .title-line--gold {
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: 2px;
  }
  
  .title-line--gold::after {
    width: 60%;
    height: 2px;
    bottom: -5px;
  }
  
  .hero-contacto__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    padding: 0 1rem;
    letter-spacing: 1.5px;
  }
  
  .hero-contacto__divider {
    margin-bottom: 2rem;
    gap: 0.75rem;
  }
  
  .divider-line {
    width: 60px;
  }
  
  .divider-dot {
    width: 5px;
    height: 5px;
  }
  
  /* INFO ITEMS - CENTRADOS Y CORREGIDOS */
  .hero-contacto__info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  
  .info-item {
    width: 90%;
    max-width: 320px;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(163, 126, 73, 0.3);
  }
  
  .info-item span {
    color: #FAFAF8;
    font-size: 0.9rem;
  }
  
  .info-item svg {
    width: 18px;
    height: 18px;
    stroke: #C49A5A;
  }
  
  /* CTA BUTTON MOBILE - CORREGIDO */
  .hero-contacto__cta {
    width: 90%;
    max-width: 320px;
    padding: 1.1rem 2rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #A37E49 0%, #977B49 100%);
    color: #FAFAF8;
  }
  
  .hero-contacto__cta span {
    color: #FAFAF8;
  }
  
  .hero-contacto__cta svg {
    width: 20px;
    height: 20px;
  }
  
  .hero-contacto__cta:hover {
    background: linear-gradient(135deg, #C49A5A 0%, #A37E49 100%);
    color: #0D0D0D;
  }
  
  .hero-contacto__cta:hover span {
    color: #0D0D0D;
  }
  
  /* ELIMINAR SCROLL INDICATOR */
  .hero-contacto__scroll {
    display: none;
  }
  
  /* Optimizar partículas en mobile */
  .particle:nth-child(4),
  .particle:nth-child(5),
  .particle:nth-child(6) {
    display: none;
  }
  
  .particle {
    width: 3px;
    height: 3px;
  }
  
  .shape--3 {
    display: none;
  }
  
  .shape--1 {
    width: 250px;
    height: 250px;
  }
  
  .shape--2 {
    width: 200px;
    height: 200px;
  }
}

/* === MOBILE MEDIUM (376px - 480px) === */
@media (max-width: 480px) {
  .hero-contacto {
    padding: 1.5rem 0 2.5rem;
  }
  
  .hero-contacto__content {
    padding: 0 1.25rem;
  }
  
  .hero-contacto__tag {
    font-size: 0.7rem;
    padding: 0.45rem 0.9rem;
  }
  
  .hero-contacto__info {
    gap: 0.85rem;
  }
  
  .info-item {
    width: 92%;
    padding: 0.95rem 1.1rem;
  }
  
  .info-item span {
    font-size: 0.85rem;
  }
  
  .hero-contacto__cta {
    width: 92%;
    padding: 1rem 1.75rem;
    font-size: 0.9rem;
  }
  
  .shape--1 {
    width: 220px;
    height: 220px;
  }
  
  .shape--2 {
    width: 180px;
    height: 180px;
  }
}

/* === MOBILE SMALL (320px - 375px) === */
@media (max-width: 375px) {
  .hero-contacto {
    min-height: 100vh;
    padding: 1.25rem 0 2rem;
  }
  
  .hero-contacto__content {
    padding: 0 1rem;
  }
  
  .hero-contacto__tag {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
  }
  
  .hero-contacto__tag span:not(.tag-icon) {
    font-size: 0.65rem;
  }
  
  .tag-icon {
    font-size: 0.6rem;
  }
  
  .title-line {
    font-size: 1.6rem;
  }
  
  .title-line--gold {
    font-size: 2.2rem;
    letter-spacing: 1.5px;
  }
  
  .hero-contacto__subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  
  .hero-contacto__divider {
    gap: 0.6rem;
  }
  
  .divider-line {
    width: 50px;
  }
  
  .divider-dot {
    width: 4px;
    height: 4px;
  }
  
  .hero-contacto__info {
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
  
  .info-item {
    width: 95%;
    max-width: 280px;
    padding: 0.9rem 1rem;
  }
  
  .info-item span {
    font-size: 0.8rem;
  }
  
  .info-item svg {
    width: 16px;
    height: 16px;
  }
  
  .hero-contacto__cta {
    width: 95%;
    max-width: 280px;
    padding: 0.95rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
  }
  
  .hero-contacto__cta svg {
    width: 18px;
    height: 18px;
  }
  
  .shape--1 {
    width: 180px;
    height: 180px;
    top: -80px;
    left: -80px;
  }
  
  .shape--2 {
    width: 150px;
    height: 150px;
    bottom: -70px;
    right: -70px;
  }
  
  /* Reducir más partículas */
  .particle:nth-child(3) {
    display: none;
  }
}

/* === MOBILE EXTRA SMALL (menos de 320px) === */
@media (max-width: 319px) {
  .hero-contacto__content {
    padding: 0 0.75rem;
  }
  
  .hero-contacto__tag {
    font-size: 0.6rem;
    padding: 0.35rem 0.7rem;
  }
  
  .title-line {
    font-size: 1.4rem;
  }
  
  .title-line--gold {
    font-size: 2rem;
  }
  
  .hero-contacto__subtitle {
    font-size: 0.9rem;
  }
  
  .info-item {
    width: 98%;
    padding: 0.8rem 0.9rem;
  }
  
  .info-item span {
    font-size: 0.75rem;
  }
  
  .hero-contacto__cta {
    width: 98%;
    padding: 0.9rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ========================================
   OPTIMIZACIONES DE PERFORMANCE
======================================== */

/* Reducir animaciones en dispositivos con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .hero-contacto__background,
  .particle,
  .shape,
  .tag-icon,
  .scroll-line,
  .hero-contacto__cta svg {
    animation: none !important;
  }
  
  .hero-contacto__cta::before {
    display: none;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Optimizaciones para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .particle {
    box-shadow: 0 0 8px rgba(163, 126, 73, 0.5);
  }
  
  .shape {
    border-width: 0.5px;
  }
}

/* ========================================
   LANDSCAPE MODE (Modo horizontal)
======================================== */

/* Mobile landscape */
@media (max-width: 968px) and (orientation: landscape) {
  .hero-contacto {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-contacto__content {
    padding: 1rem 2rem;
  }
  
  .hero-contacto__title {
    margin-bottom: 1rem;
  }
  
  .title-line {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .title-line--gold {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  .hero-contacto__subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-contacto__divider {
    margin-bottom: 1.5rem;
  }
  
  .hero-contacto__info {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .info-item {
    width: auto;
    flex: 1;
    padding: 0.75rem 1rem;
  }
  
  .info-item span {
    font-size: 0.8rem;
  }
  
  .hero-contacto__cta {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
  }
}

/* Tablet landscape específico */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-contacto {
    min-height: 95vh;
  }
  
  .hero-contacto__info {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .info-item {
    flex: 1;
    max-width: none;
  }
}

/* ========================================
   PRINT STYLES (Para impresión)
======================================== */
@media print {
  .hero-contacto__particles,
  .hero-contacto__shapes,
  .hero-contacto__scroll {
    display: none !important;
  }
  
  .hero-contacto {
    min-height: auto;
    padding: 2rem 0;
    background: white !important;
  }
  
  .hero-contacto__background {
    display: none;
  }
  
  .hero-contacto__title,
  .title-line,
  .title-line--gold {
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
  }
  
  .hero-contacto__cta {
    border: 2px solid black;
    color: black !important;
    background: white !important;
  }
}

/* ========================================
   FORMULARIO CONTACTO - RESPONSIVE
======================================== */

/* === DESKTOP LARGE (1440px+) === */
@media (min-width: 1440px) {
  .contacto-section {
    padding: 9rem 0;
  }
  
  .contacto-grid {
    gap: 4rem;
  }
}

/* === LAPTOP (1024px - 1439px) === */
@media (max-width: 1439px) {
  .contacto-section {
    padding: 7rem 0;
  }
  
  .contacto-grid {
    gap: 3rem;
  }
  
  .form-wrapper {
    padding: 2.25rem;
  }
}

/* === TABLET LANDSCAPE (969px - 1024px) === */
@media (max-width: 1024px) {
  .contacto-section {
    padding: 6rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 3.5rem;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contacto-grid__info {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .social-card {
    grid-column: 1 / -1;
  }
}

/* === TABLET (641px - 968px) === */
@media (max-width: 968px) {
  .contacto-section {
    padding: 5rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 3rem;
  }
  
  .section-tag {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
  }
  
  .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .section-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }
  
  .form-wrapper {
    padding: 2rem;
  }
  
  .contact-form {
    gap: 1.35rem;
  }
  
  .form-row {
    gap: 1.35rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.9rem 1rem 0.9rem 2.85rem;
  }
  
  .btn-submit {
    padding: 1.1rem 1.75rem;
    font-size: 0.95rem;
  }
  
  .info-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .info-card__icon {
    width: 52px;
    height: 52px;
  }
  
  .info-card__icon svg {
    width: 24px;
    height: 24px;
  }
  
  .info-card__content h3 {
    font-size: 1.1rem;
  }
  
  .info-card__content p,
  .info-card__content a {
    font-size: 0.9rem;
  }
  
  .social-card {
    padding: 1.5rem;
  }
  
  .social-card h3 {
    font-size: 1.1rem;
  }
}

/* === TABLET PORTRAIT (641px - 768px) === */
@media (max-width: 768px) {
  .contacto-grid__info {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .contact-form textarea {
    min-height: 110px;
  }
}

/* === MOBILE LARGE (481px - 640px) === */
@media (max-width: 640px) {
  .contacto-section {
    padding: 4rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 2.5rem;
  }
  
  .section-tag {
    font-size: 0.8rem;
    padding: 0.6rem 1.15rem;
    gap: 0.6rem;
  }
  
  .tag-icon {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1.25rem;
  }
  
  .section-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }
  
  .contacto-grid {
    gap: 2.5rem;
  }
  
  .form-wrapper {
    padding: 1.75rem;
  }
  
  .form-wrapper::before {
    height: 2px;
  }
  
  .contact-form {
    gap: 1.25rem;
  }
  
  .form-row {
    gap: 1.25rem;
  }
  
  .form-label {
    font-size: 0.88rem;
  }
  
  .input-icon {
    width: 18px;
    height: 18px;
    left: 0.9rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 0.85rem 0.9rem 0.85rem 2.7rem;
  }
  
  .contact-form textarea {
    min-height: 100px;
    max-height: 250px;
  }
  
  .char-count {
    font-size: 0.75rem;
    bottom: 0.65rem;
    right: 0.9rem;
    padding: 0.2rem 0.4rem;
  }
  
  .select-arrow {
    width: 18px;
    height: 18px;
    right: 0.9rem;
  }
  
  .checkbox-custom {
    width: 20px;
    height: 20px;
  }
  
  .checkbox-label {
    font-size: 0.85rem;
  }
  
  .btn-submit {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
  }
  
  .btn-icon {
    width: 18px;
    height: 18px;
  }
  
  .form-message {
    padding: 1.1rem;
    font-size: 0.9rem;
  }
  
  .form-notice {
    font-size: 0.8rem;
  }
  
  .error-message {
    font-size: 0.8rem;
  }
  
  .contacto-grid__info {
    gap: 1rem;
  }
  
  .info-card {
    padding: 1.35rem;
    gap: 1rem;
  }
  
  .info-card__icon {
    width: 48px;
    height: 48px;
  }
  
  .info-card__icon svg {
    width: 22px;
    height: 22px;
  }
  
  .info-card__content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  
  .info-card__content p,
  .info-card__content a {
    font-size: 0.88rem;
  }
  
  .info-card__description {
    font-size: 0.8rem !important;
  }
  
  .social-card {
    padding: 1.35rem;
  }
  
  .social-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
  
  .social-links {
    gap: 0.85rem;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
  }
}

/* === MOBILE MEDIUM (376px - 480px) === */
@media (max-width: 480px) {
  .contacto-section {
    padding: 3.5rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 2.25rem;
  }
  
  .section-tag {
    font-size: 0.75rem;
    padding: 0.55rem 1rem;
  }
  
  .contacto-grid {
    gap: 2.25rem;
  }
  
  .form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form {
    gap: 1.15rem;
  }
  
  .form-row {
    gap: 1.15rem;
  }
  
  .form-label {
    font-size: 0.85rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 0.8rem 0.85rem 0.8rem 2.6rem;
  }
  
  .contact-form textarea {
    min-height: 95px;
  }
  
  .btn-submit {
    padding: 0.95rem 1.35rem;
    font-size: 0.88rem;
    letter-spacing: 1px;
  }
  
  .info-card {
    padding: 1.25rem;
  }
  
  .info-card__icon {
    width: 46px;
    height: 46px;
  }
  
  .social-card {
    padding: 1.25rem;
  }
  
  .social-links {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 42px;
    height: 42px;
  }
  
  .social-link svg {
    width: 19px;
    height: 19px;
  }
}

/* === MOBILE SMALL (320px - 375px) === */
@media (max-width: 375px) {
  .contacto-section {
    padding: 3rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 2rem;
  }
  
  .section-tag {
    font-size: 0.7rem;
    padding: 0.5rem 0.9rem;
    gap: 0.5rem;
  }
  
  .tag-icon {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .section-description {
    font-size: 0.88rem;
  }
  
  .contacto-grid {
    gap: 2rem;
  }
  
  .form-wrapper {
    padding: 1.35rem;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .form-row {
    gap: 1rem;
  }
  
  .form-label {
    font-size: 0.82rem;
  }
  
  .input-icon {
    width: 17px;
    height: 17px;
    left: 0.85rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 0.88rem;
    padding: 0.75rem 0.8rem 0.75rem 2.5rem;
    border-width: 1.5px;
  }
  
  .contact-form textarea {
    min-height: 90px;
    max-height: 220px;
  }
  
  .char-count {
    font-size: 0.7rem;
    bottom: 0.6rem;
    right: 0.8rem;
  }
  
  .select-arrow {
    width: 17px;
    height: 17px;
    right: 0.85rem;
  }
  
  .checkbox-custom {
    width: 19px;
    height: 19px;
  }
  
  .checkbox-custom::after {
    top: 1px;
    left: 5px;
    width: 5px;
    height: 11px;
  }
  
  .checkbox-label {
    font-size: 0.8rem;
  }
  
  .btn-submit {
    padding: 0.9rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
  }
  
  .btn-icon {
    width: 17px;
    height: 17px;
  }
  
  .btn-loader {
    width: 18px;
    height: 18px;
  }
  
  .form-message {
    padding: 1rem;
    font-size: 0.85rem;
    gap: 0.6rem;
  }
  
  .form-message::before {
    font-size: 1.3rem;
  }
  
  .form-notice {
    font-size: 0.75rem;
    margin-top: -0.35rem;
  }
  
  .error-message {
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .error-message::before {
    font-size: 0.9rem;
  }
  
  .contacto-grid__info {
    gap: 0.9rem;
  }
  
  .info-card {
    padding: 1.15rem;
    gap: 0.9rem;
  }
  
  .info-card__icon {
    width: 44px;
    height: 44px;
  }
  
  .info-card__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .info-card__content h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }
  
  .info-card__content p,
  .info-card__content a {
    font-size: 0.85rem;
    margin: 0.2rem 0;
  }
  
  .info-card__description {
    font-size: 0.78rem !important;
  }
  
  .social-card {
    padding: 1.15rem;
  }
  
  .social-card h3 {
    font-size: 1rem;
    margin-bottom: 0.9rem;
  }
  
  .social-links {
    gap: 0.7rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    border-width: 1.5px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
}

/* === MOBILE EXTRA SMALL (menos de 320px) === */
@media (max-width: 319px) {
  .contacto-section {
    padding: 2.5rem 0;
  }
  
  .section-tag {
    font-size: 0.68rem;
    padding: 0.45rem 0.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-description {
    font-size: 0.85rem;
  }
  
  .form-wrapper {
    padding: 1.15rem;
  }
  
  .contact-form {
    gap: 0.9rem;
  }
  
  .form-row {
    gap: 0.9rem;
  }
  
  .form-label {
    font-size: 0.8rem;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form textarea {
    font-size: 0.85rem;
    padding: 0.7rem 0.75rem 0.7rem 2.4rem;
  }
  
  .btn-submit {
    padding: 0.85rem 1.15rem;
    font-size: 0.8rem;
  }
  
  .info-card {
    padding: 1rem;
    gap: 0.85rem;
  }
  
  .info-card__icon {
    width: 42px;
    height: 42px;
  }
  
  .social-card {
    padding: 1rem;
  }
  
  .social-link {
    width: 38px;
    height: 38px;
  }
}

/* ========================================
   LANDSCAPE MODE - FORMULARIO
======================================== */

@media (max-width: 968px) and (orientation: landscape) {
  .contacto-section {
    padding: 3rem 0;
  }
  
  .contacto-section__header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .section-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
  }
  
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .contacto-grid__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .contact-form textarea {
    min-height: 90px;
  }
  
  .btn-submit {
    padding: 0.9rem 1.5rem;
  }
  
  .info-card {
    padding: 1.25rem;
  }
  
  .social-card {
    padding: 1.25rem;
  }
}

/* ========================================
   OPTIMIZACIONES DE PERFORMANCE
======================================== */

@media (prefers-reduced-motion: reduce) {
  .form-wrapper::before,
  .btn-submit::before,
  .error-message {
    animation: none !important;
  }
  
  .form-message {
    animation: none !important;
  }
}

/* ========================================
   PRINT STYLES - FORMULARIO
======================================== */

@media print {
  .contacto-section {
    background: white !important;
    padding: 2rem 0;
  }
  
  .contacto-section::before,
  .contacto-section::after {
    display: none;
  }
  
  .form-wrapper {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #333;
  }
  
  .btn-submit,
  .social-card {
    display: none;
  }
  
  .contacto-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card {
    background: white !important;
    border: 1px solid #333;
  }
}

/* === MENSAJE FORMULARIO - RESPONSIVE === */
@media (max-width: 640px) {
  .form-message {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
    border-width: 2px;
  }
  
  .form-message::before {
    font-size: 2rem;
  }
}

@media (max-width: 375px) {
  .form-message {
    padding: 1.1rem 0.9rem;
    font-size: 0.88rem;
    gap: 0.6rem;
  }
  
  .form-message::before {
    font-size: 1.8rem;
  }
}

/* === ------------------------ === */
/* === SERVICIOS RESPONSIVE === */
/* === ------------------------ === */
/* ============================================
   HERO SERVICIOS - RESPONSIVE
   ============================================ */

/* Tablet Grande (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-servicios {
        min-height: 80vh;
        padding: 140px 0 60px;
    }

    .hero-servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hero-servicios__card {
        padding: 35px 25px;
    }

    .hero-servicios__card-icon {
        width: 70px;
        height: 70px;
    }

    .hero-servicios__card-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .hero-servicios {
        min-height: auto;
        padding: 120px 0 50px;
    }

    .hero-servicios__content {
        margin-bottom: 40px;
    }

    .hero-servicios__title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-servicios__subtitle {
        font-size: 1rem;
    }

    .hero-servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-servicios__card {
        padding: 30px 20px;
    }

    .hero-servicios__card-title {
        font-size: 1.25rem;
    }

    .hero-servicios__card-desc {
        font-size: 0.85rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-servicios {
        padding: 100px 0 40px;
    }

    .hero-servicios__title {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .hero-servicios__subtitle {
        font-size: 0.9rem;
    }

    .hero-servicios__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-servicios__card {
        padding: 25px 20px;
    }

    .hero-servicios__card-icon {
        width: 60px;
        height: 60px;
    }

    .hero-servicios__card-icon svg {
        width: 30px;
        height: 30px;
    }

    .hero-servicios__card-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   SECCIÓN SERVICIOS - RESPONSIVE
   ============================================ */
/* ============================================
   HERO SERVICIOS - RESPONSIVE
   ============================================ */

/* Tablet Grande (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-servicios {
        min-height: 80vh;
        padding: 140px 0 60px;
    }

    .hero-servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hero-servicios__card {
        padding: 35px 25px;
    }

    .hero-servicios__card-icon {
        width: 70px;
        height: 70px;
    }

    .hero-servicios__card-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .hero-servicios {
        min-height: auto;
        padding: 120px 0 50px;
    }

    .hero-servicios__content {
        margin-bottom: 40px;
    }

    .hero-servicios__title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-servicios__subtitle {
        font-size: 1rem;
    }

    .hero-servicios__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-servicios__card {
        padding: 30px 20px;
    }

    .hero-servicios__card-title {
        font-size: 1.25rem;
    }

    .hero-servicios__card-desc {
        font-size: 0.85rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-servicios {
        padding: 100px 0 40px;
    }

    .hero-servicios__title {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .hero-servicios__subtitle {
        font-size: 0.9rem;
    }

    .hero-servicios__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-servicios__card {
        padding: 25px 20px;
    }

    .hero-servicios__card-icon {
        width: 60px;
        height: 60px;
    }

    .hero-servicios__card-icon svg {
        width: 30px;
        height: 30px;
    }

    .hero-servicios__card-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   SECCIÓN SERVICIOS - RESPONSIVE
   ============================================ */

/* Desktop Grande (max-width: 1400px) */
@media (max-width: 1400px) {
    .servicios-intro {
        gap: 60px;
    }

    .carousel-track {
        height: 500px;
    }
}

/* Tablet Grande (max-width: 1024px) */
@media (max-width: 1024px) {
    .servicios-section {
        padding: 100px 0;
    }

    .servicios-intro {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 80px;
    }

    .servicios-intro__content {
        text-align: center;
        padding-right: 0;
    }

    .servicios-section__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .carousel-track {
        height: 450px;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .servicios-section {
        padding: 80px 0;
    }

    .servicios-intro {
        gap: 40px;
        margin-bottom: 60px;
    }

    .servicios-section__icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .servicios-section__icon svg {
        width: 40px;
        height: 40px;
    }

    .servicios-section__title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .servicios-section__description {
        font-size: 1rem;
    }

    .carousel-track {
        height: 380px;
    }

    .carousel-caption {
        bottom: 50px;
        padding: 20px;
    }

    .carousel-caption span {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-btn--prev {
        left: 15px;
    }

    .carousel-btn--next {
        right: 15px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .servicio-card {
        padding: 30px 25px;
    }

    .servicio-card__title {
        font-size: 1.25rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .servicios-section {
        padding: 60px 0;
    }

    .servicios-intro {
        gap: 30px;
        margin-bottom: 50px;
    }

    .servicios-section__icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

    .servicios-section__icon svg {
        width: 35px;
        height: 35px;
    }

    .servicios-section__title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .servicios-section__description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .carousel-container {
        border-radius: 15px;
    }

    .carousel-track {
        height: 300px;
    }

    .carousel-caption {
        bottom: 45px;
        padding: 15px 20px;
    }

    .carousel-caption span {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-btn--prev {
        left: 10px;
    }

    .carousel-btn--next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 10px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    .servicio-card {
        padding: 25px 20px;
    }

    .servicio-card__header {
        gap: 12px;
    }

    .servicio-card__icon {
        width: 50px;
        height: 50px;
    }

    .servicio-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .servicio-card__title {
        font-size: 1.15rem;
    }

    .servicio-card__description {
        font-size: 0.9rem;
    }

    .servicio-card__features li {
        font-size: 0.85rem;
        padding: 8px 0 8px 24px;
    }

    .servicio-card__cta {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* Mobile Pequeño (max-width: 375px) */
@media (max-width: 375px) {
    .carousel-track {
        height: 260px;
    }

    .servicios-section__title {
        font-size: 1.75rem;
    }

    .carousel-caption span {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* ============================================
   STICKY NAV - RESPONSIVE
   ============================================ */

/* Desktop Grande (max-width: 1400px) */
@media (max-width: 1400px) {
    .servicios-nav__item {
        padding: 18px 24px;
        font-size: 0.9rem;
    }
}

/* Tablet Grande (max-width: 1024px) */
@media (max-width: 1024px) {
    .servicios-nav {
        top: 70px;
    }

    .servicios-nav__item {
        padding: 18px 22px;
        font-size: 0.88rem;
        gap: 8px;
    }

    .servicios-nav__item svg {
        width: 19px;
        height: 19px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .servicios-nav {
        top: 60px;
    }

    .servicios-nav__wrapper {
        justify-content: flex-start;
        gap: 0;
        padding: 0 15px;
    }

    .servicios-nav__item {
        padding: 18px 20px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .servicios-nav__item svg {
        width: 20px;
        height: 20px;
    }

    /* Mostrar texto en tablet */
    .servicios-nav__item span {
        display: inline;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .servicios-nav {
        top: 60px;
    }

    .servicios-nav__wrapper {
        padding: 0 10px;
        gap: 8px;
    }

    .servicios-nav__item {
        flex-direction: column;
        padding: 14px 18px;
        gap: 6px;
        min-width: 80px;
        text-align: center;
    }

    .servicios-nav__item span {
        display: block;
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .servicios-nav__item svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Pequeño (max-width: 375px) */
@media (max-width: 375px) {
    .servicios-nav__wrapper {
        padding: 0 5px;
        gap: 4px;
    }

    .servicios-nav__item {
        padding: 12px 14px;
        min-width: 70px;
    }

    .servicios-nav__item span {
        font-size: 0.65rem;
    }

    .servicios-nav__item svg {
        width: 22px;
        height: 22px;
    }
}

/* Tablet Grande (max-width: 1024px) */
@media (max-width: 1024px) {
    .servicios-intro--reverse {
        grid-template-columns: 1fr;
    }

    .servicios-intro--reverse .servicios-intro__carousel {
        order: 2; /* Carrousel abajo en móvil */
    }

    .servicios-intro--reverse .servicios-intro__content {
        order: 1; /* Texto arriba en móvil */
        text-align: center;
        padding-left: 0;
    }
}

/* ========================================
   PÁGINA LEGAL - RESPONSIVE
======================================== */

@media (max-width: 968px) {
  .legal-page {
    padding: 5rem 0 3rem;
  }
  
  .legal-page__header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
  }
  
  .legal-section {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .legal-page {
    padding: 4rem 0 2.5rem;
  }
  
  .legal-page__header {
    margin-bottom: 2.5rem;
  }
  
  .legal-page__title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .legal-page__intro {
    font-size: 0.95rem;
  }
  
  .legal-section {
    padding: 1.5rem;
    border-left-width: 3px;
  }
  
  .legal-section__title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }
  
  .legal-section__content {
    font-size: 0.95rem;
  }
  
  .legal-subsection {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.75rem;
  }
  
  .legal-list li {
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
  }
  
  .legal-note,
  .legal-highlight {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .btn-back {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 375px) {
  .legal-section {
    padding: 1.25rem;
  }
  
  .legal-section__content {
    font-size: 0.9rem;
  }
  
  .legal-list li {
    padding-left: 1.5rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   BANNER DE COOKIES - RESPONSIVE MEJORADO
======================================== */

@media (max-width: 968px) {
  .cookie-banner {
    padding: 1.75rem 0;
  }
  
  .cookie-banner__container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
  }
  
  .cookie-banner__content {
    gap: 1.25rem;
  }
  
  .cookie-banner__icon {
    width: 56px;
    height: 56px;
  }
  
  .cookie-banner__icon svg {
    width: 30px;
    height: 30px;
  }
  
  .cookie-banner__title {
    font-size: 1.25rem;
  }
  
  .cookie-banner__description {
    font-size: 0.95rem;
  }
  
  .cookie-banner__actions {
    width: 100%;
    gap: 0.85rem;
  }
  
  .cookie-banner__btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1.5rem 0;
  }
  
  .cookie-banner__container {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
  
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .cookie-banner__icon {
    width: 52px;
    height: 52px;
  }
  
  .cookie-banner__icon svg {
    width: 28px;
    height: 28px;
  }
  
  .cookie-banner__title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }
  
  .cookie-banner__description {
    font-size: 0.9rem;
  }
  
  .cookie-banner__actions {
    flex-direction: column-reverse;
  }
  
  .cookie-banner__btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 1.25rem 0;
  }
  
  .cookie-banner__container {
    padding: 0 1.25rem;
  }
  
  .cookie-banner__icon {
    width: 48px;
    height: 48px;
  }
  
  .cookie-banner__icon svg {
    width: 26px;
    height: 26px;
  }
  
  .cookie-banner__title {
    font-size: 1.1rem;
  }
  
  .cookie-banner__description {
    font-size: 0.88rem;
  }
  
  .cookie-banner__btn {
    padding: 0.95rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .cookie-banner__btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 375px) {
  .cookie-banner__container {
    padding: 0 1rem;
  }
  
  .cookie-banner__icon {
    width: 44px;
    height: 44px;
  }
  
  .cookie-banner__title {
    font-size: 1.05rem;
  }
  
  .cookie-banner__description {
    font-size: 0.85rem;
  }
  
  .cookie-banner__btn {
    padding: 0.9rem 1.15rem;
    font-size: 0.88rem;
    gap: 0.5rem;
  }
}