@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
    --blue: #123246;
    --blue-dark: #071d2a;
    --sand: #efe6d6;
    --sand-soft: #FAF9F6;
    --terracotta: #b76742;
    --gold: #c29b55;
    --ink: #1A1A1A;
    --muted: #5f6265;
    --line: #dde3e7;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--sand-soft);
    line-height: 1.65;
}

body.is-translating {
    cursor: progress;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

p {
    margin: 0;
    color: var(--muted);
}

.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    min-height: 82px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 48px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(18, 50, 70, 0.12);
    backdrop-filter: blur(16px);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.site-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-fallback {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
}

.site-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.site-links a {
    color: #40515d;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 650;
}

.site-links a:hover,
.site-links a.active {
    color: var(--terracotta);
}

.nav-cta,
.button.primary {
    background: var(--terracotta);
    color: var(--white) !important;
    border: 1px solid var(--terracotta);
}

.nav-cta {
    padding: 8px 14px;
    border-radius: 6px;
}

.associate-cta {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid rgba(18, 50, 70, 0.22);
    color: var(--blue) !important;
    background: var(--sand-soft);
}

.associate-cta:hover {
    border-color: var(--terracotta);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
}

.language-switcher select {
    min-height: 38px;
    border: 1px solid rgba(18, 50, 70, 0.22);
    border-radius: 6px;
    background: var(--white);
    color: var(--blue);
    padding: 7px 30px 7px 10px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: flex-end;
    padding: 190px 48px 104px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 29, 42, 0.88), rgba(7, 29, 42, 0.58), rgba(7, 29, 42, 0.2)),
        var(--hero-image, url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=2400&q=86")) center/cover;
}

.hero.compact {
    min-height: 520px;
}

.hero-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.kicker {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    max-width: 920px;
    font-size: clamp(3rem, 6.4vw, 6.4rem);
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: 0.012em;
}

.hero p,
.hero-subtitle {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.hero-subtitle {
    font-family: "Inter", Arial, sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(0.92rem, 1.28vw, 1.18rem);
    font-weight: 600;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid rgba(18, 50, 70, 0.24);
    background: var(--white);
    color: var(--blue);
    text-decoration: none;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--white);
}

.button.ghost {
    background: transparent;
    border-color: rgba(18, 50, 70, 0.24);
}

.section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 112px 0;
}

.section.band {
    width: 100%;
    max-width: none;
    background: var(--sand-soft);
    padding: 112px 20px;
}

.band-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 36px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
}

.section-heading p {
    font-size: 1.08rem;
}

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

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    background: var(--white);
}

.card h3 {
    color: var(--blue);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.pillars-section {
    padding-top: 124px;
    padding-bottom: 124px;
}

.pillar-card {
    position: relative;
    min-height: 330px;
    padding: 38px 34px;
}

.pillar-icon {
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border: 1px solid rgba(26, 26, 26, 0.22);
    border-radius: 999px;
    position: relative;
}

.pillar-icon::before,
.pillar-icon::after {
    content: "";
    position: absolute;
    background: var(--terracotta);
}

.pillar-icon::before {
    width: 24px;
    height: 1px;
    top: 26px;
    left: 14px;
}

.pillar-icon::after {
    width: 1px;
    height: 24px;
    top: 14px;
    left: 26px;
}

.case-section {
    width: 100%;
    max-width: none;
    padding: 122px 20px;
    background: #1A1A1A;
    color: var(--white);
}

.case-section .section-heading {
    width: min(920px, 100%);
}

.case-section .section-heading h2,
.case-section .section-heading p {
    color: var(--white);
}

.case-section .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}

.case-grid {
    width: min(1180px, 100%);
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.case-card {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.045);
}

.case-card.featured {
    background: rgba(183, 103, 66, 0.18);
    border-color: rgba(194, 155, 85, 0.5);
}

.case-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.case-card h3 {
    color: var(--white);
    font-size: clamp(1.45rem, 2.1vw, 2.05rem);
    margin-bottom: 28px;
}

.case-block {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
}

.case-block strong {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.case-block p,
.case-vision {
    color: rgba(255, 255, 255, 0.72);
}

.case-indicator {
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 800;
}

.case-vision {
    margin-top: auto;
    font-style: italic;
}

.case-conclusion {
    width: min(920px, 100%);
    margin: 38px auto 0;
    color: rgba(255, 255, 255, 0.84);
    text-align: center;
    font-weight: 700;
    font-size: 1.08rem;
}

.case-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.vinaros-detail-section {
    scroll-margin-top: 110px;
}

.scenario-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.scenario-detail-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    background: var(--white);
}

.scenario-detail-card.highlighted {
    border-color: rgba(183, 103, 66, 0.45);
    background: #fff8f3;
}

.scenario-detail-card .case-tag {
    color: var(--terracotta);
}

.scenario-detail-card h3 {
    color: var(--blue);
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    margin-bottom: 16px;
}

.scenario-summary {
    margin-bottom: 24px;
}

.scenario-data {
    display: grid;
    gap: 16px;
    margin: 0;
}

.scenario-data div {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.scenario-data dt {
    color: var(--ink);
    font-weight: 800;
    margin-bottom: 5px;
}

.scenario-data dd {
    margin: 0;
    color: var(--muted);
}

.analysis-note {
    width: min(920px, 100%);
    margin: 34px auto 0;
    border: 1px solid rgba(18, 50, 70, 0.16);
    border-radius: 8px;
    padding: 24px;
    background: var(--sand-soft);
    text-align: center;
}

.analysis-note strong {
    display: block;
    color: var(--blue);
    margin-bottom: 8px;
}

.discounted-opportunity {
    background: var(--sand-soft);
}

.opportunity-summary {
    width: min(840px, 100%);
    margin: 0 auto 28px;
    text-align: center;
}

.mini-card-grid,
.property-data-grid,
.buyer-scenario-grid {
    display: grid;
    gap: 18px;
}

.mini-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(980px, 100%);
    margin: 0 auto;
}

.mini-card {
    border: 1px solid rgba(18, 50, 70, 0.14);
    border-radius: 8px;
    padding: 24px;
    background: var(--white);
}

.mini-card h3 {
    color: var(--blue);
    margin-bottom: 8px;
}

.apartment-detail-section {
    scroll-margin-top: 110px;
}

.property-data-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 34px;
}

.property-data-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    background: var(--white);
}

.property-data-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.property-data-grid strong {
    color: var(--blue);
    font-size: 1.2rem;
}

.buyer-scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buyer-scenario-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
    background: var(--white);
}

.buyer-scenario-card.highlighted {
    border-color: rgba(183, 103, 66, 0.44);
    background: #fff8f3;
}

.buyer-scenario-card .case-tag {
    color: var(--terracotta);
}

.buyer-scenario-card h3 {
    color: var(--blue);
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    margin-bottom: 14px;
}

.budget-box,
.strength-box,
.risk-box {
    border-radius: 8px;
    padding: 18px;
    margin-top: 18px;
}

.budget-box {
    background: var(--sand-soft);
    border: 1px solid rgba(18, 50, 70, 0.12);
}

.strength-box {
    background: #f5f8fa;
    border: 1px solid rgba(18, 50, 70, 0.1);
}

.budget-box strong,
.strength-box strong {
    display: block;
    color: var(--blue);
    margin-bottom: 8px;
}

.budget-box ul,
.strength-box ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.risk-box {
    margin-top: 34px;
    border: 1px solid rgba(183, 103, 66, 0.26);
    background: #fff8f3;
}

.risk-box h3 {
    color: var(--blue);
    margin-bottom: 8px;
}

.risk-box .feature-list {
    margin-top: 20px;
}

.card .button {
    margin-top: 22px;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    border: 1px solid rgba(18, 50, 70, 0.16);
    border-radius: 999px;
    background: var(--white);
    padding: 10px 14px;
    color: #314653;
    font-weight: 700;
}

.steps {
    display: grid;
    gap: 16px;
}

.step {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.step-number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
}

.step h3 {
    color: var(--blue);
    margin-bottom: 6px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 44px;
    align-items: start;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    top: 0.75em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terracotta);
}

.statement {
    color: var(--blue);
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
    line-height: 1.16;
    font-weight: 800;
    max-width: 900px;
}

.cta-section {
    background: var(--blue);
    color: var(--white);
    text-align: center;
    padding: 78px 20px;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 760px;
    margin: 0 auto;
}

.contact-block {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 34px;
    align-items: start;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    background: var(--sand-soft);
}

.contact-options {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-option {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(18, 50, 70, 0.18);
    border-radius: 6px;
    color: var(--blue);
    text-decoration: none;
    background: var(--white);
}

.contact-option span {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--blue);
    font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(18, 50, 70, 0.24);
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid rgba(183, 103, 66, 0.28);
    border-color: var(--terracotta);
}

.status-text {
    min-height: 22px;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer {
    padding: 34px 20px;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--sand-soft);
}

@media (max-width: 960px) {
    .site-nav {
        position: static;
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 20px;
    }

    .site-links {
        justify-content: flex-start;
        gap: 12px;
    }

    .hero,
    .hero.compact {
        min-height: 560px;
        padding: 74px 20px 54px;
    }

    .grid,
    .grid.two,
    .split,
    .contact-block,
    .form-grid,
    .case-grid,
    .scenario-detail-grid,
    .mini-card-grid,
    .property-data-grid,
    .buyer-scenario-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .site-logo span:not(.logo-fallback) {
        font-size: 0.95rem;
    }

    .site-links a {
        font-size: 0.88rem;
    }

    .card,
    .contact-card {
        padding: 22px;
    }

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