/*
Theme Name: 7 Emlak Ajansı
Author: Mühendis Kafası
Description: Sakarya ve İzmir bölgelerinde hizmet veren 7 Emlak Ajansı için hazırlanmış, 7 Emlak Portföy Yönetimi eklentisiyle uyumlu özel WordPress teması.
Version: 2.6.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yedi-emlak
*/

:root {
  --navy: #07124f;
  --navy-deep: #030b37;
  --green: #11601b;
  --yellow: #ffd213;
  --cream: #f5f3ec;
  --ink: #11162d;
  --muted: #677083;
  --line: #dfe2e6;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 11px 15px; background: var(--yellow); color: var(--navy); font-weight: 750; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; background: linear-gradient(180deg, rgba(3,11,55,.84), rgba(3,11,55,.48)); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.header-inner { height: 84px; position: relative; display: grid; grid-template-columns: 172px minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.brand img { width: 172px; height: 58px; object-fit: contain; }
.brand, .brand a { display: flex; align-items: center; }
.brand { justify-self: start; }
.custom-logo-link { line-height: 0; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); color: rgba(255,255,255,.9); font-size: 13px; }
.desktop-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.desktop-nav li { list-style: none; }
.desktop-nav a { position: relative; padding: 31px 0 29px; font-weight: 650; white-space: nowrap; transition: color .2s; }
.desktop-nav a::after { content: ''; position: absolute; right: 0; bottom: 18px; left: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: center; transition: transform .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav .current-menu-item > a, .desktop-nav .current_page_item > a { color: white; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav .current-menu-item > a::after, .desktop-nav .current_page_item > a::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-cta, .header-portal { min-height: 46px; padding: 0 16px; font-size: 13px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.header-cta { border: 1px solid var(--yellow); background: var(--yellow); color: var(--navy); }
.header-cta:hover { background: white; border-color: white; transform: translateY(-2px); }
.header-cta span { color: var(--green); }
.header-portal { border: 1px solid rgba(255,255,255,.52); background: rgba(255,255,255,.08); color: white; }
.header-portal:hover { background: white; border-color: white; color: var(--navy); transform: translateY(-2px); }
.portal-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; flex: 0 0 18px; }
.portal-icon svg { width: 100%; height: 100%; display: block; }
.menu-toggle, .mobile-menu { display: none; }
.menu-toggle { color: white; border: 1px solid rgba(255,255,255,.4); background: transparent; padding: 10px 15px; cursor: pointer; }
.mobile-menu { position: absolute; right: 0; top: calc(100% + 1px); width: min(290px, calc(100vw - 32px)); background: white; color: var(--ink); padding: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.2); }
.mobile-menu.is-open { display: grid; }
.mobile-menu ul { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-menu li { list-style: none; }
.mobile-menu a { padding: 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mobile-menu-actions { display: grid; gap: 8px; padding-top: 12px; }
.mobile-menu-actions a { min-height: 44px; padding: 10px 12px; border: 1px solid transparent; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; }
.mobile-menu-portal { background: var(--navy); color: white; }
.mobile-menu-valuation { background: var(--yellow); color: var(--navy); }
body.admin-bar .site-header { top: 32px; }

.hero { min-height: 780px; position: relative; color: white; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,48,.96) 0%, rgba(4,13,54,.82) 36%, rgba(4,13,54,.25) 70%, rgba(3,11,42,.2) 100%), linear-gradient(0deg, rgba(3,10,42,.72) 0%, transparent 42%); }
.hero-content { position: relative; z-index: 2; padding-top: 95px; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 750; color: var(--green); display: flex; align-items: center; gap: 10px; }
.eyebrow > span { display: inline-block; width: 28px; height: 2px; background: var(--yellow); }
.eyebrow.light { color: rgba(255,255,255,.75); }
.hero h1 { max-width: 850px; margin: 25px 0 23px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(50px, 6vw, 79px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.hero h1 em { color: var(--yellow); font-weight: 500; }
.hero-content > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; margin-top: 37px; }
.button { min-height: 54px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 0; font-weight: 720; font-size: 14px; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--navy); }
.button-ghost { background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.45); }
.hero-trust { z-index: 2; position: absolute; bottom: 37px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.hero-trust > div { min-width: 0; padding: 3px clamp(20px, 3vw, 38px); border-left: 1px solid rgba(255,255,255,.23); display: flex; flex-direction: column; gap: 7px; }
.hero-trust > div:first-child { padding-left: 0; border-left: none; }
.hero-trust > div:last-child { padding-right: 0; }
.hero-trust strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.hero-trust span { color: rgba(255,255,255,.57); font-size: 12px; }

.search-panel-wrap { margin-top: -1px; position: relative; z-index: 3; }
.search-panel { background: white; border: 1px solid var(--line); display: grid; grid-template-columns: .85fr 2.15fr; box-shadow: 0 20px 60px rgba(7,18,79,.09); }
.search-intro { padding: 34px 38px; background: var(--cream); }
.mini-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 750; }
.search-intro h2 { font-family: Georgia, serif; font-size: 24px; line-height: 1.24; margin: 10px 0 0; font-weight: 500; }
.need-options { display: grid; grid-template-columns: repeat(3, 1fr); }
.need-options a { min-height: 154px; padding: 24px 25px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; border-left: 1px solid var(--line); transition: background .2s; }
.need-options a:hover, .need-options a:focus-visible { background: #fbfaf5; }
.need-number { grid-column: 1; grid-row: 1; color: #9aa0ab; font-size: 11px; }
.need-icon { grid-column: 2; grid-row: 1; width: 34px; height: 34px; justify-self: end; color: var(--navy); transition: color .2s, transform .2s; }
.need-icon svg { width: 100%; height: 100%; display: block; }
.need-options a:hover .need-icon, .need-options a:focus-visible .need-icon { color: var(--green); transform: translateY(-2px); }
.need-arrow { grid-column: 2; grid-row: 2; align-self: end; color: var(--green); font-size: 20px; }
.need-options strong { grid-column: 1; grid-row: 2; align-self: end; font-size: 13px; line-height: 1.4; padding-right: 12px; }

.section { padding-top: 115px; padding-bottom: 115px; }
.section-heading h2, .about-copy h2, .purpose-section h2, .contact-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4.1vw, 56px); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; margin: 20px 0 0; }
.split-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; }
.split-heading > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 5px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { padding: 31px 27px 35px; border-left: 1px solid var(--line); min-height: 370px; display: flex; flex-direction: column; transition: background .25s, transform .25s; }
.service-card:last-child { border-right: 1px solid var(--line); }
.service-card:hover, .service-card:focus-within { background: var(--navy); color: white; transform: translateY(-5px); }
.service-top { display: flex; justify-content: space-between; color: #979dab; font-size: 11px; }
.service-top > span:last-child { color: var(--green); font-size: 18px; }
.service-icon { width: 52px; height: 52px; margin-top: 30px; border: 1px solid #dbe8d7; background: #f1f6ef; color: var(--green); display: grid; place-items: center; transition: color .2s, background .2s, border-color .2s; }
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-top > span:last-child, .service-card:focus-within .service-top > span:last-child { color: var(--yellow); }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { color: var(--yellow); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.service-card h3 { font-family: Georgia, serif; font-size: 25px; line-height: 1.2; font-weight: 500; margin: 22px 0 16px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; }
.service-card:hover h3, .service-card:focus-within h3 { color: white; }
.service-card:hover p, .service-card:focus-within p { color: rgba(255,255,255,.72); }
.service-card > a { margin-top: auto; padding-top: 25px; font-size: 12px; color: var(--green); font-weight: 700; }
.service-card > a span { margin-left: 7px; }
.service-card:hover > a, .service-card:focus-within > a { color: var(--yellow); }

.about-section { background: var(--cream); padding: 115px 0; }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 90px; align-items: center; }
.about-image { position: relative; }
.about-image > img { width: 100%; aspect-ratio: 1.04 / 1; object-fit: cover; }
.about-badge { position: absolute; right: -24px; bottom: 34px; background: var(--yellow); color: var(--navy); width: 190px; height: 118px; display: flex; align-items: center; gap: 15px; padding: 20px; box-shadow: 0 15px 40px rgba(7,18,79,.14); }
.about-badge strong { font-family: Georgia, serif; font-size: 63px; font-weight: 500; line-height: 1; }
.about-badge span { font-size: 11px; line-height: 1.5; font-weight: 720; }
.about-copy h2 { font-size: clamp(39px, 4vw, 54px); }
.about-copy > p { color: var(--muted); line-height: 1.75; margin: 24px 0; }
.about-copy ul { list-style: none; padding: 0; margin: 28px 0 31px; display: grid; gap: 17px; }
.about-copy li { display: flex; align-items: flex-start; gap: 14px; }
.about-copy li > span { width: 26px; height: 26px; border-radius: 50%; background: #e1eddc; color: var(--green); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: 0 0 26px; }
.about-copy li div { display: flex; flex-direction: column; gap: 4px; }
.about-copy li strong { font-size: 14px; }
.about-copy li small { color: var(--muted); font-size: 12px; }
.text-link { font-size: 13px; color: var(--green); font-weight: 750; border-bottom: 1px solid rgba(17,96,27,.35); padding-bottom: 6px; }

.centered-heading { text-align: center; }
.eyebrow.centered { justify-content: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; position: relative; }
.process-grid::before { content: ''; position: absolute; height: 1px; background: var(--line); top: 67px; left: 12.5%; right: 12.5%; }
.process-card { text-align: center; padding: 0 27px; position: relative; }
.process-number { color: #a2a7b0; font-size: 11px; }
.process-dot { width: 12px; height: 12px; margin: 28px auto 32px; border-radius: 50%; background: var(--yellow); border: 3px solid white; box-shadow: 0 0 0 1px var(--green); position: relative; z-index: 2; }
.process-card h3 { font-family: Georgia, serif; font-size: 21px; font-weight: 500; margin: 0 0 12px; }
.process-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }

.purpose-section { background: var(--navy); color: white; position: relative; overflow: hidden; }
.purpose-section::after { content: '7'; position: absolute; right: -50px; top: -110px; font-family: Georgia, serif; font-size: 520px; line-height: 1; color: rgba(255,210,19,.035); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
.purpose-grid article { min-height: 580px; padding: 100px 72px 90px 0; position: relative; }
.purpose-grid article + article { border-left: 1px solid rgba(255,255,255,.14); padding-left: 72px; padding-right: 0; }
.purpose-number { position: absolute; right: 35px; top: 47px; color: rgba(255,255,255,.23); font-family: Georgia, serif; font-size: 54px; }
.purpose-section h2 { font-size: clamp(36px, 3.45vw, 49px); margin-top: 24px; }
.purpose-section article > p { color: rgba(255,255,255,.65); line-height: 1.85; margin: 27px 0 0; font-size: 14px; }

.contact-section { background: var(--navy-deep); color: white; padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.contact-copy > p { color: rgba(255,255,255,.62); line-height: 1.75; max-width: 470px; }
.location-note { display: flex; align-items: center; gap: 17px; margin-top: 45px; }
.location-note > span { width: 56px; height: 56px; background: var(--yellow); color: var(--green); font-size: 35px; font-family: Georgia, serif; display: grid; place-items: center; }
.location-note div { display: flex; flex-direction: column; gap: 5px; }
.location-note small { color: rgba(255,255,255,.5); }
.contact-form { background: white; color: var(--ink); padding: 38px; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: 11px; font-weight: 750; display: grid; gap: 8px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fafafa; color: var(--ink); padding: 12px 10px; outline: none; font-size: 13px; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { resize: vertical; }
.form-button { justify-self: start; margin-top: 5px; }

.footer { background: #020728; color: rgba(255,255,255,.68); }
.footer-top { display: flex; align-items: center; gap: 45px; padding-block: 45px; }
.footer-top img { width: 165px; }
.footer-top p { font-family: Georgia, serif; color: white; font-size: 18px; }
.footer-links { margin-left: auto; display: flex; gap: 28px; font-size: 12px; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; justify-content: space-between; font-size: 10px; }

.portfolio-section { background: #f7f7f4; padding: 105px 0; }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 48px; }
.portfolio-heading h2 { font-family: Georgia, serif; font-size: clamp(38px, 4vw, 54px); font-weight: 500; margin: 18px 0 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { background: white; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7,18,79,.1); }
.portfolio-image { display: block; aspect-ratio: 1.46 / 1; overflow: hidden; background: var(--navy); }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.portfolio-card:hover .portfolio-image img { transform: scale(1.025); }
.portfolio-placeholder { height: 100%; display: grid; place-items: center; color: var(--yellow); font-family: Georgia, serif; font-size: 90px; }
.portfolio-body { padding: 24px; }
.portfolio-location { color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 750; }
.portfolio-body h2, .portfolio-body h3 { font-family: Georgia, serif; font-size: 24px; line-height: 1.22; font-weight: 500; margin: 11px 0 14px; }
.portfolio-meta { display: flex; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.portfolio-meta { flex-wrap: wrap; }
.portfolio-meta span + span { border-left: 1px solid var(--line); padding-left: 12px; }
.portfolio-price { display: block; font-family: Georgia, serif; font-size: 22px; color: var(--navy); }

.inner-page { min-height: 65vh; }
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; padding: 190px 0 90px; }
.page-hero.compact { padding-bottom: 70px; }
.page-hero h1 { font-family: Georgia, serif; font-size: clamp(46px, 6vw, 76px); line-height: 1.05; font-weight: 500; margin: 20px 0 12px; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 16px; }
.archive-grid { row-gap: 30px; }
.pagination { margin-top: 45px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span { padding: 10px 14px; border: 1px solid var(--line); }
.pagination .current { background: var(--navy); color: white; }
.empty-state { padding: 70px; text-align: center; background: var(--cream); }
.empty-state strong { font-family: Georgia, serif; font-size: 28px; }
.single-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .6fr); gap: 48px; align-items: start; }
.single-cover img { width: 100%; max-height: 670px; object-fit: cover; }
.single-content { font-size: 16px; line-height: 1.85; padding-top: 32px; }
.property-sidebar { position: sticky; top: 30px; border: 1px solid var(--line); padding: 30px; }
.single-price { display: block; font-family: Georgia, serif; color: var(--navy); font-size: 32px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.property-sidebar dl { margin: 0 0 28px; }
.property-sidebar dl div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.property-sidebar dt { color: var(--muted); font-size: 12px; }
.property-sidebar dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }
.property-sidebar .button { width: 100%; }
.content-page { max-width: 820px; font-size: 16px; line-height: 1.85; }
.post-summary { padding: 30px 0; border-bottom: 1px solid var(--line); }
.post-summary h2 { font-family: Georgia, serif; font-size: 30px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-notice { padding: 13px 15px; margin: 0; font-size: 13px; }
.form-notice.success { color: #155724; background: #e5f5e8; }
.form-notice.error { color: #842029; background: #f8d7da; }
.form-consent { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; font-weight: 500 !important; color: var(--muted); line-height: 1.45; }
.form-consent input { width: 16px; height: 16px; margin-top: 2px; padding: 0; }

.team-section { background: #fff; padding: 110px 0; }
.team-heading { margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team-card { border: 1px solid var(--line); display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: 330px; transition: transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7,18,79,.09); }
.team-monogram { background: var(--navy); color: var(--yellow); font-family: Georgia, serif; font-size: 38px; display: grid; place-items: center; }
.team-body { min-width: 0; padding: 28px 24px; display: flex; flex-direction: column; }
.team-role { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 750; }
.team-body h3 { font-family: Georgia, serif; font-size: 27px; line-height: 1.08; font-weight: 500; margin: 10px 0 8px; }
.team-body > p { color: var(--muted); margin: 0; font-size: 13px; }
.team-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 13px; }
.team-actions a { overflow-wrap: anywhere; }
.team-actions a:hover { color: var(--green); }
.team-actions .whatsapp-link, .team-actions .region-link { color: var(--green); font-weight: 750; margin-top: 4px; }
.office-address { display: grid; gap: 7px; margin-top: 30px; color: rgba(255,255,255,.62); font-style: normal; max-width: 480px; font-size: 13px; line-height: 1.55; }
.office-address strong { color: white; }
.office-address a { color: var(--yellow); font-weight: 700; justify-self: start; }
.form-privacy { color: var(--muted); font-size: 10px; line-height: 1.55; margin: 0; }
.form-privacy a { color: var(--green); font-weight: 750; text-decoration: underline; }

.portfolio-filter-section { background: var(--cream); border-bottom: 1px solid var(--line); padding: 28px 0; }
.portfolio-filters { display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)) auto; gap: 12px; align-items: end; }
.portfolio-filters label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-filters select { min-height: 45px; padding: 8px 10px; background: white; border: 1px solid var(--line); color: var(--ink); font-size: 12px; text-transform: none; letter-spacing: 0; }
.portfolio-filters .button { min-height: 45px; padding-inline: 18px; white-space: nowrap; }
.filter-reset { grid-column: 1 / -1; color: var(--green); font-size: 11px; justify-self: end; }
.portfolio-result-head { display: flex; justify-content: space-between; margin: -25px 0 24px; color: var(--muted); font-size: 12px; }
.portfolio-image, .single-cover { position: relative; }
.availability-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 11px; background: var(--green); color: white; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.availability-badge.status-reserved { background: #b47a00; }
.availability-badge.status-sold, .availability-badge.status-rented { background: #5b6272; }

.property-gallery { display: grid; gap: 14px; }
.single-cover img { width: 100%; max-height: 670px; aspect-ratio: 1.42 / 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.gallery-thumb { border: 2px solid transparent; background: none; padding: 0; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--yellow); opacity: 1; }
.gallery-thumb img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; }
.map-link { display: block; color: var(--green); font-size: 12px; font-weight: 750; margin: -9px 0 25px; }
.listing-agent { background: var(--cream); padding: 20px; display: grid; gap: 5px; margin-bottom: 14px; }
.listing-agent > span { color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 750; }
.listing-agent strong { font-family: Georgia, serif; font-size: 22px; margin-top: 3px; }
.listing-agent small { color: var(--muted); margin-bottom: 10px; }
.listing-agent a { font-size: 12px; }
.whatsapp-button { width: 100%; background: #167a2c; color: white; margin-bottom: 10px; }
.print-button { width: 100%; background: white; color: var(--navy); border: 1px solid var(--navy); }

.legal-content { max-width: 850px; font-size: 15px; line-height: 1.85; }
.yedi-b2b-page-content { width: min(1440px, calc(100% - 48px)); margin-inline: auto; padding: 36px 0 84px; }
.yedi-b2b-page-content > .yedi-b2b-portal { margin-inline: auto; }
.legal-content h2 { font-family: Georgia, serif; color: var(--navy); font-size: 29px; font-weight: 500; margin: 44px 0 12px; }
.legal-content a { color: var(--green); text-decoration: underline; }
.legal-content ul { padding-left: 22px; }
.legal-note { background: var(--cream); border-left: 4px solid var(--yellow); padding: 20px 22px; margin-top: 42px; }

@media (max-width: 1180px) {
  .desktop-nav, .header-actions { display: none; }
  .header-inner { display: flex; justify-content: space-between; }
  .menu-toggle { display: block; }
  .hero { min-height: 720px; }
  .search-panel { grid-template-columns: 1fr; }
  .search-intro { text-align: center; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { border-bottom: 1px solid var(--line); }
  .about-grid { gap: 55px; }
  .about-badge { right: -10px; }
  .contact-grid { gap: 50px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 120px 1fr; min-height: 270px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-filters { grid-template-columns: repeat(3, 1fr); }
  .portfolio-filters .button { width: 100%; }
}

@media (max-width: 720px) {
	.yedi-b2b-page-content { width: 100%; padding: 18px 0 48px; }
  .shell { width: min(100% - 32px, 1180px); }
  .header-inner { height: 76px; }
  .brand img { width: 142px; height: 52px; }
  .hero { min-height: 720px; justify-content: flex-start; }
  .hero-bg { background-position: 66% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,10,48,.97), rgba(3,10,48,.65)), linear-gradient(0deg, rgba(3,10,48,.85), transparent); }
  .hero-content { padding-top: 145px; }
  .hero h1 { font-size: clamp(38px, 12.3vw, 48px); }
  .hero-content > p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trust { position: relative; bottom: auto; left: auto; transform: none; margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-trust > div { padding: 6px 10px; gap: 5px; }
  .hero-trust strong { font-size: 16px; line-height: 1.15; }
  .hero-trust span { font-size: 10px; line-height: 1.35; }
  .need-options { grid-template-columns: 1fr; }
  .need-options a { min-height: 110px; border-left: 0; border-top: 1px solid var(--line); }
  .need-icon { width: 28px; height: 28px; }
  .section { padding-block: 80px; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; border-right: 1px solid var(--line); }
  .about-section { padding-block: 80px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 10px; bottom: 15px; }
  .process-grid { grid-template-columns: 1fr; gap: 38px; }
  .process-grid::before { display: none; }
  .process-dot { margin: 18px auto 20px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-grid article { min-height: auto; padding: 75px 0; }
  .purpose-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; }
  .purpose-number { right: 0; top: 35px; }
  .contact-section { padding-block: 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 25px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; }
  .single-grid { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
  .team-section { padding-block: 80px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 90px 1fr; min-height: 270px; }
  .team-monogram { font-size: 34px; }
  .team-body { padding: 26px 22px; }
  .portfolio-filters { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  .site-header, .footer, .page-hero .eyebrow, .gallery-thumbs, .whatsapp-button, .print-button, .map-link { display: none !important; }
  body { color: #111; background: white; }
  .page-hero { background: white !important; color: #111; padding: 0 0 15px; border-bottom: 2px solid #07124f; }
  .page-hero h1 { font-size: 32px; margin: 0 0 8px; }
  .page-hero p { color: #444; }
  .section { padding: 22px 0; }
  .shell { width: 100%; }
  .single-grid { grid-template-columns: 1.55fr .7fr; gap: 24px; }
  .single-cover img { max-height: 390px; }
  .property-sidebar { position: static; padding: 18px; }
  .single-content { font-size: 12px; line-height: 1.55; }
  .listing-agent { break-inside: avoid; }
  a { text-decoration: none !important; }
}
