/* =========================================================
   TAROTPROFETA.COM
   Política de tratamiento de datos personales
   Identidad visual: verde profundo, dorado, marfil y pergamino
   ========================================================= */

:root {
    --verde-profeta: #073d32;
    --verde-abisal: #032820;
    --verde-profundo: #021d17;
    --verde-medio: #0a4b3d;

    --oro: #d6ae4a;
    --oro-luz: #f1d77a;
    --oro-suave: #e6cc82;

    --marfil: #f7f3e8;
    --pergamino: #eae1cc;
    --blanco-calido: #fffdf8;

    --carbon: #17241f;
    --texto: #26362f;
    --texto-suave: #58675f;
    --texto-claro: #dce7e1;
    --texto-claro-suave: #bfcfc6;

    --borde-oro: rgba(214, 174, 74, 0.38);
    --borde-verde: rgba(7, 61, 50, 0.14);

    --sombra-suave: 0 16px 42px rgba(3, 40, 32, 0.10);
    --sombra-card: 0 24px 65px rgba(3, 40, 32, 0.15);
}


/* ============================
   RESET
   ============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    color: var(--carbon);
    line-height: 1.72;

    background:
        radial-gradient(circle at 14% 5%, rgba(214, 174, 74, 0.09), transparent 25%),
        radial-gradient(circle at 88% 9%, rgba(7, 61, 50, 0.08), transparent 28%),
        linear-gradient(180deg, var(--marfil), #f2ecdd);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* ============================
   CONTENEDOR GENERAL
   ============================ */

.data-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.2rem 2.5rem;
}


/* ============================
   HEADER
   ============================ */

.data-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0 1.25rem;
}

.data-header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.data-logo {
    width: min(170px, 38vw);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;

    border: 1px solid rgba(214, 174, 74, 0.55);

    box-shadow:
        0 12px 30px rgba(3, 40, 32, 0.14),
        0 0 0 7px rgba(214, 174, 74, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.data-header a:hover .data-logo {
    transform: translateY(-3px);

    box-shadow:
        0 18px 38px rgba(3, 40, 32, 0.18),
        0 0 24px rgba(214, 174, 74, 0.16);
}


/* ============================
   MAIN
   ============================ */

.data-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/* ============================
   TARJETA PRINCIPAL
   ============================ */

.data-card {
    position: relative;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;

    padding: 3rem 3rem 3.2rem;

    background:
        linear-gradient(
            180deg,
            rgba(255, 253, 248, 0.99),
            rgba(247, 243, 232, 0.985)
        );

    border-radius: 1.4rem;
    border: 1px solid var(--borde-oro);

    box-shadow: var(--sombra-card);

    overflow: hidden;
}

.data-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--oro),
        var(--oro-luz),
        var(--oro),
        transparent
    );
}

.data-card::after {
    content: "✦";
    position: absolute;
    top: 1rem;
    right: 1.35rem;

    color: var(--oro);
    opacity: 0.48;
    font-size: 1rem;
}


/* ============================
   TIPOGRAFÍA
   ============================ */

.data-card h1,
.data-card h3,
.data-card h4 {
    font-family: Georgia, "Times New Roman", serif;
}

.data-card h1 {
    text-align: center;

    color: var(--verde-profeta);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0.035em;

    margin-bottom: 2rem;
}

.data-card h1::after {
    content: "";
    display: block;

    width: 78px;
    height: 2px;

    margin: 0.9rem auto 0;

    background: linear-gradient(
        90deg,
        transparent,
        var(--oro),
        transparent
    );
}

.data-card h3 {
    color: var(--verde-profeta);

    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 600;

    margin-top: 2rem;
    margin-bottom: 0.65rem;
}

.data-card h3:not(:first-of-type) {
    border-top: 1px solid rgba(214, 174, 74, 0.22);
    padding-top: 1.15rem;
}

.data-card h4 {
    color: var(--verde-medio);

    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;

    margin-top: 1rem;
    margin-bottom: 0.55rem;
}


/* ============================
   TEXTO
   ============================ */

.data-card p {
    color: var(--texto-suave);

    font-size: 0.96rem;
    line-height: 1.82;

    margin-bottom: 1rem;
}

.data-card strong {
    color: var(--verde-profeta);
    font-weight: 600;
}


/* ============================
   LISTAS
   ============================ */

.data-card ul,
.data-card ol {
    margin: 0.75rem 0 1.2rem;
    padding-left: 1.45rem;
}

.data-card li {
    color: var(--texto);

    font-size: 0.94rem;
    line-height: 1.74;

    margin-bottom: 0.65rem;
    padding-left: 0.15rem;
}

.data-card li::marker {
    color: var(--oro);
}


/* ============================
   ENLACES DEL CONTENIDO
   ============================ */

.data-card a:not(.boton__regresar) {
    color: var(--verde-profeta);
    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: rgba(214, 174, 74, 0.75);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    overflow-wrap: anywhere;
    word-break: normal;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.data-card a:not(.boton__regresar):hover {
    color: #0a5a48;
    text-decoration-color: var(--oro);
}


/* ============================
   BOTÓN VOLVER
   ============================ */

.data-actions {
    margin-top: 2.6rem;

    display: flex;
    justify-content: center;
}

.boton__regresar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 200px;
    min-height: 48px;

    padding: 0.72rem 1.5rem;

    border-radius: 0.72rem;
    border: 1px solid var(--oro);

    background: var(--oro);
    color: var(--verde-abisal);

    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.045em;

    text-decoration: none;

    box-shadow: 0 10px 26px rgba(3, 40, 32, 0.14);

    transition:
        transform 0.17s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.boton__regresar:hover {
    transform: translateY(-2px);

    background: var(--oro-luz);
    border-color: var(--oro-luz);

    box-shadow: 0 15px 34px rgba(3, 40, 32, 0.18);
}

.boton__regresar:active {
    transform: translateY(0) scale(0.98);
}


/* ============================
   SELECCIÓN Y FOCO
   ============================ */

::selection {
    background: var(--oro-luz);
    color: var(--verde-abisal);
}

a:focus-visible {
    outline: 2px solid var(--oro);
    outline-offset: 4px;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 900px) {

    .data-shell {
        padding: 1.2rem 1rem 2rem;
    }

    .data-card {
        max-width: 760px;
        padding: 2.35rem 1.8rem 2.5rem;
    }
}


@media (max-width: 768px) {

    .data-shell {
        padding: 1rem 0.75rem 1.6rem;
    }

    .data-header {
        padding-bottom: 1rem;
    }

    .data-logo {
        width: 138px;
    }

    .data-card {
        padding: 2rem 1.25rem 2.1rem;
        border-radius: 1.05rem;
    }

    .data-card h1 {
        font-size: 1.85rem;
        margin-bottom: 1.5rem;
    }

    .data-card h3 {
        font-size: 1.1rem;
        margin-top: 1.6rem;
    }

    .data-card h4 {
        font-size: 0.98rem;
    }

    .data-card p,
    .data-card li {
        font-size: 0.91rem;
    }

    .boton__regresar {
        width: 100%;
        min-width: 0;
    }
}


@media (max-width: 480px) {

    .data-shell {
        padding-inline: 0.55rem;
    }

    .data-logo {
        width: 120px;
    }

    .data-card {
        padding: 1.7rem 1rem 1.85rem;
    }

    .data-card h1 {
        font-size: 1.62rem;
    }

    .data-card h3 {
        font-size: 1.04rem;
    }

    .data-card p,
    .data-card li {
        font-size: 0.88rem;
    }

    .data-actions {
        margin-top: 2rem;
    }
}


/* Reduce movimiento si el usuario así lo prefiere */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
