/* =========================================================
   TAROTPROFETA.COM
   Página de servicios
   Identidad visual: verde profundo, dorado, marfil y pergamino
   ========================================================= */

:root {
    --verde-profeta: #073d32;
    --verde-abisal: #032820;
    --verde-profundo: #021d17;
    --verde-medio: #0a4b3d;
    --verde-suave: #315d50;

    --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.36);
    --borde-verde: rgba(7, 61, 50, 0.15);

    --sombra-suave: 0 16px 42px rgba(3, 40, 32, 0.11);
    --sombra-card: 0 24px 65px rgba(3, 40, 32, 0.16);

    --fg-muted-2: #66776e;
}


/* ============================
   RESET
   ============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body.body__Servicios {
    min-height: 100vh;
    width: 100%;

    display: flex;
    flex-direction: column;

    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    color: var(--carbon);

    background:
        radial-gradient(circle at 12% 3%, rgba(214, 174, 74, 0.08), transparent 26%),
        radial-gradient(circle at 88% 8%, rgba(7, 61, 50, 0.08), transparent 28%),
        linear-gradient(180deg, var(--marfil), #f2ecdd);

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* ============================
   HEADER / NAV
   Compatible con el HTML nuevo
   ============================ */

.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(3, 40, 32, 0.97);
    border-bottom: 1px solid rgba(214, 174, 74, 0.24);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 8px 24px rgba(3, 40, 32, 0.16);
}

.app-header-inner {
    width: min(1200px, calc(100% - 2rem));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;

    gap: 0.8rem;

    text-decoration: none;
}

.brand-logo {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 50%;
    border: 1px solid rgba(214, 174, 74, 0.62);

    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0.035em;

    color: var(--oro-luz);
}

.brand-subtitle {
    margin-top: 0.15rem;

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--texto-claro-suave);
}

.app-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 0.25rem;
}

.nav-link {
    padding: 0.55rem 0.68rem;

    border-radius: 0.55rem;

    color: var(--texto-claro);

    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.035em;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--oro-luz);
    background: rgba(214, 174, 74, 0.08);
}


/* Menú móvil */
.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 1px solid rgba(214, 174, 74, 0.34);
    border-radius: 0.55rem;

    background: transparent;

    cursor: pointer;
}

.nav-toggle-line {
    width: 21px;
    height: 2px;

    background: var(--oro-luz);

    border-radius: 999px;
}


/* ============================
   LÍNEA SEPARADORA
   ============================ */

.linea {
    width: min(1200px, calc(100% - 2rem));
    height: 1px;

    margin: 0.9rem auto;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(214, 174, 74, 0.72),
        transparent
    );
}


/* ============================
   MAIN
   ============================ */

.main__servicios {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto 3rem;

    display: flex;
    flex-direction: column;

    gap: 2rem;
}

.seccion__principal {
    display: flex;
    flex-direction: column;

    gap: 1.8rem;
}


/* ============================
   CONTACTO
   ============================ */

.contactos__servicios {
    width: 100%;

    padding: 1.5rem 1.4rem 1.7rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            rgba(255, 253, 248, 0.99),
            rgba(247, 243, 232, 0.985)
        );

    border: 1px solid var(--borde-oro);
    border-radius: 1.25rem;

    box-shadow: var(--sombra-suave);
}

.subtitulo__contactos__servicios {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;

    color: var(--verde-profeta);
}

.iconos__contactos__servicios {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 1.2rem;
}

.whatsAppImg,
.youtubeImg {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsAppImg:hover,
.youtubeImg:hover {
    transform: translateY(-3px);
}

.whatsAppLogo,
.youtubeLogo {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 50%;

    border: 1px solid rgba(214, 174, 74, 0.34);

    box-shadow: 0 7px 20px rgba(3, 40, 32, 0.12);
}

.link__parrafo__whatsApp {
    color: var(--verde-profeta);

    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;

    text-decoration: none;

    transition: color 0.2s ease;
}

.link__parrafo__whatsApp:hover {
    color: var(--oro);
}


/* ============================
   CONTENIDO SERVICIOS
   ============================ */

.contenido__servicios {
    position: relative;

    width: 100%;

    padding: 2.7rem 2.6rem 3rem;

    display: flex;
    flex-direction: column;

    gap: 1.4rem;

    background:
        linear-gradient(
            180deg,
            rgba(255, 253, 248, 0.99),
            rgba(247, 243, 232, 0.985)
        );

    border: 1px solid var(--borde-oro);
    border-radius: 1.4rem;

    box-shadow: var(--sombra-card);

    overflow: hidden;
}

.contenido__servicios::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
    );
}

.contenido__servicios::after {
    content: "✦";

    position: absolute;
    top: 1rem;
    right: 1.3rem;

    color: var(--oro);
    opacity: 0.45;
}

.titulo__contenido__servicios {
    font-family: Georgia, "Times New Roman", serif;

    text-align: center;

    color: var(--verde-profeta);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.titulo__contenido__servicios::after {
    content: "";

    display: block;

    width: 76px;
    height: 2px;

    margin: 0.85rem auto 0;

    background: linear-gradient(
        90deg,
        transparent,
        var(--oro),
        transparent
    );
}

.texto__introduccion__servicios {
    max-width: 780px;
    margin: 0 auto;

    color: var(--texto-suave);

    text-align: center;

    font-size: 0.97rem;
    line-height: 1.8;
}

.tipoServicio {
    margin-top: 0.5rem;

    font-family: Georgia, "Times New Roman", serif;

    color: var(--verde-profeta);

    font-size: 1.28rem;
    font-weight: 600;
    text-align: center;
}

.tipoServicio .tipo__servicio {
    color: var(--oro);

    font-size: 1.02rem;
    font-weight: 500;

    margin-left: 0.3rem;
}


/* Lista de servicios */
.lista__servicios {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 0.85rem;

    list-style: none;
}

.lista__servicios li {
    display: flex;
    align-items: flex-start;

    gap: 0.45rem;

    padding: 0.85rem 0.9rem;

    color: var(--texto);

    font-size: 0.95rem;
    line-height: 1.7;

    border-bottom: 1px solid rgba(214, 174, 74, 0.18);
}

.lista__servicios li:last-child {
    border-bottom: none;
}

.opciones__lista {
    flex: 0 0 auto;

    color: var(--oro);

    font-weight: 700;
}

.texto__opciones__lista {
    flex: 1 1 auto;
}

.texto__opciones__lista strong {
    color: var(--verde-profeta);
    font-weight: 600;
}


/* ============================
   BLOQUE IMPORTANTE
   ============================ */

.texto__servicios {
    width: 100%;
    max-width: 840px;

    margin: 0.7rem auto 0;
    padding: 1.35rem 1.4rem;

    text-align: left;

    background: rgba(234, 225, 204, 0.48);

    border-left: 3px solid var(--oro);
    border-radius: 0.75rem;

    color: var(--texto-suave);

    font-size: 0.9rem;
    line-height: 1.75;
}

.texto__servicios h3 {
    margin-bottom: 0.7rem;

    font-family: Georgia, "Times New Roman", serif;

    color: var(--verde-profeta);

    font-size: 1.06rem;
    letter-spacing: 0.04em;
}

.texto__servicios p {
    margin-bottom: 0.7rem;
}

.texto__servicios p:last-child {
    margin-bottom: 0;
}

.texto__servicios a {
    color: var(--verde-profeta);

    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: rgba(214, 174, 74, 0.75);
    text-underline-offset: 3px;
}


/* ============================
   ORÁCULO → WHATSAPP
   ============================ */

.consulta-oraculo-container {
    width: 100%;
    max-width: 620px;

    margin-inline: auto;
}

.consulta-oraculo-text {
    color: var(--texto-suave) !important;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0.72rem 1.45rem;

    border-radius: 0.72rem;

    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.035em;

    text-decoration: none;

    transition:
        transform 0.17s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.btn-primary {
    background: var(--oro);
    color: var(--verde-abisal);

    border: 1px solid var(--oro);

    box-shadow: 0 10px 26px rgba(3, 40, 32, 0.14);
}

.btn-primary:hover {
    transform: translateY(-2px);

    background: var(--oro-luz);
    border-color: var(--oro-luz);

    box-shadow: 0 15px 34px rgba(3, 40, 32, 0.18);
}

.btn-full {
    width: 100%;
}


/* ============================
   VIDEO
   ============================ */

.seccion__video__servicios {
    width: 100%;

    padding: 2rem 1.5rem 2.2rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1rem;

    text-align: center;

    background:
        radial-gradient(circle at 18% 0%, rgba(214, 174, 74, 0.09), transparent 24%),
        linear-gradient(180deg, var(--verde-profeta), var(--verde-abisal));

    border: 1px solid rgba(214, 174, 74, 0.28);
    border-radius: 1.4rem;

    box-shadow: 0 24px 65px rgba(3, 40, 32, 0.2);

    color: var(--texto-claro);
}

.subtituloVideo {
    font-family: Georgia, "Times New Roman", serif;

    color: var(--oro-luz);

    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.invitacion {
    color: var(--texto-claro-suave);

    font-size: 0.93rem;
    font-weight: 500;
}

.videoPresentacion {
    width: 100%;
    max-width: 720px;

    aspect-ratio: 16 / 9;

    margin-top: 0.5rem;

    border: 1px solid rgba(214, 174, 74, 0.34);
    border-radius: 0.95rem;

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}


/* ============================
   FOOTER HEREDADO, POR SI SE USA
   ============================ */

.footer__servicios {
    margin-top: auto;

    width: 100%;

    padding: 1.8rem 1.25rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1.8rem;

    background: var(--verde-abisal);

    border-top: 1px solid rgba(214, 174, 74, 0.22);

    color: var(--texto-claro-suave);

    font-size: 0.8rem;
}

.footer__servicios a {
    color: var(--oro-luz);
}

.footer__servicios .urlFooter,
.footer__servicios .derechos {
    display: flex;
    flex-direction: column;

    gap: 0.45rem;

    align-items: center;

    text-align: center;
}

.footer__servicios .logosLic {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.7rem;
}

.footer__servicios .logLicencia {
    width: 32px;
}

.footer__servicios .autor {
    font-size: 0.65rem;
    opacity: 0.82;
}


/* ============================
   ACCESIBILIDAD
   ============================ */

::selection {
    background: var(--oro-luz);
    color: var(--verde-abisal);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--oro);
    outline-offset: 4px;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 980px) {

    .nav-toggle {
        display: flex;
    }

    .app-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 1rem;
        right: 1rem;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 0.8rem;

        background: var(--verde-abisal);

        border: 1px solid rgba(214, 174, 74, 0.25);
        border-radius: 0.8rem;

        box-shadow: 0 18px 40px rgba(3, 40, 32, 0.28);
    }

    .app-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0.8rem;
    }
}


@media (max-width: 768px) {

    .app-header-inner {
        width: min(100% - 1rem, 1200px);
        min-height: 72px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.63rem;
    }

    .main__servicios {
        width: min(100% - 1rem, 1200px);

        margin-bottom: 2rem;
    }

    .linea {
        width: min(100% - 1rem, 1200px);
    }

    .contactos__servicios {
        padding: 1.3rem 1rem 1.45rem;
    }

    .whatsAppImg,
    .youtubeImg {
        width: 56px;
        height: 56px;
    }

    .contenido__servicios {
        padding: 2rem 1.2rem 2.2rem;
        border-radius: 1.05rem;
    }

    .titulo__contenido__servicios {
        font-size: 1.85rem;
    }

    .texto__introduccion__servicios {
        font-size: 0.92rem;
    }

    .tipoServicio {
        font-size: 1.15rem;
    }

    .lista__servicios li {
        padding: 0.75rem 0.25rem;

        font-size: 0.91rem;
    }

    .texto__servicios {
        padding: 1.1rem 1rem;

        font-size: 0.86rem;
    }

    .seccion__video__servicios {
        padding: 1.6rem 1rem 1.8rem;

        border-radius: 1.05rem;
    }
}


@media (max-width: 480px) {

    .brand-subtitle {
        display: none;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .subtitulo__contactos__servicios {
        font-size: 1.05rem;
    }

    .titulo__contenido__servicios {
        font-size: 1.58rem;
    }

    .tipoServicio .tipo__servicio {
        display: block;

        margin-top: 0.25rem;
        margin-left: 0;
    }

    .lista__servicios li {
        gap: 0.3rem;

        font-size: 0.88rem;
    }

    .texto__servicios {
        text-align: left;
    }

    .subtituloVideo {
        font-size: 1rem;
    }
}


/* ============================
   MOVIMIENTO REDUCIDO
   ============================ */

@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;
    }
}