@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --accent: #DBC56B;
    --bg: #f6f8fb;
    --card: rgba(255, 255, 255, 0.72);
    --text: #1f2430;
    --muted: #5f6777;
    --border: rgba(219, 197, 107, 0.28);
    --shadow: 0 10px 35px rgba(24, 31, 48, 0.08);
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Google Sans Flex", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(219, 197, 107, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(219, 197, 107, 0.12), transparent 28%),
        linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%);
    color: var(--text);
    line-height: 1.75;
    padding: 2rem 1rem 4rem;
}

/* Botón volver */
.volver{
    width: min(1100px, 100%);
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: flex-start;
}

.volver a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-weight: 600;
    letter-spacing: .2px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.volver a:hover{
    transform: translateY(-2px);
    border-color: rgba(219, 197, 107, 0.55);
    box-shadow: 0 14px 30px rgba(24, 31, 48, 0.12);
}

/* Contenedores principales */
.main-container,
.politica-cookies,
.politica-de-privacidad{
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: clamp(1.2rem, 2vw, 2rem);
    background: var(--card);
    border: 1px solid rgba(255,255,255,.6);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Títulos */
h3{
    color: var(--text);
    line-height: 1.3;
}

.main-container > h3,
.politica-cookies > h3,
.politica-de-privacidad > h3{
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 1.5rem;
    color: #111;
    position: relative;
    padding-bottom: .8rem;
}

.main-container > h3::after,
.politica-cookies > h3::after,
.politica-de-privacidad > h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
}

#printable h3{
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 750;
    margin: 2rem 0 .8rem;
    color: #1a1f2b;
}

/* Texto */
p,
li{
    font-size: 1rem;
    color: var(--text);
}

p{
    margin-bottom: 1rem;
}

strong,
b{
    font-weight: 750;
    color: #111;
}

/* Listas */
ol,
ul{
    margin: 1rem 0 1.2rem 1.3rem;
}

li{
    margin-bottom: .85rem;
}

ol li::marker,
ul li::marker{
    color: var(--accent);
    font-weight: 700;
}

/* Enlaces */
a{
    color: #8f7440;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease, opacity .2s ease;
}

a:hover{
    color: #6d572d;
    opacity: .9;
}

/* Bloques internos más respirados */
#printable{
    display: block;
}

/* Separación entre secciones */
#printable > p:first-child{
    margin-top: .2rem;
}

/* Responsive */
@media (max-width: 768px){
    body{
        padding: 1rem .8rem 3rem;
    }

    .main-container,
    .politica-cookies,
    .politica-de-privacidad{
        border-radius: 18px;
        padding: 1rem;
    }

    .volver{
        margin-bottom: 1rem;
    }

    .volver a{
        width: 100%;
        text-align: center;
    }

    ol,
    ul{
        margin-left: 1rem;
    }
}