/**
 * Homepage landing — dark luxury theme.
 */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
    --landing-bg: #121212;
    --landing-bg-elevated: #1a1a1a;
    --landing-bg-input: #1a1a1a;
    --landing-white: #ffffff;
    --landing-gray-text: #a0a0a0;
    --landing-forest-green: #1b3b2b;
    --landing-gold: #d4af37;
    --landing-gold-light: #e8d070;
    --landing-gold-dark: #aa820a;
    --landing-gold-gradient: linear-gradient(135deg,
            #aa820a 0%,
            #d4af37 25%,
            #f0e6b8 50%,
            #d4af37 75%,
            #aa820a 100%);
    --landing-gold-text: linear-gradient(180deg,
            #f0e6b8 0%,
            #d4af37 45%,
            #aa820a 100%);
    --landing-border: rgba(212, 175, 55, 0.45);
    --landing-border-subtle: rgba(255, 255, 255, 0.12);
    --landing-max: 1240px;
    --landing-gap: clamp(1.25rem, 4vw, 3.5rem);
    --landing-font-body: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --landing-font-display: "Playfair Display", Georgia, serif;
    --landing-hero-min: min(100vh, 900px);
}

/* Base */
body.landing-page {
    margin: 0;
    background: var(--landing-bg);
    color: var(--landing-white);
    font-family: var(--landing-font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.landing-page #page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landing-page .site-main-landing {
    flex: 1;
}

body.landing-page a {
    color: var(--landing-white);
    transition: color 0.2s ease;
}

body.landing-page a:hover,
body.landing-page a:focus {
    color: var(--landing-gold-light);
}

/* Header — sticky bar */
#masthead.landing-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background:#000;
    border: none;
    border-bottom: 1px solid var(--landing-border-subtle);
}

.landing-header__inner {
    max-width: var(--landing-max);
    margin: 0 auto;
    padding: 12px var(--landing-gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 80px;
}

.landing-header__brand {
    line-height: 0;
}

.landing-header__brand .custom-logo-link,
.landing-header__brand img {
    display: block;
    width: auto;
    height: 72px;
    padding: 0;
    margin: 0;
    object-fit: contain;
}

.landing-header__title {
    font-family: var(--landing-font-display);
    font-size: 1.35rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--landing-white);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-header__cta {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--landing-gold-gradient);
    color: var(--landing-bg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: .3s;
}

.landing-header__cta:hover {
    transition: .3s;
    color: var(--landing-bg) !important;
}

/* Grid utility */
.landing-grid {
    width: 100%;
    max-width: var(--landing-max);
    margin: 0 auto;
    padding-left: var(--landing-gap);
    padding-right: var(--landing-gap);
    box-sizing: border-box;
}

/* Hero — full-bleed background */
.landing-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: var(--landing-hero-min);
    padding: 0 0 clamp(4rem, 10vh, 7rem);
    background-color: var(--landing-bg);
    background-image: var(--landing-hero-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.landing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(18, 18, 18, 0.35) 0%,
            rgba(18, 18, 18, 0.55) 45%,
            rgba(27, 59, 43, 0.35) 70%,
            rgba(18, 18, 18, 0.92) 100%);
    pointer-events: none;
}

.landing-hero--has-image .landing-hero__overlay {
    background: linear-gradient(180deg,
            rgba(18, 18, 18, 0.25) 0%,
            rgba(18, 18, 18, 0.5) 50%,
            rgba(27, 59, 43, 0.4) 75%,
            rgba(18, 18, 18, 0.94) 100%);
}

.landing-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--landing-max);
    padding-top: clamp(2rem, 5vh, 3.5rem);
}

.landing-hero__eyebrow-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    max-width: 36rem;
}

.landing-hero__eyebrow {
    margin: 0;
    flex-shrink: 0;
    font-family: var(--landing-font-body);
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--landing-gold);
}

.landing-hero__eyebrow-line {
    flex: 1;
    height: 1px;
    min-width: 2rem;
    max-width: 200px;
    background: var(--landing-gold);
    opacity: 0.85;
}

.landing-hero__title,
.landing-hero__title h1,
.landing-hero__title h2,
.landing-hero__title p {
    margin: 0 0 0.75rem;
    font-family: var(--landing-font-display);
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.08;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--landing-white);
}

.landing-hero__title>*:last-child {
    margin-bottom: 0;
}

.landing-hero__title strong,
.landing-hero__title b {
    font-weight: 600;
}

.landing-hero__subtitle,
.landing-hero__subtitle p {
    margin: 0;
    max-width: 32rem;
    font-family: var(--landing-font-body);
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    color: var(--landing-gray-text);
}

.landing-hero__subtitle p {
    margin: 0;
}

/* Contact */
.landing-contact {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: var(--landing-bg);
}

.landing-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (min-width: 900px) {
    .landing-contact__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: clamp(2.5rem, 5vw, 5rem);
    }
}

/* Form panel — left, gold border */
.landing-contact__form-panel {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border: 1px solid var(--landing-border);
    background: var(--landing-bg-elevated);
}

.landing-contact__form .wpcf7 {
    margin: 0;
}

.landing-contact__form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1rem;
}

.landing-contact__form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--landing-gray-text);
}

.landing-contact__form input[type="text"],
.landing-contact__form input[type="email"],
.landing-contact__form input[type="tel"],
.landing-contact__form textarea,
.landing-contact__form .wpcf7-text,
.landing-contact__form .wpcf7-email,
.landing-contact__form .wpcf7-tel,
.landing-contact__form .wpcf7-textarea {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--landing-border-subtle);
    background: var(--landing-bg-input);
    color: var(--landing-white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 300;
    border-radius: 0;
}

.landing-contact__form input::placeholder,
.landing-contact__form textarea::placeholder {
    color: var(--landing-gray-text);
    opacity: 0.7;
}

.landing-contact__form input:focus,
.landing-contact__form textarea:focus {
    outline: none;
    border-color: var(--landing-border);
}

.landing-contact__form textarea,
.landing-contact__form .wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
}

.landing-contact__form input[type="submit"],
.landing-contact__form .wpcf7-submit {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--landing-gold-gradient);
    color: var(--landing-bg);
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: opacity 0.2s ease;
}

.landing-contact__form input[type="submit"]:hover,
.landing-contact__form .wpcf7-submit:hover {
    opacity: 0.88;
    color: var(--landing-bg);
}

.landing-contact__form .wpcf7-response-output {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--landing-border);
    color: var(--landing-white);
    background: var(--landing-bg-elevated);
}

.landing-contact__form .wpcf7-not-valid-tip {
    color: #e8a87c;
    font-size: 0.8rem;
}

/* Info panel — right */
.landing-contact__info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing-contact__heading {
    margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
    font-family: var(--landing-font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--landing-white);
}

/* Broker — photo left, details right */
.landing-contact__broker {
    display: grid;
    grid-template-columns: minmax(110px, 150px) 1fr;
    gap: clamp(1rem, 3vw, 1.75rem);
    align-items: start;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.landing-contact__broker:not(:has(.landing-contact__photo)) {
    grid-template-columns: 1fr;
}

.landing-contact__photo-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

.landing-contact__name {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--landing-white);
}

.landing-contact__credentials,
.landing-contact__credentials p {
    margin: 0 0 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--landing-gold);
}

.landing-contact__credentials p {
    margin-bottom: 0.15rem;
}

.landing-contact__credentials p:last-child {
    margin-bottom: 1rem;
}

.landing-contact__line {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--landing-gray-text);
}

.landing-contact__line a {
    text-decoration: none;
    font-weight: 400;
}

/* Developer — bottom block */
.landing-contact__developer {
    margin-top: auto;
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid var(--landing-border-subtle);
}

.landing-contact__developer-text,
.landing-contact__developer-text p {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--landing-gray-text);
}

.landing-contact__developer-text p:last-child {
    margin-bottom: 1.5rem;
}

.landing-contact__logo-img {
    display: block;
    max-height: 48px;
    width: auto;
}

/* Footer */
.landing-footer {
    padding: 1.5rem var(--landing-gap);
    border-top: 1px solid var(--landing-border-subtle);
    text-align: center;
    background: var(--landing-bg);
}

.landing-footer__copy {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--landing-gray-text);
    opacity: 0.75;
}

html {
    scroll-behavior: smooth;
}

/* Hide default WP / underscore noise on landing */
body.landing-page .skip-link:focus {
    background: var(--landing-gold);
    color: var(--landing-bg);
}