/* ============================================
   ACWS - Estilos Completos
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
*,
*:after,
*:before {
    box-sizing: border-box;
}
body {
    min-height: 200vh;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    background: #121212;
    color: #e8e8e8;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
h1 {
    font-size: clamp(2.5rem, 4vw + 1rem, 6rem);
    letter-spacing: -0.05ch;
    color: #ffffff;
}
h2 {
    font-size: clamp(2rem, 3vw + 1rem, 4.5rem);
    letter-spacing: -0.03ch;
    color: #d4af37;
}
h3 {
    font-size: clamp(1.3rem, 1.5vw + 0.5rem, 1.8rem);
    color: #1a1a2e;
}
p {
    line-height: 1.7;
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.3rem);
}
.gold-text {
    color: #d4af37;
    display: block;
    font-size: clamp(3rem, 5vw + 1rem, 7rem);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}
/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.logo-link {
  text-decoration: none;
  color: inherit;
}
.logo-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-acws-nav {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
}
.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: none;
}
.logo-subtitle-nav {
    font-size: 0.65rem;
    color: #d4af37;
    letter-spacing: 2px;
    opacity: 0.9;
}
nav a:first-of-type {
    color: #d4af37;
    text-decoration: none;
    transition: transform 0.3s ease;
}
nav a:first-of-type:hover {
    transform: scale(1.05);
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links a:hover {
    color: #d4af37;
}
.nav-links a:hover::after {
    width: 100%;
}
.cta-nav {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    color: #1a1a2e;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}
.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}
/* ============================================
   LAYOUT STRUCTURE
   ============================================ */
section {
    min-height: 100vh;
    position: relative;
}
/* ============================================
   BACKGROUND IMAGES - SOLUCIÓN PARA NO RECORTAR
   ============================================ */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.8);
}
/* ============================================
   FADE-IN EFFECT
   ============================================ */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-element:not(.visible) {
    transition-delay: 0s !important;
}
.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================
   CONTENT CONTAINERS
   ============================================ */
.content {
    position: relative;
    z-index: 2;
    width: 1200px;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 2rem;
}
/* ============================================
   SECCIÓN 1: HERO
   ============================================ */
.hero-section {
    display: flex;
    align-items: center;
    background: #0a0a0a;
}
.hero-section .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 3rem;
    z-index: 3;
}
.hero-section p {
    font-size: clamp(1.1rem, 0.8vw + 0.9rem, 1.5rem);
    margin: 2rem 0;
    color: #e8e8e8;
    max-width: 700px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    color: #1a1a2e;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 45px rgba(212, 175, 55, 0.6);
}
.cta-button-secondary {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}
.cta-button-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}
.trust-badges-hero {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.trust-badge-number {
    font-size: 3rem;
    font-weight: 800;
    color: #d4af37;
    line-height: 1;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
.trust-badge-label {
    font-size: 0.9rem;
    color: #e8e8e8;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ============================================
           SECCIÓN: MISIÓN Y VISIÓN
           ============================================ */

        .mission-vision-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
            position: relative;
            overflow: hidden;
        }

        .mission-vision-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            align-items: stretch;
        }

        /* Columna izquierda - Misión */
        .mission-content {
            background: rgba(255, 255, 255, 0.03);
            padding: 60px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-right: 1px solid rgba(212, 175, 55, 0.2);
        }

        /* Columna derecha - Imagen */
        .vision-image {
            position: relative;
            min-height: 600px;
            overflow: hidden;
        }

        .vision-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(20%);
        }

        /* Círculo con foto */
        .mission-profile {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 30px;
            border: 4px solid #d4af37;
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
        }

        .mission-profile img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Título "our mission" */
        .mission-title {
            font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 25px;
            font-weight: 300;
            letter-spacing: 1px;
            line-height: 1.2;
        }

        /* Texto descriptivo */
        .mission-text {
            color: #b8b8b8;
            line-height: 1.8;
            font-size: 1rem;
            margin-bottom: 30px;
            text-align: justify;
        }

        /* Créditos */
        .mission-credits {
            color: #888;
            font-size: 0.85rem;
            margin-bottom: 35px;
        }

        .mission-credits a {
            color: #d4af37;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.3s ease;
        }

        .mission-credits a:hover {
            border-bottom-color: #d4af37;
        }

        /* Botón */
        .mission-button {
            display: inline-block;
            padding: 16px 45px;
            background: linear-gradient(135deg, #d4af37 0%, #a68a2a 100%);
            color: #0a0a0a;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            align-self: flex-start;
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
        }

        .mission-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
            background: linear-gradient(135deg, #e6c247 0%, #b89b3a 100%);
        }

        /* Responsivo */
        @media (max-width: 968px) {
            .mission-vision-container {
                grid-template-columns: 1fr;
            }

            .mission-content {
                border-right: none;
                border-bottom: 1px solid rgba(212, 175, 55, 0.2);
                padding: 50px 30px;
            }

            .vision-image {
                min-height: 400px;
            }

            .mission-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 580px) {
            .mission-content {
                padding: 40px 20px;
            }

            .mission-profile {
                width: 140px;
                height: 140px;
            }

            .mission-title {
                font-size: 1.75rem;
            }

            .mission-text {
                font-size: 0.95rem;
            }

            .vision-image {
                min-height: 300px;
            }
        }


/* ============================================
   SECCIÓN 2: SERVICIOS (CON GRID)
   ============================================ */
.services-section {
    min-height: 120vh;
}
.services-section .background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.services-section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 3rem 4rem;
}
.text-wrap {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title {
    margin-bottom: 1rem;
}
.section-subtitle {
    color: #e8e8e8;
    font-size: clamp(1.1rem, 0.5vw + 1rem, 1.4rem);
    opacity: 0.9;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
/* Nuevos estilos mejorados para tarjetas de servicio */
#membership {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.service-card {
    background: rgba(255, 255, 255, 0.696);
    backdrop-filter: blur(8px);
    padding: 2.2rem 1.8rem;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 3px solid #d4af37;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: brightness(0.9);
}
/* Imágenes de fondo específicas para cada servicio */
.service-card:nth-child(1)::before { 
    background-image: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=600&q=60&fm=webp'); 
}
.service-card:nth-child(2)::before { 
    background-image: url('static/img/img\(5\).jpeg'); 
}
.service-card:nth-child(3)::before { 
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=600&q=60&fm=webp'); 
}
.service-card:nth-child(4)::before { 
    background-image: url('https://images.unsplash.com/photo-1432139555190-58524dae6a55?auto=format&fit=crop&w=600&q=60&fm=webp'); 
}
.service-card:nth-child(5)::before { 
    background-image: url('static/img/img\(6\).jpeg'); 
}
.service-card:nth-child(6)::before { 
    background-image: url('static/img/img\(1\).jpeg') 
}
.service-card:nth-child(7)::before { 
    background-image: url('static/img/WhatsApp\ Image\ 2025-11-02\ at\ 10.38.28\ PM.webp'); 
}
.service-card:nth-child(8)::before { 
    background-image: url('static/img/WhatsApp\ Image\ 2025-11-02\ at\ 10.49.12\ PM.webp'); 
}
.service-card:nth-child(9)::before { 
    background: #d4af37;
}
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
    z-index: 10;
}
.service-card:hover::before {
    opacity: 0.3;
}
.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.service-card h3 {
    margin-bottom: 1rem;
    color: #1a1a2e;
}
.service-card p {
    color: #000000;
    line-height: 1.8;
    font-size: 1rem;
}
/* ============================================
   SECCIÓN 5: PATROCINADORES
   ============================================ */
.partners-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;

}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-header h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #2B5BA6, #0891B2);
  border-radius: 2px;
}

.section-subtitle {
  color: #bdc3c7;
  line-height: 1.9;
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.carousel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  height: 300px;
  display: grid;
  align-content: center;
  row-gap: 2rem;
  overflow: hidden;
}

.carousel__card {
  width: 200px;
  height: 140px;
  background-color: var(--container-color);
  box-shadow: 0 12px 24px hsla(220, 100%, 20%, .1);
  padding: 1.5rem;
  margin-inline: 1rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel__card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px hsla(220, 100%, 20%, .2);
}

.carousel__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel__card:hover .carousel__logo {
  opacity: 1;
  transform: scale(1.05);
}

.carousel__content {
  width: max-content;
  display: flex;
  animation: scroll 18s linear infinite;
}

.carousel__reverse {
  flex-direction: row-reverse;
  animation-direction: reverse;
  animation-delay: -s;
}

.carousel__content:hover {
  animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

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

/* For small devices */
@media screen and (max-width: 320px) {
  .carousel__card {
    width: 150px;
    height: 100px;
    padding: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .carousel {
    margin-inline: auto;
    row-gap: 3rem;
  }

  .carousel::before,
  .carousel::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 1;
  }

  .carousel::before {
    right: 0;
    background: linear-gradient(90deg,
        hsla(220, 24%, 94%, 0) 0%,
        var(--body-color) 100%);
  }

  .carousel::after {
    left: 0;
    background: linear-gradient(90deg,
        var(--body-color) 0%,
        hsla(220, 24%, 94%, 0) 100%);
  }

  .carousel__card {
    width: 240px;
    height: 160px;
    padding: 2rem;
    border-radius: 2rem;
  }
}
/* ============================================
   SECCIÓN 4: CONTACTO
   ============================================ */
.contact-section {
    min-height: 100vh;
}
.contact-section .background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.contact-section .content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}
.contact-container {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.contact-container .section-title {
    color: #1a1a2e;
    text-align: center;
}
.contact-container .section-subtitle {
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
}
.contact-form {
    display: grid;
    gap: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.submit-button {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    color: #1a1a2e;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    margin-top: 1rem;
}
.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

/* ============================================
   FORMULARIO - SELECCIÓN MÚLTIPLE DE SERVICIOS
   ============================================ */
.services-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border: 1px solid rgba(224, 224, 224, 0.5);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-option:hover {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
}

.service-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
    margin: 0;
}

.service-option label {
    cursor: pointer;
    color: #1a1a2e;
    font-size: 0.95rem;
    margin: 0;
    user-select: none;
}

.service-option input[type="checkbox"]:checked + label {
    color: #d4af37;
    font-weight: 600;
}

.selected-services-preview {
    margin-top: 0.8rem;
    padding: 0.5rem 0.8rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    display: none;
}

.selected-count {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   FOOTER - DISEÑO PROFESIONAL CON FONT AWESOME
   ============================================ */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    color: #e8e8e8;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: 80px;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.4rem;
    color: #d4af37;
    letter-spacing: 1px;
}

.footer-description {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-title {
    color: #d4af37;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #d4af37;
}

.footer-links a {
    color: #e8e8e8;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #d4af37;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}


.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #d4af37;
    font-size: 1.3rem;
    min-width: 25px;
}

/* Añadido al CSS del footer */
.legal-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #777;
}

.legal-info a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-info a:hover {
    color: #d4af37;
}

/* ============================================
   SOCIAL ICONS - FONT AWESOME ANIMADOS
   ============================================ */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.information-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d4af37;
    font-size: 1.2rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d4af37;
    color: #d4af37;
    font-size: 1.2rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: #d4af37;
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.social-icon i {
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: rotateY(360deg);
}

/* Efecto de resplandor al hacer hover */
.social-icon:hover::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
    z-index: -1;
}

/* Animación de entrada para los iconos */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icon {
    animation: fadeIn 0.6s ease forwards;
}

.social-icon:nth-child(1) { animation-delay: 0.1s; }
.social-icon:nth-child(2) { animation-delay: 0.2s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   NEWSLETTER
   ============================================ */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.5);
    color: #e8e8e8;
    font-size: 0.9rem;
}

.newsletter-input input:focus {
    outline: none;
    border-color: #d4af37;
}

.newsletter-input button {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================
   MODALS - ESTILOS MEJORADOS Y CORREGIDOS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(26, 26, 46, 0.98);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #d4af37;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s;
    z-index: 100;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
    background: rgba(212, 175, 55, 0.2);
}

.modal-body {
    padding: 3rem 2.5rem;
    text-align: center;
    color: #e8e8e8;
    overflow-y: auto;
    max-height: calc(85vh - 40px);
}

/* Estilos para el scrollbar del modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #f4e5a1;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Iconos de éxito y error */
.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.success-icon {
    color: #4ade80;
}

.error-icon {
    color: #f87171;
}

/* Títulos y textos del modal */
.modal-body h3 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-body h2 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body p {
    color: #e8e8e8;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-body ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.modal-body strong {
    color: #d4af37;
    font-weight: 600;
}

.modal-body a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.modal-body a:hover {
    color: #f4e5a1;
    text-decoration: underline;
}

/* Botones del modal */
.modal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Icono de Instagram dentro del botón */
.modal-cta .information-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    background-color: transparent;
}

.modal-secondary {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0.5rem;
}

.modal-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateY(-2px);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    align-items: center;
}

/* Estilos específicos para modales de Privacidad y Términos */
#privacy-modal .modal-content,
#terms-modal .modal-content {
    max-width: 900px;
    background: #ffffff;
    color: #333;
}

#privacy-modal .modal-body,
#terms-modal .modal-body {
    padding: 2.5rem;
    text-align: left;
    color: #333;
}

#privacy-modal .modal-close,
#terms-modal .modal-close {
    color: #d4af37;
    font-size: 2rem;
    background: rgba(212, 175, 55, 0.1);
}

#privacy-modal h2,
#terms-modal h2 {
    color: #d4af37;
    text-align: center;
    margin-bottom: 1rem;
}

#privacy-modal h3,
#terms-modal h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

#privacy-modal p,
#terms-modal p {
    color: #333;
    margin-bottom: 1rem;
}

#privacy-modal .close-privacy-modal,
#terms-modal .close-terms-modal {
    background: #d4af37;
    color: #1a1a2e;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

#privacy-modal .close-privacy-modal:hover,
#terms-modal .close-terms-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
        max-height: calc(90vh - 40px);
    }
    
    #privacy-modal .modal-body,
    #terms-modal .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .modal-cta,
    .modal-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .modal-body h2 {
        font-size: 1.5rem;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 0 2.5%;
    }
    
    .modal-body {
        padding: 2rem 1.2rem;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }
    
    #privacy-modal .modal-body,
    #terms-modal .modal-body {
        padding: 1.5rem 1.2rem;
    }
}
/* ============================================
   MEDIA QUERIES PARA RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-title::after {
        width: 30px;
    }
    
    .services-selection {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 600px) {
    footer {
        padding: 3rem 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-newsletter {
        align-items: center;
    }
    
    .newsletter-input {
        flex-direction: column;
    }
    
    .newsletter-input input,
    .newsletter-input button {
        width: 100%;
    }
    
    .services-selection {
        grid-template-columns: 1fr;
    }
}

/* Pantallas medianas (768px-900px) */
@media (max-width: 899px) and (min-width: 602px) {
    .content {
        padding: 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-nav {
        margin-left: auto;
    }
    
    /* Ajuste para el logo */
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .logo-acws-nav {
        font-size: 1.5rem;
    }
    
    .logo-subtitle-nav {
        display: none;
    }
    
    /* Ajustes para HERO section */
    .hero-section .content {
        padding: 4rem 1.5rem;
    }
    
    /* Ajustes para formulario */
    .contact-container {
        padding: 3rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes para Mystery Shopper */
    .text-blocks {
        width: auto;
    }
}

/* Pantallas pequeñas (menos de 602px) - Solo logo y CTA */
@media (max-width: 601px) {
    nav {
        padding: 1.2rem 1.5rem;
    }
    
    .content {
        padding: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-nav {
        margin-left: auto;
        position: relative;
        z-index: 10;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 0;
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
        animation: pulse 2s infinite;
        flex-shrink: 0;
    }
    
    .cta-nav::after {
        content: "Asesoria";
        font-size: 12px;
        font-weight: bold;
        color: #1a1a2e;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
        70% { transform: scale(1.05); }
        100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    }
    
    .cta-nav:active {
        transform: scale(0.95);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
    
    /* Ajuste para el logo */
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-acws-nav {
        font-size: 1.4rem;
    }
    
    .logo-subtitle-nav {
        display: none;
    }
    
    /* Ajustes para HERO section */
    .hero-section .content {
        padding: 3.5rem 1.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    /* Ajustes para el formulario */
    .contact-container {
        padding: 2.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes para Mystery Shopper */
    .text-blocks {
        width: auto;
    }
    
    .text-blocks p {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }
    
    /* Ajustes para el footer */
    footer {
        padding: 2.5rem 1.5rem;
    }
}

/* Ajusta las imágenes para cubrir bien toda la altura real del contenido */
.background,
.parallax-layer,
.parallax-layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solución adicional: asegura que cada sección tenga continuidad visual */
.hero-section::after,
.services-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  z-index: 2;
}

