:root {
    --rotary-blue: #17458f;
    --rotary-gold: #f7a81b;
    --rotary-blue-dark: color-mix(in srgb, var(--rotary-blue) 78%, black);
    --rotary-blue-deep: color-mix(in srgb, var(--rotary-blue) 52%, black);

    --text: #182234;
    --muted: #667085;
    --background: #ffffff;
    --soft: #f5f7fb;
    --border: #e6eaf0;

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    width: auto;
    height: auto;
    max-height: 62px;
    max-width: 245px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: var(--rotary-blue);
    font-size: 20px;
}

.brand-text span {
    font-size: 14px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.main-nav > a {
    transition: color .2s ease, background .2s ease;
}

.main-nav > a:hover {
    color: var(--rotary-blue);
}

.language-selector {
    display: flex;
    gap: 5px;
    font-size: 12px;
}

.language-selector .active {
    color: var(--rotary-blue);
    font-weight: 800;
}

.main-nav .nav-app {
    padding: 11px 17px;
    color: white;
    background: var(--rotary-blue);
    border-radius: 8px;
}

.main-nav .nav-app:hover {
    color: white;
    background: var(--rotary-blue-dark);
}


/* =========================================================
   HAMBURGUESA
========================================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rotary-blue);
    border-radius: 10px;
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: calc(100vh - 84px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 35%,
            color-mix(in srgb, var(--rotary-gold) 22%, transparent),
            transparent 25%
        ),
        linear-gradient(
            120deg,
            var(--rotary-blue-deep) 0%,
            var(--rotary-blue) 58%,
            var(--rotary-blue-dark) 100%
        );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.has-image {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 20, 48, .93) 0%,
            rgba(4, 20, 48, .76) 38%,
            rgba(4, 20, 48, .34) 70%,
            rgba(4, 20, 48, .10) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 90px;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--rotary-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.3px;
}

.eyebrow {
    color: var(--rotary-gold);
}

.hero h1 {
    max-width: 800px;
    margin: 0;
    color: white;
    font-size: clamp(54px, 6.5vw, 92px);
    line-height: .98;
    letter-spacing: -4px;
}

.hero p {
    max-width: 630px;
    margin: 30px 0;
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    text-align: center;
}

.hero-scroll span {
    display: block;
    font-size: 20px;
}


/* =========================================================
   BOTONES
========================================================= */

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 23px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary,
.button-gold {
    color: #202020;
    background: var(--rotary-gold);
}

.button-outline-light {
    color: white;
    border: 1px solid rgba(255, 255, 255, .65);
}

.button-outline {
    color: var(--rotary-blue);
    border: 1px solid var(--rotary-blue);
}

.text-link {
    color: var(--rotary-blue);
    font-weight: 700;
}


/* =========================================================
   GENERAL
========================================================= */

.section {
    padding: 90px 0;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2,
.intro h2,
.exchange-content h2,
.app-content h2,
.feature-content h2 {
    margin: 0 0 20px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.centered {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
    text-align: center;
}

.split-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
}

.lead {
    font-size: 21px;
}


/* =========================================================
   EL CLUB
========================================================= */

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 100px;
    align-items: center;
}

.intro p {
    max-width: 650px;
    color: var(--muted);
}

.intro-card {
    position: relative;
    min-height: 350px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--soft);
    border-radius: 20px;
}

.intro-card.has-image {
    min-height: 500px;
    padding: 42px;
    justify-content: flex-end;
    color: white;
    background-size: cover;
    background-position: center;
}

.intro-card.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(5, 24, 55, .02) 20%,
            rgba(5, 24, 55, .88) 100%
        );
}

.intro-card-content {
    position: relative;
    z-index: 2;
}

.intro-card strong {
    display: block;
    max-width: 430px;
    color: var(--rotary-blue);
    font-size: 30px;
    line-height: 1.15;
}

.intro-card.has-image strong {
    color: white;
}

.intro-card.has-image p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
}


/* =========================================================
   ROTARY EN ACCIÓN
========================================================= */

.action-section {
    background: var(--soft);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.action-card {
    min-height: 250px;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(20, 50, 90, .10);
}

.action-card.featured {
    color: white;
    background: var(--rotary-blue);
}

.action-number {
    color: var(--rotary-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.action-card h3 {
    margin: 35px 0 10px;
    font-size: 23px;
}

.action-card p {
    margin-bottom: 30px;
    color: var(--muted);
}

.action-card.featured p {
    color: rgba(255, 255, 255, .75);
}

.card-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   PROYECTOS
========================================================= */

.projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 22px;
}

.project-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(18, 46, 82, .10);
}

.project-large {
    grid-row: span 2;
}

.placeholder-image {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--rotary-blue);
    background: linear-gradient(135deg, #dce7f7, #edf1f7);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight: 800;
}

.placeholder-image.has-image span {
    display: none;
}

.project-card:not(.project-large) .placeholder-image {
    height: 210px;
}

.project-content {
    padding: 27px;
}

.project-content h3 {
    margin: 8px 0;
    font-size: 24px;
}

.project-content p {
    color: var(--muted);
}

.project-status {
    color: var(--rotary-blue);
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   INTERCAMBIOS
========================================================= */

.exchange-section {
    padding: 120px 0;
    overflow: hidden;
    color: white;
    background: var(--rotary-blue-deep);
}

.exchange-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.exchange-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .20);
}

.exchange-visual.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 31, 70, .02),
            rgba(7, 31, 70, .28)
        );
}

.exchange-placeholder {
    padding: 30px;
    color: white;
    font-size: 30px;
    font-weight: 800;
    text-align: center;
}

.section-label.light {
    color: var(--rotary-gold);
}

.exchange-content h2 span {
    color: var(--rotary-gold);
}

.exchange-content > p {
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}

.exchange-types {
    margin: 35px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.exchange-types div {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.exchange-types strong,
.exchange-types span {
    display: block;
}

.exchange-types strong {
    margin-bottom: 7px;
    color: var(--rotary-gold);
}

.exchange-types span {
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}


/* =========================================================
   JUVENTUD / FAMILIAS ANFITRIONAS
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.feature-grid-reverse .feature-image {
    order: 1;
}

.feature-grid-reverse .feature-content {
    order: 2;
}

.feature-content p {
    color: var(--muted);
}

.feature-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: var(--soft);
    border-radius: 24px;
}

.feature-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   NOTICIAS
========================================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(18, 46, 82, .10);
}

.news-image {
    height: 240px;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--rotary-blue);
    font-size: 10px;
    font-weight: 800;
}

.news-content h3 {
    font-size: 21px;
    line-height: 1.25;
}

.news-content p {
    color: var(--muted);
}

.news-content a {
    color: var(--rotary-blue);
    font-weight: 700;
}


/* =========================================================
   EVENTOS
========================================================= */

.events-section {
    background: var(--soft);
}

.event-feature {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(18, 46, 82, .08);
}

.event-feature-image {
    min-height: 420px;
}

.event-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-feature-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-kicker {
    margin-bottom: 15px;
    color: var(--rotary-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.event-feature-content h3 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.15;
}

.event-feature-content p {
    margin: 0 0 30px;
    color: var(--muted);
}


/* =========================================================
   SUMATE
========================================================= */

.join-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: white;
    background-color: var(--rotary-blue);
    background-size: cover;
    background-position: center;
}

.join-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 29, 67, .96),
            rgba(23, 69, 143, .86)
        );
}

.join-inner {
    position: relative;
    z-index: 2;
}

.light-heading h2 {
    color: white;
}

.light-heading p {
    color: rgba(255, 255, 255, .78);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.join-card {
    min-height: 250px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform .2s ease, background .2s ease;
}

.join-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .12);
}

.join-card > span {
    color: var(--rotary-gold);
    font-size: 12px;
    font-weight: 800;
}

.join-card h3 {
    margin-bottom: 10px;
    font-size: 25px;
}

.join-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .75);
}


/* =========================================================
   APP
========================================================= */

.app-section {
    padding: 90px 0;
}

.app-visual {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-presentation-image {
    width: 100%;
    max-width: 560px;
    max-height: 520px;
    object-fit: contain;
}

.app-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.app-content p {
    max-width: 600px;
    color: var(--muted);
    font-size: 18px;
}

.store-buttons {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store-buttons a,
.coming-soon {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
}

.coming-soon {
    color: var(--muted);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 75px 0 25px;
    color: rgba(255, 255, 255, .7);
    background: #07152e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-main p {
    max-width: 350px;
}

.footer-logo {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 95px;
    margin-bottom: 22px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 20px;
}

.footer-grid h4 {
    color: white;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
}

.footer-grid a:hover,
.footer-contact:hover {
    color: white;
}

.footer-contact {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
}

.footer-bottom {
    margin-top: 55px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        padding: 25px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a {
        padding: 9px 0;
    }

    .main-nav .nav-app {
        margin-top: 5px;
        padding: 12px 17px;
        text-align: center;
    }

    .language-selector {
        padding: 10px 0;
    }

    .intro-grid,
    .exchange-grid,
    .app-grid,
    .feature-grid,
    .event-feature {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .exchange-grid,
    .app-grid {
        gap: 50px;
    }

    .feature-grid {
        gap: 45px;
    }

    .feature-grid-reverse .feature-image,
    .feature-grid-reverse .feature-content {
        order: initial;
    }

    .action-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-row: auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .join-grid {
        grid-template-columns: 1fr;
    }

    .feature-image {
        min-height: 440px;
    }

    .exchange-visual {
        min-height: 500px;
    }

    .app-visual {
        min-height: auto;
    }

    .app-presentation-image {
        max-height: 550px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 75px;
    }

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .brand-logo {
        max-height: 50px;
        max-width: 200px;
    }

    .hero {
        min-height: calc(100svh - 70px);
        background-position: center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 20, 48, .38) 0%,
                rgba(4, 20, 48, .68) 45%,
                rgba(4, 20, 48, .96) 100%
            );
    }

    .hero-content {
        padding-top: 180px;
        padding-bottom: 55px;
    }

    .hero h1 {
        font-size: clamp(44px, 14vw, 58px);
        line-height: .98;
        letter-spacing: -2px;
    }

    .hero p {
        margin: 22px 0;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll {
        display: none;
    }

    .split-heading {
        display: block;
    }

    .split-heading .text-link {
        display: inline-block;
        margin-top: 10px;
    }

    .intro-grid {
        gap: 35px;
    }

    .intro-card.has-image {
        min-height: 430px;
        padding: 28px;
    }

    .intro-card strong {
        font-size: 25px;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        min-height: auto;
    }

    .action-card h3 {
        margin-top: 22px;
    }

    .project-large .placeholder-image,
    .project-card:not(.project-large) .placeholder-image {
        height: 230px;
    }

    .exchange-section {
        padding: 80px 0;
    }

    .exchange-visual {
        min-height: 380px;
        border-radius: 18px;
    }

    .exchange-types {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        gap: 32px;
    }

    .feature-image {
        min-height: 340px;
        border-radius: 18px;
    }

    .feature-content h2 {
        font-size: 40px;
    }

    .event-feature {
        border-radius: 18px;
    }

    .event-feature-image {
        min-height: 250px;
    }

    .event-feature-content {
        padding: 30px;
    }

    .event-feature-content h3 {
        font-size: 27px;
    }

    .join-section {
        padding: 80px 0;
    }

    .join-card {
        min-height: auto;
    }

    .app-section {
        padding: 80px 0;
    }

    .app-visual {
        min-height: auto;
    }

    .app-presentation-image {
        max-width: 100%;
        max-height: 470px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

/* =========================================================
   APP — AJUSTE FINAL
========================================================= */

.app-section {
    padding: 90px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.app-visual {
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-presentation-image {
    display: block;
    width: 100%;
    max-width: 560px;
    max-height: 430px;
    margin: 0 auto;
    object-fit: contain;
}

.app-content {
    width: 100%;
}

.app-content h2 {
    margin-bottom: 20px;
}

.app-content p {
    max-width: 580px;
    margin-bottom: 25px;
}


/* TABLET / MÓVIL */

@media (max-width: 950px) {

    .app-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .app-visual {
        order: 1;
    }

    .app-content {
        order: 2;
    }

    .app-presentation-image {
        max-width: 600px;
    }
}


@media (max-width: 600px) {

    .app-section {
        padding: 70px 0;
    }

    .app-grid {
        gap: 35px;
    }

    .app-presentation-image {
        max-width: 100%;
        max-height: none;
    }

    .app-content h2 {
        font-size: 39px;
        line-height: 1.05;
    }
}

/* =========================================================
   PÁGINAS DE PROYECTOS
========================================================= */

.project-content h2,
.project-content h3 {
    color: var(--rotary-blue);
}

.project-content h2 {
    margin: 8px 0;
    font-size: 24px;
}

.placeholder-image {
    text-decoration: none;
}

.listing-hero,
.project-detail-header {
    padding: 90px 0 70px;
    background: var(--soft);
}

.listing-hero h1,
.project-detail-heading h1 {
    max-width: 850px;
    margin: 12px 0 18px;
    color: var(--rotary-blue);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.listing-hero p,
.project-detail-heading p {
    max-width: 720px;
    color: var(--muted);
    font-size: 20px;
}

.project-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-list-grid .placeholder-image {
    height: 240px;
}

.empty-state {
    padding: 45px;
    color: var(--muted);
    text-align: center;
    background: var(--soft);
    border-radius: 15px;
}

.pagination-wrap {
    margin-top: 45px;
}

.project-detail-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-detail-heading .project-status {
    margin-top: 32px;
}

.project-detail-body {
    max-width: 920px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.project-detail-image {
    width: 100%;
    max-height: 570px;
    margin-bottom: 35px;
    object-fit: cover;
    border-radius: 18px;
}

.project-dates {
    color: var(--muted);
    font-weight: 700;
}

.rich-content {
    color: #333;
    font-size: 18px;
    line-height: 1.75;
}

.rich-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 950px) {
    .project-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .listing-hero,
    .project-detail-header {
        padding: 65px 0 50px;
    }

    .project-list-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-body {
        padding-top: 45px;
        padding-bottom: 65px;
    }
}
