
/* =========================================
   LI STUDIO LI · SERVICIOS
========================================= */

.servicios-page {
    --lila: #8c6cff;
    --lila-claro: #eee7ff;
    --verde: #a8df6b;
    --verde-oscuro: #58883b;
    --azul: #172b4d;
    --texto: #626c7e;
    --crema: #fbf8f1;

    margin: 0;
    padding: 130px 7% 70px;
    overflow: hidden;

    color: var(--azul);
    font-family: "Nunito", sans-serif;

    background:
        radial-gradient(
            circle at 5% 8%,
            rgba(168, 223, 107, .15),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 35%,
            rgba(181, 140, 255, .13),
            transparent 27%
        ),
        var(--crema);
}

.servicios-page *,
.servicios-page *::before,
.servicios-page *::after {
    box-sizing: border-box;
}

.servicios-page h1,
.servicios-page h2,
.servicios-page h3,
.servicios-page p {
    overflow-wrap: anywhere;
}

.servicios-page a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   HERO
========================================= */

.servicios-hero {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 45px 20px 35px;
    text-align: center;
}

.servicios-etiqueta,
.servicios-titulo > span,
.presupuesto-cabecera > span {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--lila);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.servicios-hero h1 {
    max-width: 900px;
    margin: 0 auto 22px;

    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.servicios-hero h1 span {
    display: block;
    color: var(--lila);
}

.servicios-hero > p {
    max-width: 620px;
    margin: 0 auto 30px;

    color: var(--texto);
    font-size: 1.1rem;
    line-height: 1.8;
}

.servicios-cta,
.servicio-boton,
.presupuesto-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 48px;
    padding: 13px 25px;

    border: 0;
    border-radius: 50px;

    background: linear-gradient(
        100deg,
        var(--verde),
        #c2e58b 45%,
        #b58cff
    );

    color: var(--azul);
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 9px 23px rgba(45, 52, 76, .12);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.servicios-cta:hover,
.servicio-boton:hover,
.presupuesto-boton:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(45, 52, 76, .18);
}

.servicios-decoracion {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.decoracion-planeta {
    top: 0;
    left: 2%;
    font-size: clamp(35px, 5vw, 65px);
    transform: rotate(-12deg);
}

.decoracion-brillo {
    top: 20%;
    right: 7%;
    color: var(--lila);
    font-size: 35px;
}

.decoracion-hoja {
    right: 12%;
    bottom: 4%;
    font-size: 30px;
}


/* =========================================
   TÍTULOS DE SECCIÓN
========================================= */

.servicios-seccion,
.extras-seccion,
.presupuesto-seccion {
    max-width: 1120px;
    margin: 0 auto 100px;
}

.servicios-titulo,
.presupuesto-cabecera {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.servicios-titulo h2,
.presupuesto-cabecera h2 {
    margin: 0 0 15px;

    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.servicios-titulo > p,
.presupuesto-cabecera > p {
    margin: 0;
    color: var(--texto);
    line-height: 1.7;
}


/* =========================================
   TARJETAS PRINCIPALES
========================================= */

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.servicio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: 35px;

    border: 1px solid rgba(181, 140, 255, .22);
    border-radius: 32px;

    background: rgba(255, 255, 255, .88);

    box-shadow: 0 18px 45px rgba(23, 43, 77, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.servicio-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;

    width: 110px;
    height: 110px;

    border-radius: 0 31px 0 100%;
    background: rgba(181, 140, 255, .12);
    pointer-events: none;
}

.servicio-mantenimiento {
    border-color: rgba(168, 223, 107, .45);
}

.servicio-mantenimiento::before {
    background: rgba(168, 223, 107, .17);
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(23, 43, 77, .12);
}

.servicio-icono {
    display: grid;
    place-items: center;

    width: 66px;
    height: 66px;
    margin-bottom: 22px;

    border-radius: 23px;
    background: var(--lila-claro);
    font-size: 30px;
}

.servicio-mantenimiento .servicio-icono {
    background: #edf7df;
}

.servicio-tipo {
    margin-bottom: 10px;

    color: var(--lila);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.servicio-card h3 {
    margin: 0 0 14px;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.servicio-descripcion {
    margin: 0 0 23px;
    color: var(--texto);
    line-height: 1.7;
}

.servicio-precio {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;

    margin-bottom: 22px;
    padding: 13px 20px;

    border-radius: 18px;
    background: linear-gradient(110deg, #edf8df, #f0e9ff);
}

.servicio-precio strong {
    color: var(--azul);
    font-family: "Geomanist", Arial, sans-serif;
    font-size: 2.3rem;
}

.servicio-precio span {
    color: var(--texto);
    font-size: .9rem;
}

.servicio-resumen {
    display: grid;
    gap: 12px;

    width: 100%;
    margin: 0 0 24px;
    padding: 0;

    list-style: none;
}

.servicio-resumen li {
    color: var(--texto);
    line-height: 1.55;
}

.servicio-resumen li::first-letter {
    color: var(--verde-oscuro);
}

.servicio-detalles {
    width: 100%;
    margin: 0 0 25px;
    padding: 15px 17px;

    border: 1px solid #ece7f8;
    border-radius: 16px;
    background: #fcfaff;
}

.servicio-detalles summary {
    color: #7658ce;
    font-weight: 800;
    cursor: pointer;
}

.servicio-detalles summary::marker {
    color: var(--lila);
}

.servicio-detalles p {
    margin: 13px 0 0;
    color: var(--texto);
    font-size: .94rem;
    line-height: 1.7;
}

.servicio-boton {
    width: 100%;
    margin-top: auto;
    text-align: center;
}


/* =========================================
   DOMINIO
========================================= */

.dominio-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 25px;

    max-width: 1120px;
    margin: 0 auto 110px;
    padding: 30px;

    border: 1px solid rgba(168, 223, 107, .5);
    border-radius: 30px;

    background: linear-gradient(
        115deg,
        rgba(237, 248, 224, .9),
        rgba(255, 255, 255, .95),
        rgba(242, 235, 255, .9)
    );

    box-shadow: 0 15px 35px rgba(23, 43, 77, .06);
}

.dominio-icono {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    border-radius: 25px;
    background: white;
    font-size: 35px;
}

.dominio-texto > span {
    color: var(--verde-oscuro);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.dominio-texto h2 {
    margin: 7px 0;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: 1.7rem;
}

.dominio-texto p {
    margin: 0;
    color: var(--texto);
    line-height: 1.65;
}

.dominio-precio {
    max-width: 220px;
    padding: 17px 20px;
    border-radius: 20px;
    background: white;
    text-align: center;
}

.dominio-precio span,
.dominio-precio strong {
    display: block;
}

.dominio-precio span {
    margin-bottom: 6px;
    color: var(--texto);
    font-size: .82rem;
}

.dominio-precio strong {
    font-size: .94rem;
}


/* =========================================
   EXTRAS
========================================= */

.extras-seccion {
    margin-bottom: 110px;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.extra-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: 27px;

    border: 1px solid rgba(181, 140, 255, .2);
    border-radius: 27px;
    background: rgba(255, 255, 255, .9);

    box-shadow: 0 12px 30px rgba(23, 43, 77, .06);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.extra-card:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 108, 255, .45);
    box-shadow: 0 20px 38px rgba(23, 43, 77, .1);
}

.extra-icono {
    display: grid;
    place-items: center;

    width: 57px;
    height: 57px;
    margin-bottom: 18px;

    border-radius: 19px;
    background: #edf7df;
    font-size: 27px;
}

.extra-card:nth-child(2) .extra-icono {
    background: #f0e8ff;
}

.extra-card h3 {
    margin: 0 0 10px;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: 1.35rem;
}

.extra-card p {
    flex: 1;
    margin: 0 0 20px;
    color: var(--texto);
    line-height: 1.65;
}

.extra-card > strong {
    margin-bottom: 6px;
    font-size: 1.6rem;
}

.extra-card > strong small {
    font-size: .85rem;
    font-weight: 600;
}

.extra-cuota,
.extra-consulta {
    margin-bottom: 20px;
    color: var(--texto);
    font-size: .84rem;
    line-height: 1.5;
}

.extra-seleccionar,
.extra-enlace {
    width: 100%;
    margin-top: auto;
    padding: 12px 15px;

    border: 1px solid #e4dcff;
    border-radius: 15px;
    background: #f8f5ff;

    color: #7658ce;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.extra-seleccionar:hover,
.extra-enlace:hover {
    background: #eee7ff;
    transform: translateY(-2px);
}

.extra-seleccionar.seleccionado {
    background: #eaf6dd;
    border-color: #a8d981;
    color: #416e2c;
}


/* =========================================
   CALCULADORA
========================================= */

.presupuesto-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 25px;
    align-items: stretch;
}

.presupuesto-opciones {
    display: grid;
    align-content: start;
    gap: 13px;
    min-width: 0;
}

.opcion-presupuesto {
    display: grid;
    grid-template-columns: auto 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;

    min-width: 0;
    padding: 18px;

    border: 1px solid #eee9f8;
    border-radius: 20px;
    background: white;

    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}

.opcion-presupuesto:has(input:checked) {
    border-color: #b9a5ff;
    background: #fcfaff;
}

.opcion-presupuesto > input {
    width: 18px;
    height: 18px;
    accent-color: var(--lila);
    cursor: pointer;
}

.opcion-check {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #f0eaff;
    font-size: 22px;
}

.opcion-texto {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.opcion-texto strong {
    font-size: .95rem;
}

.opcion-texto small {
    color: var(--texto);
    font-size: .8rem;
    line-height: 1.4;
}

.opcion-precio {
    font-size: .84rem;
    text-align: right;
}

.presupuesto-periodo {
    display: grid;
    gap: 9px;
    margin-top: 8px;
}

.presupuesto-periodo label {
    font-weight: 800;
    font-size: .9rem;
}

.presupuesto-periodo select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e5def5;
    border-radius: 15px;
    background: white;
    color: var(--azul);
    font: inherit;
}

.presupuesto-resumen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    padding: 35px 25px;
    overflow: hidden;

    border: 1px solid #d9edc9;
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(168, 223, 107, .22) 0 90px,
            transparent 91px
        ),
        linear-gradient(145deg, #fff, #f4f9ee);

    text-align: center;
}

.resumen-planeta {
    display: grid;
    place-items: center;
    width: 85px;
    height: 85px;
    margin-bottom: 23px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 8px 25px rgba(23, 43, 77, .08);
    font-size: 43px;
}

.presupuesto-resumen > span {
    color: var(--lila);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.presupuesto-resumen h3 {
    margin: 12px 0;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: 1.6rem;
}

.resumen-total {
    margin: 5px 0 12px;
    color: #7957df;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.presupuesto-resumen > p {
    max-width: 300px;
    color: var(--texto);
    font-size: .9rem;
    line-height: 1.6;
}

.presupuesto-resumen .resumen-nota {
    margin: 15px 0 24px;
    font-size: .78rem;
}

.presupuesto-boton {
    width: 100%;
    padding-inline: 15px;
    font-size: .9rem;
}


/* =========================================
   CIERRE
========================================= */

.servicios-cierre {
    max-width: 850px;
    margin: 0 auto;
    padding: 55px 25px;
    border-radius: 35px;

    background: linear-gradient(
        120deg,
        rgba(235, 247, 220, .8),
        rgba(246, 240, 255, .95)
    );

    text-align: center;
}

.servicios-cierre > span {
    color: var(--lila);
    font-size: 32px;
}

.servicios-cierre h2 {
    margin: 12px 0;
    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.servicios-cierre p {
    margin: 0 0 25px;
    color: var(--texto);
    line-height: 1.7;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .servicios-page {
        padding: 120px 5% 55px;
    }

    .servicios-grid {
        gap: 18px;
    }

    .servicio-card {
        padding: 26px;
    }

    .dominio-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dominio-precio {
        grid-column: 1 / -1;
        max-width: none;
    }

    .extras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .presupuesto-panel {
        grid-template-columns: 1fr;
    }

    .presupuesto-resumen {
        min-height: 390px;
    }
}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 600px) {

    .servicios-page {
        padding: 105px 18px 45px;
    }

    .servicios-hero {
        margin-bottom: 65px;
        padding: 35px 4px 20px;
    }

    .servicios-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        letter-spacing: -.7px;
    }

    .servicios-hero > p {
        font-size: 1rem;
    }

    .decoracion-planeta {
        top: -5px;
        left: -4px;
        font-size: 35px;
    }

    .decoracion-brillo {
        top: 8%;
        right: 0;
        font-size: 25px;
    }

    .decoracion-hoja {
        right: 0;
        bottom: 0;
        font-size: 23px;
    }

    .servicios-seccion,
    .extras-seccion,
    .presupuesto-seccion {
        margin-bottom: 70px;
    }

    .servicios-titulo,
    .presupuesto-cabecera {
        margin-bottom: 28px;
    }

    .servicios-titulo h2,
    .presupuesto-cabecera h2 {
        font-size: 2rem;
    }

    .servicios-grid,
    .extras-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .servicio-card {
        padding: 25px 21px;
        border-radius: 27px;
    }

    .servicio-card h3 {
        font-size: 1.7rem;
    }

    .servicio-precio strong {
        font-size: 2rem;
    }

    .dominio-card {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 75px;
        padding: 23px;
        border-radius: 26px;
    }

    .dominio-icono {
        width: 62px;
        height: 62px;
    }

    .dominio-texto h2 {
        font-size: 1.55rem;
    }

    .dominio-precio {
        padding: 16px;
    }

    .extra-card {
        padding: 25px;
    }

    .opcion-presupuesto {
        grid-template-columns: auto 38px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 11px;
    }

    .opcion-check {
        width: 37px;
        height: 37px;
        font-size: 19px;
    }

    .opcion-precio {
        grid-column: 3;
        text-align: left;
        font-size: .8rem;
    }

    .opcion-texto strong {
        font-size: .9rem;
    }

    .opcion-texto small {
        font-size: .76rem;
    }

    .presupuesto-resumen {
        min-height: 370px;
        padding: 28px 20px;
    }

    .servicios-cierre {
        padding: 38px 20px;
        border-radius: 27px;
    }
}


/* =========================================
   REDUCIR MOVIMIENTO
========================================= */

@media (prefers-reduced-motion: reduce) {

    .servicios-page *,
    .servicios-page *::before,
    .servicios-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
