/* styles.css - Estilos para Quantum Domotics */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
}

/* STICKY HEADER - Proporcional */
.sticky-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f3b63 0%, #5585b5 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1vh, 1.5vh, 10vh) clamp(1vh, 1.5vh, 10vh);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    transition: top 0.4s ease;
}
.sticky-header.visible {
    top: 0;
}
.sticky-header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
    gap: clamp(1px, 1vmin, 15px);
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}
.logo-container a {
    display: flex;
    align-items: center;
}
.logo-container img {
    height: auto;
    max-height: clamp(25px, 6vmin, 50px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

/* HERO HEADER - Proporcional */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: clamp(1vh, 1.5vh, 10vh) clamp(1vh, 1.5vh, 10vh);
    z-index: 10;
}
.hero-header-right {
    display: flex;
    align-items: center;
    gap: clamp(1px, 2vmin, 10vmin);
}
.hero-lang {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1px, 2.2vmin, 20px);
    padding: clamp(1px, 1.5vmin, 10px) clamp(1px, 1.5vmin, 10px);
    border-radius: clamp(1px, 1vmin, 6px);
    background: rgba(255,255,255,0.06);
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-lang:hover,
.hero-lang:focus {
    background: rgba(255,255,255,0.12);
    color: #eaf6ff;
    transform: translateY(-1px);
    outline: none;
}
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: clamp(1px, 3.5vmin, 31px);
    padding: clamp(1px, 1.5vmin, 10px) clamp(1px, 1.5vmin, 10px);
    border-radius: clamp(1px, 1vmin, 6px);
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle:hover {
    background: rgba(255,255,255,0.12);
}
/* BANNER/HERO - Proporcional */
.banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    padding: 1vmin 1vmin;
    height: 100vh; /* Ensure full viewport height */
}
.banner.fade-out {
    opacity: 0;
}
.banner-logo {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: clamp(1px, 10vmin, 100px);
}
.banner-logo img {
    max-height: clamp(1px, 15vmin, 500px);
    max-width: 90%;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}
.banner-content {
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}
.banner-content.animate-in {
    animation: bannerEntry 1.2s ease-out forwards;
}
@keyframes bannerEntry {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.banner-title {
    font-size: clamp(1px, 9vmin, 200px);
    margin-bottom: clamp(1px, 4vmin, 10vmin);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    transition: all 0.3s ease;
}
.banner-subtitle {
    font-size: clamp(1px, 7vmin, 200px);
    margin-bottom: clamp(1px, 4vmin, 10vmin);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    transition: all 0.3s ease;
}
.banner-tertiary {
    font-size: clamp(1px, 3.5vmin, 200px);
    margin-bottom: clamp(1px, 4vmin, 10vmin);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}
.banner-button {
    border-radius: 30px;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(1px, 3vmin, 20vmin);
    padding: clamp(1px, 1vmin, 20vmin) clamp(1px, 2vmin, 20vmin);
}
.banner-button:hover {
    background: white;
    color: #0a192f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* BOTONES GENERALES - Proporcional */
.primary-button {
    padding: clamp(8px, 2vw, 12px) clamp(20px, 5vw, 30px);
    border-radius: 30px;
    border: 2px solid #0f3b63;
    background: #0f3b63;
    color: white;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.primary-button:hover {
    background: white;
    color: #0f3b63;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.secondary-button {
    padding: clamp(6px, 2vw, 10px) clamp(15px, 4vw, 20px);
    border-radius: 20px;
    border: 2px solid #0f3b63;
    background: transparent;
    color: #0f3b63;
    font-weight: 600;
    font-size: clamp(0.8rem, 2.2vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.secondary-button:hover {
    background: #0f3b63;
    color: white;
}
.tertiary-button {
    padding: clamp(4px, 1vw, 5px) clamp(8px, 2vw, 10px);
    border-radius: 10px;
    border: 2px solid #0f3b63;
    background: transparent;
    color: #0f3b63;
    font-weight: 400;
    font-size: clamp(0.8rem, 2vw, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.tertiary-button:hover {
    background: #0f3b63;
    color: white;
}

/* HEADER ACTION - Proporcional */
.header-action {
    font-size: clamp(6px, 3vmin, 15px);
    padding: clamp(3px, 1.5vmin, 8px) clamp(6px, 3vmin, 15px);
    border-radius: clamp(3px, 1.5vmin, 20px);
    border: 2px solid white;
    background: transparent;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.header-action:hover {
    background: white;
    color: #0a192f;
}

/* SCROLL INDICATOR - Proporcional */
.scroll-indicator {
    position: absolute;
    bottom: clamp(15px, 4vmin, 30px);
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: clamp(1.2rem, 4vmin, 2rem);
    z-index: 2;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* SECCIONES DE CONTENIDO - Proporcional */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 50px) clamp(15px, 4vw, 40px) clamp(5px, 1vw, 10px);
}
.section {
    background: white;
    border-radius: 10px;
    padding: clamp(1px, 5vw, 50px);
    margin-bottom: clamp(1px, 5vw, 50px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.section h2 {
    color: #2c3e50;
    margin-bottom: clamp(1px, 2vw, 25px);
    font-size: clamp(20px, 4vw, 35px);
}
.section h3 {
    color: #2c3e50;
    margin: clamp(1px, 3vw, 50px) 0 clamp(1px, 2.5vw, 50px);
    font-size: clamp(15px, 2.5vw, 25px);
    text-align: center;
}
.section p {
    margin-bottom: clamp(1px, 2vw, 25px);
    font-size: clamp(10px, 2.2vw, 18px);
    line-height: 1.8;
}
.section ul, .section ol {
    margin-bottom: clamp(1px, 1.7vw, 20px);
    padding-left: clamp(1px, 3vw, 50px);
}
.section li {
    margin-bottom: clamp(1px, 1.7vw, 20px);
    font-size: clamp(1px, 2.2vw, 18px);
    line-height: 1.6;
}

/* FEATURE CARDS - Proporcional */
.feature-card {
    background: #f8fafd;
    border-radius: 10px;
    padding: clamp(1rem, 4vw, 1.5rem);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.feature-card h3 {
    color: #0f3b63;
    margin-top: 0;
    margin-bottom: clamp(1px, 1.5vw, 20px);
    gap: 10px;
    font-size: clamp(15px, 2.5vw, 25px);
    text-align: center;
}
.feature-image {
    width: 100%;
    border-radius: 8px;
    margin: clamp(0.5rem, 2vw, 1rem) 0;
    height: clamp(150px, 25vw, 200px);
    object-fit: cover;
}

/* GRIDS RESPONSIVAS */
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0 clamp(1rem, 4vw, 2rem);
    margin: clamp(1rem, 4vw, 2rem) 0;
}
.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    margin: clamp(1rem, 4vw, 2rem) 0;
}

/* ELEMENTOS DE VIDEO */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: #0a192f;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    max-width: 100%;
    max-height: 100%;
}
.video-container video.visible {
    opacity: 1;
}
.video-static-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: opacity 0.8s ease;
    background-color: #0a192f;
}
.video-static-background.hidden {
    opacity: 0;
    pointer-events: none;
}

/* NAVEGACIÓN */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #0b2e4f 0%, #355d8a 100%);
    flex-direction: column;
    width: clamp(1px, 35vmin, 100vmin);
    padding: clamp(1px, 4vmin, 100vmin);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    z-index: 999;   
}
.nav-menu li {
    margin: clamp(1px, 1.5vmin, 10vmin) 0;
    text-align: left;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: clamp(0, 2vmin, 10vmin) clamp(0, 2vmin, 10vmin);
    position: relative;
    font-size: clamp(1px, 3vmin, 20vmin);
    white-space: nowrap;
    display: block;
}
.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #8ad6ff;
    transition: width 0.3s ease;
}
.nav-menu a:hover:after {
    width: 100%;
}
.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
}

/* OTROS ELEMENTOS */
.highlight {
    color: #0f3b63;
    font-weight: 600;
}
.product-section {
    margin-bottom: clamp(2rem, 6vw, 3rem);
    background: #f8fafd;
    border-radius: 10px;
    padding: clamp(1rem, 4vw, 1.5rem);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.product-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    gap: clamp(10px, 3vw, 15px);
}
.product-header img {
    width: 100%;
    height: auto;
}
.profile-image-container {
    position: relative;
    width: 100%;
    align-content: center;
}
.profile-image {
    width: 100%;
}
.faq-item {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}
.faq-question {
    font-weight: 600;
    color: #0f3b63;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    font-size: clamp(12px, 2.5vw, 20px);
}
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 3rem;
    align-items: start;
}

/* Estilos para el formulario */
.contact-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f3b63;
    box-shadow: 0 0 0 3px rgba(15, 59, 99, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.form-button {
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #0f3b63;
    background: #0f3b63;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.form-button:hover {
    background: white;
    color: #0f3b63;
}
.contact-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}
.contact-item {
    text-align: center;
    padding: clamp(1rem, 4vw, 1.5rem);
    background: #f8fafd;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.contact-item i {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #0f3b63;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}
.contact-item a { /* email */
    color: #0f3b63;
    text-decoration: none;
    font-weight: 500;
}
.contact-item a:hover {
    color: #5585b5;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-top: clamp(0.5rem, 2vw, 1rem);
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 6vw, 40px);
    height: clamp(35px, 6vw, 40px);
    border-radius: 50%;
    color: #0f3b63;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 1;
}
.social-links a:hover {
    color: #5585b5;
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    padding: clamp(10px, 3vw, 15px) 0;
    color: #0f3b63;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.vertical-center {
    display: flex;
    justify-content: center;
}
/* COOKIES BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: clamp(10px, 3vmin, 15px) clamp(15px, 4vmin, 20px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.cookie-text {
    flex: 1;
    padding-right: clamp(15px, 4vmin, 20px);
    font-size: clamp(0.8rem, 2vmin, 0.9rem);
    margin-bottom: clamp(8px, 2vmin, 10px);
}
.cookie-buttons {
    display: flex;
    gap: clamp(8px, 2vmin, 10px);
}
.cookie-btn {
    padding: clamp(6px, 2vmin, 8px) clamp(12px, 3vmin, 15px);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2vmin, 0.9rem);
}
.cookie-accept {
/*    background: #5585b5;*/
    background: #66b3ff;
    color: white;
}
.cookie-accept:hover {
    background: #0f3b63;
}
.cookie-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}
.cookie-settings:hover {
    background: rgba(255,255,255,0.1);
}
.cookie-link {
    color: #8ad6ff;
    text-decoration: underline;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal-window {
    background: #fff;
    color: #222;
    max-width: 820px;
    width: 92%;
    max-height: 88vh;
    overflow: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(8,20,40,0.5);
    position: relative;
    padding: clamp(20px, 5vmin, 30px);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.open .modal-window {
    transform: scale(1);
    opacity: 1;
}
.modal-close {
    position: absolute;
    top: clamp(10px, 3vmin, 15px);
    right: clamp(10px, 3vmin, 15px);
    width: clamp(36px, 6vmin, 40px);
    height: clamp(36px, 6vmin, 40px);
    border-radius: 8px;
    border: none;
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(0,0,0,0.12);
}
.modal-window h3 {
    margin-top: 0;
    margin-bottom: clamp(1rem, 3vmin, 1.5rem);
    color: #0f3b63;
    font-size: clamp(15px, 4.5vmin, 25px);
}
.modal-source {
    display: none;
}
.more-info-btn {
    background: #8eceff;
    color: #fff;
    border: none;
    padding: clamp(2px, 1vw, 2px) clamp(5px, 2vw, 7px) clamp(3px, 1vw, 4px);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 2vw, 1rem);
}
.more-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.tooltip {
    visibility: hidden;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: clamp(6px, 2vw, 8px) clamp(10px, 3vw, 12px);
    border-radius: 4px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    transition-delay: 0.5s;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
}
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}
.more-info-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.modal-window ul {
    list-style: none;
    padding-left: 0;
}
.modal-table {
    padding:8px;
    border-top:1px solid #e0e0e0;
    margin-bottom: clamp(0.8rem, 2vmin, 1rem);
    position: relative;
    line-height: 1.6;
    font-size: clamp(10px, 3vmin, 15px);
}
.modal-window li {
    margin-bottom: clamp(0.8rem, 2vmin, 1rem);
    padding-left: clamp(1.5rem, 3vmin, 1.8rem);
    position: relative;
    line-height: 1.6;
    font-size: clamp(12px, 4vmin, 20px);
}
.modal-window li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0f3b63;
    font-weight: bold;
}

.menu-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Estilos para el modal de cookies */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 20001;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cookie-option > div:first-child {
    flex: 1;
    margin-right: 1rem;
}

.cookie-option h4 {
    margin: 0 0 0.5rem 0;
    color: #0f3b63;
}

.cookie-option.disabled {
    opacity: 0.6;
    background: #f5f5f5;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    /* Eliminar float: right */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0f3b63;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-modal-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.video-container-examples {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

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