/* Privacy Page Styles */
/* Aplica la guía tipográfica de la empresa */

html, body {
    height: 100%;
    background-color: #f7f6f2; /* Fondo blanco humo */
}
body {
    margin: 0 !important;
    background-color: #f7f6f2 !important; /* Fondo blanco humo */
    padding-top: 180px !important; /* Aumentado significativamente para que los títulos se vean */
    margin-top: 0 !important;
}

/* Asegurar que el contenedor principal también tenga margen */
#master-scaling-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Forzar espacio solo en el primer título */
h1:first-of-type,
.page-title,
.privacy-title {
    margin-top: 40px !important; /* Reducido para balance */
    padding-top: 10px !important; /* Reducido para balance */
}

/* Eliminar padding extra de otros elementos */
.privacy-container,
.main-content,
.page-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Ajustado para móviles */
    }
}

.header-final,
.header-final.scrolled {
    background: #1a1a1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.logo-final {
    text-decoration: none !important;
    color: inherit !important;
}

/* Header tipo Productos (desktop) sin transparencia */
@media (min-width: 1025px) {
    .header-final {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        z-index: 1000;
        display: flex;
        align-items: center;
        background: #1a1a1a !important;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        padding: 0 10px;
    }
}

/* Header styles */
.privacy-header {
    display: none;
    background: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-header-logo {
    display: flex;
    align-items: center;
}

.privacy-header-logo img {
    height: 40px;
    margin-right: 10px;
}

.privacy-header-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.privacy-header nav a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

/* Contenedor principal */
.privacy-container {
    padding: 60px 20px 80px 20px; /* Más espacio arriba y abajo */
    max-width: 1000px;
    margin: 0 auto;
    min-height: calc(100vh - 200px); /* Asegurar altura mínima */
}

/* Hero section */
.privacy-hero {
    text-align: center;
    margin-bottom: 70px; /* Más espacio después del hero */
}

.privacy-hero h1 {
    /* Hereda de h1 en tipografia-guia.css: Neo Sans, 42px */
    margin-bottom: 15px;
    color: #333;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.privacy-hero p {
    /* Hereda de p en tipografia-guia.css: Open Sans/Lato, 16px */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenido principal */
.privacy-content {
    background: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 26, 26, 0.08);
}

.privacy-section {
    margin-bottom: 45px;
}

.privacy-section h2 {
    /* Hereda de h2 en tipografia-guia.css: Neo Sans, 36px */
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #f9751c;
    padding-left: 20px;
}

.privacy-section p {
    /* Hereda de p en tipografia-guia.css: Open Sans/Lato, 16px */
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin-left: 25px;
}

.privacy-section li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.privacy-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f9751c;
    font-weight: bold;
}

/* Sección de contacto */
.privacy-contact {
    background: rgba(26, 26, 26, 0.85);
    padding: 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
}

.privacy-contact h3 {
    /* Hereda de h3 en tipografia-guia.css: Neo Sans, 28px */
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 400; /* Reducido de 600 a 400 para mejor legibilidad */
    color: white; /* Blanco puro para mejor contraste */
}

.privacy-contact p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.6;
    color: #f5f5f5; /* Blanco humo */
}

.privacy-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.privacy-contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #f5f5f5; /* Blanco humo */
}

.privacy-contact-item a {
    color: #f5f5f5; /* Blanco humo */
    text-decoration: none;
    font-weight: 600;
}

.privacy-contact-item span {
    color: #f5f5f5; /* Blanco humo */
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-container {
        padding: 20px 15px;
    }
    
    .privacy-content {
        padding: 25px;
    }
    
    .privacy-contact-grid {
        grid-template-columns: 1fr;
    }
}
