/* Projektbemutató: a Pal Home meglévő színei és betűkészletei. */
.project-page { --project-line: #d9d8c9; }
.project-page :focus-visible { outline: 3px solid var(--gold-600); outline-offset: 5px; }
.project-page [id] { scroll-margin-top: 110px; }
.project-intro { padding: calc(var(--header-h) + 32px) 0 0; background: var(--cream); }
.project-breadcrumb { display: flex; flex-wrap: wrap; gap: 14px; font-size: .9rem; margin-bottom: 36px; color: var(--ink-soft); }
.project-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-intro-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 48px; align-items: center; }
.project-intro-copy h1 { font-size: clamp(2.6rem, 4.7vw, 4.25rem); color: var(--green-900); line-height: 1.08; text-wrap: balance; }
.project-intro-copy h1 em { color: var(--green-700); font-weight: 400; }
.project-location { margin: 22px 0 14px; font-weight: 500; color: var(--green-800); }
.project-intro-copy > p:not([class]) { max-width: 43ch; color: var(--ink-soft); }
.project-price { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.35; margin: 25px 0; font-variant-numeric: tabular-nums; }
.project-price span { display: block; font-size: .9rem; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.project-intro-copy .btn { font-size: .78rem; letter-spacing: .08em; padding-inline: 1.7em; white-space: normal; }
.project-picture { min-width: 0; }
.project-picture > a { position: relative; display: block; overflow: hidden; background: white; }
.project-picture img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .55s var(--ease-lux); }
.project-picture > a:hover img { transform: scale(1.025); }
.project-image-action { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 9px; background: var(--green-950); color: var(--cream); padding: 8px 12px; font-size: .78rem; font-weight: 400; }
.project-picture figcaption { padding-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.project-original { display: block; width: fit-content; margin-top: 4px; color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; font-weight: 400; }
.project-original:hover { color: var(--green-600); }
.project-cover img { aspect-ratio: 1.18; }
.project-cover figcaption { font-size: .8rem; }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; margin-top: 38px; border-top: 1px solid var(--project-line); border-bottom: 1px solid var(--project-line); }
.project-facts dt { font-size: .88rem; color: var(--ink-soft); margin-bottom: 4px; }
.project-facts dd { font-size: 1.22rem; font-weight: 500; color: var(--green-900); }
.project-sections { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 22px 0; font-size: .92rem; font-weight: 400; color: var(--green-800); }
.project-sections a { padding: 5px 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--project-line); }
.project-sections a:hover { text-decoration-color: currentColor; }
.project-section { padding: clamp(55px, 7vw, 90px) 0; }
.project-section h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); color: var(--green-900); text-wrap: balance; }
.project-description-grid { display: grid; grid-template-columns: 1.25fr .8fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.project-prose p { margin-top: 22px; max-width: 70ch; color: var(--ink-soft); }
.project-prose strong { color: var(--ink); font-weight: 500; }
.project-prose h3 { font-size: 1.5rem; margin-top: 38px; color: var(--green-900); }
.project-specs { background: var(--cream-2); padding: 30px; }
.project-specs h3 { font-size: 1.6rem; margin-bottom: 16px; }
.project-specs dl > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--project-line); font-size: .93rem; line-height: 1.5; }
.project-specs dl > div:last-child { border: 0; padding-bottom: 0; }
.project-specs dt { color: var(--ink-soft); }
.project-specs dd { font-weight: 400; }
.project-apartments { background: var(--green-900); color: var(--cream); }
.project-section-heading { max-width: 720px; margin-bottom: 34px; }
.project-section-heading > p { margin-top: 16px; color: var(--ink-soft); }
.project-apartments h2 { color: var(--cream); }
.project-apartments .project-section-heading > p, .project-note { color: #d6dfd5; }
.project-table-wrap { overflow-x: auto; }
.project-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.project-table th, .project-table td { padding: 22px 18px; border-bottom: 1px solid #476251; white-space: nowrap; }
.project-table thead th { font-size: .85rem; font-weight: 400; color: #d6dfd5; padding-top: 0; }
.project-table tbody th { font-weight: 500; }
.project-table th:first-child { padding-left: 0; }
.project-table td:last-child, .project-table th:last-child { padding-right: 0; }
.project-table small { display: block; font-size: .8rem; font-weight: 300; white-space: normal; color: #d6dfd5; }
.project-status { display: inline-block; padding: 3px 13px; border: 1px solid #7fa88a; border-radius: 999px; color: #e3efda; font-size: .83rem; font-weight: 400; }
.project-status.sold { border-color: #87978b; color: #d6dfd5; }
.project-table .is-sold { color: #c1cdc3; }
.project-note { font-size: .88rem; margin-top: 22px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
.project-plans { background: var(--cream-2); }
.project-plan-gallery .project-picture img { object-fit: contain; padding: 12px; }
.project-plan-gallery .project-picture:first-child { grid-column: 1 / -1; }
.project-plan-gallery .project-picture:first-child img { aspect-ratio: 1817 / 1045; }
.project-contact { border-top: 1px solid var(--project-line); }
.project-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.project-contact p { color: var(--ink-soft); max-width: 52ch; margin-top: 22px; }
.project-contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.project-phone { font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.3; }
.project-email { font-size: 1.15rem; text-decoration: underline; text-underline-offset: 5px; }
.project-contact-details .btn { margin-top: 14px; }
.project-page .footer-cta { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
    .project-intro-grid { gap: 28px; }
    .project-description-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; }
    .project-specs { padding: 24px; }
}
@media (max-width: 760px) {
    .project-intro { padding-top: calc(var(--header-h) + 24px); }
    .project-breadcrumb { margin-bottom: 25px; }
    .project-intro-grid, .project-description-grid, .project-contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .project-intro-copy > p:not([class]) { max-width: 60ch; }
    .project-intro-copy h1 { font-size: clamp(2.7rem, 9vw, 4rem); }
    .project-cover img { aspect-ratio: 16 / 10; }
    .project-facts { grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; padding: 24px 0; }
    .project-sections { gap: 6px 22px; }
    .project-table thead { display: none; }
    .project-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
    .project-table tr { display: block; padding: 20px 0; border-bottom: 1px solid #476251; }
    .project-table th, .project-table td { display: block; padding: 3px 0; border: 0; white-space: normal; }
    .project-table tbody th { font-size: 1.3rem; padding-bottom: 10px; }
    .project-table td:nth-child(2)::before { content: 'Lakótér: '; }
    .project-table td:nth-child(3)::before { content: 'Terasz: '; }
    .project-table td:nth-child(4) { font-weight: 500; padding-top: 10px; }
    .project-table td:last-child { padding-top: 10px; }
    .project-gallery { gap: 28px 18px; }
    .project-image-action { font-size: .72rem; right: 8px; bottom: 8px; padding: 6px 9px; }
}
@media (max-width: 500px) {
    .project-gallery { grid-template-columns: 1fr; gap: 30px; }
    .project-specs dl > div { gap: 12px; }
    .project-contact-details .btn { white-space: normal; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .project-page { scroll-behavior: auto; }
    .project-picture img { transition: none; }
}
