/* Variables CSS inspiradas en CCB */
:root {
    --primary-blue: #003d82;
    --secondary-blue: #0056b3;
    --light-blue: #e7f3ff;
    --accent-orange: #ff6b35;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --text-light: #495057;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f5f7fa;
    --border-light: #dee2e6;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --transition: all 0.15s ease-in-out;

    /* Responsive spacing variables */
    --container-padding: 1rem;
    --section-padding: 3rem 0;
    --grid-gap: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gotham';
    /* Nombre que le das a la fuente */
    src: url('font/GothamRounded-Book.otf') format('otf');
    /* Ruta al archivo .woff2 */
    /* url('fonts/mi-fuente.woff') format('woff');   Ruta al archivo .woff */
    font-style: normal;
    font-weight: normal;
}

body {
    font-family: 'Gotham', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--bg-white) !important;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Responsive Container System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.container-fluid {
    max-width: 100%;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Header estilo CCB - Responsive */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    width: 100%;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

/* Top Bar - Hidden on mobile */
.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    display: block;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.8rem;
}

.top-bar-links a:hover {
    color: var(--light-blue);
}

.main-nav {
    padding: 1rem 0;
    position: relative;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    flex-shrink: 0;
    z-index: 1001;
}

.logo-icon {
    width: clamp(45px, 8vw, 60px);
    height: clamp(45px, 8vw, 60px);
    background: var(--primary-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-right: 0.75rem;
}

.logo-img {
    width: clamp(40px, 8vw, 55px);
}

.logo-text h1 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.logo-text p {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

/* Mobile-First Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    display: block;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-header {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Responsive Button System */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    white-space: nowrap;
    min-height: 44px;
    /* Touch target size */
    line-height: 1;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-blue);
}

.btn-afiliate {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-afiliate:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--light-blue);
    /* border: 1px solid var(--primary-blue); */
    border: 1px solid var(--light-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-orange {
    background: var(--accent-orange);
    color: white;
}

.btn-orange:hover {
    background: #e55a2b;
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: 1002;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle:hover {
    background: rgba(0, 61, 130, 0.1);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* Hero Section - Responsive */
.hero {
    margin-top: clamp(120px, 15vw, 140px);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Flexible Grid System */
.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-text p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-graphic {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 6vw, 4rem);
    color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Quick Access - Responsive */
.quick-access {
    background: var(--bg-white);
    padding: var(--section-padding);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.quick-access-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.quick-access h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
}

.quick-item {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.quick-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.quick-item i {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.quick-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.quick-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Stats Section - Responsive */
.stats {
    background: var(--bg-section);
    padding: var(--section-padding);
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-header h2 {
    color: var(--primary-blue);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--grid-gap);
}

.stat-card {
    background: white;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-blue);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    line-height: 1.2;
}

/* Services Section - Responsive */
.services {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.service-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* CEO Section - Responsive */
.ceo-section {
    background: var(--bg-section);
    padding: var(--section-padding);
}

.ceo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.ceo-content h2 {
    color: var(--primary-blue);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1.5rem;
}

.ceo-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.workshops {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 2rem;
}

.workshop-tag {
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    line-height: 1.2;
}

.ceo-image {
    /* background: white; */
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.ceo-placeholder {
    /* height: 350px; */
    /* background: var(--bg-section); */
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: var(--text-muted);
}

/* Membership Section - Responsive */
.membership {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
    margin-top: 3rem;
}

.membership-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.membership-card:hover {
    box-shadow: var(--shadow);
}

.membership-card.featured {
    border-color: var(--accent-orange);
    position: relative;
}

.membership-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.membership-header {
    padding: 2rem;
    text-align: center;
    flex-shrink: 0;
}

.membership-type {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.membership-price {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.membership-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.membership-body {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.membership-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.membership-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.membership-features li i {
    color: var(--success-green);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* About Section - Responsive */
.about {
    background: var(--bg-section);
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.about-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* SECCIÓN HECHO EN MÉXICO */
.hecho-mexico {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.hecho-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hecho-content {
    text-align: center;
}

.hecho-content p {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hecho-highlight {
    background: var(--primary-blue);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.hecho-en-mx {
    background: #8B1A1A;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video placeholder */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-placeholder p {
    font-size: 1.1rem;
    margin: 0;
}

.mexico-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #006847 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #CE1126 66.66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 1.2em;
}

/* SECCIÓN DE ALIANZAS */
.alianzas {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-section);
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    margin: 0 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Logos placeholder - reemplaza con tus logos reales */
.partner-logo:nth-child(1)::before {
    /* content: 'LOGO 1'; */
}

.partner-logo:nth-child(2)::before {
    /* content: 'LOGO 2'; */
}

.partner-logo:nth-child(3)::before {
    /* content: 'LOGO 3'; */
}

.partner-logo:nth-child(4)::before {
    /* content: 'LOGO 4'; */
}

.partner-logo:nth-child(5)::before {
    /* content: 'LOGO 5'; */
}

.partner-logo:nth-child(6)::before {
    /* content: 'LOGO 6'; */
}

.partner-logo:nth-child(7)::before {
    /* content: 'LOGO 7'; */
}

.partner-logo:nth-child(8)::before {
    /* content: 'LOGO 8'; */
}

.partner-logo::before {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

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

/* Gradientes para fade effect */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-section) 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-section) 0%, transparent 100%);
}

/* Contact Section - Responsive */
.contact {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-blue);
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-form {
    background: var(--bg-section);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--border-radius);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    min-height: 44px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 130, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

.partner-card {
    background: white;
    padding: 2rem;
    height: 150px;
    /* Altura fija para uniformidad */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* Footer - Responsive */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
    display: block;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #adb5bd;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    text-align: center;
    color: #adb5bd;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.service-card,
.membership-card,
.about-card,
.quick-item {
    will-change: transform;
}

/* Animations - Optimized */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.w-100 {
    width: 100%;
}

/* RESPONSIVE BREAKPOINTS */

/* Extra Large Screens */
@media (min-width: 1400px) {
    :root {
        --container-padding: 2rem;
        --section-padding: 5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }

    .ceo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }

    .ceo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .social-links {
        justify-content: flex-start;
    }

    .hecho-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }

    .hecho-content {
        text-align: left;
    }

    .hecho-content p {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Desktop/Tablet Landscape */
@media (min-width: 992px) {
    .top-bar {
        display: block;
    }

    .nav-menu {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .cta-header {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .ceo-placeholder {
        max-width: 600px;
    }

    .hecho-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }

    .hecho-content {
        text-align: left;
    }

    .hecho-content p {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Tablet Portrait */
@media (max-width: 991px) and (min-width: 769px) {
    .top-bar {
        display: block;
    }

    .top-bar-links {
        gap: 0.75rem;
    }

    .top-bar-links a {
        font-size: 0.75rem;
    }

    .nav-menu {
        display: flex;
        gap: 1.5rem;
    }

    .cta-header {
        display: flex;
        gap: 0.5rem;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

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

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

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

    .ceo-placeholder {
        max-width: 300px;
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 2.5rem 0;
        --grid-gap: 1.25rem;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .cta-header {
        display: none;
    }

    /* Add overlay */
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Hero adjustments */
    .hero {
        margin-top: 80px;
        padding: 2rem 0;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Grid adjustments */
    .quick-grid {
        grid-template-columns: 1fr;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .membership-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .workshops {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .workshop-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #495057;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .social-links {
        justify-content: center;
    }

    /* Form improvements */
    .contact-form {
        padding: 1.5rem;
    }

    .form-control {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 1rem;
    }

    .btn {
        min-height: 48px;
        font-size: 1rem;
    }

    /* Contact info stack */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.75rem;
    }

    .contact-icon {
        margin-bottom: 0;
    }


    .ceo-placeholder {
        max-width: 700px !important;
    }

    .ceo-grid {
        display: block;
    }

    .partner-logo {
        width: 160px;
        height: 100px;
        margin: 0 1rem;
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }

    .video-placeholder i {
        font-size: 3rem;
    }

    .video-placeholder p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --section-padding: 2rem 0;
        --grid-gap: 1rem;
    }

    .nav-menu {
        width: 85%;
        padding: 5rem 1.5rem 1.5rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.5rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.1;
    }

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

    .hero-text p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .service-card,
    .membership-card,
    .about-card {
        padding: 1.5rem;
    }

    .quick-access-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .workshops {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .workshop-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
    }

    .membership-header {
        padding: 1.5rem;
    }

    .membership-body {
        padding: 0 1.5rem 1.5rem;
    }

    .membership-price {
        font-size: 1.75rem;
    }

    .contact-form h3 {
        font-size: 1.1rem;
    }

    .form-control {
        padding: 0.875rem 0.75rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .partner-logo {
        width: 140px;
        height: 90px;
        margin: 0 0.75rem;
    }

    .carousel-container {
        padding: 1.5rem 0;
    }

    .ceo-placeholder {
        max-width: 400px !important;
    }
}

/* Extra Small Mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    :root {
        --container-padding: 0.5rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .nav-menu {
        width: 90%;
        padding: 4rem 1rem 1rem;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    .workshops {
        grid-template-columns: 1fr;
    }

    .ceo-placeholder {
        max-width: 370px !important;
    }

    .ceo-grid {
        display: block;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .service-icon,
    .about-icon,
    .contact-icon,
    .logo-icon {
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

/* Print Styles */
@media print {

    .header,
    .mobile-toggle,
    .nav-overlay,
    .hero-buttons,
    .btn,
    .contact-form {
        display: none !important;
    }

    .hero {
        margin-top: 0;
        background: white !important;
        color: black !important;
        padding: 1rem 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .section-title {
        page-break-after: avoid;
    }

    .service-card,
    .membership-card,
    .about-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-menu a:focus,
.mobile-toggle:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .service-card:hover,
    .membership-card:hover,
    .about-card:hover,
    .quick-item:hover {
        transform: none;
    }

    .carousel-track {
        animation: none;
    }
}

/* Dark Mode Support (Future Enhancement) */
/* @media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-section: #2d2d2d;
        --text-dark: #f0f0f0;
        --text-muted: #b0b0b0;
        --border-light: #404040;
    }
} */


/************************ prueba de correo ********************/
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.loading {
    display: none !important;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.btn-text {
    display: inline;
}

/***************/