/* ==========================================================
   MetrYMMO V2
   LOCATION PAGE
   assets/css/location.css
   ========================================================== */

:root {
    --location-black: #0b0b0b;
    --location-black-soft: #11100f;
    --location-brown: #21160f;
    --location-brown-soft: #2b1d14;
    --location-gold: #c99a55;
    --location-gold-light: #e0bb80;
    --location-cream: #f5eee3;
    --location-white: #ffffff;
    --location-text: #111111;
    --location-muted: #765f4c;
    --location-border: rgba(33, 22, 15, 0.12);
}

/* ==========================================================
   BASE
   ========================================================== */

.metrymmo-location-page {
    overflow: hidden;
    background: var(--location-white);
    color: var(--location-text);
}

.metrymmo-location-page .container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.location-section-label,
.location-eyebrow,
.location-empty-label {
    display: inline-block;
    margin: 0;
    color: var(--location-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.location-section-heading h2,
.location-intro-content h2,
.location-process-section h2,
.location-dossier-content h2,
.location-cta h2 {
    margin: 0;
    color: var(--location-text);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.location-section-heading p,
.location-intro-content p,
.location-process-card p,
.location-dossier-content p,
.location-cta p {
    color: var(--location-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.8;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 14px 25px;
    border-radius: 11px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.location-button:hover {
    transform: translateY(-2px);
}

.location-button-primary {
    border: 1px solid var(--location-gold);
    background: linear-gradient(
        135deg,
        #d2a458 0%,
        #e0bb80 100%
    );
    color: #111111;
    box-shadow: 0 14px 30px rgba(201, 154, 85, 0.18);
}

.location-button-primary:hover {
    background: linear-gradient(
        135deg,
        #c99a55 0%,
        #d9b16f 100%
    );
    color: #111111;
    box-shadow: 0 18px 36px rgba(201, 154, 85, 0.24);
}

.location-button-secondary {
    border: 1px solid rgba(224, 187, 128, 0.28);
    background: rgba(255, 255, 255, 0.025);
    color: var(--location-white);
}

.location-button-secondary:hover {
    border-color: rgba(224, 187, 128, 0.55);
    background: rgba(255, 255, 255, 0.055);
}

/* ==========================================================
   HERO
   ========================================================== */

.location-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(201, 154, 85, 0.10),
            transparent 34%
        ),
        linear-gradient(
            115deg,
            #0b0b0b 0%,
            #120d0a 52%,
            #21160f 100%
        );
    color: var(--location-white);
}

.location-hero::after {
    position: absolute;
    right: -60px;
    bottom: -180px;
    z-index: 0;
    color: rgba(201, 154, 85, 0.035);
    content: "M";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38rem;
    font-weight: 700;
    line-height: 0.7;
    pointer-events: none;
}

.location-hero .container {
    position: relative;
    z-index: 1;
}

.location-hero-inner {
    display: grid;
    min-height: 640px;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 80px;
    padding: 75px 0 70px;
}

.location-hero-content {
    max-width: 760px;
}

.location-eyebrow {
    margin-bottom: 22px;
}

.location-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--location-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(3.7rem, 6vw, 6.6rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.95;
}

.location-hero p {
    max-width: 680px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.9;
}

.location-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.location-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-hero-card {
    position: relative;
    width: min(100%, 540px);
    min-height: 450px;
    padding: 220px 44px 42px;
    border: 1px solid rgba(201, 154, 85, 0.25);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(201, 154, 85, 0.055)
        );
    box-shadow:
        inset 0 0 0 10px rgba(255, 255, 255, 0.008),
        0 30px 80px rgba(0, 0, 0, 0.18);
}

.location-hero-card::before {
    position: absolute;
    top: 36px;
    right: 36px;
    bottom: 36px;
    left: 36px;
    border: 1px solid rgba(201, 154, 85, 0.18);
    border-radius: 22px;
    content: "";
}

.location-hero-card > * {
    position: relative;
    z-index: 1;
}

.location-hero-card span {
    display: block;
    margin-bottom: 14px;
    color: var(--location-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.location-hero-card strong {
    display: block;
    color: var(--location-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.location-hero-card small {
    display: block;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.55);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
}

/* ==========================================================
   INTRO
   ========================================================== */

.location-intro-section {
    padding: 115px 0 105px;
    background: var(--location-white);
}

.location-intro-grid {
    display: grid;
    grid-template-columns: 0.42fr 1.58fr;
    align-items: start;
    gap: 80px;
}

.location-intro-label {
    padding-top: 7px;
}

.location-intro-content {
    max-width: 900px;
}

.location-intro-content h2 {
    max-width: 850px;
    font-size: clamp(2.8rem, 4.6vw, 5rem);
}

.location-intro-content p {
    max-width: 820px;
    margin: 25px 0 0;
    font-size: 1.02rem;
}

.location-intro-content p + p {
    margin-top: 25px;
}

/* ==========================================================
   PROPERTIES
   ========================================================== */

.location-properties-section {
    padding: 100px 0 105px;
    background: var(--location-white);
}

.location-section-heading {
    max-width: 1000px;
    margin-bottom: 48px;
}

.location-section-heading h2 {
    max-width: 900px;
    margin-top: 18px;
    font-size: clamp(3rem, 5.2vw, 5.6rem);
}

.location-section-heading p {
    max-width: 820px;
    margin: 24px 0 0;
    font-size: 1rem;
}

.location-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-property-item {
    min-width: 0;
}

.location-empty {
    max-width: 1065px;
    margin: 52px auto 0;
    padding: 78px 50px;
    border: 1px solid rgba(33, 22, 15, 0.12);
    border-radius: 25px;
    background: var(--location-cream);
    text-align: center;
}

.location-empty h3 {
    max-width: 800px;
    margin: 20px auto 0;
    color: var(--location-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.location-empty p {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--location-muted);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.8;
}

.location-empty .location-button {
    margin-top: 30px;
}

.location-centered-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.location-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(201, 154, 85, 0.65);
    color: #9a6735;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

/* ==========================================================
   PROCESS
   ========================================================== */

.location-process-section {
    padding: 110px 0 115px;
    background: var(--location-cream);
}

.location-section-heading--center {
    max-width: 900px;
    margin-right: auto;
    margin-bottom: 58px;
    margin-left: auto;
    text-align: center;
}

.location-section-heading--center h2 {
    margin-right: auto;
    margin-left: auto;
}

.location-section-heading--center p {
    margin-right: auto;
    margin-left: auto;
}

.location-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.location-process-card {
    min-height: 290px;
    padding: 38px 36px 34px;
    border: 1px solid rgba(33, 22, 15, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
}

.location-process-number {
    display: block;
    color: var(--location-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
}

.location-process-card h3 {
    margin: 70px 0 0;
    color: var(--location-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.location-process-card p {
    margin: 18px 0 0;
    font-size: 0.94rem;
}

/* ==========================================================
   DOSSIER
   ========================================================== */

.location-dossier-section {
    padding: 105px 0;
    background: var(--location-cream);
}

.location-dossier-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 70px;
    overflow: hidden;
    padding: 65px 68px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(201, 154, 85, 0.12),
            transparent 38%
        ),
        linear-gradient(
            115deg,
            #0b0b0b 0%,
            #15100d 55%,
            #2a1c12 100%
        );
}

.location-dossier-card::after {
    position: absolute;
    right: 45px;
    bottom: -115px;
    color: rgba(201, 154, 85, 0.045);
    content: "M";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27rem;
    font-weight: 700;
    line-height: 0.7;
    pointer-events: none;
}

.location-dossier-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.location-dossier-content h2 {
    max-width: 850px;
    margin-top: 20px;
    color: var(--location-white);
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.location-dossier-content p {
    max-width: 900px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.location-dossier-action {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   CTA
   ========================================================== */

.location-cta-section {
    padding: 100px 0 110px;
    background: var(--location-cream);
}

.location-cta {
    position: relative;
    overflow: hidden;
    padding: 90px 40px;
    border-radius: 28px;
    background: var(--location-white);
    text-align: center;
    box-shadow: 0 24px 60px rgba(33, 22, 15, 0.06);
}

.location-cta::after {
    position: absolute;
    right: -50px;
    bottom: -150px;
    color: rgba(201, 154, 85, 0.045);
    content: "M";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26rem;
    font-weight: 700;
    line-height: 0.7;
    pointer-events: none;
}

.location-cta > * {
    position: relative;
    z-index: 1;
}

.location-cta h2 {
    max-width: 900px;
    margin: 18px auto 0;
    font-size: clamp(3rem, 5vw, 5.4rem);
}

.location-cta p {
    max-width: 720px;
    margin: 26px auto 0;
    font-size: 1rem;
}

.location-cta .location-button {
    margin-top: 34px;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {
    .metrymmo-location-page .container {
        width: min(100% - 48px, 1200px);
    }

    .location-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 65px;
    }

    .location-hero-content {
        max-width: 850px;
    }

    .location-hero-visual {
        justify-content: flex-start;
    }

    .location-hero-card {
        width: min(100%, 620px);
    }

    .location-intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .location-process-grid {
        grid-template-columns: 1fr;
    }

    .location-process-card {
        min-height: auto;
    }

    .location-process-card h3 {
        margin-top: 48px;
    }

    .location-dossier-card {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .location-dossier-action {
        justify-self: start;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {
    .metrymmo-location-page .container {
        width: calc(100% - 32px);
    }

    .location-hero-inner {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 44px;
        padding: 52px 0 64px;
    }

    .location-hero h1 {
        font-size: clamp(2.8rem, 11vw, 4rem);
        line-height: 0.98;
    }

    .location-hero p {
        margin-top: 28px;
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .location-hero-actions {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
    }

    .location-hero-actions .location-button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .location-hero-card {
        width: 100%;
        min-height: 260px;
        box-sizing: border-box;
        padding: 145px 42px 28px;
        border-radius: 22px;
    }

    .location-hero-card::before {
        top: 30px;
        right: 30px;
        bottom: 30px;
        left: 30px;
        border-radius: 18px;
    }

    .location-hero-card strong {
        font-size: 1.65rem;
    }

    .location-intro-section {
        padding: 64px 0 66px;
    }

    .location-intro-grid {
        gap: 38px;
    }

    .location-intro-content h2 {
        font-size: clamp(2.35rem, 9.5vw, 3.2rem);
        line-height: 1.02;
    }

    .location-intro-content p {
        margin-top: 16px;
        font-size: 0.91rem;
        line-height: 1.9;
    }

    .location-intro-content p + p {
        margin-top: 22px;
    }

    .location-properties-section {
        padding: 62px 0 68px;
    }

    .location-section-heading {
        margin-bottom: 34px;
    }

    .location-section-heading h2 {
        margin-top: 15px;
        font-size: clamp(2.4rem, 9.5vw, 3.4rem);
        line-height: 1.03;
    }

    .location-section-heading p {
        margin-top: 18px;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .location-properties-grid {
        grid-template-columns: 1fr;
    }

    .location-empty {
        margin-top: 34px;
        padding: 58px 24px;
        border-radius: 20px;
    }

    .location-empty h3 {
        font-size: 1.85rem;
        line-height: 1.08;
    }

    .location-empty p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .location-empty .location-button {
        width: 100%;
        box-sizing: border-box;
        margin-top: 26px;
    }

    .location-centered-action {
        margin-top: 30px;
    }

    .location-process-section {
        padding: 62px 0 68px;
    }

    .location-section-heading--center {
        margin-bottom: 34px;
    }

    .location-section-heading--center h2 {
        font-size: clamp(2.4rem, 9.5vw, 3.2rem);
    }

    .location-process-grid {
        gap: 16px;
    }

    .location-process-card {
        min-height: 0;
        padding: 34px 30px;
        border-radius: 18px;
    }

    .location-process-number {
        font-size: 1.65rem;
    }

    .location-process-card h3 {
        margin-top: 48px;
        font-size: 1.2rem;
    }

    .location-process-card p {
        margin-top: 16px;
        font-size: 0.87rem;
        line-height: 1.8;
    }

    .location-dossier-section {
        padding: 60px 0 68px;
    }

    .location-dossier-card {
        gap: 30px;
        padding: 42px 24px 34px;
        border-radius: 22px;
    }

    .location-dossier-content h2 {
        margin-top: 17px;
        font-size: clamp(2.35rem, 9vw, 3.1rem);
        line-height: 1.02;
    }

    .location-dossier-content p {
        margin-top: 22px;
        font-size: 0.9rem;
        line-height: 1.85;
    }

    .location-dossier-action {
        width: 100%;
    }

    .location-dossier-action .location-button {
        width: 100%;
        box-sizing: border-box;
    }

    .location-dossier-card::after {
        right: -15px;
        bottom: -65px;
        font-size: 15rem;
    }

    .location-cta-section {
        padding: 58px 0 64px;
    }

    .location-cta {
        padding: 58px 24px;
        border-radius: 22px;
    }

    .location-cta h2 {
        font-size: clamp(2.5rem, 9.5vw, 3.4rem);
        line-height: 1.03;
    }

    .location-cta p {
        margin-top: 20px;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .location-cta .location-button {
        width: 100%;
        box-sizing: border-box;
        margin-top: 28px;
    }

    .location-cta::after {
        right: -25px;
        bottom: -75px;
        font-size: 16rem;
    }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {
    .metrymmo-location-page .container {
        width: calc(100% - 28px);
    }

    .location-hero-inner {
        padding-top: 42px;
        padding-bottom: 54px;
    }

    .location-hero h1 {
        font-size: 2.85rem;
    }

    .location-hero-card {
        padding-right: 28px;
        padding-left: 28px;
    }

    .location-intro-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .location-properties-section {
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .location-process-section {
        padding-top: 58px;
        padding-bottom: 60px;
    }

    .location-dossier-section {
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .location-cta-section {
        padding-top: 52px;
        padding-bottom: 58px;
    }
}
