:root {
    --cream: #f6efe4;
    --paper: #fffaf2;
    --ink: #17211d;
    --muted: #6f675d;
    --line: #e5d7c6;
    --terracotta: #c86f45;
    --olive: #526343;
    --sea: #256f72;
    --dark: #111816;
    --shadow: 0 24px 80px rgba(17, 24, 22, .12);
    --radius: 30px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 239, 228, .9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 215, 198, .82);
}

.site-header-inner {
    max-width: var(--max);
    min-height: 78px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-symbol {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.brand strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: .92;
    letter-spacing: -0.075em;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 800;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--terracotta);
}

.nav-pill {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff !important;
}

main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px 90px;
}

.home-hero {
    min-height: calc(100vh - 110px);
    position: relative;
    margin: 24px 0 28px;
    border-radius: 38px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: var(--shadow);
}

.hero-bg,
.hero-bg img,
.hero-bg:after {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg:after {
    content: "";
    background:
        linear-gradient(90deg, rgba(17, 24, 22, .86), rgba(17, 24, 22, .28) 58%, rgba(17, 24, 22, .12)),
        linear-gradient(0deg, rgba(17, 24, 22, .56), rgba(17, 24, 22, .08));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    min-height: calc(100vh - 110px);
    padding: clamp(34px, 7vw, 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.section-kicker,
.hero-panel span,
.trust-row span,
.hub-card span,
.latest-card span,
.showcase-image span {
    margin: 0;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero-content .section-kicker {
    color: #ffd5bd;
}

.hero-content h1 {
    margin: 14px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 9vw, 112px);
    line-height: .88;
    letter-spacing: -0.09em;
}

.hero-copy {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 23px;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-btn,
.secondary-btn,
.showcase-copy a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.primary-btn {
    background: #fff;
    color: var(--dark);
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, .42);
    color: #fff;
}

.hero-panel {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 28px;
    width: min(360px, calc(100% - 56px));
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 250, 242, .9);
    backdrop-filter: blur(20px);
}

.hero-panel strong {
    display: block;
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero-panel a {
    display: inline-block;
    margin-top: 12px;
    color: var(--terracotta);
    font-weight: 900;
    text-decoration: none;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--line);
    margin-bottom: 86px;
}

.trust-row div {
    background: var(--paper);
    padding: 20px;
}

.trust-row strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.055em;
}

.trust-row span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    letter-spacing: 0;
    text-transform: none;
    font-size: 14px;
}

.start-section,
.planning-hub,
.latest-section {
    margin-bottom: 92px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.section-heading h2,
.showcase-copy h2,
.brand-band h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 82px);
    line-height: .9;
    letter-spacing: -0.085em;
}

.section-heading span,
.showcase-copy p,
.brand-band p {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.48;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.path-card {
    min-height: 300px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease;
}

.path-card:hover,
.hub-card:hover,
.latest-card:hover {
    transform: translateY(-3px);
}

.path-card span {
    color: var(--terracotta);
    font-weight: 900;
    font-size: 12px;
}

.path-card h3 {
    margin: auto 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: .95;
    letter-spacing: -0.065em;
}

.path-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.featured-path {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.featured-path p {
    color: rgba(255, 255, 255, .76);
}

.website-showcase {
    min-height: 78vh;
    margin-bottom: 92px;
    border-radius: 38px;
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    display: grid;
    grid-template-columns: .42fr .58fr;
    box-shadow: var(--shadow);
}

.showcase-copy {
    padding: clamp(34px, 7vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-copy a {
    width: fit-content;
    margin-top: 22px;
    background: var(--dark);
    color: #fff;
}

.showcase-image {
    position: relative;
    min-height: 78vh;
}

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

.showcase-image div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 250, 242, .9);
    backdrop-filter: blur(18px);
}

.showcase-image strong {
    display: block;
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hub-card,
.latest-card {
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .2s ease;
}

.hub-card a,
.latest-card a {
    display: block;
    text-decoration: none;
}

.hub-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hub-card div,
.latest-card div {
    padding: 20px;
}

.hub-card h3,
.latest-card h3 {
    margin: 9px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.brand-band {
    margin-bottom: 92px;
    padding: clamp(34px, 7vw, 80px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 12%, rgba(201, 111, 74, .35), transparent 24%),
        linear-gradient(135deg, #111816, #263f3c 58%, #74543a);
    color: #fff;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 36px;
    align-items: end;
}

.brand-band .section-kicker,
.brand-band p {
    color: rgba(255, 255, 255, .78);
}

.brand-band h2 {
    color: #fff;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.latest-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.site-footer {
    max-width: var(--max);
    margin: 0 auto;
    padding: 52px 24px 80px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
}

.footer-brand {
    margin-bottom: 12px;
}

.site-footer p {
    max-width: 520px;
    line-height: 1.6;
}

.site-footer nav {
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 900;
}

.vida-ad {
    max-width: 920px;
    min-height: 110px;
    margin: 28px auto;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* Keep existing article/category pages usable */
.vida-article,
.vida-category-hero {
    max-width: 980px;
    margin: 0 auto;
}

.vida-article-header,
.vida-category-hero {
    padding: 70px 0 34px;
    text-align: center;
}

.vida-article-header h1,
.vida-category-hero h1 {
    max-width: 940px;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 8vw, 94px);
    line-height: .9;
    letter-spacing: -0.08em;
}

.vida-article-header p,
.vida-category-hero p {
    margin: 0 0 12px;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vida-article-header span,
.vida-category-hero span {
    display: block;
    max-width: 760px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.5;
}

.vida-article-image {
    margin: 0 0 24px;
    border-radius: 38px;
    overflow: hidden;
}

.vida-article-image img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.vida-topic-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 28px;
}

.vida-topic-row a {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

.vida-article-body {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(30px, 7vw, 72px);
    font-size: 19px;
    line-height: 1.78;
}

.vida-article-body p,
.vida-article-body li {
    color: #403a34;
}

.vida-article-body h2 {
    margin: 44px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: .98;
    letter-spacing: -0.07em;
}

.vida-article-body h3 {
    margin: 32px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1;
}

.vida-article-body a {
    color: var(--terracotta);
    font-weight: 900;
}

@media (max-width: 980px) {
    .site-header-inner {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .trust-row,
    .path-grid,
    .hub-grid,
    .latest-grid,
    .website-showcase,
    .brand-band {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    main,
    .site-header-inner,
    .site-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-hero {
        min-height: 78vh;
        border-radius: 28px;
    }

    .hero-content {
        min-height: 78vh;
        padding: 28px;
    }

    .hero-content h1 {
        font-size: clamp(46px, 15vw, 74px);
    }

    .hero-panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        margin: -92px 18px 22px;
    }

    .hub-card img,
    .latest-card img {
        height: 230px;
    }

    .site-footer {
        flex-direction: column;
    }
}

/* SPAINVIDA_REAL_WEBSITE_CSS_V1 */

/* === SPAINVIDA ARTICLE TEMPLATE V1 === */
.article-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.article-hero {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(52px, 8vw, 96px) 0 34px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--terracotta, #c86f45);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.article-meta a {
    color: inherit;
    text-decoration: none;
}

.article-hero h1 {
    margin: 16px auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 92px);
    line-height: .92;
    letter-spacing: -0.08em;
    color: var(--ink, #17211d);
}

.article-deck {
    max-width: 760px;
    margin: 22px auto 0;
    color: var(--muted, #6f675d);
    font-size: clamp(19px, 2.3vw, 24px);
    line-height: 1.5;
}

.article-date {
    margin-top: 18px;
    color: var(--muted, #6f675d);
    font-size: 14px;
}

.article-main-image {
    margin: 0 0 28px;
    border-radius: 38px;
    overflow: hidden;
    border: 1px solid var(--line, #e5d7c6);
    background: var(--paper, #fffaf2);
}

.article-main-image img {
    width: 100%;
    max-height: 660px;
    object-fit: cover;
}

.article-quick-answer {
    max-width: 920px;
    margin: 0 auto 34px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
}

.article-quick-answer span,
.article-related-inline span {
    color: var(--terracotta, #c86f45);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.article-quick-answer p {
    margin: 10px 0 0;
    color: var(--ink, #17211d);
    font-size: clamp(20px, 2.5vw, 27px);
    line-height: 1.4;
    font-family: Georgia, "Times New Roman", serif;
}

.article-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 18px;
}

.article-toc,
.article-topic-card {
    padding: 20px;
    border-radius: 24px;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
}

.article-toc strong,
.article-topic-card strong {
    display: block;
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    letter-spacing: -0.05em;
}

.article-toc a {
    display: block;
    padding: 8px 0;
    color: var(--muted, #6f675d);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    border-top: 1px solid rgba(229, 215, 198, .7);
}

.article-toc a:hover {
    color: var(--terracotta, #c86f45);
}

.article-toc .toc-child {
    padding-left: 14px;
    font-size: 13px;
}

.article-topic-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-topic-card a {
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--cream, #f6efe4);
    color: var(--muted, #6f675d);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.article-main {
    min-width: 0;
}

.article-content {
    padding: clamp(28px, 5vw, 64px);
    border-radius: 28px;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    font-size: 19px;
    line-height: 1.78;
}

.article-content p,
.article-content li {
    color: #403a34;
}

.article-content h2 {
    scroll-margin-top: 110px;
    margin: 48px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.07em;
    color: var(--ink, #17211d);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    scroll-margin-top: 110px;
    margin: 34px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.05;
    color: var(--ink, #17211d);
}

.article-content a {
    color: var(--terracotta, #c86f45);
    font-weight: 900;
}

.article-content img {
    border-radius: 22px;
    margin: 28px auto;
}

.article-related-inline {
    margin: 34px 0;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 28px;
    background: var(--dark, #111816);
    color: #fff;
}

.article-related-inline h2 {
    max-width: 680px;
    margin: 10px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: .98;
    letter-spacing: -0.06em;
}

.article-related-inline > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.article-related-inline a {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,.1);
    color: #fff;
    text-decoration: none;
}

.article-related-inline img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-related-inline strong {
    display: block;
    padding: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.article-bottom-grid {
    max-width: 1180px;
    margin: 70px auto 0;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .article-toc {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .article-hero {
        padding-top: 44px;
        text-align: left;
    }

    .article-meta {
        justify-content: flex-start;
    }

    .article-main-image {
        border-radius: 26px;
        margin-left: -2px;
        margin-right: -2px;
    }

    .article-quick-answer,
    .article-content,
    .article-related-inline,
    .article-toc,
    .article-topic-card {
        border-radius: 22px;
    }

    .article-related-inline > div {
        grid-template-columns: 1fr;
    }

    .article-content {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* === SPAINVIDA HUB TEMPLATE V1 === */
.hub-hero {
    min-height: calc(100vh - 110px);
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 28px;
    align-items: center;
    padding: 42px 0 86px;
}

.hub-hero-copy h1 {
    margin: 12px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 8vw, 104px);
    line-height: .88;
    letter-spacing: -0.09em;
}

.hub-hero-copy p:not(.section-kicker) {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--muted, #6f675d);
    font-size: 22px;
    line-height: 1.48;
}

.hub-hero-image {
    position: relative;
    min-height: 72vh;
    border-radius: 38px;
    overflow: hidden;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    box-shadow: var(--shadow, 0 24px 80px rgba(17,24,22,.12));
}

.hub-hero-image img {
    width: 100%;
    height: 72vh;
    object-fit: cover;
}

.hub-hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17,24,22,.54), rgba(17,24,22,.05) 58%);
}

.hub-hero-image div {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,250,242,.9);
    backdrop-filter: blur(18px);
}

.hub-hero-image span,
.hub-guide-card span {
    color: var(--terracotta, #c86f45);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hub-hero-image strong {
    display: block;
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hub-pathway,
.hub-guide-section,
.hub-faq-section,
.hub-more-section {
    margin-bottom: 92px;
}

.hub-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hub-step-card {
    min-height: 260px;
    padding: 24px;
    border-radius: var(--radius, 30px);
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    display: flex;
    flex-direction: column;
}

.hub-step-card span {
    color: var(--terracotta, #c86f45);
    font-size: 12px;
    font-weight: 900;
}

.hub-step-card h3 {
    margin: auto 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: .98;
    letter-spacing: -0.065em;
}

.hub-step-card p {
    margin: 0;
    color: var(--muted, #6f675d);
    line-height: 1.5;
}

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

.hub-guide-card {
    overflow: hidden;
    border-radius: var(--radius, 30px);
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    transition: transform .2s ease;
}

.hub-guide-card:hover {
    transform: translateY(-3px);
}

.hub-guide-card a {
    display: block;
    text-decoration: none;
}

.hub-guide-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hub-guide-card div {
    padding: 22px;
}

.hub-guide-card h3 {
    margin: 9px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.065em;
}

.hub-guide-card p {
    color: var(--muted, #6f675d);
    line-height: 1.55;
}

.hub-faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.hub-faq-list details {
    border-radius: 22px;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    padding: 18px 20px;
}

.hub-faq-list summary {
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.hub-faq-list p {
    color: var(--muted, #6f675d);
    line-height: 1.6;
}

@media (max-width: 980px) {
    .hub-hero,
    .hub-step-grid,
    .hub-guide-grid {
        grid-template-columns: 1fr;
    }

    .hub-hero {
        min-height: auto;
        padding-top: 36px;
    }

    .hub-hero-image,
    .hub-hero-image img {
        min-height: 440px;
        height: 58vh;
    }
}

@media (max-width: 640px) {
    .hub-hero {
        padding-top: 28px;
        padding-bottom: 62px;
    }

    .hub-hero-copy h1 {
        font-size: clamp(46px, 15vw, 74px);
    }

    .hub-hero-copy p:not(.section-kicker) {
        font-size: 19px;
    }

    .hub-hero-image {
        border-radius: 28px;
    }

    .hub-step-card {
        min-height: 220px;
    }

    .hub-guide-card img {
        height: 220px;
    }
}

/* SPAINVIDA_HUB_CSS_V1 */

/* === SPAINVIDA HUB LANDING HOME V1 === */
.home2-hero {
    position: relative;
    min-height: calc(100vh - 110px);
    margin: 24px 0 28px;
    border-radius: 38px;
    overflow: hidden;
    background: var(--dark, #111816);
    box-shadow: var(--shadow, 0 24px 80px rgba(17,24,22,.12));
}

.home2-hero-bg,
.home2-hero-bg img,
.home2-hero-bg:after {
    position: absolute;
    inset: 0;
}

.home2-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home2-hero-bg:after {
    content: "";
    background:
        linear-gradient(90deg, rgba(17,24,22,.88), rgba(17,24,22,.42) 52%, rgba(17,24,22,.14)),
        linear-gradient(0deg, rgba(17,24,22,.62), rgba(17,24,22,.08));
}

.home2-hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    min-height: calc(100vh - 110px);
    padding: clamp(34px, 7vw, 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.home2-kicker,
.home2-featured-guide span,
.home2-hub-card span,
.home2-showcase-image span,
.home2-latest-card span {
    color: var(--terracotta, #c86f45);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.home2-hero-content .home2-kicker {
    color: #ffd5bd;
}

.home2-hero-content h1 {
    margin: 14px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 8.5vw, 108px);
    line-height: .88;
    letter-spacing: -0.09em;
}

.home2-hero-content p:not(.home2-kicker) {
    max-width: 640px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 23px;
    line-height: 1.45;
}

.home2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home2-primary,
.home2-secondary,
.home2-dark-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.home2-primary {
    background: #fff;
    color: var(--dark, #111816);
}

.home2-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.44);
}

.home2-featured-guide {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 28px;
    width: min(370px, calc(100% - 56px));
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,250,242,.92);
    backdrop-filter: blur(20px);
}

.home2-featured-guide strong {
    display: block;
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.home2-featured-guide a {
    display: inline-block;
    margin-top: 12px;
    color: var(--terracotta, #c86f45);
    font-weight: 900;
    text-decoration: none;
}

.home2-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 26px;
    background: var(--line, #e5d7c6);
    margin-bottom: 88px;
}

.home2-proof-strip div {
    background: var(--paper, #fffaf2);
    padding: 20px;
}

.home2-proof-strip strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.home2-proof-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted, #6f675d);
    font-size: 14px;
}

.home2-section {
    margin-bottom: 92px;
}

.home2-section-head {
    max-width: 800px;
    margin-bottom: 28px;
}

.home2-section-head h2,
.home2-showcase-copy h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: .9;
    letter-spacing: -0.085em;
}

.home2-section-head span,
.home2-showcase-copy p {
    display: block;
    margin-top: 16px;
    color: var(--muted, #6f675d);
    font-size: 20px;
    line-height: 1.48;
}

.home2-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home2-hub-card,
.home2-latest-card {
    overflow: hidden;
    border-radius: var(--radius, 30px);
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    text-decoration: none;
    transition: transform .2s ease;
}

.home2-hub-card:hover,
.home2-latest-card:hover {
    transform: translateY(-3px);
}

.home2-hub-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.home2-hub-card div,
.home2-latest-card div {
    padding: 22px;
}

.home2-hub-card h3,
.home2-latest-card h3,
.home2-map-grid h3 {
    margin: 9px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: .98;
    letter-spacing: -0.065em;
}

.home2-hub-card p,
.home2-map-grid p {
    margin: 0;
    color: var(--muted, #6f675d);
    line-height: 1.5;
}

.home2-showcase {
    min-height: 78vh;
    margin-bottom: 92px;
    border-radius: 38px;
    overflow: hidden;
    background: var(--paper, #fffaf2);
    border: 1px solid var(--line, #e5d7c6);
    display: grid;
    grid-template-columns: .42fr .58fr;
    box-shadow: var(--shadow, 0 24px 80px rgba(17,24,22,.12));
}

.home2-showcase-copy {
    padding: clamp(34px, 7vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home2-dark-btn {
    margin-top: 22px;
    background: var(--dark, #111816);
    color: #fff;
}

.home2-showcase-image {
    position: relative;
    min-height: 78vh;
}

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

.home2-showcase-image div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,250,242,.92);
    backdrop-filter: blur(18px);
}

.home2-showcase-image strong {
    display: block;
    margin: 8px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.home2-showcase-image a {
    color: var(--terracotta, #c86f45);
    text-decoration: none;
    font-weight: 900;
}

.home2-reader-map {
    padding: clamp(30px, 6vw, 72px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 88% 12%, rgba(201,111,74,.28), transparent 24%),
        linear-gradient(135deg, #111816, #263f3c 58%, #74543a);
    color: #fff;
}

.home2-reader-map .home2-kicker,
.home2-reader-map .home2-section-head span {
    color: rgba(255,255,255,.76);
}

.home2-reader-map h2 {
    color: #fff;
}

.home2-map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home2-map-grid article {
    padding: 24px;
    border-radius: 26px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
}

.home2-map-grid span {
    color: #ffd5bd;
    font-weight: 900;
}

.home2-map-grid h3,
.home2-map-grid p {
    color: #fff;
}

.home2-map-grid p {
    color: rgba(255,255,255,.78);
}

.home2-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home2-latest-card a {
    display: block;
    text-decoration: none;
}

.home2-latest-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (max-width: 980px) {
    .home2-proof-strip,
    .home2-hub-grid,
    .home2-showcase,
    .home2-map-grid,
    .home2-latest-grid {
        grid-template-columns: 1fr;
    }

    .home2-showcase-image {
        min-height: 460px;
    }

    .home2-hub-card img,
    .home2-latest-card img {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .home2-hero {
        min-height: 78vh;
        border-radius: 28px;
    }

    .home2-hero-content {
        min-height: 78vh;
        padding: 28px;
    }

    .home2-hero-content h1 {
        font-size: clamp(44px, 14vw, 72px);
    }

    .home2-hero-content p:not(.home2-kicker) {
        font-size: 19px;
    }

    .home2-featured-guide {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
        margin: -88px 18px 24px;
    }

    .home2-section {
        margin-bottom: 68px;
    }

    .home2-hub-card img,
    .home2-latest-card img {
        height: 230px;
    }

    .home2-reader-map,
    .home2-showcase {
        border-radius: 28px;
    }
}

/* SPAINVIDA_HUB_LANDING_HOME_CSS_V1 */

/* SPAINVIDA_LOGO_INSTALL_V1 */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    background: #fff;
}

.brand span strong {
    display: block;
    line-height: 1.05;
}

.brand span small {
    display: block;
    margin-top: 3px;
}

.footer-brand .brand-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }

    .footer-brand .brand-logo {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* SPAINVIDA_ARTICLE_READING_POLISH_V1 */

/* Cleaner article reading experience */
.article-shell {
    max-width: 1180px;
    margin: 38px auto 0;
    padding: 0 22px;
}

.article-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(170, 21, 27, 0.92), rgba(241, 191, 0, 0.82)),
        #aa151b;
    color: #fff;
    padding: 54px 54px 42px;
    box-shadow: 0 26px 70px rgba(37, 28, 18, 0.22);
}

.article-hero h1 {
    max-width: 900px;
    font-size: clamp(38px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
}

.article-deck {
    max-width: 780px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.article-meta,
.article-date {
    color: rgba(255, 255, 255, 0.82);
}

.article-main-image {
    margin: 30px 0 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.article-main-image img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
}

.article-quick-answer {
    max-width: 1060px;
    margin: 30px auto 34px;
    padding: 28px 32px;
    border-radius: 28px;
    background: #fff8e7;
    border: 1px solid rgba(241, 191, 0, 0.38);
    box-shadow: 0 18px 44px rgba(36, 27, 15, 0.08);
}

.article-quick-answer h2,
.article-quick-answer strong {
    color: #1f1b16;
}

.article-quick-answer p {
    font-size: 18px;
    line-height: 1.7;
    color: #46392c;
}

.article-layout {
    max-width: 1180px;
    margin: 0 auto;
    gap: 34px;
    align-items: start;
}

.article-sidebar {
    top: 92px;
}

.article-toc,
.article-topic-card {
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(29, 24, 18, 0.09);
    box-shadow: 0 12px 28px rgba(32, 25, 17, 0.06);
}

.article-toc a {
    border-radius: 12px;
}

.article-main {
    min-width: 0;
}

.article-content {
    max-width: 790px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 42px 48px;
    box-shadow: 0 18px 50px rgba(32, 25, 17, 0.07);
}

.article-content p,
.article-content li {
    font-size: 18.5px;
    line-height: 1.82;
    color: #322b24;
}

.article-content p {
    margin-bottom: 22px;
}

.article-content h2 {
    margin-top: 46px;
    margin-bottom: 16px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #1c1712;
}

.article-content h3 {
    margin-top: 34px;
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.18;
    color: #2a2018;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin: 18px 0 28px;
}

.article-content blockquote {
    margin: 34px 0;
    padding: 22px 26px;
    border-left: 5px solid #f1bf00;
    background: #fff8e7;
    border-radius: 18px;
    color: #33281d;
}

.article-bottom-grid {
    max-width: 1180px;
    margin: 48px auto 0;
    padding: 0 22px 58px;
}

.article-bottom-grid h2 {
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -0.045em;
    margin-bottom: 22px;
}

.article-bottom-grid .latest-card {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(36, 27, 15, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-bottom-grid .latest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(36, 27, 15, 0.13);
}

.article-bottom-grid .latest-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 980px) {
    .article-shell {
        margin-top: 22px;
        padding: 0 16px;
    }

    .article-hero {
        padding: 42px 32px 34px;
        border-radius: 28px;
    }

    .article-layout {
        display: block;
        padding: 0 16px;
    }

    .article-sidebar {
        position: static;
        margin-bottom: 22px;
    }

    .article-content {
        max-width: none;
        padding: 34px 30px;
    }

    .article-quick-answer {
        margin: 24px 16px 26px;
    }
}

@media (max-width: 640px) {
    .article-shell {
        padding: 0 12px;
    }

    .article-hero {
        padding: 34px 22px 28px;
        border-radius: 24px;
    }

    .article-hero h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .article-deck {
        font-size: 17px;
    }

    .article-main-image {
        border-radius: 20px;
    }

    .article-main-image img {
        aspect-ratio: 4 / 3;
    }

    .article-quick-answer {
        padding: 22px 20px;
        border-radius: 22px;
    }

    .article-content {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .article-content p,
    .article-content li {
        font-size: 17.5px;
        line-height: 1.78;
    }

    .article-content h2 {
        margin-top: 38px;
    }

    .article-bottom-grid {
        margin-top: 34px;
        padding: 0 16px 44px;
    }
}

/* SPAINVIDA_HOMEPAGE_POLISH_V1 */

/* Homepage visual polish only. No layout logic changes. */
.home2-hero {
    min-height: 620px;
    display: grid;
    align-items: center;
    border-radius: 0 0 42px 42px;
    overflow: hidden;
    position: relative;
}

.home2-hero-bg:after {
    background:
        linear-gradient(90deg, rgba(24, 18, 12, 0.86), rgba(24, 18, 12, 0.42), rgba(24, 18, 12, 0.18)),
        linear-gradient(180deg, rgba(170, 21, 27, 0.22), rgba(241, 191, 0, 0.16));
}

.home2-hero-content {
    max-width: 1180px;
    padding: 92px 28px 86px;
}

.home2-hero-content h1 {
    max-width: 900px;
    font-size: clamp(44px, 6.6vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.home2-hero-content p:not(.home2-kicker) {
    max-width: 700px;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.92);
}

.home2-hero-content .home2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(8px);
}

.home2-proof-strip {
    max-width: 1160px;
    margin: -34px auto 44px;
    position: relative;
    z-index: 4;
    border-radius: 28px;
    box-shadow: 0 22px 58px rgba(34, 25, 15, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.home2-proof-strip div {
    padding: 18px 20px;
}

.home2-proof-strip strong {
    font-size: 20px;
}

.home2-proof-strip span {
    font-size: 13px;
}

.home2-hub-grid {
    max-width: 1180px;
    margin: 0 auto 56px;
    padding: 0 22px;
    gap: 18px;
}

.home2-hub-card,
.path-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(36, 27, 15, 0.08);
    box-shadow: 0 14px 38px rgba(36, 27, 15, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home2-hub-card:hover,
.path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(36, 27, 15, 0.14);
}

.home2-hub-card img,
.path-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home2-hub-card h3,
.path-card h3 {
    letter-spacing: -0.025em;
}

.home2-showcase {
    max-width: 1180px;
    margin: 0 auto 64px;
    border-radius: 36px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #19140f, #4b2616 54%, #aa151b);
    box-shadow: 0 24px 70px rgba(35, 25, 15, 0.16);
}

.home2-showcase-copy {
    padding: clamp(34px, 5vw, 64px);
}

.home2-showcase-copy h2 {
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home2-showcase-copy p {
    font-size: 18.5px;
    line-height: 1.7;
}

.home2-showcase-image {
    min-height: 420px;
}

.home2-showcase-image img {
    height: 100%;
    object-fit: cover;
}

.home2-showcase-image div {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.home2-reader-map {
    max-width: 1180px;
    margin: 0 auto 64px;
    padding: 48px 22px 0;
}

.home2-reader-map h2 {
    max-width: 780px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.home2-latest-grid {
    gap: 20px;
}

.home2-latest-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(36, 27, 15, 0.08);
    box-shadow: 0 14px 38px rgba(36, 27, 15, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home2-latest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(36, 27, 15, 0.14);
}

.home2-latest-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home2-latest-card div {
    padding: 18px 18px 20px;
}

.home2-latest-card h3 {
    font-size: 21px;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

@media (max-width: 980px) {
    .home2-hero {
        min-height: 560px;
        border-radius: 0 0 32px 32px;
    }

    .home2-hero-content {
        padding: 74px 22px 74px;
    }

    .home2-proof-strip {
        margin: -24px 16px 36px;
    }

    .home2-hub-grid,
    .home2-showcase,
    .home2-reader-map {
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
    }

    .home2-showcase {
        grid-template-columns: 1fr;
    }

    .home2-showcase-image {
        min-height: 320px;
    }

    .home2-reader-map {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .home2-hero {
        min-height: 520px;
        border-radius: 0 0 24px 24px;
    }

    .home2-hero-content {
        padding: 58px 18px 58px;
    }

    .home2-hero-content h1 {
        font-size: clamp(38px, 12vw, 56px);
    }

    .home2-hero-content p:not(.home2-kicker) {
        font-size: 17px;
    }

    .home2-proof-strip {
        border-radius: 22px;
    }

    .home2-hub-grid {
        padding: 0;
    }

    .home2-showcase {
        border-radius: 28px;
    }

    .home2-showcase-copy {
        padding: 30px 22px;
    }

    .home2-showcase-image {
        min-height: 260px;
    }

    .home2-reader-map {
        margin-bottom: 44px;
    }

    .home2-latest-grid {
        gap: 16px;
    }

    .home2-latest-card {
        border-radius: 24px;
    }

    .home2-latest-card h3 {
        font-size: 20px;
    }
}

/* SPAINVIDA_HUB_POLISH_V1 */

/* Hub page visual polish only. No logic, route, ad, or database changes. */
.hub-hero {
    max-width: 1180px;
    margin: 36px auto 58px;
    padding: 54px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(170, 21, 27, 0.94), rgba(68, 34, 18, 0.92) 48%, rgba(241, 191, 0, 0.74)),
        #aa151b;
    box-shadow: 0 28px 76px rgba(36, 27, 15, 0.18);
    overflow: hidden;
    position: relative;
}

.hub-hero:before {
    content: "";
    position: absolute;
    inset: auto -90px -120px auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    pointer-events: none;
}

.hub-hero-copy {
    position: relative;
    z-index: 2;
}

.hub-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: #fff;
    text-wrap: balance;
}

.hub-hero-copy p:not(.section-kicker) {
    max-width: 640px;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.91);
}

.hub-hero .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hub-hero .primary-btn {
    margin-top: 18px;
    background: #fff;
    color: #1d1711;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.hub-hero-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.hub-hero-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hub-hero-image div {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.hub-pathway,
.hub-guide-section,
.hub-faq-section,
.hub-more-section {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 22px;
    padding-right: 22px;
}

.section-heading h2 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.section-heading span,
.section-heading p:not(.section-kicker) {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.65;
}

.hub-step-grid {
    gap: 18px;
}

.hub-step-card {
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(36, 27, 15, 0.08);
    box-shadow: 0 14px 38px rgba(36, 27, 15, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(36, 27, 15, 0.12);
}

.hub-step-card span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #fff3c4;
    color: #8d1a16;
    font-weight: 900;
}

.hub-step-card h3 {
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.hub-guide-grid {
    gap: 22px;
}

.hub-guide-card {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(36, 27, 15, 0.08);
    box-shadow: 0 14px 38px rgba(36, 27, 15, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hub-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(36, 27, 15, 0.14);
}

.hub-guide-card img {
    aspect-ratio: 16 / 9.6;
    object-fit: cover;
}

.hub-guide-card div {
    padding: 20px 20px 22px;
}

.hub-guide-card h3 {
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hub-guide-card p {
    font-size: 15.5px;
    line-height: 1.62;
    color: #5b5147;
}

.hub-faq-section {
    margin-top: 64px;
}

.hub-faq-list {
    display: grid;
    gap: 14px;
}

.hub-faq-list details {
    border-radius: 22px;
    background: #fff8e7;
    border: 1px solid rgba(241, 191, 0, 0.34);
    box-shadow: 0 12px 30px rgba(36, 27, 15, 0.06);
}

.hub-faq-list summary {
    padding: 20px 22px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.hub-faq-list p {
    padding: 0 22px 22px;
    font-size: 17px;
    line-height: 1.68;
    color: #4a3c2f;
}

.hub-more-section {
    margin-top: 64px;
    margin-bottom: 64px;
}

.hub-more-section .latest-grid {
    gap: 20px;
}

.hub-more-section .latest-card {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(36, 27, 15, 0.08);
}

.hub-more-section .latest-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 980px) {
    .hub-hero {
        margin: 24px 16px 46px;
        padding: 38px 30px;
        border-radius: 32px;
        grid-template-columns: 1fr;
    }

    .hub-hero-image {
        margin-top: 12px;
    }

    .hub-pathway,
    .hub-guide-section,
    .hub-faq-section,
    .hub-more-section {
        padding-left: 16px;
        padding-right: 16px;
    }

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

@media (max-width: 640px) {
    .hub-hero {
        margin: 18px 12px 38px;
        padding: 30px 22px;
        border-radius: 26px;
    }

    .hub-hero-copy h1 {
        font-size: clamp(36px, 12vw, 54px);
    }

    .hub-hero-copy p:not(.section-kicker) {
        font-size: 17px;
    }

    .hub-hero-image {
        border-radius: 22px;
    }

    .hub-hero-image img {
        aspect-ratio: 4 / 3;
    }

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

    .hub-guide-card,
    .hub-step-card {
        border-radius: 24px;
    }

    .hub-guide-card h3 {
        font-size: 22px;
    }

    .hub-faq-section,
    .hub-more-section {
        margin-top: 44px;
    }
}
