/* ========================================
   POLÍTICA DE COOKIES - PÁGINA COMPLETA
   ======================================== */

.cookie-policy-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--color-dark);
}

.cookie-policy-page .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-md);
}

/* Hero Section */
.cookie-hero {
    text-align: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.cookie-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.6s ease-out;
}

.cookie-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.cookie-hero-decoration {
    margin-top: var(--spacing-md);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.cookie-icon-large {
    font-size: 5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

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

/* Last Updated */
.last-updated {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Content Sections */
.cookie-content {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-section {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.cookie-section:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.cookie-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cookie-section p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

/* Info Box */
.info-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(99, 102, 241, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--border-radius-sm);
}

.info-box h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Cookie Types Grid */
.cookie-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.cookie-type-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.cookie-type-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.card-header {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.card-header.essential {
    background: rgba(34, 197, 94, 0.1);
}

.card-header.preferences {
    background: rgba(99, 102, 241, 0.1);
}

.card-header.analytics {
    background: rgba(251, 191, 36, 0.1);
}

.card-icon {
    font-size: 2rem;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-white);
    margin: 0;
}

.card-body {
    padding: var(--spacing-md);
}

.card-body p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.card-body ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.card-body ul li {
    margin-bottom: 0.25rem;
}

.card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-badge.essential {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.card-badge.optional {
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-accent);
}

/* Cookies Table */
.cookies-table-wrapper {
    overflow-x: auto;
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cookies-table th,
.cookies-table td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookies-table th {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    font-weight: 600;
    position: sticky;
    top: 0;
}

.cookies-table td code {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.type-badge.essential {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.type-badge.preferences {
    background: rgba(99, 102, 241, 0.2);
    color: var(--color-accent);
}

/* Management Options */
.management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.management-card {
    background: rgba(255, 255, 255, 0.02);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.management-card h3 {
    font-family: var(--font-display);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.management-steps {
    margin-top: var(--spacing-md);
}

.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray);
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.browser-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.browser-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    color: var(--color-gray);
    transition: all var(--transition-fast);
}

.browser-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
}

.browser-icon {
    font-size: 1.25rem;
}

/* Rights List */
.rights-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
}

.rights-list li {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.right-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rights-list li strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.rights-list li p {
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.cookie-contact {
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gray);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
    font-family: var(--font-display);
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    color: var(--color-gray);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: var(--color-gray);
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover,
.footer-column ul li a.active {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-gray);
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-policy-page {
        padding-top: 70px;
    }
    
    .cookie-title {
        font-size: 2rem;
    }
    
    .cookie-icon-large {
        font-size: 3rem;
    }
    
    .cookie-types-grid,
    .management-options {
        grid-template-columns: 1fr;
    }
    
    .cookies-table {
        font-size: 0.8rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   BANNER DE COOKIES (para index.html)
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0 0 0.5rem 0;
    color: var(--color-gray);
    font-size: 0.9rem;
}

#cookieInfoLink {
    color: var(--color-accent);
    text-decoration: underline;
    font-size: 0.85rem;
    cursor: pointer;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

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

.btn-cookie-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-cookie-secondary {
    background: transparent;
    color: var(--color-gray);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Cookie Policy Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal.hidden,
.cookie-banner.hidden {
    display: none !important;
}

.modal-content {
    background: var(--color-dark);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: var(--color-dark);
    z-index: 1;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-white);
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-gray);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-white);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem 0;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p,
.modal-body ul {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0.75rem 0;
}

.modal-body ul {
    padding-left: 1.5rem;
}

.modal-body code {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Cookie Preferences Toggles */
.cookie-preferences-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: background 0.2s;
}

.cookie-preference-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-pref-info h4 {
    color: var(--color-white);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.cookie-pref-info p {
    color: var(--color-gray);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Toggle Switch CSS */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-accent);
}

input:disabled + .slider {
    background-color: rgba(99, 102, 241, 0.5);
    cursor: not-allowed;
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-accent);
}

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

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.modal-body table th,
.modal-body table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body table th {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    font-weight: 600;
    position: sticky;
    top: 0;
}

.modal-body table td code {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    position: sticky;
    bottom: 0;
    background: var(--color-dark);
}

/* Mobile Responsive para banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
    }
}

/* ========================================
   RESPONSIVE DESIGN - COOKIE POLICY
   ======================================== */

/* Móviles Grandes (640px) */
@media (max-width: 640px) {
    .cookie-policy-page {
        padding-top: 75px;
    }

    .cookie-title {
        font-size: 1.875rem;
    }

    .cookie-subtitle {
        font-size: 0.975rem;
    }

    .cookie-icon-large {
        font-size: 2.75rem;
    }

    .cookie-section {
        padding: 1.5rem;
    }

    .cookie-section h2 {
        font-size: 1.5rem;
    }

    .cookie-section p {
        font-size: 0.95rem;
    }

    .cookie-types-grid,
    .management-options {
        grid-template-columns: 1fr;
    }

    .cookies-table {
        font-size: 0.775rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.45rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
    }
}

/* Móviles Estándar (480px) */
@media (max-width: 480px) {
    .cookie-policy-page {
        padding-top: 70px;
    }

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

    .cookie-subtitle {
        font-size: 0.95rem;
    }

    .cookie-icon-large {
        font-size: 2.5rem;
    }

    .cookie-section {
        padding: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }

    .cookie-section h2 {
        font-size: 1.4rem;
    }

    .cookie-section p {
        font-size: 0.925rem;
    }

    .info-box {
        padding: 1.25rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .card-body p {
        font-size: 0.925rem;
    }

    .cookies-table {
        font-size: 0.75rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.425rem;
    }

    .step {
        font-size: 0.9rem;
    }

    .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .browser-link {
        padding: 0.65rem 0.9rem;
        font-size: 0.875rem;
    }

    .rights-list li {
        padding: 1.25rem;
        gap: 1rem;
    }

    .right-icon {
        font-size: 1.35rem;
    }

    .rights-list li strong {
        font-size: 1rem;
    }

    .rights-list li p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.875rem;
    }

    .back-to-top {
        bottom: 0.9rem;
        right: 0.9rem;
        width: 42px;
        height: 42px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.1rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column a {
        font-size: 0.875rem;
    }
}

/* Móviles Compactos (414px) */
@media (max-width: 414px) {
    .cookie-title {
        font-size: 1.65rem;
    }

    .cookie-subtitle {
        font-size: 0.925rem;
    }

    .cookie-icon-large {
        font-size: 2.25rem;
    }

    .cookie-section {
        padding: 1.25rem;
    }

    .section-icon {
        width: 48px;
        height: 48px;
    }

    .cookie-section h2 {
        font-size: 1.35rem;
    }

    .cookie-section p {
        font-size: 0.9rem;
    }

    .card-header h3 {
        font-size: 1.05rem;
    }

    .cookies-table {
        font-size: 0.725rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.4rem;
    }

    .browser-link {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.625rem 1.15rem;
        font-size: 0.85rem;
    }
}

/* Móviles Pequeños (375px) */
@media (max-width: 375px) {
    .cookie-policy-page {
        padding-top: 68px;
    }

    .cookie-title {
        font-size: 1.55rem;
    }

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

    .cookie-icon-large {
        font-size: 2rem;
    }

    .cookie-section {
        padding: 1.15rem;
    }

    .section-icon {
        width: 46px;
        height: 46px;
    }

    .cookie-section h2 {
        font-size: 1.3rem;
    }

    .cookie-section p {
        font-size: 0.875rem;
    }

    .info-box h4 {
        font-size: 0.9rem;
    }

    .info-box p {
        font-size: 0.875rem;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .card-body p {
        font-size: 0.9rem;
    }

    .card-badge {
        font-size: 0.7rem;
        padding: 0.225rem 0.65rem;
    }

    .cookies-table {
        font-size: 0.7rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.375rem;
    }

    .step {
        font-size: 0.875rem;
    }

    .step-number {
        width: 21px;
        height: 21px;
        font-size: 0.675rem;
    }

    .browser-link {
        padding: 0.575rem 0.8rem;
        font-size: 0.825rem;
    }

    .browser-icon {
        font-size: 1.1rem;
    }

    .rights-list li {
        padding: 1.15rem;
        gap: 0.9rem;
    }

    .right-icon {
        font-size: 1.25rem;
    }

    .rights-list li strong {
        font-size: 0.975rem;
    }

    .rights-list li p {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.825rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
    }

    .footer-brand h3 {
        font-size: 1.05rem;
    }

    .footer-column h4 {
        font-size: 0.925rem;
    }

    .footer-column a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.775rem;
    }
}

/* Móviles Muy Pequeños (360px) */
@media (max-width: 360px) {
    .cookie-title {
        font-size: 1.475rem;
    }

    .cookie-subtitle {
        font-size: 0.875rem;
    }

    .cookie-icon-large {
        font-size: 1.875rem;
    }

    .cookie-section {
        padding: 1.1rem;
    }

    .section-icon {
        width: 44px;
        height: 44px;
    }

    .cookie-section h2 {
        font-size: 1.25rem;
    }

    .cookie-section p {
        font-size: 0.85rem;
    }

    .card-header h3 {
        font-size: 0.975rem;
    }

    .cookies-table {
        font-size: 0.675rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.35rem;
    }

    .step {
        font-size: 0.85rem;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .browser-link {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }

    .rights-list li {
        padding: 1.1rem;
    }

    .right-icon {
        font-size: 1.2rem;
    }

    .rights-list li strong {
        font-size: 0.95rem;
    }

    .rights-list li p {
        font-size: 0.85rem;
    }

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

    .back-to-top {
        width: 38px;
        height: 38px;
    }

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

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .footer-column a {
        font-size: 0.825rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* Wearables / Smartwatches (320px) */
@media (max-width: 320px) {
    .cookie-policy-page {
        padding-top: 65px;
    }

    .cookie-title {
        font-size: 1.4rem;
    }

    .cookie-subtitle {
        font-size: 0.85rem;
    }

    .cookie-icon-large {
        font-size: 1.75rem;
    }

    .cookie-section {
        padding: 1rem;
    }

    .section-icon {
        width: 42px;
        height: 42px;
    }

    .cookie-section h2 {
        font-size: 1.2rem;
    }

    .cookie-section p {
        font-size: 0.825rem;
    }

    .info-box {
        padding: 1rem;
    }

    .info-box h4 {
        font-size: 0.875rem;
    }

    .info-box p {
        font-size: 0.85rem;
    }

    .card-header {
        padding: 1rem;
    }

    .card-header h3 {
        font-size: 0.95rem;
    }

    .card-icon {
        font-size: 1.75rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-body p {
        font-size: 0.875rem;
    }

    .card-badge {
        font-size: 0.675rem;
        padding: 0.2rem 0.6rem;
    }

    .cookies-table {
        font-size: 0.65rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.325rem;
    }

    .step {
        font-size: 0.825rem;
        gap: 0.65rem;
    }

    .step-number {
        width: 19px;
        height: 19px;
        font-size: 0.625rem;
    }

    .browser-link {
        padding: 0.525rem 0.7rem;
        font-size: 0.775rem;
    }

    .browser-icon {
        font-size: 1.05rem;
    }

    .rights-list li {
        padding: 1rem;
        gap: 0.85rem;
        flex-direction: column;
    }

    .right-icon {
        font-size: 1.15rem;
    }

    .rights-list li strong {
        font-size: 0.925rem;
    }

    .rights-list li p {
        font-size: 0.825rem;
    }

    .btn {
        padding: 0.55rem 1rem;
        font-size: 0.775rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        bottom: 0.85rem;
        right: 0.85rem;
        width: 36px;
        height: 36px;
    }

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

    .footer-brand h3 {
        font-size: 0.975rem;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer-column h4 {
        font-size: 0.875rem;
    }

    .footer-column a {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.725rem;
    }

    .modal-body table {
        font-size: 0.65rem;
    }

    .modal-body table th,
    .modal-body table td {
        padding: 0.3rem;
    }

    .toggle-switch {
        width: 42px;
        height: 22px;
    }

    .slider:before {
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
    }

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