:root {
    --bay: #0891b2;
    --bay-dark: #0e7490;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --paper: #f4f7fb;
    --card: #ffffff;
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius: 1.2rem;
}

html {
    scroll-behavior: smooth;
}

.site-body {
    background: var(--paper);
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #a5f3fc;
    color: #083344;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.site-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.35rem;
}

.site-logo {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    text-decoration: none;
    white-space: nowrap;
}

.site-logo-a,
.site-logo-b {
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    line-height: 1;
    text-transform: uppercase;
}

.site-logo-a {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bay);
}

.site-logo-b {
    font-weight: 300;
    letter-spacing: 0.16em;
    color: var(--ink);
}

.site-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: #fff;
    color: #475569;
}

.site-nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
}

.site-nav-mobile {
    padding: 0.65rem 0 0.9rem;
    border-top: 1px solid #f1f5f9;
}

.site-footer {
    margin-top: 4.5rem;
    background: #020617;
    color: #94a3b8;
}

.site-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.6rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.site-footer-name {
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.site-footer-copy p {
    margin: 0;
    font-size: 0.88rem;
}

.site-footer-copy a {
    color: #67e8f9;
    text-decoration: none;
}

.site-footer-copy a:hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .site-footer-copy {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    color: #0e7490;
    background: #ecfeff;
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 0.8rem;
    color: #334155;
    text-decoration: none;
}

.nav-link-mobile:hover {
    background: #f1f5f9;
}

.nav-link-active {
    color: #0e7490;
    background: #ecfeff;
    font-weight: 700;
}

.hero-bay {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        #020617
        center 40% / cover no-repeat
        url('../img/bahia-acapulco.jpg');
}

.hero-bay-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.28) 0%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-storm .hero-bay-shade {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.85rem;
    border-radius: 0.75rem;
    background: #ecfeff;
    color: #0e7490;
}

.card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.card-house {
    border-color: #fde68a;
}

.card-house .card-icon {
    background: #fffbeb;
    color: #b45309;
}

.card-house .section-card-label {
    color: #b45309;
}

.card-house:hover {
    border-color: #fbbf24;
    box-shadow: 0 12px 30px rgba(180, 83, 9, 0.1);
}

.card-auto {
    border-color: #cbd5e1;
}

.card-auto .section-card-label {
    color: #334155;
}

.card-auto:hover {
    border-color: #64748b;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.card-job {
    border-color: #a7f3d0;
}

.card-job .card-icon {
    background: #ecfdf5;
    color: #047857;
}

.card-job .section-card-label {
    color: #047857;
}

.card-job:hover {
    border-color: #34d399;
    box-shadow: 0 12px 30px rgba(4, 120, 87, 0.1);
}

.card-health {
    border-color: #fbcfe8;
}

.card-health .card-icon {
    background: #fdf2f8;
    color: #be185d;
}

.card-health .section-card-label {
    color: #be185d;
}

.card-health:hover {
    border-color: #f472b6;
    box-shadow: 0 12px 30px rgba(190, 24, 93, 0.1);
}

.salud-911 {
    border-color: #fda4af;
    background: #fff1f2;
}

.salud-seccion {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.card-beach {
    border-color: #bae6fd;
}

.card-beach .card-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.card-beach .section-card-label {
    color: #0369a1;
}

.card-night {
    border-color: #c7d2fe;
}

.card-night .card-icon {
    background: #eef2ff;
    color: #3730a3;
}

.card-night .section-card-label {
    color: #3730a3;
}

.card-night:hover {
    border-color: #818cf8;
    box-shadow: 0 12px 30px rgba(55, 48, 163, 0.12);
}

.playa-datos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
}

.card-fx {
    border-color: #ddd6fe;
}

.card-fx .card-icon {
    background: #f5f3ff;
    color: #6d28d9;
}

.card-fx .section-card-label {
    color: #6d28d9;
}

.card-fx:hover {
    border-color: #a78bfa;
    box-shadow: 0 12px 30px rgba(109, 40, 217, 0.1);
}

.card-hotel {
    border-color: #fecdd3;
}

.card-hotel .card-icon {
    background: #fff1f2;
    color: #be123c;
}

.card-hotel .section-card-label {
    color: #be123c;
}

.card-hotel:hover {
    border-color: #fb7185;
    box-shadow: 0 12px 30px rgba(190, 18, 60, 0.1);
}

.card-food {
    border-color: #fed7aa;
}

.card-food .card-icon {
    background: #fff7ed;
    color: #c2410c;
}

.card-food .section-card-label {
    color: #c2410c;
}

.card-food:hover {
    border-color: #fb923c;
    box-shadow: 0 12px 30px rgba(194, 65, 12, 0.1);
}

.divisa-hero-tasa {
    margin: 0.85rem 0 0.7rem;
}

.divisa-hero-tasa strong {
    display: block;
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: #fff;
}

.divisa-hero-tasa span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #67e8f9;
}

.divisa-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 36rem;
    width: 100%;
    min-width: 0;
    margin-top: 1.35rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
}

.divisa-form .form-input {
    flex: 1 1 8rem;
    width: auto;
    min-width: 0;
    margin-top: 0;
}

.divisa-form .btn-primary {
    flex: 0 0 auto;
}

.divisa-resultado {
    margin: 0.85rem 0 0;
    font-size: 1.15rem;
    color: #fff;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .page-hero-divisas .page-hero-copy {
        padding: 2.1rem 1.1rem 1.7rem;
    }

    .page-hero-divisas .page-lead {
        font-size: 1rem;
        line-height: 1.55;
        max-width: none;
    }

    .divisa-form {
        display: grid;
        grid-template-columns: 1fr;
        max-width: none;
    }

    .divisa-form .form-input,
    .divisa-form .btn-primary {
        width: 100%;
    }

    .divisa-resultado {
        font-size: 1.05rem;
    }
}

.weather-more {
    margin-left: 0.4rem;
    font-weight: 500;
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section-card {
    display: block;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.section-card:hover {
    transform: translateY(-4px);
    border-color: #a5f3fc;
    box-shadow: var(--shadow);
}

.section-card-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0891b2;
}

.section-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.section-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.news-open {
    margin-top: 0.85rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0891b2 !important;
}

.card-news {
    padding: 0;
    overflow: hidden;
}

.noticia-foto {
    display: block;
    width: 100%;
    height: 11rem;
    object-fit: cover;
    background: #e2e8f0;
    transition: transform 0.45s ease;
}

.noticia-cuerpo {
    padding: 1.15rem 1.5rem 1.35rem;
}

.lugar-foto {
    display: block;
    width: 100%;
    height: 11rem;
    object-fit: cover;
    background: #e2e8f0;
    transition: transform 0.45s ease;
}

.card-illustrated:hover .lugar-foto,
.card-news:hover .noticia-foto,
.noticias-card:hover .noticias-card-foto,
.sociales-card:hover img {
    transform: scale(1.04);
}

.playa-foto {
    height: 13.5rem;
}

.lugar-cuerpo {
    padding: 1.15rem 1.5rem 1.35rem;
}

.lugar-horario {
    margin-top: 0.45rem !important;
    font-size: 0.9rem;
}

.card-news .card-icon {
    margin: 1.25rem 0 0 1.5rem;
}

.card-illustrated {
    padding: 0;
    overflow: hidden;
}

.seccion-foto {
    display: block;
    width: 100%;
    height: 9.5rem;
    object-fit: cover;
    background: #e2e8f0;
}

.card-hotel .seccion-foto {
    object-position: 50% 82%;
}

.card-house .seccion-foto {
    object-position: 50% 78%;
}

.seccion-cuerpo {
    padding: 1.1rem 1.4rem 1.3rem;
}

.seccion-foto-noche { background-image: url('../img/seccion-noche.jpg'); }
.seccion-foto-hoteles { background-image: url('../img/seccion-hoteles.jpg'); background-position: 50% 82%; }
.seccion-foto-comida { background-image: url('../img/seccion-comida.jpg'); }
.seccion-foto-divisas { background-image: url('../img/seccion-divisas.jpg'); }
.seccion-foto-salud { background-image: url('../img/seccion-salud.jpg'); }
.seccion-foto-casas { background-image: url('../img/seccion-casas.jpg'); background-position: 50% 78%; }
.seccion-foto-empleos { background-image: url('../img/seccion-empleos.jpg'); }

div.seccion-foto {
    background-color: #e2e8f0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-color: #020617;
    min-height: 20rem;
}

.page-hero-foto {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.page-hero-hoteles .page-hero-foto { object-position: 50% 35%; }
.page-hero-empleos .page-hero-foto { object-position: 50% 45%; }
.page-hero-casas .page-hero-foto { object-position: 50% 78%; }
.page-hero-autos .page-hero-foto { object-position: 50% 40%; }
.page-hero-divisas .page-hero-foto { object-position: 50% 68%; }
.page-hero-divisas {
    min-height: 24rem;
}
.page-hero-divisas .page-hero-shade {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.38) 0%, rgba(2, 6, 23, 0.86) 100%);
}
.page-hero-clima .page-hero-foto { object-position: 50% 40%; }
.page-hero-playas .page-hero-foto { object-position: 50% 45%; }
.page-hero-directorio .page-hero-foto { object-position: 50% 40%; }
.page-hero-recuerdos .page-hero-foto { object-position: 50% 38%; }
.page-hero-transporte .page-hero-foto { object-position: 50% 42%; }

.util-barra {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 1.02rem;
    font-weight: 600;
}

.util-barra > div {
    padding: 0.85rem 0 1rem;
}

.util-precios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.util-precios li {
    margin: 0;
}

.util-barra strong {
    color: #fff;
}

.util-fuente {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.util-barra a {
    color: #67e8f9;
    text-underline-offset: 2px;
}

.card-clima {
    border-color: #a5f3fc;
}

.card-clima .section-card-label {
    color: #0e7490;
}

.card-clima:hover {
    border-color: #22d3ee;
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.12);
}

.clima-caja {
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.clima-caja-titulo {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0e7490;
}

.clima-dias {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
}

.clima-dia {
    min-width: 0;
    padding: 0.55rem 0.2rem;
    text-align: center;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.clima-dia.is-alert {
    background: #fffbeb;
}

.clima-dow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.clima-icono {
    display: block;
    margin: 0.15rem 0;
    font-size: 1.35rem;
    line-height: 1.5;
}

.clima-temp {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.clima-temp small {
    font-weight: 500;
    color: #64748b;
}

.clima-lluvia {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: #0284c7;
}

.clima-viento {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.65rem;
    color: #64748b;
}

.clima-hoy {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.4rem;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

@media (min-width: 720px) {
    .clima-hoy {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        align-items: center;
    }
}

.clima-hoy-principal {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.clima-hoy-icono {
    font-size: 3rem;
    line-height: 1;
}

.clima-hoy-temp {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.clima-hoy-estado,
.clima-hoy-sensacion {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.clima-hoy-sensacion {
    font-weight: 500;
    color: #64748b;
}

.clima-hoy-datos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 900px) {
    .clima-hoy-datos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.clima-hoy-datos li {
    margin: 0;
    padding: 0.55rem 0.7rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.clima-hoy-datos span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.clima-hoy-datos strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 1rem;
    color: #0f172a;
}

.clima-mosaico {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
}

@media (min-width: 720px) {
    .clima-mosaico {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.clima-mosaico-item {
    margin: 0;
}

.clima-mosaico-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.9rem;
    border: 1px solid #e2e8f0;
    background: #0f172a;
}

.clima-mosaico-item figcaption {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #475569;
}

.clima-mosaico-item strong {
    display: block;
    margin-bottom: 0.1rem;
    color: #0f172a;
}

.clima-satelite-zoom {
    margin-top: 0.25rem;
}

.clima-satelite-zoom img {
    aspect-ratio: 900 / 620;
}

.clima-caja-horas {
    overflow: hidden;
}

.clima-horas {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(4.6rem, 1fr);
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.clima-hora {
    min-width: 4.6rem;
    padding: 0.55rem 0.25rem;
    text-align: center;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.clima-hora.is-alert {
    background: #fffbeb;
}

.clima-prevencion {
    margin-top: 1.4rem;
}

.clima-aviso {
    margin: 0 0 0.75rem;
    padding: 1rem 1.1rem 1.05rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.clima-aviso h2 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.clima-aviso ul {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.35rem;
}

.clima-aviso li {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #334155;
}

.clima-aviso-alto {
    background: #fff7ed;
    border-color: #fdba74;
}

.clima-aviso-alto h2 {
    color: #9a3412;
}

.clima-aviso-medio {
    background: #fffbeb;
    border-color: #fde68a;
}

.clima-aviso-bajo {
    background: #f0fdfa;
    border-color: #99f6e4;
}

.clima-ayudas {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
}

.clima-satelite {
    margin: 0 0 1.25rem;
}

.clima-satelite-barra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.clima-vivo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b91c1c;
}

.clima-vivo::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: clima-pulso 1.6s ease-out infinite;
}

@keyframes clima-pulso {
    70% { box-shadow: 0 0 0 0.45rem rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.clima-satelite-capas {
    display: flex;
    gap: 0.4rem;
}

.clima-capa {
    padding: 0.35rem 0.75rem;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.clima-capa.is-on {
    border-color: #0891b2;
    background: #0891b2;
    color: #fff;
}

.clima-caja {
    margin-top: 1.25rem;
}

.clima-satelite img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #0f172a;
}

.clima-satelite-texto {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: #334155;
}

.clima-satelite figcaption {
    margin-top: 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
}

.clima-extras {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.clima-extras li {
    margin: 0;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
}

.clima-extras .is-risk {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.clima-alerta {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
    color: #9a3412 !important;
}

.clima-alerta a {
    color: #9a3412;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.clima-nota {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
}

.clima-frecuencia {
    margin: 0.4rem 0 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
    color: #64748b;
}

@media (max-width: 720px) {
    .clima-dias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sismo-caja {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.sismo-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.sismo-lista li {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    margin: 0;
    padding: 0.7rem 0.8rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #334155;
}

.sismo-lista strong {
    min-width: 2.2rem;
    font-size: 1.15rem;
    color: #0f172a;
}

.sismo-lista .is-risk {
    background: #fffbeb;
    color: #92400e;
}

.sismo-pie {
    padding: 0.7rem 1.5rem;
    background: #422006;
    border-bottom: 1px solid rgba(253, 230, 138, 0.25);
    text-align: center;
}

.sismo-pie p {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #fde68a;
}

.sismo-sistema {
    max-width: 32rem;
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #94a3b8;
}

.sismo-sistema a {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sismo-pie a {
    color: #fef3c7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sismo-vacio,
.sismo-texto {
    margin: 0.65rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #64748b;
}

.sismo-caja-pie {
    background: #0b1220;
    border-color: #1e293b;
}

.sismo-caja-pie .clima-caja-titulo {
    color: #67e8f9;
}

.sismo-caja-pie .sismo-lista li {
    background: #111827;
    color: #cbd5e1;
}

.sismo-caja-pie .sismo-lista strong {
    color: #fff;
}

.sismo-caja-pie .sismo-lista .is-risk {
    background: #422006;
    color: #fde68a;
}

.sismo-caja-pie .sismo-vacio,
.sismo-caja-pie .sismo-texto {
    color: #94a3b8;
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.16) 0%, rgba(2, 6, 23, 0.52) 48%, rgba(2, 6, 23, 0.88) 100%);
}

.page-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3.6rem 1.5rem 2.9rem;
}

.page-hero .form-input {
    background: rgba(255, 255, 255, 0.96);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.22);
}

.page-hero .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.page-hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-hero .eyebrow {
    color: #67e8f9;
}

.page-hero .page-title {
    color: #fff;
}

.page-hero .page-lead {
    color: #cbd5e1;
}

.page-hero .btn-primary {
    background: #0891b2;
}

.page-hero .divisa-resultado {
    color: #fff;
}

.eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0891b2;
}

.page-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.page-lead {
    margin: 0;
    max-width: 40rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
}

.btn-primary,
.btn-ghost,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: #0891b2;
    color: #fff;
    box-shadow: 0 8px 18px rgba(8, 145, 178, 0.22);
}

.btn-primary:hover {
    background: #0e7490;
    transform: translateY(-1px);
}

.btn-ghost {
    background: #fff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-ghost:hover {
    border-color: #a5f3fc;
    color: #0e7490;
}

.btn-whatsapp {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.btn-whatsapp:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.search-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-bar .form-input {
    flex: 1 1 16rem;
}

.filtro-bar {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 1.05rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.filtro-grupo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.filtro-titulo {
    min-width: 5.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.filtro-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.filtro-chip:hover {
    border-color: #67e8f9;
    color: #0e7490;
    background: #ecfeff;
}

.filtro-chip.is-on {
    border-color: #0891b2;
    background: #0891b2;
    color: #fff;
}

.form-input {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.82rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    color: #0f172a;
}

textarea.form-input {
    border-radius: 1rem;
}

.form-input:focus {
    outline: 2px solid #67e8f9;
    border-color: #0891b2;
}

.job-form {
    display: grid;
    gap: 1.1rem;
    padding: 1.6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.job-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
}

.flash-ok {
    margin: 0;
    padding: 0.85rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.85rem;
    color: #065f46;
    font-size: 0.95rem;
    font-weight: 600;
}

.propiedad-card {
    padding: 0;
    overflow: hidden;
}

.propiedad-card .section-card-label,
.propiedad-card h3,
.propiedad-card p {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.propiedad-card .section-card-label {
    padding-top: 1rem;
}

.propiedad-card p {
    padding-bottom: 1.25rem;
}

.propiedad-foto {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.propiedad-foto-grande {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
}

.form-grid {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-hint {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.form-error,
.errorlist {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-company {
    margin: 0 0 0.6rem !important;
    font-weight: 600;
    color: #0f172a !important;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.job-actions a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
}

.job-actions a.btn-primary,
.job-actions a.btn-whatsapp {
    color: #fff;
}

.job-detail {
    padding: 1.7rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    line-height: 1.7;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.empty-state {
    text-align: center;
    padding: 3.2rem 1.2rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius);
    color: #64748b;
}

.empty-state .btn-primary {
    margin-top: 1rem;
}

.job-card:hover {
    transform: none;
}

.weather-week {
    display: inline-block;
    width: min(42rem, 100%);
    max-width: 100%;
    padding: 0.85rem 1rem 0.7rem;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(103, 232, 249, 0.28);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.weather-week-title {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #67e8f9;
}

.weather-days {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
}

.weather-day {
    min-width: 4.4rem;
    padding: 0.35rem 0.3rem;
    text-align: center;
    border-radius: 0.7rem;
}

.weather-day.is-alert {
    background: rgba(245, 158, 11, 0.18);
}

.weather-dow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
}

.weather-icon {
    display: block;
    font-size: 1.25rem;
    line-height: 1.6;
}

.weather-temp {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.weather-temp small {
    font-weight: 500;
    color: #94a3b8;
}

.weather-rain {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.62rem;
    color: #7dd3fc;
}

.weather-satelite {
    margin: 0.75rem 0 0;
}

.weather-satelite img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 0.7rem;
    border: 1px solid rgba(103, 232, 249, 0.22);
    background: #020617;
}

.weather-satelite-texto {
    margin: 0.55rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
    color: #e2e8f0;
}

.weather-satelite figcaption {
    margin-top: 0.4rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
}

.weather-extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem 1.1rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(103, 232, 249, 0.18);
}

@media (min-width: 720px) {
    .weather-extras {
        grid-template-columns: 1fr 1fr;
    }
}

.weather-extras li {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.35;
}

.weather-extras em {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 0.7rem;
    color: #94a3b8;
}

.weather-extras .is-risk {
    color: #fde68a;
}

.weather-extras .weather-alert {
    grid-column: 1 / -1;
    margin-top: 0.1rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.55rem;
    background: rgba(180, 83, 9, 0.28);
    border: 1px solid rgba(251, 191, 36, 0.4);
    font-weight: 600;
    color: #fde68a;
}

.weather-extras .weather-alert a {
    color: #fde68a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.weather-note {
    max-width: 38rem;
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.45;
    color: #cbd5e1;
}

.page-hero-sociales {
    min-height: 22rem;
}

.page-hero-sociales .page-hero-foto {
    object-position: 50% 48%;
}

.page-hero-sociales .page-hero-shade {
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.12) 0%, rgba(8, 145, 178, 0.28) 42%, rgba(2, 44, 58, 0.82) 100%);
}

.page-hero-sociales .eyebrow {
    color: #67e8f9;
}

.sociales-cuerpo {
    background:
        linear-gradient(180deg, #e0f7fa 0%, #f0fbfd 28%, #fff 100%);
}

.sociales-filtros {
    background: #fff;
    border-color: #bae6fd;
}

.sociales-filtros .filtro-chip.is-on {
    border-color: #06b6d4;
    background: #06b6d4;
}

.sociales-filtros .filtro-chip:hover {
    border-color: #67e8f9;
    color: #0e7490;
    background: #ecfeff;
}

.sociales-portada {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    margin: 0 0 1.5rem;
    overflow: hidden;
    border-radius: 1.25rem;
    background: linear-gradient(160deg, #0e7490 0%, #155e75 55%, #164e63 100%);
    color: #ecfeff;
    text-decoration: none;
}

.sociales-portada img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

.sociales-portada-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.8rem 1.7rem;
}

.sociales-portada-copy h2 {
    margin: 0.45rem 0 0.7rem;
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}

.sociales-portada-copy p {
    margin: 0;
    color: #cffafe;
}

.sociales-abrir {
    margin-top: 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fb7185;
}

.sociales-rubro {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f43f5e;
}

.sociales-portada .sociales-rubro {
    color: #fda4af;
}

.sociales-grid,
.sociales-agenda-grid,
.sociales-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.sociales-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
}

.sociales-card img {
    display: block;
    width: 100%;
    height: 12rem;
    object-fit: cover;
    background: #e0f2fe;
    transition: transform 0.45s ease;
}

.sociales-card-copy {
    padding: 1rem 1.15rem 1.2rem;
}

.sociales-card-copy h3 {
    margin: 0.4rem 0 0.45rem;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.sociales-card-copy p {
    margin: 0;
    color: #0e7490;
    font-size: 0.92rem;
    line-height: 1.45;
}

.sociales-agenda {
    margin-top: 2.8rem;
    padding-top: 0.4rem;
}

.sociales-agenda h2 {
    margin: 0 0 0.4rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
}

.sociales-agenda-lead {
    max-width: 36rem;
    margin: 0 0 1.3rem;
    color: #0e7490;
}

.sociales-card-agenda {
    background: #f0fdfa;
}

.sociales-home {
    background: linear-gradient(120deg, #0891b2 0%, #0e7490 48%, #f43f5e 160%);
    color: #ecfeff;
    padding: 2.4rem 0;
}

.sociales-home .eyebrow {
    color: #fda4af;
}

.sociales-home h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.sociales-home-cabeza {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sociales-home-mas {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.sociales-home-mas:hover {
    color: #fecdd3;
}

.sociales-home .sociales-card {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.sociales-home .sociales-card-copy h3 {
    color: #fff;
}

.sociales-home .sociales-card-copy p,
.sociales-home .sociales-rubro {
    color: #e0f2fe;
}

@media (max-width: 800px) {
    .sociales-portada {
        grid-template-columns: 1fr;
    }

    .sociales-portada img {
        height: 16rem;
    }

    .sociales-grid,
    .sociales-agenda-grid,
    .sociales-home-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 801px) and (max-width: 1024px) {
    .sociales-grid,
    .sociales-agenda-grid,
    .sociales-home-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.noticias-cabeza h2 {
    margin: 0 0 1.35rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
}

.noticias-mesa {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 1.1rem;
    margin-bottom: 1.1rem;
}

.noticias-lado {
    display: grid;
    gap: 1.1rem;
}

.noticias-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.noticias-card:hover {
    transform: translateY(-3px);
    border-color: #67e8f9;
    box-shadow: 0 12px 28px rgba(8, 145, 178, 0.12);
}

.noticias-card-foto {
    display: block;
    width: 100%;
    height: 11.5rem;
    object-fit: cover;
    background: #e2e8f0;
    transition: transform 0.45s ease;
}

.noticias-card.is-portada .noticias-card-foto {
    height: 22rem;
}

.noticias-card.is-lado {
    flex-direction: row;
}

.noticias-card.is-lado .noticias-card-foto {
    width: 44%;
    height: auto;
    min-height: 100%;
    align-self: stretch;
}

.noticias-card-copy {
    padding: 1.05rem 1.2rem 1.25rem;
}

.noticias-card.is-portada .noticias-card-copy {
    padding: 1.35rem 1.5rem 1.5rem;
}

.noticias-card.is-portada .noticias-card-copy h3 {
    font-size: 1.7rem;
    line-height: 1.2;
}

.noticias-meta {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0891b2;
}

.noticias-card-copy h3 {
    margin: 0.4rem 0 0.65rem;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}

.noticias-abrir {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0891b2;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

@media (max-width: 800px) {
    .noticias-mesa,
    .noticias-grid {
        grid-template-columns: 1fr;
    }

    .noticias-card.is-portada .noticias-card-foto {
        height: 16rem;
    }

    .noticias-card.is-lado {
        flex-direction: column;
    }

    .noticias-card.is-lado .noticias-card-foto {
        width: 100%;
        height: 11rem;
        min-height: 0;
    }

    .noticias-card.is-portada .noticias-card-copy h3 {
        font-size: 1.35rem;
    }
}

@media (min-width: 801px) and (max-width: 1024px) {
    .noticias-mesa {
        grid-template-columns: 1fr;
    }

    .noticias-lado {
        grid-template-columns: 1fr 1fr;
    }

    .noticias-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.anunciate-puntos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-bottom: 0.5rem;
}

.anunciate-puntos article {
    padding: 1.25rem 1.3rem 1.35rem;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
}

.anunciate-puntos h2 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.anunciate-puntos p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .anunciate-puntos {
        grid-template-columns: 1fr;
    }
}

.espectacular-banda {
    padding: 1.6rem 0;
}

.espectacular {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 11.5rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(103, 232, 249, 0.22), transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(244, 63, 94, 0.18), transparent 40%),
        linear-gradient(135deg, #04131c 0%, #083344 48%, #0b3b4a 100%);
    color: #ecfeff;
    box-shadow: 0 16px 40px rgba(8, 51, 68, 0.28);
    border: 1px solid rgba(103, 232, 249, 0.28);
}

.espectacular.has-foto {
    grid-template-columns: 0.9fr 1.2fr;
}

.espectacular img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 11.5rem;
    object-fit: cover;
}

.espectacular-copy {
    padding: 1.5rem 1.6rem 1.6rem;
}

.espectacular-tag {
    margin: 0 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #67e8f9;
}

.espectacular-copy h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.espectacular-copy p {
    margin: 0 0 0.95rem;
    max-width: 36rem;
    color: #bae6fd;
    line-height: 1.5;
}

.espectacular-mail {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #0891b2;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(8, 145, 178, 0.28);
}

.espectacular-mail:hover {
    background: #0e7490;
}

@media (max-width: 800px) {
    .espectacular.has-foto {
        grid-template-columns: 1fr;
    }

    .espectacular img {
        min-height: 9rem;
        max-height: 11rem;
    }
}

.page-hero-nosotros .page-hero-foto {
    object-position: 50% 42%;
}

.nosotros-relato {
    padding: 3.2rem 0 1rem;
}

.nosotros-relato-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: center;
}

.nosotros-relato h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.nosotros-relato p {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.65;
}

.nosotros-relato figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.nosotros-relato img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    object-position: 50% 40%;
}

.nosotros-hace {
    padding: 2.4rem 0 1.2rem;
}

.nosotros-hace > .max-w-6xl > h2,
.nosotros-fuentes h2,
.nosotros-cierre h2 {
    margin: 0 0 1.4rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
}

.nosotros-hace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.nosotros-hace-grid a {
    display: block;
    padding: 1.25rem 1.3rem 1.4rem;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nosotros-hace-grid a:hover {
    transform: translateY(-3px);
    border-color: #67e8f9;
    box-shadow: var(--shadow);
}

.nosotros-hace-grid h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.nosotros-hace-grid p:last-child {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.nosotros-fuentes {
    padding: 1.6rem 0 2.2rem;
}

.nosotros-fuentes-lead {
    max-width: 40rem;
    margin: -0.6rem 0 1.3rem;
    color: #64748b;
    line-height: 1.55;
}

.nosotros-fuentes ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.nosotros-fuentes li {
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.nosotros-fuentes strong {
    color: #0e7490;
}

.nosotros-cierre {
    padding: 0 0 3.2rem;
}

.nosotros-cierre p {
    max-width: 36rem;
    margin: -0.5rem 0 1.3rem;
    color: #64748b;
    line-height: 1.55;
}

.nosotros-cierre-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nosotros-home {
    padding: 2.6rem 0 3.2rem;
}

.nosotros-home-caja {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.7rem 1.8rem;
    background:
        linear-gradient(135deg, rgba(8, 145, 178, 0.08), rgba(244, 63, 94, 0.06)),
        #fff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
}

.nosotros-home-caja h2 {
    margin: 0 0 0.45rem;
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
}

.nosotros-home-caja p {
    margin: 0;
    max-width: 38rem;
    color: #64748b;
    line-height: 1.5;
}

@media (min-width: 801px) and (max-width: 1024px) {
    .nosotros-hace-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .nosotros-relato-grid,
    .nosotros-hace-grid,
    .nosotros-home-caja {
        grid-template-columns: 1fr;
        display: grid;
    }

    .nosotros-relato img {
        height: 16rem;
    }

    .nosotros-relato h2,
    .nosotros-hace > .max-w-6xl > h2,
    .nosotros-fuentes h2,
    .nosotros-cierre h2 {
        font-size: 1.55rem;
    }
}

.recuerdos-relato {
    padding: 3.2rem 0 1rem;
}

.recuerdos-relato-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: center;
}

.recuerdos-relato h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.recuerdos-relato p {
    margin: 0 0 1rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.65;
}

.recuerdos-relato figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.recuerdos-relato img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    object-position: 50% 38%;
}

.recuerdos-hace {
    padding: 2.4rem 0 2rem;
}

.recuerdos-hace h2,
.recuerdos-cierre h2 {
    margin: 0 0 1.4rem;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
}

.recuerdos-hace-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.recuerdos-hace-grid article {
    padding: 1.25rem 1.3rem 1.4rem;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
}

.recuerdos-hace-grid h3 {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.recuerdos-hace-grid p:last-child {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.recuerdos-cierre {
    padding: 0 0 3.2rem;
}

.recuerdos-cierre p {
    max-width: 36rem;
    margin: -0.5rem 0 1.3rem;
    color: #64748b;
    line-height: 1.55;
}

.recuerdos-cierre-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.recuerdos-home {
    padding: 0 0 0.4rem;
}

.recuerdos-home-caja {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: 1.7rem 1.8rem;
    background:
        linear-gradient(135deg, rgba(251, 146, 60, 0.12), rgba(8, 145, 178, 0.08)),
        #fff;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
}

.recuerdos-home-caja h2 {
    margin: 0 0 0.45rem;
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
}

.recuerdos-home-caja p {
    margin: 0;
    max-width: 38rem;
    color: #64748b;
    line-height: 1.5;
}

@media (min-width: 801px) and (max-width: 1024px) {
    .recuerdos-hace-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .recuerdos-relato-grid,
    .recuerdos-hace-grid,
    .recuerdos-home-caja {
        grid-template-columns: 1fr;
        display: grid;
    }

    .recuerdos-relato img {
        height: 16rem;
    }

    .recuerdos-relato h2,
    .recuerdos-hace h2,
    .recuerdos-cierre h2 {
        font-size: 1.55rem;
    }
}

.transporte-bloque {
    margin-bottom: 2.4rem;
}

.transporte-bloque h2 {
    margin: 0 0 0.55rem;
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
}

.transporte-lead {
    max-width: 40rem;
    margin: 0 0 1.15rem;
    color: #64748b;
    line-height: 1.55;
}

.transporte-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.transporte-grid.is-una {
    grid-template-columns: minmax(0, 36rem);
}

.transporte-grid.is-dos {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 800px) {
    .transporte-grid,
    .transporte-grid.is-una,
    .transporte-grid.is-dos {
        grid-template-columns: 1fr;
    }

    .transporte-bloque h2 {
        font-size: 1.45rem;
    }
}

html {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body.site-body {
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.site-footer {
    padding-bottom: env(safe-area-inset-bottom);
}

@media (hover: none) {
    .section-card:hover,
    .noticias-card:hover,
    .sociales-card:hover {
        transform: none;
    }

    .card-illustrated:hover .lugar-foto,
    .card-news:hover .noticia-foto,
    .noticias-card:hover .noticias-card-foto,
    .sociales-card:hover img {
        transform: none;
    }
}

@media (max-width: 1023px), (display-mode: standalone), (display-mode: fullscreen) {
    .site-header-bar {
        min-height: 3.55rem;
    }

    .site-menu-btn {
        width: 2.75rem;
        height: 2.75rem;
        touch-action: manipulation;
    }

    #site-nav.site-nav-mobile:not(.hidden) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem;
        max-height: min(72vh, 32rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.75rem 0 1rem;
    }

    .nav-link-mobile {
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        padding: 0.65rem 0.7rem;
        font-size: 0.92rem;
        font-weight: 600;
    }

    .hero-bay .relative {
        padding-top: 2.4rem !important;
        padding-bottom: 2.1rem !important;
    }

    .hero-bay h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.6rem);
        line-height: 1.15;
    }

    .hero-bay p.mt-5 {
        font-size: 1.02rem;
        line-height: 1.5;
    }

    .page-hero {
        min-height: 0;
    }

    .page-hero-copy {
        padding: 2rem 1rem 1.55rem;
    }

    .page-title {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }

    .page-lead {
        font-size: 1rem;
        line-height: 1.55;
    }

    .util-barra {
        font-size: 0.98rem;
    }

    .util-precios li {
        flex: 1 1 100%;
    }

    .search-bar {
        flex-direction: column;
        gap: 0.6rem;
    }

    .search-bar .form-input,
    .search-bar .btn-primary {
        width: 100%;
        flex: none;
    }

    .filtro-bar {
        padding: 0.85rem 0.9rem;
    }

    .filtro-titulo {
        min-width: 0;
        width: 100%;
    }

    .filtro-chip {
        min-height: 2.45rem;
        padding: 0.45rem 0.8rem;
    }

    .job-form,
    .job-detail {
        padding: 1.15rem;
    }

    .job-actions {
        flex-direction: column;
    }

    .job-actions a.btn-primary,
    .job-actions a.btn-whatsapp,
    .page-hero .btn-primary,
    .page-hero .btn-ghost {
        width: 100%;
    }

    .section-card {
        padding: 1.15rem;
    }

    .lugar-cuerpo,
    .noticia-cuerpo {
        padding: 1rem 1.1rem 1.2rem;
    }

    .form-input,
    select.form-input,
    textarea.form-input {
        font-size: 16px;
    }

    .sismo-lista li {
        flex-wrap: wrap;
        gap: 0.35rem 0.7rem;
    }

    .sismo-lista li span {
        flex: 1 1 12rem;
        overflow-wrap: anywhere;
    }

    .clima-satelite-capas {
        flex-wrap: wrap;
    }

    .clima-satelite img {
        aspect-ratio: 1 / 1;
    }

    .propiedad-foto-grande {
        max-height: 16rem;
    }

    .site-footer {
        margin-top: 2.8rem;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .btn-primary,
    .btn-ghost,
    .btn-whatsapp,
    .espectacular-mail {
        min-height: 2.75rem;
        width: 100%;
    }

    .job-form > .flex,
    .nosotros-cierre-acciones {
        flex-direction: column;
    }

    .job-form > .flex .btn-primary,
    .job-form > .flex .btn-ghost {
        width: 100%;
    }

    .sociales-home-cabeza {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .sociales-home-mas {
        min-height: 2.5rem;
        display: inline-flex;
        align-items: center;
    }

    .page-hero {
        min-height: 0;
    }

    .page-title,
    .page-lead,
    h1, h2, h3 {
        overflow-wrap: break-word;
    }

    .clima-horas {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .propiedad-card .section-card-label,
    .propiedad-card h3,
    .propiedad-card p {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .nosotros-relato,
    .nosotros-hace,
    .nosotros-cierre {
        padding-left: 0;
        padding-right: 0;
    }

    .nosotros-relato h2,
    .nosotros-home-caja h2 {
        font-size: 1.45rem;
    }

    .espectacular-copy {
        padding: 1.2rem 1.15rem 1.3rem;
    }

    .lugar-foto {
        height: 11.5rem;
    }

    .search-bar {
        margin-top: 1.25rem;
    }

    .page-hero-copy > p.mt-4,
    .page-hero-copy > p.mt-4 .btn-ghost {
        width: 100%;
    }

    body.nav-abierto {
        overflow: hidden;
    }
}

@media (max-width: 640px), (display-mode: standalone), (display-mode: fullscreen) {
    #site-nav.site-nav-mobile:not(.hidden) {
        grid-template-columns: 1fr;
    }
}

html.is-standalone,
html.is-standalone body {
    overflow-x: hidden;
    max-width: 100%;
}

html.is-standalone .site-header {
    padding-top: env(safe-area-inset-top);
}

html.is-standalone .site-menu-btn {
    display: inline-flex !important;
}

html.is-standalone .site-nav {
    display: none !important;
}

html.is-standalone #site-nav.site-nav-mobile.hidden {
    display: none !important;
}

html.is-standalone #site-nav.site-nav-mobile:not(.hidden) {
    display: grid !important;
    grid-template-columns: 1fr;
}

html.is-standalone .md\:grid-cols-2,
html.is-standalone .noticias-mesa,
html.is-standalone .noticias-grid,
html.is-standalone .noticias-lado,
html.is-standalone .sociales-portada,
html.is-standalone .sociales-grid,
html.is-standalone .sociales-home-grid,
html.is-standalone .anunciate-puntos,
html.is-standalone .nosotros-relato-grid,
html.is-standalone .nosotros-hace-grid,
html.is-standalone .nosotros-home-caja,
html.is-standalone .espectacular.has-foto,
html.is-standalone .clima-hoy {
    grid-template-columns: 1fr !important;
}

html.is-standalone .clima-dias {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.is-standalone .pwa-barra,
html.is-standalone .pwa-enlace {
    display: none !important;
}

.pwa-barra {
    display: block;
    padding: 0.55rem 1rem;
    background: #083344;
    color: #e0f2fe;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.pwa-barra strong {
    color: #67e8f9;
    font-weight: 700;
}

.pwa-barra:hover {
    color: #fff;
}

.instalar-pasos {
    display: grid;
    gap: 1.1rem;
}

.instalar-pasos article {
    padding: 1.25rem 1.3rem 1.35rem;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
}

.instalar-pasos h2 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.instalar-pasos p {
    margin: 0;
    color: #64748b;
    line-height: 1.5;
}

.instalar-aviso {
    margin: 0 0 1.25rem;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: var(--radius);
    color: #9a3412;
    line-height: 1.5;
}

.instalar-aviso p {
    margin: 0;
}
