:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --text: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light-bg);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-logo {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    background: white; /* Por si el logo tiene fondo transparente y no se ve sobre el fondo oscuro */
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

header h1 span {
    color: var(--accent);
}

header p {
    font-size: 1rem;
    opacity: 0.8;
}

main {
    margin: -40px auto 40px;
}

.policy-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-card h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.last-updated {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 30px;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    margin-bottom: 10px;
    color: var(--accent);
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

ul li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: #e1e8ed;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 600px) {
    header {
        padding: 30px 0 60px;
    }
    
    .policy-card {
        padding: 25px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
}
