/* Home (/) */

/* --- Portada --------------------------------------------------------------- */
.home-hero {
    position: relative;
    overflow: hidden;
}

/* Círculos decorativos con los colores oficiales */
.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-hero::before {
    width: 32rem;
    height: 32rem;
    right: -10rem;
    top: -12rem;
    background: rgba(255, 255, 255, .06);
}

.home-hero::after {
    width: 18rem;
    height: 18rem;
    left: 40%;
    bottom: -12rem;
    background: var(--brand-celeste);
    opacity: .15;
}

.home-hero .container { position: relative; z-index: 1; }

.home-hero__kicker {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-celeste);
}

.home-buscador .input-group {
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .25);
}

.home-buscador .form-control:focus { box-shadow: none; }

/* Datos destacados */
.home-dato {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    transition: background-color .2s ease, transform .2s ease;
}

.home-dato:hover {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.home-dato__icono {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    background: var(--brand-rosa);
}

.home-dato__icono svg { width: 1.4rem; height: 1.4rem; }

.home-dato__valor {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

/* --- Títulos de sección ---------------------------------------------------- */
.home-titulo {
    position: relative;
    padding-bottom: .6rem;
    color: var(--brand-azul);
}

.home-titulo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-celeste), var(--brand-rosa));
}

/* --- Accesos a secciones --------------------------------------------------- */
.home-acceso h3 a {
    color: var(--brand-azul);
    text-decoration: none;
}

.home-acceso:hover h3 a { color: var(--icon-color, var(--brand-azul)); }

/* --- Pasos ----------------------------------------------------------------- */
.home-pasos { border-radius: 1rem; }

/* --- Plantas por zona ------------------------------------------------------ */
.home-zona {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #fff;
    border: 1px solid rgba(var(--brand-azul-rgb), .08);
    box-shadow: 0 .25rem 1rem rgba(var(--brand-azul-rgb), .06);
}

.home-zona h3 a {
    color: var(--brand-azul);
    text-decoration: none;
}

.home-zona h3 a:hover { color: var(--brand-violeta); }

.home-zona__total {
    display: inline-block;
    margin-left: .35rem;
    padding: .1rem .55rem;
    border-radius: 50rem;
    font-size: .75rem;
    vertical-align: middle;
    color: var(--brand-azul);
    background-color: color-mix(in srgb, var(--brand-celeste) 18%, #fff);
}

.home-zona__lista {
    columns: 2;
    column-gap: 1.5rem;
    font-size: .9rem;
}

.home-zona__lista li {
    break-inside: avoid;
    padding: .2rem 0;
}

.home-zona__lista a {
    color: var(--bs-body-color);
    text-decoration: none;
}

.home-zona__lista a:hover {
    color: var(--brand-rosa);
    text-decoration: underline;
}

/* --- Precios --------------------------------------------------------------- */
.home-precio {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    height: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--bs-body-color);
    background-color: #fff;
    border-top: 4px solid var(--brand-celeste);
    box-shadow: 0 .25rem 1rem rgba(var(--brand-azul-rgb), .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-precio:hover {
    color: var(--bs-body-color);
    transform: translateY(-4px);
    box-shadow: 0 .75rem 2rem rgba(var(--brand-azul-rgb), .14);
}

.home-precio__grupo {
    font-weight: 600;
    color: var(--brand-violeta);
}

.home-precio__valor {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-azul);
}

.home-precio__detalle {
    font-size: .8rem;
    color: var(--bs-secondary-color);
}

@media (prefers-reduced-motion: reduce) {
    .home-dato,
    .home-precio { transition: none; }
    .home-dato:hover,
    .home-precio:hover { transform: none; }
}
