:root {
    --primary-color: #fff;
    --accent-color: #F26522;
    --background-color: #2B3A42;
    --secondary-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(242, 101, 34, 0.3);
    --overlay-color: rgba(43, 58, 66, 0.8);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    --focus-outline: 3px solid #F26522;
    --card-bg: rgba(43, 58, 66, 0.95);
    --scan-color: rgba(242, 101, 34, 0.1);
    --scan-size: 100px;
    --orbit-size: 50px;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --card-radius: 12px;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Estilos del cursor */
.mf-cursor {
    --mf-cursor-width: 80px;
    --mf-cursor-inner-width: 6px;
    --mf-color-primary: var(--accent-color);
    --mf-color-secondary: rgba(242, 101, 34, 0.2);
    --mf-color-text: #fff;
    position: fixed;
    pointer-events: none;
}

/* Anillo exterior con efecto de escaneo */
.mf-cursor::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--accent-color) 45deg,
        var(--accent-color) 90deg,
        transparent 135deg
    );
    border-radius: 50%;
    animation: scan 2s linear infinite;
    opacity: 0.3;
}

/* Líneas de escaneo */
.mf-cursor::after {
    content: '';
    position: absolute;
    inset: -60px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-out infinite;
}



/* Efecto hover */
.mf-cursor.-inverse {
    --mf-cursor-width: 120px;
    --mf-color-primary: rgba(242, 101, 34, 0.9);
}

.mf-cursor.-inverse::before {
    animation: scan 1s linear infinite;
    opacity: 0.5;
}

/* Animaciones */
@keyframes scan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.2; }
}



/* Efecto texto */
.mf-cursor.-text {
    --mf-cursor-width: 160px;
}

.mf-cursor.-text::before {
    opacity: 0.15;
}

.mf-cursor.-text .radar-dots {
    opacity: 0.3;
}

/* Animaciones Globales */

.radar-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-color);
    opacity: 0.8;
}

.scan-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 15deg,
        rgba(242, 101, 34, 0.03) 15.1deg,
        transparent 15.2deg,
        transparent 30deg
    );
    border-radius: 50%;
    opacity: 0.5;
}

.radar-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(242, 101, 34, 0.2);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.radar-cursor::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--scan-color) 0%, transparent 70%);
    animation: pulse-ring 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.radar-cursor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--accent-color) 30deg, transparent 60deg);
    animation: radar-beam 2s linear infinite;
    opacity: 0.3;
    left: 50%;
    top: 50%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(242, 101, 34, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(242, 101, 34, 0.4);
    }
}

/* Clases de animación */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mejoras de accesibilidad */
:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.hidden {
    display:none !important;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    background-color: #000;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: -1;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--card-bg), transparent);
    padding: 1rem;
    transition: var(--transition-fast);
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.emergency-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emergency-phone {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(242, 101, 34, 0.15);
}

.emergency-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(242, 101, 34, 0.25);
    border-color: var(--accent-color);
    background: transparent;
    color: var(--accent-color);
}

.phone-menu-container {
    position: relative;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.phone-buttons {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1rem;
    z-index: 1000;
    gap: 1rem;
}

.phone-menu-container:hover .phone-buttons {
    display: flex;
}

.phone-menu-container:hover .phone-button {
    animation: scaleIn 0.4s ease forwards;
}

.phone-menu-container:hover .phone-button:nth-child(2) {
    animation-delay: 0.1s;
}

.phone-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(242, 101, 34, 0.15);
}

.phone-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(242, 101, 34, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.phone-button {
    background: var(--accent-color);
    opacity: 0.9;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-button.tenerife {
    background: rgba(242, 101, 34, 0.9);
    box-shadow: 0 4px 6px rgba(242, 101, 34, 0.2);
}

.phone-button.gran-canaria {
    background: rgba(242, 101, 34, 0.8);
    box-shadow: 0 4px 6px rgba(242, 101, 34, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 6rem 0 4rem;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.cta-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trust-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(43, 58, 66, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    width: max-content;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    text-align: left;
    line-height: 1.4;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
    background: rgba(43, 58, 66, 0.98);
}

.trust-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.trust-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 101, 34, 0.1);
    border-radius: 50%;
}

.trust-item:hover i {
    transform: scale(1.1);
}

/* Animaciones del logotipo */
@keyframes simpleBounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

.logo {
    display: block;
    width: 300px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 2rem;
    animation: simpleBounce 1.5s ease-in-out infinite !important;
}

/* Estilos de la sección de servicios */
.services,
.locations {
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(400px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 2rem auto;
    place-items: stretch;
}

.location-card {
    background: rgba(43, 58, 66, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    will-change: transform, opacity;
    transition: all 0.4s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.location-card .location-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.location-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-card .location-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.location-card .location-details {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.location-card .location-details li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.location-card .location-details li i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.location-card .card-button {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto;
    width: 100%;
    font-size: 1.1rem;
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
    border-color: var(--accent-color);
}

.location-card:hover .location-icon {
    transform: scale(1.1);
}

.location-card .card-button:hover {
    background: #ff7b3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 101, 34, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 auto 3rem;
    text-shadow: var(--text-shadow);
    max-width: 1200px;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    transition: all 0.6s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: rgba(43, 58, 66, 0.8);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    will-change: transform, opacity;
    transition: all 0.4s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.service-card .service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card .service-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-card .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-card .features-list li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card .features-list li i {
    color: var(--accent-color);
}

.service-card .card-button {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    margin-top: auto;
    width: 100%;
    box-shadow: 0 4px 6px rgba(242, 101, 34, 0.15);
}

.card-button:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(242, 101, 34, 0.25);
}

.card-button:hover i {
    transform: scale(1.1);
}

.location-card.visible,
.service-card.visible,
.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.location-card:hover,
.service-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
    border-color: var(--accent-color);
}

.location-icon {
    animation: floatAnimation 3s ease-in-out infinite;
}

.location-icon:hover {
    animation: pulseGlow 1.5s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    place-items: stretch;
    place-content: center;
}

@media (max-width: 1200px) {
    .services,
    .locations {
        margin: 4rem 2rem;
        padding: 3rem 1.5rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .service-card {
        min-height: 350px;
    }
    .location-card {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .services,
    .locations {
        margin: 3rem 1rem;
        padding: 2rem 1rem;
        border-radius: 15px;
    }
    .services-grid,
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    .service-card,
    .location-card {
        min-height: auto;
        padding: 2rem;
    }
    .service-card .service-icon,
    .location-card .location-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .service-card h3,
    .location-card h3 {
        font-size: 1.3rem;
    }
    .location-card .location-details li {
        font-size: 1rem;
    }
    .location-card .card-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    color: #ccc;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1rem;
    transition: var(--transition-fast);
    font-weight: 500;
}

.service-cta i {
    font-size: 1.2rem;
}

.service-cta:hover {
    background: #d54d0d;
    transform: scale(1.05);
}

/* Responsive para servicios */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .service-card {
        padding: 1.5rem;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Estilos para la sección de ubicaciones */
.locations {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-header img {
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.location-header:hover img {
    animation-play-state: paused;
    transform: scale(1.05);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

.location-card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}

.location-header {
    background: linear-gradient(45deg, var(--background-color), #3d4f5a);
    padding: 2rem;
    text-align: center;
    position: relative;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(242, 101, 34, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(242, 101, 34, 0.4);
    }
}

.location-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: floatIcon 3s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-icon:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--accent-color);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.location-icon i {
    font-size: 1.8rem;
    color: white;
}

.location-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 1rem 0;
    text-shadow: var(--text-shadow);
}

.partner-logo {
    max-width: 150px;
    height: auto;
    margin: 1rem auto;
    display: block;
}

/* Estilos para la información de contacto */
.contact-person {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-person:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.person-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(242, 101, 34, 0.3);
}

.person-avatar i {
    font-size: 1.5rem;
    color: white;
}

.person-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.person-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.person-role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Estilos para la dirección */
.address-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--card-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.address-header i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.address-header span {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.address-details {
    padding-left: 0.5rem;
}

.address-details p {
    color: #ccc;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.street {
    font-size: 1.1rem;
    color: var(--primary-color) !important;
}

.area {
    color: #aaa !important;
}

.city-info {
    display: flex;
    gap: 0.5rem;
}

.postal-code {
    color: var(--accent-color);
    font-weight: 500;
}

/* Estilos para los métodos de contacto */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.contact-group {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--card-radius);
    padding: 0.75rem;
    width: 100%;
}

.contact-label {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-buttons {
    display: grid;
    gap: 0.5rem;
    width: 100%;
}

.contact-buttons.primary,
.contact-buttons.secondary {
    grid-template-columns: 1fr;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--accent-color);
    width: 100%;
    min-height: 56px;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
    background: transparent;
}

.contact-btn i {
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    flex: 1;
}

.btn-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-number,
.btn-desc {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-btn.phone {
    background: rgba(242, 101, 34, 0.1);
    color: white;
}

.contact-btn.mobile {
    background: rgba(40, 167, 69, 0.1);
    color: white;
}

.contact-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: white;
}

.contact-btn.email {
    background: rgba(0, 86, 179, 0.1);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-btn.phone:hover { background: rgba(242, 101, 34, 0.2); }
.contact-btn.mobile:hover { background: rgba(40, 167, 69, 0.2); }
.contact-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.2); }
.contact-btn.email:hover { background: rgba(0, 86, 179, 0.2); }

/* Responsive para el contenido interior */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .location-card {
        max-width: 100%;
    }

    .contact-methods {
        gap: 0.5rem;
    }

    .contact-group {
        padding: 0.5rem;
    }

    .contact-person {
        margin: 1rem 0;
        padding: 0.75rem;
    }

    .person-avatar {
        width: 40px;
        height: 40px;
    }

    .person-avatar i {
        font-size: 1.2rem;
    }

    .person-name {
        font-size: 1rem;
    }

    .person-role {
        font-size: 0.8rem;
    }

    .address-info {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .address-header {
        margin-bottom: 0.5rem;
        padding-bottom: 0.25rem;
    }

    .address-header span {
        font-size: 0.9rem;
    }

    .address-details p {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }

    .contact-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        padding-bottom: 0.2rem;
    }

    .contact-buttons {
        gap: 0.4rem;
    }

    .contact-btn {
        padding: 0.6rem;
        min-height: 48px;
    }

    .contact-btn i {
        font-size: 1.1rem;
        min-width: 18px;
    }

    .btn-text {
        gap: 0.1rem;
    }

    .btn-label {
        font-size: 0.75rem;
    }

    .btn-number,
    .btn-desc {
        font-size: 0.85rem;
    }
}

/* Responsive para ubicaciones */
@media (max-width: 1024px) {
    .locations-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

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

.card-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Soporte para prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .feature {
        transition: none;
        opacity: 1 !important;
        transform: none !important;
    }
}



.tagline {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.link:hover::after,
.link:focus::after {
    width: 300px;
    height: 300px;
}

.link:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-color);
}

.link:hover, .link:focus {
    background-color: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.link i {
    margin-right: 0.5rem;
}

.link.primary {
    background-color: var(--accent-color);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 1rem 2rem;
}

.link.primary:hover {
    background-color: #FF8000;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}

.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
    padding: 0 2rem;
    max-width: 1400px;
    width: 100%;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 2px solid transparent;
    color: var(--accent-color);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
    background: rgba(255, 153, 51, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.modal-content {
    color: #fff;
    line-height: 1.6;
}

.modal-content h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Overlay para la notificación */
.sound-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Estilos mejorados para la notificación de sonido */
.sound-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    max-width: 400px;
    width: 90%;
    z-index: 1000;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sound-icon-pulse {
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.sound-icon-pulse i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.sound-button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.sound-button:hover,
.sound-button:focus {
    transform: translateY(-2px);
    background: #ffaa4d;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
}

.sound-button i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Botón flotante de sonido */
.sound-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.sound-toggle.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sound-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
}

.sound-toggle i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.sound-toggle:hover i {
    transform: scale(1.1);
}

.hidden {
    display: none !important;
}

/* Footer Styles */
footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    background: #2B3A42;
    color: white;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    line-height: 1.6;
}

footer a {
    color: #F26522;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff7a47;
    text-decoration: underline;
}

.footer-privacy-link {
    color: #F26522;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-privacy-link:hover {
    color: #ff7a47;
    text-decoration: underline;
}

.info-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-section:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.info-section:hover {
    transform: translateY(-5px);
}

.info-section h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section h2 i {
    font-size: 1.2em;
}

.info-section p {
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section ul li {
    color: #ccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.info-section ul li:before {
    content: '\2022';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Estilos para las tarjetas de información */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    width: 90%;
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    border: 1px solid var(--accent-color);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.2);
    border-color: #fff;
}

.info-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
    color: #fff;
}

.info-card h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-card:hover h2 {
    color: #fff;
}

.info-card p {
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.info-card:hover p {
    color: rgba(255, 255, 255, 1);
}

.card-button {
    background: var(--accent-color);
    color: black;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card:hover .card-button {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .link {
        width: 100%;
        justify-content: center;
    }

    .info-sections {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .info-section {
        padding: 1.5rem;
    }
}

.description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-shadow: var(--text-shadow);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
}

.feature {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature p {
    font-size: 1rem;
    color: #ccc;
}

.hire-us {
    margin-top: 20px;
    text-align: center;
}

.hire-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #28a745; /* Color verde, puedes ajustar según tu paleta de colores */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hire-button i {
    margin-right: 8px;
}

.hire-button:hover {
    background-color: #218838; /* Color ligeramente más oscuro al pasar el ratón */
}

/* Estilos para teléfonos animados */
.phone-link, .mobile-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 2em;
    margin: 10px 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 15px;
    border-radius: 8px;
}

.phone-link:hover, .mobile-link:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--hover-color);
}

.phone-icon {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    animation: pulse 2s infinite;
}

.mobile-link {
    font-size: 1.2em;
    color: var(--background-color);
}

.mobile-link:hover {
    background: var(--background-color);
}

.mobile-link i {
    margin-right: 8px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* Estilos para la información del partner */
.partner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.partner-info img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.partner-info p {
    margin: 0;
    line-height: 1.5;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeOutDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}


@media (max-width: 600px) {
    .logo {
        max-width: 200px;
    }
    .links {
        flex-direction: column;
        align-items: stretch;
    }
    .location-card {
        margin: 1rem;
    }
}

.features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.location-card {
    background: var(--overlay-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 300px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--secondary-color);
}

.location-card h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-card .phone {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.partner-info {
    text-align: center;
}

.partner-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.partner-info p {
    color: var(--primary-color);
    margin: 0.5rem 0;
    font-size: 1rem;
}

.partner-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.partner-info a:hover {
    opacity: 0.8;
}


.events-newsletter .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.events-newsletter .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0.5);
    transition: transform 0.3s ease;
}

.events-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Events Card */
.events-card,
.newsletter-card {
    background: rgba(43, 58, 66, 0.7);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.events-card:hover,
.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.events-header,
.newsletter-header {
    background: var(--accent-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-header i,
.newsletter-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.events-header h3,
.newsletter-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.events-content,
.newsletter-content {
    padding: 2rem;
}

.events-intro {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.event-location {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-location:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-location h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-address {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.event-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-schedule li {
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.event-date {
    font-weight: 700;
    color: var(--accent-color);
}

/* Newsletter Card */
.newsletter-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .events-newsletter {
        padding: 3rem 1rem;
    }
    
    .events-newsletter-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .events-card,
    .newsletter-card {
        margin-bottom: 2rem;
    }
    
    .events-header h3,
    .newsletter-header h3 {
        font-size: 1.3rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.events-card,
.newsletter-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.newsletter-card {
    animation-delay: 0.2s;
}

  @font-face {
    font-display: block;
    font-family: Roboto;
    src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 600;
    src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff")
  }

  @font-face {
    font-display: fallback;
    font-family: Roboto;
    font-weight: 700;
    src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff")
  }

  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: "Inter", sans-serif;
    color: #c0ccda;
  }

  #sib-container input::placeholder {
    text-align: left;
    font-family: "Inter", sans-serif;
    color: #c0ccda;
  }

  #sib-container textarea::placeholder {
    text-align: left;
    font-family: "Inter", sans-serif;
    color: #c0ccda;
  }

  #sib-container a {
    text-decoration: underline;
    color: var(--primary-color);
  }
  
  /* Personalización para integrarse mejor con el diseño */
  .newsletter-form .sib-form {
    background: transparent !important;
  }
  
  .newsletter-form #sib-form-container,
  .newsletter-form #sib-container,
  .newsletter-form .sib-form-container {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
  
  /* Forzar transparencia en todos los contenedores posibles */
  .newsletter-form div[style*="background"],
  .newsletter-form .sib-form div,
  .newsletter-form [class*="sib"] {
    background: transparent !important;
  }
  
  .newsletter-form .sib-form-block p {
    font-family: "Inter", sans-serif !important;
    color: var(--text-color) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  .newsletter-form .entry__label {
    font-family: "Inter", sans-serif !important;
    color: var(--text-color) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
  }
  
  .newsletter-form .input {
    font-family: "Inter", sans-serif !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--text-color) !important;
  }
  
  .newsletter-form .input:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.2) !important;
    background: rgba(255, 255, 255, 0.25) !important;
  }
  
  .newsletter-form .checkbox {
    accent-color: var(--primary-color) !important;
  }
  
  .newsletter-form .sib-form__declaration p {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }
  
  .newsletter-form .entry__specification {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: "Inter", sans-serif !important;
  }
  
  .newsletter-form .checkbox + span {
    color: var(--text-color) !important;
  }

  /* RESET COMPLETO DE ESTILOS EXTERNOS DE BREVO */
  .newsletter-form * {
    all: unset !important;
    box-sizing: border-box !important;
  }
  
  /* CONTENEDOR PRINCIPAL CUSTOM */
  .newsletter-form {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .newsletter-form .sib-form,
  .newsletter-form #sib-form-container,
  .newsletter-form #sib-container,
  .newsletter-form .sib-form-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 2rem !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
  
  /* TEXTOS */
  .newsletter-form p,
  .newsletter-form .sib-form-block p {
    display: block !important;
    font-family: "Inter", sans-serif !important;
    color: var(--text-color) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
  }
  
  /* LABELS */
  .newsletter-form label,
  .newsletter-form .entry__label {
    display: block !important;
    font-family: "Inter", sans-serif !important;
    color: var(--text-color) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
  }
  
  /* INPUTS */
  .newsletter-form input,
  .newsletter-form .input,
  .newsletter-form select {
    display: block !important;
    width: 100% !important;
    font-family: "Inter", sans-serif !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--text-color) !important;
    margin: 0 0 1rem 0 !important;
    outline: none !important;
  }
  
  .newsletter-form input:focus,
  .newsletter-form .input:focus,
  .newsletter-form select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.2) !important;
    background: rgba(255, 255, 255, 0.25) !important;
  }
  
  /* BUTTON */
  .newsletter-form button,
  .newsletter-form input[type="submit"],
  .newsletter-form .sib-form-block__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin: 1rem 0 0 0 !important;
  }
  
  .newsletter-form button:hover,
  .newsletter-form input[type="submit"]:hover,
  .newsletter-form .sib-form-block__button:hover {
    background: color-mix(in srgb, var(--primary-color) 90%, black 10%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(242, 101, 34, 0.3) !important;
  }
  
  /* CHECKBOX */
  .newsletter-form input[type="checkbox"] {
    display: inline-block !important;
    width: auto !important;
    margin: 0 0.5rem 0 0 !important;
    accent-color: var(--primary-color) !important;
  }
  
  .newsletter-form .checkbox + span,
  .newsletter-form .entry__specification {
    display: inline !important;
    font-family: "Inter", sans-serif !important;
    color: var(--text-color) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  
  /* MENSAJES */
  .newsletter-form .sib-form__declaration p,
  .newsletter-form .entry__specification {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0.5rem 0 !important;
  }
  
  /* OCULTAR ELEMENTOS NO DESEADOS */
  .newsletter-form .sib-form__header,
  .newsletter-form .sib-form__footer {
    display: none !important;
  }

  /* ESTILOS PARA IFRAME DE BREVO INTEGRADO */
  .newsletter-form {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  .newsletter-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    border-radius: 16px;
  }
  
  .newsletter-form iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 16px;
    background: transparent;
  }
  
  .newsletter-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .newsletter-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .newsletter-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
  }

  /* ESTILOS PARA NUEVA SECCIÓN DE JORNADAS */
  .events-newsletter {
    background: transparent;
    padding: 4rem 0;
  }
  
  .events-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    margin-top: 2rem;
  }
  
  .events-card .section-header {
    padding: 2rem 2rem 1rem 2rem;
    background: white;
  }
  
  .events-card .section-header h2 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .events-card .section-header h2 i {
    color: #e67e22;
  }
  
  .events-card .section-header p {
    color: #475569;
    font-size: 1rem;
    margin: 0;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    min-height: 700px;
  }
  
  .events-info {
    padding: 2.5rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
  }
  
  .info-text {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  }
  
  .info-text p {
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
    color: #475569;
  }
  
  .info-text p:first-child {
    color: #1e293b;
    font-weight: 600;
  }
  
  .location-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  }
  
  .location-section h4 {
    color: #e67e22;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .address {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .event-dates {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .date-item:last-child {
    border-bottom: none;
  }
  
  .date {
    font-weight: 600;
    color: #1e293b;
  }
  
  .time {
    color: #64748b;
    font-size: 0.9rem;
  }
  
  .info-highlight {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .info-highlight p {
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
    color: white;
  }
  
  .registration-form {
    background: white;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  .form-header {
    margin-bottom: 1.5rem;
  }
  
  .form-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .form-header h3 i {
    color: #e67e22;
  }
  
  .form-header p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
  }
  
  .iframe-container {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    min-height: 700px;
    height: 100%;
  }
  
  .iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 700px;
    border: none;
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    
    .events-info {
      border-right: none;
      border-bottom: 1px solid #e2e8f0;
    }
    
    
    .iframe-container {
      min-height: 1400px;
    }
    
    .iframe-container iframe {
      min-height: 1400px;
      height: 1400px;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
  }

  /* Cartel del curso */
  .course-poster {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .poster-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .poster-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
  }
  
  /* Carousel de imágenes */
  .course-carousel {
    margin-top: 3rem;
    padding: 2rem 0;
  }
  
  .carousel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
  }
  
  .carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .carousel-item:hover .carousel-image {
    transform: scale(1.05);
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    
    .events-info {
      border-right: none;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .course-poster {
      margin-bottom: 1.5rem;
    }
    
    .poster-image {
      max-width: 100%;
    }
    
    .carousel-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }
    
    .carousel-image {
      height: 200px;
    }
    
    .iframe-container {
      min-height: 1400px;
    }
    
    .iframe-container iframe {
      min-height: 1400px;
      height: 1400px;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
  }

  /* Responsive para pestañas en móvil */
  @media (max-width: 768px) {
    .tab-button {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
    }
    
    .tab-panel {
      padding: 1rem;
    }
    
    .date-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .date-item .time {
      font-size: 0.9rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.75rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
    
    /* Móvil pequeño - pestañas más compactas */
    .tab-button {
      padding: 0.5rem 0.75rem;
      font-size: 0.85rem;
    }
    
    .tab-button i {
      display: none;
    }
    
    .tab-panel {
      padding: 0.75rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.5rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
    
    .date-item {
      padding: 0.5rem;
      background: linear-gradient(135deg, #f8fafc 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.1);
    }
    
    .date-item .date {
      color: #2B3A42;
    }
    
    .date-item .time {
      color: #F26522;
    }
    
    .info-highlight {
      margin-top: 1rem;
      padding: 1rem;
      background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.2);
    }
    
    .info-highlight h4 {
      font-size: 1rem;
      color: #2B3A42;
    }
    
    .info-highlight h4 i {
      color: #F26522;
    }
    
    .info-highlight p {
      color: #2B3A42;
    }
  }
</style>
<style>
  /* Sistema de pestañas tipo carpeta */
  .location-tabs {
    margin: 1.5rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(43, 58, 66, 0.1);
  }
  
  .tab-headers {
    display: flex;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
  }
  
  .tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .tab-button:hover {
    background: rgba(242, 101, 34, 0.05);
    color: #F26522;
  }
  
  .tab-button.active {
    background: white;
    color: #F26522;
    border-bottom-color: #F26522;
    box-shadow: 0 -2px 8px rgba(242, 101, 34, 0.1);
  }
  
  .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #F26522;
    border-radius: 3px 3px 0 0;
  }
  
  .tab-content {
    position: relative;
    min-height: 200px;
  }
  
  .tab-panel {
    display: none;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
  }
  
  .tab-panel.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
  }
  
  .location-info .address {
    color: #2B3A42;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(242, 101, 34, 0.05);
    border-radius: 8px;
    border-left: 4px solid #F26522;
  }
  
  .location-info .address i {
    color: #F26522;
    margin-right: 0.5rem;
  }
  
  .event-dates {
    display: grid;
    gap: 0.75rem;
  }
  
  .date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(242, 101, 34, 0.03) 100%);
    border-radius: 8px;
    border: 1px solid rgba(242, 101, 34, 0.1);
    transition: all 0.2s ease;
  }
  
  .date-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.1);
    border-color: rgba(242, 101, 34, 0.2);
  }
  
  .date-item .date {
    font-weight: 600;
    color: #2B3A42;
  }
  
  .date-item .time {
    color: #F26522;
    font-weight: 500;
  }
  
  .info-highlight {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, rgba(242, 101, 34, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(242, 101, 34, 0.2);
  }
  
  .info-highlight h4 {
    color: #2B3A42;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .info-highlight h4 i {
    color: #F26522;
  }
  
  .info-highlight p {
    color: #2B3A42;
    line-height: 1.6;
    margin: 0;
  }

  .events-info .form-header {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .events-info .form-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
  }
  
  .events-info .form-header h3 i {
    color: #e67e22;
  }
  
  .events-info .form-header p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    text-align: left;
  }
  
  .events-info h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .events-info h3 i {
    color: #e67e22;
  }
  
  .info-text {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    
    .events-info {
      border-right: none;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .course-poster {
      margin-bottom: 1.5rem;
    }
    
    .poster-image {
      max-width: 100%;
    }
    
    .carousel-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }
    
    .carousel-image {
      height: 200px;
    }
    
    .iframe-container {
      min-height: 1400px;
    }
    
    .iframe-container iframe {
      min-height: 1400px;
      height: 1400px;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
  }

  .info-text {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  }
  
  /* Cartel del curso */
  .course-poster {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .poster-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .poster-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
  }
  
  /* Carousel de imágenes */
  .course-carousel {
    margin-top: 3rem;
    padding: 2rem 0;
  }
  
  .carousel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
  }
  
  .carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .carousel-item:hover .carousel-image {
    transform: scale(1.05);
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    
    .events-info {
      border-right: none;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .course-poster {
      margin-bottom: 1.5rem;
    }
    
    .poster-image {
      max-width: 100%;
    }
    
    .carousel-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }
    
    .carousel-image {
      height: 200px;
    }
    
    .iframe-container {
      min-height: 1400px;
    }
    
    .iframe-container iframe {
      min-height: 1400px;
      height: 1400px;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
  }

  /* Responsive para pestañas en móvil */
  @media (max-width: 768px) {
    .tab-button {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
    }
    
    .tab-panel {
      padding: 1rem;
    }
    
    .date-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .date-item .time {
      font-size: 0.9rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.75rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
    
    /* Móvil pequeño - pestañas más compactas */
    .tab-button {
      padding: 0.5rem 0.75rem;
      font-size: 0.85rem;
    }
    
    .tab-button i {
      display: none;
    }
    
    .tab-panel {
      padding: 0.75rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.5rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
    
    .date-item {
      padding: 0.5rem;
      background: linear-gradient(135deg, #f8fafc 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.1);
    }
    
    .date-item .date {
      color: #2B3A42;
    }
    
    .date-item .time {
      color: #F26522;
    }
    
    .info-highlight {
      margin-top: 1rem;
      padding: 1rem;
      background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.2);
    }
    
    .info-highlight h4 {
      font-size: 1rem;
      color: #2B3A42;
    }
    
    .info-highlight h4 i {
      color: #F26522;
    }
    
    .info-highlight p {
      color: #2B3A42;
    }
  }

  /* Cartel del curso */
  .course-poster {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .poster-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .poster-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
  }
  
  /* Carousel de imágenes */
  .course-carousel {
    margin-top: 3rem;
    padding: 2rem 0;
  }
  
  .carousel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .carousel-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15);
  }
  
  .carousel-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .carousel-item:hover .carousel-image {
    transform: scale(1.05);
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .events-grid {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    
    .events-info {
      border-right: none;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .course-poster {
      margin-bottom: 1.5rem;
    }
    
    .poster-image {
      max-width: 100%;
    }
    
    .carousel-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }
    
    .carousel-image {
      height: 200px;
    }
    
    .iframe-container {
      min-height: 1400px;
    }
    
    .iframe-container iframe {
      min-height: 1400px;
      height: 1400px;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
  }

  /* Responsive para pestañas en móvil */
  @media (max-width: 768px) {
    .tab-button {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
    }
    
    .tab-panel {
      padding: 1rem;
    }
    
    .date-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .date-item .time {
      font-size: 0.9rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.75rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
  }
  
  @media (max-width: 480px) {
    .course-carousel {
      margin-top: 2rem;
      padding: 1rem 0;
    }
    
    .carousel-container {
      gap: 1rem;
    }
    
    .carousel-image {
      height: 180px;
    }
    
    .iframe-container {
      min-height: 1600px;
    }
    
    .iframe-container iframe {
      min-height: 1600px;
      height: 1600px;
    }
    
    /* Móvil pequeño - pestañas más compactas */
    .tab-button {
      padding: 0.5rem 0.75rem;
      font-size: 0.85rem;
    }
    
    .tab-button i {
      display: none;
    }
    
    .tab-panel {
      padding: 0.75rem;
    }
    
    .location-info .address {
      font-size: 0.9rem;
      padding: 0.5rem;
      background: rgba(242, 101, 34, 0.05);
      border-left: 3px solid #F26522;
      color: #2B3A42;
    }
    
    .date-item {
      padding: 0.5rem;
      background: linear-gradient(135deg, #f8fafc 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.1);
    }
    
    .date-item .date {
      color: #2B3A42;
    }
    
    .date-item .time {
      color: #F26522;
    }
    
    .info-highlight {
      margin-top: 1rem;
      padding: 1rem;
      background: linear-gradient(135deg, rgba(242, 101, 34, 0.08) 0%, rgba(242, 101, 34, 0.03) 100%);
      border: 1px solid rgba(242, 101, 34, 0.2);
    }
    
    .info-highlight h4 {
      font-size: 1rem;
      color: #2B3A42;
    }
    
    .info-highlight h4 i {
      color: #F26522;
    }
    
    .info-highlight p {
      color: #2B3A42;
    }
  }
