/* Единые стили для всех страниц политик Domain */
.policy-page {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    min-height: 80vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #E6FFFA;
}

.policy-header h1 {
    color: #2D3748;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.update-date {
    color: #4A5568;
    font-style: italic;
    background: #E6FFFA;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E2E8F0;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: #2D3748;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #3182CE;
}

.policy-section h3 {
    color: #2D3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.policy-section h4 {
    color: #2D3748;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.policy-section p {
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    color: #4A5568;
    line-height: 1.8;
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section ol {
    color: #4A5568;
    line-height: 1.8;
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section ol li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.policy-section ol li::marker {
    color: #3182CE;
    font-weight: bold;
}

.policy-section a {
    color: #3182CE;
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    color: #FF6B6B;
    text-decoration: underline;
}

/* Subsecciones */
.policy-subsection,
.terms-subsection,
.disclaimer-subsection,
.cookie-type {
    background: linear-gradient(135deg, #F7FAFC, #EDF2F7);
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 4px solid #68D391;
}

.policy-subsection h3,
.terms-subsection h3,
.disclaimer-subsection h3,
.cookie-type h3 {
    color: #2D3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Secciones especiales */
.cookie-management,
.browser-instructions,
.client-advice {
    background: #E6FFFA;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-left: 4px solid #3182CE;
}

.cookie-management h3,
.browser-instructions h3,
.client-advice h3 {
    color: #2D3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 15px;
}

.cookie-management h3:first-child,
.browser-instructions h3:first-child,
.client-advice h3:first-child {
    margin-top: 0;
}

.client-advice {
    text-align: center;
}

.client-advice ul li strong {
    color: #3182CE;
}

.browser-instructions p {
    color: #4A5568;
    font-style: italic;
    margin-bottom: 10px;
}

/* Contacto */
.policy-contact {
    background: #E6FFFA;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 4px solid #3182CE;
}

.policy-contact h3 {
    color: #2D3748;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.policy-contact p {
    color: #4A5568;
    text-align: center;
    margin-bottom: 20px;
}

.policy-contact .contact-info {
    text-align: center;
}

.policy-contact .contact-info p {
    margin-bottom: 10px;
}

.policy-contact .contact-info a {
    color: #3182CE;
    text-decoration: none;
    font-weight: 600;
}

.policy-contact .contact-info a:hover {
    color: #FF6B6B;
}

/* Цвет текста адреса в политиках */
.policy-contact p {
    color: #1A202C !important;
}

.policy-contact strong {
    color: #1A202C !important;
}

/* Aseguradoras profesionales */
.professional-assurance {
    background: linear-gradient(135deg, #F0FFF4, #E6FFFA);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: center;
    border-left: 4px solid #68D391;
}

.professional-assurance h4 {
    color: #2D3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.professional-assurance p {
    color: #4A5568;
    font-style: italic;
    line-height: 1.8;
}

/* Configuración de cookies */
.cookie-settings {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #B2F5EA;
}

.cookie-settings h4 {
    color: #2D3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cookie-settings .btn-primary {
    background: linear-gradient(135deg, #805AD5, #D53F8C);
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-settings .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 90, 213, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .policy-content {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .policy-subsection,
    .terms-subsection,
    .disclaimer-subsection,
    .cookie-type,
    .cookie-management,
    .browser-instructions,
    .client-advice,
    .professional-assurance {
        padding: 20px;
        margin: 20px 0;
    }
    
    .policy-subsection h3,
    .terms-subsection h3,
    .disclaimer-subsection h3,
    .cookie-type h3,
    .cookie-management h3,
    .browser-instructions h3,
    .client-advice h3,
    .professional-assurance h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-section h2 {
        font-size: 1.2rem;
        padding-left: 15px;
    }
}
