@font-face {
    font-family: Yoko;
    src: url("fonts/opensanshebrew-regular.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: Yoko;
    src: url("fonts/opensanshebrew-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
:root {
    --ink: #11253a;
    --muted: #4b6073;
    --deep: #112639;
    --deep-secondary: #18364b;
    --paper: #f4f7fa;
    --line: #d7e0e8;
    --accent: #f3d7a1;
    --light-ink: #dae8f0;
    --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.75 Yoko, Arial, sans-serif;
}
.realty-site {
    --ink: #21332e;
    --muted: #4d6158;
    --deep: #172d27;
    --deep-secondary: #26443a;
    --paper: #f8f6f1;
    --line: #dddcd1;
    --accent: #ead5a8;
    --light-ink: #e0e9df;
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.22; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 5.1vw, 74px); letter-spacing: -.035em; }
h2 { font-size: clamp(27px, 3.2vw, 43px); letter-spacing: -.025em; }
h3 { font-size: clamp(19px, 2vw, 24px); }
a { color: inherit; }
img { max-width: 100%; display: block; }
address { font-style: normal; }
.wrap { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.sr-only,.skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 10; inset: 10px 10px auto auto; padding: 9px 14px; background: white; color: var(--ink); }
:focus-visible { outline: 3px solid #ad781c; outline-offset: 3px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 9px 19px;
    border: 1px solid transparent;
    border-radius: 7px;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.button:hover { filter: brightness(.94); }
.button-accent { background: var(--accent); color: #202514; }
.button-dark { color: white; background: var(--deep); }
.button-ghost { color: white; border-color: #ffffff70; }
.button-whatsapp { color: white; background: #17603e; }
.button-outline { background: white; border-color: var(--line); color: var(--ink); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }

.site-bar { background: white; border-top: 4px solid var(--brand); position: relative; z-index: 2; }
.header-row { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-weight: 700; font-size: clamp(18px,2.5vw,25px); line-height: 1.28; overflow-wrap: anywhere; }
.brand-logo { object-fit: contain; width: 62px; height: 62px; flex: none; }
.main-nav { display: flex; align-items: center; gap: clamp(14px,2.8vw,38px); }
.main-nav a:not(.button) { text-decoration: none; white-space: nowrap; }
.main-nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.header-contact { border-color: var(--line); background: var(--deep); color: white; }
.menu-toggle { display: none; }

.hero { background: var(--deep); color: white; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(24px, 5vw, 88px); padding-block: clamp(32px,5vw,70px); }
.hero-copy { padding-block: 14px; min-width: 0; }
.sector-label { display: flex; align-items: center; gap: 11px; color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.sector-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-intro { color: var(--light-ink); margin: 20px 0 28px; max-width: 420px; font-size: clamp(16px,2vw,20px); }
.hero-visual { position: relative; }
.hero-visual img { position: relative; width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; border-radius: 13px; background: var(--deep-secondary); }
.hero-visual::before { content: ""; position: absolute; inset: 12px 12px -12px -12px; border: 1px solid #ffffff48; border-radius: 13px; }

.listing-section { padding-block: clamp(35px,5vw,70px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.section-heading p { margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.search-form { display: flex; align-items: center; gap: 8px; min-width: min(100%,380px); }
.search-form input { flex: 1 1 260px; }
.clear-search { color: var(--muted); font-size: 14px; white-space: nowrap; }
.catalog { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.stock-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    background: white; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 5px 16px #10233f08;
}
.card-visual { position: relative; }
.card-media,.gallery-main { display: block; overflow: hidden; background: #e7ebec; text-decoration: none; }
.card-media { aspect-ratio: 1.54; }
.card-media img,.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform .25s ease; }
.card-media:hover img { transform: scale(1.035); }
.no-photo {
    display: grid; place-items: center; width: 100%; height: 100%; padding: 18px;
    background: linear-gradient(140deg, var(--paper), #e0e8e9); color: var(--muted); text-align: center;
}
.stock-status {
    position: absolute; inset: 12px 12px auto auto;
    padding: 4px 10px; border-radius: 6px; background: var(--deep); color: white; font-size: 14px; font-weight: 700;
}
.card-content { padding: 19px; display: flex; flex-direction: column; flex: 1; }
.card-content h3 a { text-decoration: none; }
.card-content h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-context { color: var(--muted); font-size: 14px; margin-bottom: 6px; overflow-wrap: anywhere; }
.card-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-block: 14px; }
.card-facts dt,.specifications dt { color: var(--muted); font-size: 14px; }
.card-facts dd,.specifications dd { font-weight: 700; overflow-wrap: anywhere; }
.card-facts:empty { padding-block: 6px; }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: auto; }
.price { font-size: clamp(20px,2.5vw,29px); line-height: 1.2; font-weight: 700; }
.card-bottom .button { font-size: 14px; padding-inline: 12px; min-height: 42px; }
.catalog-pages { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 25px; }
.empty-state { padding: 38px 20px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; background: white; }
.empty-state a { display: inline-block; margin-top: 12px; }

.about-section { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; padding-block: clamp(30px,4.5vw,56px); }
.about-grid p,.item-details p { color: var(--muted); overflow-wrap: anywhere; max-width: 68ch; }
.about-grid address { margin-top: 14px; color: var(--muted); overflow-wrap: anywhere; }

.detail-section { padding-block: 28px clamp(36px,5vw,64px); }
.back-link { color: var(--muted); font-size: 15px; text-underline-offset: 4px; }
.detail-heading { margin: 17px 0 24px; }
.detail-heading h1 { font-size: clamp(32px,4.7vw,58px); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(270px,1fr); gap: 22px; align-items: start; }
.gallery-main,.detail-placeholder { aspect-ratio: 1.52; border-radius: 12px; }
.gallery-main img { object-fit: contain; background: #e5e9e9; }
.gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 6px 2px 10px; margin-top: 6px; }
.gallery-thumbs a { display: block; flex: 0 0 88px; border-radius: 7px; border: 2px solid transparent; padding: 2px; }
.gallery-thumbs a[aria-current] { border-color: var(--deep); }
.gallery-thumbs img { width: 100%; height: 56px; object-fit: cover; border-radius: 4px; }
.item-summary { padding: clamp(16px,3vw,28px); border: 1px solid var(--line); border-radius: 12px; background: white; display: grid; gap: 12px; }
.summary-top { display: flex; flex-direction: column; align-items: start; gap: 12px; }
.status-inline { position: static; }
.item-summary .price { font-size: clamp(27px,4vw,41px); }
.item-summary .card-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.item-details { display: grid; align-items: start; gap: 22px; margin-top: 24px; }
.item-details>div { padding: clamp(16px,3vw,28px); background: white; border: 1px solid var(--line); border-radius: 12px; }
.item-details h2 { font-size: clamp(23px,3vw,33px); margin-bottom: 14px; }
.specifications { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.specifications>div { border-bottom: 1px solid var(--line); padding-block: 6px; }

.contact-section { background: var(--deep); color: white; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(22px,6vw,90px); align-items: center; padding-block: clamp(32px,5vw,62px); }
.contact-copy p { color: var(--light-ink); margin-top: 12px; overflow-wrap: anywhere; }
.contact-links { display: flex; flex-direction: column; align-items: start; gap: 9px; margin-top: 15px; }
.contact-links a { color: var(--accent); overflow-wrap: anywhere; }
.inquiry-form { background: white; color: var(--ink); border-radius: 12px; padding: clamp(16px,3.5vw,32px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inquiry-form label { display: block; font-weight: 700; margin-bottom: 12px; }
input,textarea {
    width: 100%; min-width: 0; min-height: 45px; border: 1px solid #bfcbd4; border-radius: 7px;
    background: #fff; color: var(--ink); font: inherit; padding: 9px 12px;
}
.inquiry-form input,.inquiry-form textarea { display: block; margin-top: 5px; }
.inquiry-form input[type=tel] { direction: ltr; text-align: right; }
textarea { resize: vertical; min-height: 90px; }
.optional,.privacy-note { color: var(--muted); font-size: 14px; font-weight: 400; }
.privacy-note { margin-bottom: 12px; }
.form-error,.form-success { font-weight: 700; border-radius: 7px; padding: 9px 12px; margin-bottom: 12px; }
.form-error { background: #fff1f1; color: #8b1d31; }
.form-success { background: #e9f6ef; color: #155c3d; }

.site-footer { background: #10201e; color: white; }
.auto-site .site-footer { background: #0c1d2c; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-block: 22px; }
.footer-name { font-weight: 700; text-decoration: none; }
.site-footer address,.powered { font-size: 14px; color: #dae5e5; overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { border: 1px solid #ffffff55; border-radius: 6px; text-decoration: none; padding: 5px 10px; font-size: 14px; }

@media (max-width: 1020px) {
    .wrap { width: calc(100% - 48px); }
    .catalog { gap: 14px; }
    .card-content { padding: 15px; }
    .card-facts { gap: 8px 13px; }
}
@media (max-width: 820px) {
    .catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .hero-intro { margin-block: 13px 19px; }
    .hero-visual img { aspect-ratio: 1.15; }
    .section-heading { align-items: start; flex-direction: column; }
    .search-form { width: min(100%,520px); }
    .detail-grid { grid-template-columns: minmax(0,1.4fr) minmax(230px,1fr); }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .header-row { min-height: 64px; gap: 10px; flex-wrap: wrap; }
    .brand { flex: 1; }
    .brand-logo { width: 46px; height: 46px; }
    .main-nav { flex-basis: 100%; padding-block: 5px 12px; justify-content: space-between; }
    .has-catalog-menu .menu-toggle {
        display: block; min-height: 42px; padding: 6px 12px; border: 1px solid var(--line);
        border-radius: 7px; background: white; color: var(--ink); font: inherit; cursor: pointer;
    }
    .has-catalog-menu .main-nav {
        display: none; position: absolute; inset: 100% 0 auto; background: white; padding: 12px 16px;
        border-top: 1px solid var(--line); box-shadow: 0 9px 12px #11253a18; gap: 10px;
    }
    .has-catalog-menu .main-nav.is-open { display: flex; align-items: stretch; flex-direction: column; }
    .main-nav a { padding: 8px 12px; }
    .hero-grid,.detail-grid,.contact-grid,.about-grid { grid-template-columns: 1fr; gap: 18px; }
    .hero-grid { padding-block: 25px 30px; }
    .hero-copy { padding-block: 0; }
    .hero-visual img { aspect-ratio: 1.68; }
    .hero-visual::before { inset: 7px 7px -7px -7px; }
    .section-heading { margin-bottom: 16px; }
    .search-form { flex-wrap: wrap; min-width: 0; }
    .search-form input { flex-basis: 145px; }
    .catalog { grid-template-columns: 1fr; gap: 16px; }
    .specifications { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-heading { margin-bottom: 16px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card-media img { transition: none; }
}

[hidden] { display: none !important; }
.search-form { flex-wrap: wrap; }
.search-form select {
    min-height: 45px; min-width: 0; max-width: 100%; padding: 8px 12px;
    border: 1px solid #bfcbd4; border-radius: 7px; background: white;
    color: var(--ink); font: inherit;
}
.site-information,.site-faq { padding-block: clamp(28px,5vw,60px); }
.site-information > h2,.site-faq > h2 { margin-bottom: 18px; }
.information-card {
    display: grid; gap: clamp(16px,4vw,40px); align-items: center;
    padding: clamp(16px,3.5vw,36px); margin-bottom: 14px;
    border: 1px solid var(--line); border-radius: 12px; background: white;
    overflow-wrap: anywhere;
}
.information-card.with-image { grid-template-columns: 1.15fr .85fr; }
.information-card h3 { margin-bottom: 8px; }
.information-card img,.information-page img { width: 100%; height: auto; border-radius: 9px; }
.information-card p,.information-page p { color: var(--muted); }
.information-links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.information-links .button { white-space: normal; overflow-wrap: anywhere; }
.information-page h1 { margin: 14px 0 24px; }
.information-page img { max-height: 580px; object-fit: contain; object-position: right; }
.information-page p { margin-top: 22px; max-width: 75ch; overflow-wrap: anywhere; }
.site-faq details {
    margin-bottom: 8px; padding: 0 18px; background: white;
    border: 1px solid var(--line); border-radius: 8px; overflow-wrap: anywhere;
}
.site-faq summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.site-faq details p { padding: 0 0 16px; color: var(--muted); }
.visitor-tools {
    position: fixed; inset: auto 14px 14px auto; z-index: 5;
    display: flex; align-items: end; gap: 10px; max-width: calc(100vw - 28px);
    pointer-events: none;
}
.visitor-tools > * { pointer-events: auto; }
.visitor-tools > button { box-shadow: 0 3px 15px #11253a33; }
.cookie-notice {
    background: white; color: var(--ink); border: 1px solid var(--line);
    padding: 16px 18px; border-radius: 10px; box-shadow: 0 6px 26px #11253a30;
    width: min(465px,100%); max-height: 55vh; overflow: auto;
}
.cookie-notice h2,.accessibility-dialog h2 { font-size: 1.25em; }
.cookie-notice p { margin: 6px 0 12px; }
.footer-settings {
    color: white; text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer; font: inherit; padding: 4px 0; border: 0; background: transparent;
}
.catalog-share { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.contact-copy .catalog-share { margin-top: 16px; border-color: #ffffff52; }
.catalog-share summary { cursor: pointer; font-weight: 700; }
.catalog-share .button-row { gap: 8px; margin-top: 10px; }
.catalog-share .button { padding-inline: 12px; }
.share-address { display: grid; gap: 4px; margin-top: 10px; font-size: .9em; }
.share-status:not(:empty) { margin-top: 6px; font-size: .9em; }
.agency-contrast .button-whatsapp { background: #000; border-color: currentColor; }
.accessibility-dialog {
    color: var(--ink); background: white; width: min(420px,calc(100% - 28px));
    border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px,4vw,26px);
}
.accessibility-dialog::backdrop { background: #07152199; }
.accessibility-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.accessibility-options { display: grid; gap: 8px; margin-block: 16px; }
.accessibility-options label { display: flex; align-items: center; gap: 10px; padding-block: 4px; }
.accessibility-options input { width: 22px; min-height: 22px; margin: 0; accent-color: var(--deep); }
.agency-large body { font-size: 20px; }
.agency-large h1 { font-size: clamp(39px,6vw,84px); }
.agency-large h2,.agency-large h3 { font-size: 1.5em; }
.agency-large .hero-intro,.agency-large .site-footer *,.agency-large .clear-search { font-size: inherit; }
.agency-links a { text-decoration: underline !important; text-underline-offset: .2em; }
.agency-motion { scroll-behavior: auto; }
.agency-motion *,.agency-motion *::before,.agency-motion *::after { animation: none !important; transition: none !important; }
.agency-contrast body {
    --ink: black; --muted: #222; --line: #303030; --paper: white;
    --deep: black; --deep-secondary: #202020; --light-ink: white; --accent: #ffdf77;
}
.agency-contrast .site-footer,.agency-contrast .stock-card .stock-status { background: black; color: white; }
.agency-contrast .site-bar { border-color: black; }
.agency-contrast :focus-visible { outline-offset: 3px; outline: 3px solid #1265e3; }
@media (max-width: 850px) {
    .main-nav { gap: 12px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .information-card.with-image { grid-template-columns: 1fr; }
    .visitor-tools { flex-direction: column; align-items: end; }
}
