/* =========================================================
   Horváth Boldizsár utca 10. — eladó lakás
   Design: "Alaprajz" — egy tégla-modern, blueprint-ihletésű
   szerkesztői stílus a szoba-bemutatáshoz.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Archivo:wght@400;500;600;700&display=swap');

:root {
    --paper:       #F2F0EA;
    --paper-soft:  #E9E6DD;
    --ink:         #262220;
    --ink-soft:    #55504A;
    --brick:       #A8452E;
    --brick-dark:  #7C3220;
    --park:        #4B5D45;
    --line:        rgba(38, 34, 32, 0.14);

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

.alignwide {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.alignfull {
    width: 100%;
}

.has-text-align-center {
    text-align: center;
}

a {
    color: var(--brick);
}

hr {
    display: none; /* separators replaced by structural spacing/rules */
}

/* -------------------- Hero -------------------- */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    background-image:
        linear-gradient(180deg, rgba(21, 18, 17, 0.15) 0%, rgba(21, 18, 17, 0.55) 62%, rgba(21, 18, 17, 0.88) 100%),
        url("nappali1.jpeg");
    background-size: cover;
    background-position: center;
    color: #F6F3EC;
    padding: 48px 24px 44px;
}

.hero__inner {
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E7DFCF;
    margin: 0 0 18px;
}

.hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--brick);
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    margin: 0 0 14px;
    max-width: 16ch;
}

.hero__sub {
    font-size: 1.05rem;
    color: #D8D0C0;
    max-width: 52ch;
    margin: 0;
}

/* -------------------- Intro -------------------- */

.intro {
    padding: 56px 24px 8px;
}

.intro p {
    font-size: 1.15rem;
    max-width: 68ch;
    color: var(--ink-soft);
}

/* -------------------- Layout: spec panel + tour -------------------- */

.layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    padding: 40px 24px 40px;
    align-items: start;
}

/* --- Spec panel (the "floor-plan card") --- */

.spec-panel {
    position: sticky;
    top: 28px;
}

.spec-panel__inner {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 32px 28px 28px;
    position: relative;
    overflow: hidden;
}

.spec-panel__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    background: var(--brick);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.spec-eyebrow {
    margin: 4px 0 2px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2rem;
    color: var(--brick-dark);
    margin: 0 0 20px;
    line-height: 1.15;
}

.specs {
    margin: 0 0 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 11px;
    font-size: 0.92rem;
}

.specs dt {
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
}

.specs dd {
    margin: 0;
    color: var(--ink);
}

.spec-note {
    font-size: 0.86rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin: 0 0 22px;
}

.call-button {
    display: block;
    text-align: center;
    background-color: var(--brick);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 18px;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

.call-button:hover {
    background-color: var(--brick-dark);
    color: #fff;
}

.disclaimer {
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin: 16px 0 0;
    line-height: 1.5;
}

/* -------------------- Room tour -------------------- */

.tour {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.room {
    display: flex;
    align-items: center;
    gap: 44px;
}

.room:nth-child(even) {
    flex-direction: row-reverse;
}

.room__figure {
    flex: 0 0 auto;
    margin: 0;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -16px rgba(38, 34, 32, 0.28), 0 3px 8px rgba(38, 34, 32, 0.08);
}

.room__figure img {
    display: block;
    height: 440px;
    width: auto;
    max-width: 100%;
    border-radius: 1px;
}

.room__text {
    flex: 1 1 240px;
}

.room h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.9rem;
    margin: 0;
    color: var(--ink);
}

/* -------------------- Closing CTA -------------------- */

.closing {
    background-color: var(--ink);
    color: #F2F0EA;
    margin-top: 40px;
    padding: 56px 24px;
}

.closing__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.closing__price-label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #B7AF9D;
    margin: 0 0 6px;
}

.closing__price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.1rem;
    margin: 0;
    color: #FBFAF6;
}

.closing .call-button {
    min-width: 240px;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spec-panel {
        position: static;
    }

    .room,
    .room:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .room__figure {
        width: 100%;
    }

    .room__figure img {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .hero {
        min-height: 60vh;
        padding: 32px 20px 32px;
    }

    .hero h1 {
        max-width: 100%;
    }

    .intro,
    .layout {
        padding-left: 20px;
        padding-right: 20px;
    }

    .closing__inner {
        justify-content: center;
        text-align: center;
    }

    .closing .call-button {
        width: 100%;
    }
}
