/* ===================================
   VARIABLES Y RESETEO
   =================================== */

:root {
    --primary-blue: #00A8E8;
    --primary-red: #E63946;
    --dark-blue: #003459;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   NAVIGATION
   =================================== */

nav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    margin-top: 80px;
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.9), rgba(230, 57, 70, 0.8)),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 52, 89, 0.3);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s backwards;
}

.mascot-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

/* Floating shapes */
.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 10%;
    left: 5%;
    animation-delay: 5s;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    25% { 
        transform: translate(20px, 20px) rotate(5deg); 
    }
    50% { 
        transform: translate(0, 40px) rotate(-5deg); 
    }
    75% { 
        transform: translate(-20px, 20px) rotate(3deg); 
    }
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 2rem;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===================================
   SECTION TITLES
   =================================== */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   WELCOME SECTION
   =================================== */

.welcome {
    padding: 5rem 2rem;
    background: white;
}

.welcome-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.director-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.welcome-content h3 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.welcome-content p {
    margin-bottom: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.signature {
    font-style: italic;
    color: var(--dark-blue);
    font-weight: 600;
    margin-top: 2rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ===================================
   MODALIDADES SECTION
   =================================== */

.modalidades {
    padding: 5rem 2rem;
    background: white;
}

.modalidades-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.modalidad-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.modalidad-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.modalidad-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 8px 30px rgba(0, 168, 232, 0.2);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -5px;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    border-left: 5px solid #c62d3a;
    border-bottom: 5px solid transparent;
}

.modalidad-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modalidad-card h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modalidad-card > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modalidad-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.modalidad-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.modalidad-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.modalidad-card .btn {
    width: 100%;
    text-align: center;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    margin-top: 80px;
    padding: 5rem 2rem 3rem;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.9), rgba(230, 57, 70, 0.8));
    color: white;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* ===================================
   FUNDADORAS PAGES STYLES
   =================================== */

.fundadoras-intro {
    padding: 5rem 2rem;
    background: white;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.fundadoras-profiles {
    padding: 3rem 2rem 5rem;
    background: var(--light-gray);
}

.fundadora-profile {
    max-width: 1200px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.fundadora-profile.reverse {
    grid-template-columns: 2fr 1fr;
}

.fundadora-profile.reverse .fundadora-image {
    order: 2;
}

.fundadora-profile.reverse .fundadora-info {
    order: 1;
}

.fundadora-image {
    position: relative;
    overflow: hidden;
}

.fundadora-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fundadora-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.fundadora-info {
    padding: 3rem;
}

.fundadora-info h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.fundadora-info h3 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.fundadora-years {
    display: inline-block;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 2rem;
}

.fundadora-bio h4,
.fundadora-achievements h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.fundadora-bio p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
}

.fundadora-achievements ul {
    list-style: none;
    margin-top: 1rem;
}

.fundadora-achievements ul li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.fundadora-achievements ul li::before {
    content: '🏆';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.fundadora-quote {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    border-radius: 10px;
}

.fundadora-quote blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-blue);
    font-style: italic;
}

.legacy-section {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
}

.legacy-content h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.legacy-content > p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.legacy-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.legacy-stat {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.legacy-stat h3 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.legacy-stat p {
    font-size: 1.1rem;
    color: var(--dark-blue);
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-mascot-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.footer-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.contact-info li {
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.9);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.8rem;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* ===================================
   TIMELINE STYLES
   =================================== */

.historia-section {
    padding: 5rem 2rem;
    background: white;
}

.historia-intro {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.historia-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.historia-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-red));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.timeline-item.left .timeline-content::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 30px;
    border: 15px solid transparent;
    border-left-color: white;
}

.timeline-item.right .timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    border: 15px solid transparent;
    border-right-color: white;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: #555;
    line-height: 1.7;
}

/* ===================================
   MVV (MISIÓN, VISIÓN, VALORES)
   =================================== */

.mvv-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.mvv-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.mvv-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mvv-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
}

.mvv-card.featured h3,
.mvv-card.featured .mvv-icon {
    color: white;
}

.mvv-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mvv-card h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.mvv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.mvv-card.featured p {
    color: white;
    opacity: 0.95;
}

.valores-list {
    list-style: none;
    text-align: left;
}

.valores-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.valores-list li:last-child {
    border-bottom: none;
}

/* ===================================
   LOGROS SECTION
   =================================== */

.logros-section {
    padding: 5rem 2rem;
    background: white;
}

.logros-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.logro-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.logro-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-md);
}

.logro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.logro-card h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.logro-card p {
    color: #666;
}

/* ===================================
   TEAM SECTION (DOCENTES/ADMIN)
   =================================== */

.docentes-intro {
    padding: 3rem 2rem;
    background: white;
}

.team-section {
    padding: 3rem 2rem 5rem;
    background: var(--light-gray);
}

.department-header {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 10px;
    color: white;
}

.department-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.team-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.team-info h4 {
    font-size: 1.1rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-credentials {
    margin-top: 1rem;
}

.team-credentials p {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.team-credentials ul {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
}

.team-credentials ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.team-credentials ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ===================================
   GALLERY TABS
   =================================== */

.gallery-tabs {
    padding: 2rem 0;
    background: white;
    border-bottom: 2px solid var(--light-gray);
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: white;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    border-color: transparent;
}

.gallery-content {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.tab-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-grid-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item-main {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item-main:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item-main:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item-main:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Videos Grid */
.videos-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-item:hover {
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #666;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   PROYECTOS STYLES
   =================================== */

.proyectos-intro {
    padding: 3rem 2rem;
    background: white;
}

.proyectos-principales {
    padding: 3rem 2rem 5rem;
    background: var(--light-gray);
}

.proyecto-destacado {
    max-width: 1400px;
    margin: 0 auto 5rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}

.proyecto-destacado.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.proyecto-destacado.reverse .proyecto-imagen {
    order: 2;
}

.proyecto-destacado.reverse .proyecto-contenido {
    order: 1;
}

.proyecto-imagen {
    position: relative;
    min-height: 400px;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proyecto-contenido {
    padding: 3rem;
}

.proyecto-categoria {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.proyecto-contenido h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.proyecto-descripcion {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.proyecto-detalles h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.proyecto-detalles ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.proyecto-detalles ul li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.proyecto-detalles ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.proyecto-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-box h4 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--dark-blue);
    font-weight: 600;
}

.otros-proyectos {
    padding: 5rem 2rem;
    background: white;
}

.proyectos-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.proyecto-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.proyecto-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.proyecto-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.proyecto-card h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.proyecto-card p {
    color: #666;
    line-height: 1.7;
}

/* ===================================
   HOME GALLERY SECTION
   =================================== */

.home-gallery {
    padding: 5rem 2rem;
    background: white;
}

.home-gallery-grid {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.home-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.home-gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.home-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.home-gallery-item:hover img {
    transform: scale(1.1);
}

.home-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 52, 89, 0.95), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.home-gallery-item:hover .home-gallery-overlay {
    transform: translateY(0);
}

.home-gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.home-gallery-overlay p {
    font-size: 1rem;
    opacity: 0.95;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   FEATURES WITH IMAGES
   =================================== */

.feature-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-icon {
    font-size: 3rem;
    margin: 1.5rem 2rem 1rem;
}

.feature-card h3 {
    color: var(--dark-blue);
    margin: 0 2rem 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    margin: 0 2rem;
    flex-grow: 1;
}

.feature-link {
    display: inline-block;
    margin: 1.5rem 2rem 2rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* ===================================
   CONTACTO FORM STYLES (MEJORADO)
   =================================== */

.contacto-main {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.contacto-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contacto-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    align-items: start;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

.info-content a {
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-blue);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-links-contact a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contacto-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contacto-form-section h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contacto-form-section > p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
}

.btn-form {
    width: 100%;
    padding: 1.2rem;
    margin-top: 1rem;
}

.form-message {
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mapa-section {
    padding: 5rem 2rem 3rem;
    background: white;
}

.mapa-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.mapa-section > .container > p {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.mapa-container {
    max-width: 1400px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.direcciones-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.direcciones-text h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.direcciones-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.admision-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.admision-steps {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.documentos-requeridos {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.documentos-requeridos h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.documento-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.doc-icon {
    font-size: 2rem;
}

.documento-item p {
    color: #555;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-mascot {
        display: none;
    }
    
    .fundadora-profile,
    .fundadora-profile.reverse {
        grid-template-columns: 1fr;
    }
    
    .fundadora-profile.reverse .fundadora-image,
    .fundadora-profile.reverse .fundadora-info {
        order: initial;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 1rem;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item .timeline-content::before {
        left: -15px;
        border-right-color: white;
        border-left-color: transparent;
    }

    .proyecto-destacado,
    .proyecto-destacado.reverse {
        grid-template-columns: 1fr;
    }

    .proyecto-destacado.reverse .proyecto-imagen,
    .proyecto-destacado.reverse .proyecto-contenido {
        order: initial;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .welcome-container {
        grid-template-columns: 1fr;
    }

    .modalidades-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .fundadora-info {
        padding: 2rem;
    }
    
    .page-header-content h1 {
        font-size: 2rem;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-main {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .tabs-container {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .proyecto-contenido {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admision-steps {
        flex-direction: column;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .documentos-grid {
        grid-template-columns: 1fr;
    }

    .home-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .home-gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .home-gallery-grid {
        grid-template-columns: 1fr;
    }

    .home-gallery-item.large {
        grid-column: span 1;
    }

    .feature-card {
        padding: 0;
    }
}

/* ===================================
   FORMULARIO CONTACTO - ESTILOS FORZADOS
   Copiar este código al FINAL del archivo styles.css
   =================================== */

/* Resetear estilos por defecto del navegador */
input, select, textarea, button {
    box-sizing: border-box;
}

/* Contenedor del formulario */
#contactForm {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

/* Fila de formulario */
#contactForm .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
}

/* Grupo de formulario */
#contactForm .form-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

/* Labels */
#contactForm .form-group label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    color: #003459 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

/* Inputs de texto, email, tel */
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"] {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    background: white !important;
    color: #2C3E50 !important;
    transition: all 0.3s ease !important;
}

/* Selects */
#contactForm select {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    background: white !important;
    color: #2C3E50 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003459' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
}

/* Textarea */
#contactForm textarea {
    width: 100% !important;
    padding: 0.9rem 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    background: white !important;
    color: #2C3E50 !important;
    resize: vertical !important;
    min-height: 120px !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
}

/* Focus states */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    outline: none !important;
    border-color: #00A8E8 !important;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1) !important;
}

/* Checkbox group */
#contactForm .checkbox-group {
    display: flex !important;
    align-items: start !important;
    gap: 0.8rem !important;
    padding: 0.5rem 0 !important;
}

#contactForm .checkbox-group input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-top: 0.3rem !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

#contactForm .checkbox-group label {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
    color: #2C3E50 !important;
}

/* Botón de envío */
#contactForm button[type="submit"],
#contactForm .btn-form {
    width: 100% !important;
    padding: 1.2rem !important;
    margin-top: 1rem !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #00A8E8, #E63946) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

#contactForm button[type="submit"]:hover,
#contactForm .btn-form:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

#contactForm button[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Responsive */
@media (max-width: 768px) {
    #contactForm .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* Mensaje de éxito */
#formSuccess {
    padding: 1.5rem !important;
    border-radius: 10px !important;
    margin-top: 1.5rem !important;
    text-align: center !important;
    background: #d4edda !important;
    border: 2px solid #c3e6cb !important;
    color: #155724 !important;
    font-weight: 500 !important;
}

#formSuccess p {
    margin: 0 !important;
    font-size: 1.1rem !important;
}