:root {
    --bg: #f6f1e9;
    --paper: #ffffff;
    --paper-soft: #fbf8f2;
    --ink: #18212f;
    --muted: #667085;
    --line: #e6ded2;
    --brand: #17324d;
    --brand-soft: #edf4f8;
    --gold: #b88746;
    --green: #3f6f57;
    --red-soft: #fff1ed;
    --shadow: 0 18px 50px rgba(24, 33, 47, .09);
    --shadow-soft: 0 8px 28px rgba(24, 33, 47, .06);
    --radius: 24px;
    --radius-sm: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(184, 135, 70, .16), transparent 34rem),
        linear-gradient(180deg, #fffdf8 0%, var(--bg) 48%, #f1eadf 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

/* TOPBAR */

.topbar {
    background: var(--brand);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    padding: 9px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 253, 248, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 226, 216, .9);
}

nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #254c72);
    color: #fff;
    font-family: Georgia, serif;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(23, 50, 77, .18);
}

.logo strong {
    display: block;
    font-size: 19px;
    letter-spacing: -.04em;
    color: var(--brand);
}

.logo span:last-child {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #475467;
    font-size: 14px;
    font-weight: 800;
}

.nav-links a {
    transition: color .18s ease, transform .18s ease;
}

.nav-links a:hover {
    color: var(--brand);
    transform: translateY(-1px);
}

.nav-cta {
    border: 1px solid var(--brand);
    color: #fff;
    background: var(--brand);
    padding: 11px 16px;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(23, 50, 77, .16);
}

/* HERO */

.hero {
    padding: 64px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 28px;
    align-items: stretch;
}

.hero-card {
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(232, 226, 216, .95);
    border-radius: 36px;
    padding: clamp(30px, 5vw, 56px);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    top: -120px;
    border-radius: 50%;
    background: rgba(184, 135, 70, .13);
}

.eyebrow,
.section-kicker,
.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    background: var(--brand-soft);
    border: 1px solid #d9e6f0;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 900;
}

.eyebrow {
    margin-bottom: 22px;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--gold);
    background: #fff6e8;
    border-color: #efd9b9;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brand);
    font-size: clamp(42px, 7vw, 76px);
    line-height: .95;
    letter-spacing: -.055em;
    position: relative;
    z-index: 1;
}

.lead {
    margin: 24px 0 0;
    max-width: 650px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 16px 34px rgba(23, 50, 77, .20);
}

.btn-secondary {
    background: white;
    color: var(--brand);
    border-color: var(--line);
}

/* CARDS GENERALES */

.side-panel {
    display: grid;
    gap: 16px;
}

.info-card,
.ad-slot,
.content-card,
.business-card,
.notice-card,
.guide-card,
.plan-card,
.guide-hero-card,
.guide-index {
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.info-card {
    padding: 24px;
}

.info-card h2,
.content-card h3,
.business-card h3,
.notice-card h3,
.guide-card h3,
.plan-card h3,
.guide-hero-card h3 {
    margin: 0 0 10px;
    color: var(--brand);
    letter-spacing: -.025em;
}

.info-card p,
.content-card p,
.business-card p,
.notice-card p,
.guide-card p,
.plan-card p,
.guide-hero-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.today-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.quick-links a {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper-soft);
    color: var(--brand);
    font-weight: 900;
    font-size: 13px;
}

/* ADS */

.ad-slot {
    min-height: 96px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #8a7b68;
    background: repeating-linear-gradient(135deg,
            rgba(184, 135, 70, .08),
            rgba(184, 135, 70, .08) 10px,
            rgba(255, 255, 255, .65) 10px,
            rgba(255, 255, 255, .65) 20px);
    border-style: dashed;
    padding: 18px;
    font-size: 13px;
    line-height: 1.5;
}

/* SECCIONES */

section {
    padding: 38px 0;
    scroll-margin-top: 96px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.section-title h2 {
    margin: 0;
    color: var(--brand);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 50px);
    letter-spacing: -.05em;
    line-height: .98;
}

.section-title p {
    margin: 0;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.65;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* TAGS */

.tag {
    display: inline-flex;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--green);
    background: #eef7f1;
    border: 1px solid #d8eadf;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 14px;
}

.read-more {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 900;
    font-size: 14px;
}

/* NOTICIAS */

.news-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 620px;
    background: rgba(255, 255, 255, .94);
    border-radius: 26px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.news-card:hover,
.guide-card:hover,
.plan-card:hover,
.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(24, 33, 47, .13);
}

.news-image {
    width: 100%;
    height: 230px;
    background: var(--brand-soft);
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    display: grid;
    place-items: center;
    height: 230px;
    background:
        linear-gradient(135deg, rgba(23, 50, 77, .94), rgba(184, 135, 70, .80));
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.news-body {
    padding: 22px 22px 10px;
    display: flex;
    flex-direction: column;
}

.news-card h3 {
    min-height: 76px;
    margin: 0 0 12px;
    color: var(--brand);
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: -.035em;
}

.news-card p {
    min-height: 150px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
}

.news-footer {
    margin-top: auto;
    padding: 12px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-footer small {
    color: var(--muted);
    font-weight: 750;
}

.news-footer .read-more {
    margin-top: 0;
}

/* FEATURED NEWS */

.featured-news {
    margin-bottom: 28px;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(24, 33, 47, .10);
}

.featured-news-image {
    min-height: 390px;
    background: var(--brand-soft);
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news-content {
    padding: clamp(28px, 5vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff6e8;
    color: var(--gold);
    border: 1px solid #efd9b9;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.featured-news-content h2 {
    margin: 0 0 16px;
    color: var(--brand);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -.055em;
}

.featured-news-content p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.featured-news-content .read-more {
    margin-top: 26px;
}

/* GUÍA ÚTIL */

.guide-section {
    position: relative;
}

.guide-hero-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 38px);
    margin-bottom: 22px;
    background:
        radial-gradient(circle at top right, rgba(184, 135, 70, .16), transparent 18rem),
        rgba(255, 255, 255, .9);
}

.guide-hero-card h3 {
    margin-top: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -.045em;
}

.guide-search-box {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
}

.guide-search-box label {
    display: block;
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.guide-search-box input {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    padding: 0 16px;
    outline: none;
    font-size: 15px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

.guide-index {
    position: sticky;
    top: 96px;
    padding: 18px;
    display: grid;
    gap: 8px;
}

.guide-index strong {
    color: var(--brand);
    margin-bottom: 8px;
}

.guide-index a {
    padding: 11px 12px;
    border-radius: 14px;
    color: #475467;
    font-size: 14px;
    font-weight: 800;
    transition: background .18s ease, color .18s ease;
}

.guide-index a:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.guide-card {
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease;
    background: rgba(255, 255, 255, .94);
}

.guide-card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.guide-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-soft), #fff3df);
    color: var(--brand);
    font-weight: 950;
    border: 1px solid var(--line);
}

.guide-category {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.guide-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 8px;
}

.guide-card li {
    position: relative;
    padding-left: 18px;
    color: #475467;
    font-size: 14px;
    line-height: 1.45;
}

.guide-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.empty-state {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    color: var(--muted);
}

/* PLANES */

.plan-card {
    padding: 24px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.plan-card span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--brand);
    color: white;
    font-weight: 900;
    font-size: 13px;
}

/* AVISOS */

.notice-card {
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: start;
}

.notice-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
}

/* COMERCIOS */

.business-card {
    padding: 22px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.business-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.business-logo {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-soft), #fff3df);
    color: var(--brand);
    font-weight: 900;
    border: 1px solid var(--line);
}

.business-card small {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
}

/* NEWSLETTER */

.newsletter {
    background: var(--brand);
    color: white;
    border-radius: 36px;
    padding: clamp(28px, 5vw, 50px);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center;
    box-shadow: var(--shadow);
}

.newsletter h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.045em;
    line-height: 1;
}

.newsletter p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}

.newsletter form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

input[type="email"] {
    flex: 1 1 220px;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .13);
    color: white;
    padding: 0 16px;
    outline: none;
}

input::placeholder {
    color: rgba(255, 255, 255, .68);
}

.newsletter .btn {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
}

/* FOOTER */

footer {
    margin-top: 34px;
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .nav-links {
        gap: 14px;
        font-size: 13px;
    }
}

@media (max-width: 920px) {

    .hero-grid,
    .newsletter,
    .guide-hero-card,
    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-index {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-index strong {
        grid-column: 1 / -1;
    }

    .grid-3,
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter form {
        justify-content: flex-start;
    }
}

@media (max-width: 820px) {
    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 260px;
    }
}

@media (max-width: 720px) {
    .topbar {
        display: none;
    }

    nav {
        height: 68px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-card {
        border-radius: 28px;
    }

    .quick-links,
    .grid-3,
    .grid-2,
    .guide-grid,
    .guide-index {
        grid-template-columns: 1fr;
    }

    .section-title {
        display: block;
    }

    .section-title p {
        margin-top: 10px;
    }

    .notice-card {
        grid-template-columns: 1fr;
    }

    .news-card {
        min-height: auto;
    }

    .news-image,
    .news-placeholder {
        height: 220px;
    }

    .news-card h3,
    .news-card p {
        min-height: unset;
    }

    .newsletter form {
        display: grid;
    }
}

/* =========================
   REAL GUIDE LINKS
========================= */

.guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.guide-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 1px solid #d9e6f0;
    color: var(--brand);
    font-size: 12px;
    font-weight: 850;
    transition: transform .18s ease, background .18s ease;
}

.guide-links a:hover {
    transform: translateY(-1px);
    background: #fff6e8;
}
