:root {
    --ink: #123d59;
    --muted: #586e7c;
    --accent: #a4ce39;
    --paper: #f8fbfd;
    --line: #dce6ed;
    --white: #fff;
    --brand: #0075b5;
    --brand-hover: #005f94;
    --soft: #edf5fa;
    --radius: 20px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #789b20;
    outline-offset: 4px;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.035em;
}
h1 {
    font-size: clamp(36px, 4.8vw, 68px);
    font-weight: 600;
    margin-bottom: 24px;
}
h2 {
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 500;
    margin-bottom: 20px;
}
h3 {
    font-size: 22px;
    font-weight: 600;
}
p {
    margin-bottom: 18px;
}
.shell {
    max-width: 1240px;
    width: calc(100% - 80px);
    margin-inline: auto;
}
.topbar {
    background: var(--brand);
    color: #eef7fc;
    font-size: 12px;
    padding: 8px 0;
}
.topbar .shell {
    display: flex;
    justify-content: space-between;
}
.site-header {
    background: rgba(248, 251, 253, 0.97);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 24px;
}
.brand img {
    object-fit: contain;
}
.nav-wrap nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 14px;
}
.nav-wrap nav a[aria-current] {
    text-decoration: underline;
    text-underline-offset: 8px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--brand);
    color: white;
    border: 1px solid var(--brand);
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    transition: background 0.2s;
}
.button:hover {
    background: var(--brand-hover);
}
.button.small {
    padding: 12px 19px;
}
.button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.button.light {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}
.menu-toggle {
    display: none;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 60px;
}
.hero-copy {
    padding-block: 25px;
}
.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--brand);
}
.hero-copy > p:not(.eyebrow) {
    max-width: 400px;
    color: var(--muted);
    font-size: 17px;
}
.text-link {
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #aac5d6;
    padding-bottom: 5px;
    display: inline-block;
}
.hero-image {
    position: relative;
    height: 430px;
    border-radius: 120px 20px 20px 20px;
    overflow: hidden;
    background: #e2eff7;
}
.hero-image > img,
.hero-image > .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-note {
    position: absolute;
    bottom: 22px;
    left: 22px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    font-size: 12px;
}
.hero-note strong {
    font-size: 16px;
}
.search-panel {
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 32px #123d5908;
}
.search-form {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}
.search-form > label {
    flex: 1;
    min-width: 150px;
}
.search-form > label.search-text {
    flex: 1.5;
}
.search-form label {
    font-size: 12px;
    font-weight: 600;
    display: block;
}
.search-form input,
.search-form select {
    display: block;
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--paper);
    padding: 12px;
    color: var(--ink);
    font-size: 14px;
    min-height: 48px;
}
.search-form > .button {
    min-height: 48px;
}
.section {
    padding-block: 64px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.section-heading h2,
.section-heading p {
    margin-bottom: 6px;
}
.section-heading .eyebrow {
    margin-bottom: 13px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.property-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.card-media {
    display: block;
    height: 238px;
    position: relative;
    overflow: hidden;
    background: #e6eff5;
}
.card-media img,
.card-media > .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.card-media:hover img {
    transform: scale(1.035);
}
.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f7fce9;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    border-radius: 30px;
    padding: 7px 13px;
}
.card-body {
    padding: 23px;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.card-body .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
}
.card-body h3 {
    font-size: 21px;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}
.muted {
    color: var(--muted);
    font-size: 14px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
    padding-block: 10px 18px;
    color: var(--muted);
}
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: auto;
    gap: 12px;
    font-size: 13px;
}
.price {
    display: flex;
    flex-direction: column;
}
.price strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}
.price span {
    font-size: 12px;
    color: var(--muted);
}
.round-link {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    height: 40px;
    width: 40px;
    font-size: 22px;
}
.round-link:hover {
    background: var(--accent);
}
.tinted {
    background: var(--soft);
}
.contact-banner {
    background: var(--brand);
    color: white;
    padding: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.contact-banner h2 {
    max-width: 630px;
}
.contact-banner .eyebrow {
    color: var(--accent);
}
.contact-banner p:last-child {
    margin-bottom: 0;
}
.contact-banner > .button {
    flex-shrink: 0;
}
.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    font-size: 14px;
    color: var(--muted);
}
.footer-logo {
    object-fit: contain;
    margin-bottom: 20px;
}
.footer-grid h2 {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
}
.footer-grid a {
    display: block;
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 25px;
    font-size: 12px;
    color: var(--muted);
}
.page-heading {
    padding-top: 56px;
    padding-bottom: 16px;
}
.page-heading h1 {
    font-size: clamp(34px, 4vw, 52px);
}
.page-heading > p:last-child {
    color: var(--muted);
}
.catalog-search {
    margin-top: 20px;
}
.advanced {
    flex-basis: 100%;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.advanced summary {
    cursor: pointer;
    font-size: 13px;
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 18px;
}
.empty {
    grid-column: 1/-1;
    background: var(--soft);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
}
.empty h2 {
    font-size: 28px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    font-size: 14px;
    flex-wrap: wrap;
}
.pagination a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.pagination > span {
    color: var(--muted);
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    padding-block: 28px;
    overflow-wrap: anywhere;
}
.detail-heading {
    padding-block: 12px 25px;
}
.detail-heading h1 {
    font-size: clamp(32px, 4vw, 50px);
    max-width: 950px;
}
.detail-heading .eyebrow {
    margin-bottom: 12px;
}
.detail-heading > p {
    color: var(--muted);
}
.gallery-main {
    height: 520px;
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e6eff5;
}
.gallery-main img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery-main .badge {
    top: auto;
    bottom: 20px;
}
.gallery-thumbs {
    display: flex;
    overflow: auto;
    gap: 12px;
    padding-top: 12px;
    scrollbar-width: thin;
}
.gallery-thumbs a {
    height: 110px;
    flex: 0 0 165px;
    border-radius: 10px;
    overflow: hidden;
}
.gallery-thumbs img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 54px;
    padding-top: 40px;
    align-items: start;
}
.detail-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.detail-section h2 {
    font-size: 28px;
}
.description {
    white-space: pre-line;
    overflow-wrap: anywhere;
    color: var(--muted);
    margin-bottom: 24px;
}
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}
.spec-grid > div {
    background: var(--soft);
    border-radius: 10px;
    padding: 16px;
    overflow-wrap: anywhere;
}
.spec-grid dt {
    font-size: 11px;
    color: var(--muted);
}
.spec-grid dd {
    margin: 5px 0 0;
    font-size: 16px;
    font-weight: 600;
}
.contact-card {
    border: 1px solid var(--line);
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    position: sticky;
    top: 112px;
}
.contact-card h2 {
    font-size: 28px;
}
.contact-card p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}
.contact-card .button {
    width: 100%;
    margin-bottom: 12px;
}
.contact-card small {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 8px;
}
.detail-price {
    margin-bottom: 20px;
}
.detail-price strong {
    font-size: 32px;
}
.detail-price span {
    font-size: 18px;
}
.tag-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-list li {
    background: var(--soft);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
}
.tag-list li:before {
    content: "✓ ";
    color: #547515;
}
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.plan-grid a {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px;
    font-size: 13px;
}
.plan-grid img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}
.location-image img {
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}
.project-logo {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 24px;
}
.image-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #e5f2fb, #bdd9ec);
    color: var(--brand-hover);
    text-align: center;
    min-height: 180px;
}
.image-placeholder span {
    font-size: 25px;
    letter-spacing: 0.16em;
}
.image-placeholder small {
    display: block;
    font-size: 11px;
    letter-spacing: 0.03em;
    margin-top: 8px;
}
.gallery-empty {
    border-radius: 20px;
    height: 320px;
}
.info-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
}
.info-panel {
    max-width: 750px;
}
.info-panel p {
    color: var(--muted);
}
.service-item {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 24px;
}
.service-item h3 {
    font-size: 22px;
}
.form-errors {
    color: #962c25;
    background: #fff2ed;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
}
.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 14px;
}
.skip-link:focus {
    top: 10px;
}
dialog {
    border: 0;
    border-radius: 12px;
    max-width: 95vw;
    width: 1100px;
    padding: 50px 20px 14px;
    background: var(--brand);
    color: white;
}
dialog::backdrop {
    background: #092536de;
}
dialog img {
    max-height: 75vh;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
}
dialog p {
    font-size: 13px;
    margin: 12px 0 0;
    text-align: center;
}
.dialog-close {
    position: absolute;
    top: 10px;
    right: 16px;
    color: white;
    background: none;
    border: 1px solid #91b5cc;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
}
@media (min-width: 1500px) {
    .hero {
        gap: 80px;
    }
}
@media (max-width: 1050px) {
    .shell {
        width: calc(100% - 48px);
    }
    .nav-wrap nav {
        gap: 16px;
    }
    .hero {
        gap: 30px;
    }
    .hero-image {
        height: 380px;
    }
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-layout {
        gap: 28px;
        grid-template-columns: minmax(0, 1fr) 300px;
    }
    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-banner {
        padding: 32px;
    }
    .contact-card {
        padding: 22px;
    }
}
@media (max-width: 760px) {
    .shell {
        width: calc(100% - 36px);
    }
    .topbar {
        font-size: 10px;
    }
    .nav-wrap {
        min-height: 74px;
    }
    .brand img {
        width: 125px;
        height: 46px;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 8px 12px;
        color: var(--ink);
        cursor: pointer;
    }
    .nav-wrap nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 20px;
        box-shadow: 0 20px 25px #123d5915;
        align-items: stretch;
    }
    .nav-wrap nav.is-open {
        display: flex;
        flex-direction: column;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 30px;
        padding-bottom: 28px;
        gap: 24px;
    }
    .hero-copy {
        padding: 0;
    }
    .hero h1 {
        font-size: 43px;
        margin-bottom: 18px;
    }
    .hero-copy > p:not(.eyebrow) {
        font-size: 15px;
    }
    .hero-image {
        height: 300px;
        border-top-left-radius: 80px;
    }
    .hero-note {
        padding: 12px 18px;
    }
    .eyebrow {
        margin-bottom: 16px;
    }
    .search-panel {
        padding: 18px;
    }
    .search-form {
        gap: 14px;
    }
    .search-form > label {
        flex-basis: calc(50% - 14px);
        min-width: 0;
    }
    .search-form > label.search-text {
        flex-basis: 100%;
    }
    .search-form > .button {
        width: 100%;
    }
    .section {
        padding-block: 40px;
    }
    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }
    .card-grid {
        gap: 18px;
    }
    .card-body {
        padding: 18px;
    }
    .card-media {
        height: 205px;
    }
    .card-body h3 {
        font-size: 19px;
    }
    .contact-banner {
        flex-direction: column;
        align-items: start;
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .detail-layout,
    .info-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-card {
        position: static;
        margin-bottom: 30px;
    }
    .gallery-main {
        height: 340px;
    }
    .gallery-thumbs a {
        height: 85px;
        flex-basis: 125px;
    }
    .detail-heading {
        padding-top: 0;
    }
    .page-heading {
        padding-top: 35px;
    }
    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .breadcrumbs {
        padding-block: 20px;
    }
    .info-layout {
        padding-top: 20px;
    }
}
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .card-media {
        height: 245px;
    }
    .hero h1 {
        font-size: 39px;
    }
    .hero-image {
        height: 270px;
    }
    .gallery-main {
        height: 280px;
    }
    .plan-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: auto;
    }
    .filter-grid {
        gap: 12px;
    }
    .spec-grid > div {
        padding: 13px;
    }
    .pagination {
        gap: 12px;
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
/* Home sections: brand colors and responsive content grids. */
.section-intro {
    max-width: 350px;
    color: var(--muted);
    font-size: 14px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.category-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition:
        border-color 0.2s,
        background 0.2s;
    overflow-wrap: anywhere;
}
.category-card:hover {
    border-color: var(--brand);
    background: var(--soft);
}
.category-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f7de;
    color: var(--brand);
}
.category-symbol svg {
    width: 30px;
    height: 30px;
}
.category-arrow {
    margin-left: auto;
    color: var(--brand);
    font-size: 23px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.step-card {
    border-top: 3px solid var(--accent);
    padding: 26px 24px;
    background: white;
    border-radius: 0 0 14px 14px;
}
.step-number {
    display: inline-block;
    color: var(--brand);
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -0.06em;
    margin-bottom: 22px;
}
.step-card h3 {
    font-size: 23px;
}
.step-card p,
.faq-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 15px;
}
.step-card p {
    margin-bottom: 0;
}
.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}
.faq-intro h2 {
    font-size: clamp(32px, 3vw, 44px);
}
.faq-list details {
    border-bottom: 1px solid #c6dae7;
}
.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    content: "+";
    color: var(--brand);
    font-size: 25px;
}
.faq-list details[open] summary::after {
    content: "−";
}
.faq-list details p {
    font-size: 14px;
    color: var(--muted);
    padding-right: 28px;
}
@media (max-width: 760px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .category-card {
        gap: 10px;
        padding: 16px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    .category-symbol {
        flex-basis: 40px;
        height: 40px;
    }
    .steps-grid,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .step-card {
        padding: 22px;
    }
    .step-number {
        margin-bottom: 12px;
    }
}
@media (max-width: 380px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
/* Public detail pages and reusable line icons. */
.web-icon {
    display: inline-block;
    vertical-align: middle;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}
.features > span,
.detail-nav a,
.badge,
.inquiry-details span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.features .web-icon {
    width: 17px;
    height: 17px;
    color: var(--brand);
}
.step-number .web-icon {
    width: 38px;
    height: 38px;
    margin-right: 14px;
}
.site-footer {
    background: #102f48;
    color: #e4eef5;
    border-top: 4px solid var(--accent);
    padding-top: 58px;
}
.site-footer .footer-grid,
.site-footer .description {
    color: #c4d5e1;
}
.site-footer .footer-grid h2 {
    color: #fff;
}
.site-footer .footer-grid a,
.footer-address {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-wrap: anywhere;
}
.site-footer .web-icon {
    color: var(--accent);
}
.site-footer .footer-grid a:hover {
    color: var(--accent);
}
.site-footer .footer-logo {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    width: 168px;
    height: 72px;
}
.site-footer .footer-bottom {
    color: #a9c1d2;
    border-color: #315069;
}
.detail-highlights {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    background: white;
    border-radius: 16px;
    margin-top: 24px;
    overflow: hidden;
}
.detail-highlights > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 23px;
    flex: 1 1 170px;
    border-right: 1px solid var(--line);
}
.detail-highlights .web-icon {
    width: 30px;
    height: 30px;
    color: var(--brand);
}
.detail-highlights strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}
.detail-highlights small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}
.detail-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 25px;
}
.detail-nav a {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 16px;
    background: white;
    font-size: 13px;
}
.detail-nav a:hover {
    background: var(--soft);
    border-color: var(--brand);
}
.detail-nav .web-icon {
    width: 18px;
    height: 18px;
    color: var(--brand);
}
.detail-layout {
    gap: 30px;
}
.detail-section {
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 16px;
    background: white;
    margin-bottom: 22px;
}
.detail-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
}
.detail-section h2 > .web-icon {
    color: var(--brand);
    width: 27px;
    height: 27px;
}
.spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spec-grid > div {
    padding: 15px;
    background: #f5f9fc;
}
.spec-grid dt {
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}
.spec-grid dt .web-icon {
    width: 18px;
    height: 18px;
    color: var(--brand);
}
.spec-grid dd {
    padding-left: 25px;
}
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    list-style: none;
    gap: 12px;
}
.amenity-grid li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.amenity-grid .web-icon {
    color: #537421;
    background: #f0f7df;
    border-radius: 5px;
    padding: 2px;
    width: 24px;
    height: 24px;
}
.linked-project {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
.linked-project-image {
    display: block;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
}
.linked-project-image > img,
.linked-project-image > .image-placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.linked-project h2 {
    font-size: 24px;
}
.linked-project p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}
.linked-project p .web-icon {
    width: 17px;
    height: 17px;
}
.subsection-title {
    font-size: 17px;
    margin-top: 24px;
}
.contact-card {
    border-top: 4px solid var(--brand);
    box-shadow: 0 10px 35px #123d5908;
}
.advisor-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    border-block: 1px solid var(--line);
    padding-block: 18px;
    margin-bottom: 20px;
}
.advisor-summary strong {
    font-size: 14px;
    display: block;
}
.advisor-summary span:not(.advisor-icon) {
    font-size: 11px;
    color: var(--muted);
}
.advisor-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f0f7df;
    color: var(--brand);
}
.inquiry-details {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    font-size: 12px;
    color: var(--muted);
}
.inquiry-details .web-icon {
    width: 17px;
    height: 17px;
}
.map-frame {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--soft);
}
.map-frame iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}
.map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    margin-top: 20px;
}
.map-actions .muted {
    max-width: 290px;
    font-size: 12px;
}
.map-note,
.location-note {
    background: var(--soft);
    padding: 16px;
    border-radius: 10px;
    font-size: 13px;
}
.location-note {
    display: flex;
    gap: 12px;
    align-items: center;
}
.location-note p {
    margin: 0;
}
.property-video {
    width: 100%;
    max-height: 430px;
    background: #102f48;
    border-radius: 12px;
    margin-bottom: 20px;
}
.plan-document {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    height: 200px;
    background: var(--soft);
    margin-bottom: 15px;
}
.plan-document .web-icon {
    width: 45px;
    height: 45px;
}
.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 14px;
}
.gallery-controls button {
    background: none;
    border: 1px solid #a0bfce;
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 13px;
}
.gallery-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}
.gallery-controls span {
    font-size: 12px;
}
.location-discovery {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}
.location-discovery-intro > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 370px;
    font-size: 15px;
}
.large-icon {
    display: grid;
    place-items: center;
    background: #edf5d9;
    color: var(--brand);
    height: 60px;
    width: 60px;
    border-radius: 18px;
    margin-bottom: 24px;
}
.large-icon .web-icon {
    width: 34px;
    height: 34px;
}
.location-discovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.district-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    padding: 24px;
}
.district-card:only-child {
    grid-column: 1/-1;
}
.district-heading {
    display: flex;
    gap: 14px;
    align-items: start;
}
.district-heading > .web-icon {
    color: var(--brand);
    margin-top: 2px;
}
.district-heading h3 {
    font-size: 21px;
    margin-bottom: 8px;
}
.district-heading p {
    font-size: 12px;
    color: var(--muted);
}
.district-links {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 15px;
}
.district-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.district-links a > span {
    margin-left: auto;
    color: var(--brand);
}
.district-links .web-icon {
    width: 17px;
    height: 17px;
    color: var(--brand);
}
@media (max-width: 1050px) {
    .linked-project {
        grid-template-columns: 1fr;
    }
    .linked-project-image {
        height: 210px;
    }
    .location-discovery {
        gap: 30px;
    }
}
@media (max-width: 760px) {
    .detail-section {
        padding: 20px;
    }
    .detail-section h2 {
        font-size: 23px;
    }
    .detail-highlights > div {
        padding: 16px;
        flex-basis: 145px;
    }
    .detail-highlights strong {
        font-size: 17px;
    }
    .detail-highlights .web-icon {
        width: 24px;
        height: 24px;
    }
    .detail-layout {
        gap: 8px;
    }
    .detail-nav {
        gap: 8px;
    }
    .detail-nav a {
        padding: 9px 11px;
        font-size: 12px;
    }
    .location-discovery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .map-frame iframe {
        height: 300px;
    }
    .gallery-controls {
        gap: 12px;
    }
    .gallery-controls button {
        padding: 8px 10px;
    }
}
@media (max-width: 480px) {
    .location-discovery-grid {
        grid-template-columns: 1fr;
    }
    .amenity-grid {
        grid-template-columns: 1fr;
    }
    .spec-grid > div {
        padding: 12px;
    }
}
dialog img[hidden] {
    display: none;
}
body.gallery-open {
    overflow: hidden;
}
