/* =========================================================================
   Achrona Estate — stylesheet
   Luxury real estate: deep teal surfaces + gold accents.
   Light is the default theme; [data-theme="dark"] flips the palette.
   ========================================================================= */


:root {
  --gold:        #c9a84c;   
  --gold-light:  #e2c47a;   
  --teal-deep:   #1c3a3b;   
  --teal-surf:   #243f40;
  --teal-card:   #2d4f50;
  --teal-mid:    #5f8a8b;
  --teal-darkest:#162e2f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 10px 30px rgba(0,0,0,.10);
  --shadow-hover: 0 22px 50px rgba(0,0,0,.18);
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --border-gold: rgba(201,168,76,.25);
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Jost", system-ui, -apple-system, sans-serif;
}


:root, [data-theme="light"] {
  --bg:        #f6f3ec;
  --bg-alt:    #efe9dd;
  --surface:   #ffffff;
  --card:      #ffffff;
  --text:      #233536;
  --text-soft: #5d6f6f;
  --heading:   #1c3a3b;
  --accent:    var(--gold);
  --accent-2:  #a98a35;
  --border:    rgba(28,58,59,.12);
  --border-2:  rgba(201,168,76,.45);
  --header-bg: rgba(246,243,236,.88);
  --footer-bg: var(--teal-darkest);
  --hero-overlay: linear-gradient(90deg, rgba(22,46,47,.78) 0%, rgba(22,46,47,.45) 55%, rgba(22,46,47,.15) 100%);
  --on-accent: #1c3a3b;
}


[data-theme="dark"] {
  --bg:        var(--teal-deep);
  --bg-alt:    var(--teal-surf);
  --surface:   var(--teal-surf);
  --card:      var(--teal-card);
  --text:      #f5f0e8;
  --text-soft: #a0b4b5;
  --heading:   var(--gold-light);
  --accent:    var(--gold);
  --accent-2:  var(--gold-light);
  --border:    rgba(201,168,76,.22);
  --border-2:  rgba(201,168,76,.4);
  --header-bg: rgba(22,46,47,.85);
  --footer-bg: #122526;
  --hero-overlay: linear-gradient(90deg, rgba(15,30,31,.86) 0%, rgba(15,30,31,.55) 55%, rgba(15,30,31,.2) 100%);
  --on-accent: #16302f;
  --shadow-card: 0 10px 30px rgba(0,0,0,.35);
  --shadow-hover: 0 22px 50px rgba(0,0,0,.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--ff-display); color: var(--heading); font-weight: 600; line-height: 1.12; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--ff-body); font-weight: 500; font-size: .9rem;
  letter-spacing: .04em; cursor: pointer; transition: all .3s var(--ease);
  text-transform: uppercase;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,168,76,.35); }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .kicker { color: var(--accent); letter-spacing: .28em; font-size: .72rem; text-transform: uppercase; font-weight: 600; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 10px; }
.section-head p { color: var(--text-soft); }


.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .4s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative; width: 46px; height: 46px; flex: none; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-card), var(--teal-deep));
  box-shadow: inset 0 0 0 1px var(--border-gold);
}
.brand-mark .logo-mark-svg { width: 80%; height: 80%; }


.brand-logo-full { height: 62px; width: auto; max-width: 230px; object-fit: contain; display: block; border-radius: 8px; }
.brand-logo-footer { height: 88px; max-width: 260px; }
@media (max-width: 600px) { .brand-logo-full { height: 50px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700; color: var(--heading); letter-spacing: .02em; }
.brand-tag { font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  position: relative; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); font-weight: 400; padding: 6px 0; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 500; color: var(--heading); font-size: .9rem; white-space: nowrap; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .72rem; padding: 4px 9px; border-radius: 999px; color: var(--text-soft); letter-spacing: .04em; }
.lang-switch a.active { background: var(--accent); color: var(--on-accent); font-weight: 500; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: transparent; cursor: pointer; color: var(--accent); font-size: 1rem;
  display: grid; place-items: center; transition: all .3s;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
.theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: inline; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--heading); transition: .3s; }


.flash-wrap { padding-top: 18px; }
.flash { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 10px; font-size: .9rem; border: 1px solid; }
.flash-success { background: rgba(95,138,139,.12); border-color: var(--teal-mid); color: var(--heading); }
.flash-error { background: rgba(201,80,76,.12); border-color: #c9504c; color: #c9504c; }


.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: var(--hero-overlay), url("https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1900&q=80") center/cover no-repeat;
  color: #f5f0e8;
}
.hero::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 120px -60px rgba(15,30,31,.9); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 660px; padding: 60px 0; }
.hero-kicker { letter-spacing: .42em; font-size: .78rem; color: var(--gold-light); text-transform: uppercase; display: inline-flex; align-items: center; gap: 16px; }
.hero-kicker::after { content: ""; width: 60px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); color: #fff; margin: 22px 0; white-space: pre-line; letter-spacing: .01em; }
.hero h1 .gold { color: var(--gold-light); }
.hero p { font-size: 1.12rem; color: #e8e2d6; max-width: 520px; font-weight: 300; }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }


.search-bar {
  position: relative; z-index: 5; margin: -46px auto 0; max-width: var(--maxw);
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); }
.search-field select, .search-field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: .92rem;
}
.search-field select:focus, .search-field input:focus { outline: none; border-color: var(--accent); }
.search-bar .btn { height: 46px; }


.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prop-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.07); }
.prop-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.badge { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 500; backdrop-filter: blur(4px); }
.badge-type { background: var(--accent); color: var(--on-accent); }
.badge-status { background: rgba(15,30,31,.7); color: #fff; }
.badge-status.sold, .badge-status.rented { background: #c9504c; }
.prop-price { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(15,30,31,.85)); color: #fff; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; }
.prop-price small { font-family: var(--ff-body); font-size: .7rem; font-weight: 300; opacity: .8; }
.prop-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prop-body h3 { font-size: 1.32rem; margin-bottom: 6px; }
.prop-loc { color: var(--text-soft); font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.prop-feats { display: flex; gap: 18px; margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--text-soft); }
.prop-feats span { display: flex; align-items: center; gap: 6px; }
.prop-feats strong { color: var(--heading); font-weight: 500; }
.prop-card .btn { margin-top: auto; }


.stats-bar { background: var(--teal-deep); color: #f5f0e8; }
[data-theme="light"] .stats-bar { background: var(--teal-deep); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold-light); font-weight: 700; }
.stat .label { color: #a0b4b5; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; margin-top: 6px; }


.services { background: var(--bg-alt); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 32px 28px; text-align: left; transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.svc-icon { width: 52px; height: 52px; margin: 0 0 16px; color: var(--accent); }
.svc-icon svg { width: 100%; height: 100%; stroke: var(--accent); }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.svc-card p { font-size: .9rem; color: var(--text-soft); }
.svc-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.svc-list li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--text); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }


.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.agent-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s; }
.agent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.agent-photo { aspect-ratio: 1/1; overflow: hidden; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.agent-card:hover .agent-photo img { transform: scale(1.06); }
.agent-info { padding: 22px; text-align: center; }
.agent-info h3 { font-size: 1.3rem; }
.agent-info .spec { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 4px 0 12px; }
.agent-info .bio { font-size: .85rem; color: var(--text-soft); margin-bottom: 14px; }
.agent-contact { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; }
.agent-contact a { color: var(--text-soft); transition: color .2s; }
.agent-contact a:hover { color: var(--accent); }


.testimonials { background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-card); position: relative; }
.testi-card::before { content: "\201C"; font-family: var(--ff-display); font-size: 5rem; color: var(--accent); opacity: .25; position: absolute; top: 6px; left: 22px; line-height: 1; }
.testi-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.testi-text { font-family: var(--ff-display); font-size: 1.22rem; font-style: italic; color: var(--heading); margin-bottom: 18px; }
.testi-name { font-weight: 500; color: var(--accent); letter-spacing: .04em; }


.cta { background: linear-gradient(120deg, var(--teal-deep), var(--teal-card)); color: #f5f0e8; text-align: center; }
.cta h2 { color: var(--gold-light); font-size: clamp(2rem, 4vw, 3rem); }
.cta p { color: #c9d6d6; max-width: 520px; margin: 12px auto 28px; }


.page-hero { background: linear-gradient(120deg, var(--teal-deep), var(--teal-card)); color: #f5f0e8; padding: 70px 0 60px; text-align: center; }
.page-hero h1 { color: var(--gold-light); font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { color: #c9d6d6; margin-top: 8px; }
.breadcrumb { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }

.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.filter-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; box-shadow: var(--shadow-card); }
.filter-panel h3 { font-size: 1.2rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); }
.filter-group select, .filter-group input { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-family: var(--ff-body); }
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: var(--accent); }
.filter-actions { display: flex; gap: 10px; margin-top: 18px; }
.filter-actions .btn { flex: 1; padding: 12px; font-size: .76rem; }

.listings-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.results-count { color: var(--text-soft); font-size: .9rem; }
.results-count strong { color: var(--heading); }
.sort-control { display: flex; align-items: center; gap: 10px; }
.sort-control select { padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); color: var(--text); font-family: var(--ff-body); }
.listings-grid { grid-template-columns: repeat(2, 1fr); }

.no-results { text-align: center; padding: 80px 20px; color: var(--text-soft); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); transition: all .25s; padding: 0 10px; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pagination .disabled { opacity: .4; pointer-events: none; }


.prop-detail { padding-top: 36px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; }
.gallery-main { aspect-ratio: 16/10; cursor: zoom-in; overflow: hidden; }
.gallery-main img, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.gallery-thumb { overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-thumb img { transition: transform .5s var(--ease); }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-more { position: absolute; inset: 0; background: rgba(15,30,31,.65); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.6rem; }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 38px; align-items: start; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.detail-header h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.detail-loc { color: var(--text-soft); margin-top: 6px; }
.detail-price { font-family: var(--ff-display); font-size: 2.2rem; color: var(--accent); font-weight: 700; white-space: nowrap; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.fact { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.fact .fv { font-family: var(--ff-display); font-size: 1.6rem; color: var(--heading); font-weight: 600; }
.fact .fl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); margin-top: 4px; }
.detail-section { margin-bottom: 34px; }
.detail-section h2 { font-size: 1.5rem; margin-bottom: 12px; }
.detail-section p { color: var(--text-soft); }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); border: 1px solid var(--border); }

.sidebar-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 26px; position: sticky; top: 100px; }
.agent-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.agent-mini img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.agent-mini .name { font-family: var(--ff-display); font-size: 1.2rem; color: var(--heading); }
.agent-mini .spec { font-size: .76rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-soft); margin-bottom: 5px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: .92rem; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 90px; }
.field-error { border-color: #c9504c !important; }

/* =========================================================================
   About
   ========================================================================= */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.about-block h2 { font-size: 2rem; margin-bottom: 14px; }
.about-block p { color: var(--text-soft); margin-bottom: 14px; }
.about-block .kicker { color: var(--accent); letter-spacing: .24em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 30px 28px; }
.pillar h3 { font-size: 1.32rem; margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-size: .92rem; }
.about-signature { text-align: center; max-width: 760px; margin: 50px auto 0; font-family: var(--ff-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--heading); line-height: 1.3; }
@media (max-width: 900px) { .about-pillars { grid-template-columns: 1fr; } }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic { color: var(--accent); width: 26px; flex: none; font-size: 1.2rem; }
.contact-row .ct { color: var(--text-soft); font-size: .92rem; }
.contact-row .ct strong { display: block; color: var(--heading); font-weight: 500; margin-bottom: 2px; }

/* =========================================================================
   Blog
   ========================================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-card .media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .media img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-date { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.blog-body h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.blog-body p { color: var(--text-soft); font-size: .9rem; margin-bottom: 14px; }
.read-more { color: var(--accent); font-weight: 500; font-size: .85rem; letter-spacing: .04em; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--footer-bg); color: #c9d6d6; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.brand-footer .brand-name { color: var(--gold-light); }
.footer-about { color: #93a8a8; font-size: .9rem; margin-top: 16px; max-width: 340px; }
.footer-col h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a, .footer-col p { display: block; color: #93a8a8; font-size: .9rem; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-top: 1px solid rgba(201,168,76,.18); font-size: .82rem; color: #7e9494; }
.footer-admin { color: #7e9494; }
.footer-admin:hover { color: var(--gold); }

/* =========================================================================
   Lightbox
   ========================================================================= */
.lightbox { position: fixed; inset: 0; background: rgba(10,20,21,.94); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.6rem; cursor: pointer; padding: 10px 20px; user-select: none; opacity: .8; }
.lightbox .lb-nav:hover { opacity: 1; color: var(--gold-light); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* =========================================================================
   Admin
   ========================================================================= */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(120deg, var(--teal-deep), var(--teal-card)); padding: 20px; }
.admin-login-card { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-hover); }
.admin-login-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.6rem; }
.admin-login-card p { text-align: center; color: var(--text-soft); font-size: .88rem; margin-bottom: 24px; }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--teal-deep); color: #c9d6d6; padding: 26px 18px; }
.admin-sidebar .brand-name { color: var(--gold-light); font-size: 1.2rem; }
.admin-sidebar .brand-tag { color: var(--gold); }
.admin-nav { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { padding: 12px 16px; border-radius: var(--radius-sm); color: #a0b4b5; font-size: .9rem; transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(201,168,76,.14); color: var(--gold-light); }
.admin-main { padding: 34px 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 1.8rem; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.admin-stat { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 24px; }
.admin-stat .num { font-family: var(--ff-display); font-size: 2.4rem; color: var(--heading); font-weight: 700; }
.admin-stat .lbl { color: var(--text-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9rem; }
.admin-table th { background: var(--bg-alt); color: var(--heading); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; font-family: var(--ff-body); font-weight: 600; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr.unread { background: rgba(201,168,76,.07); }
.admin-table .thumb { width: 54px; height: 40px; border-radius: 6px; object-fit: cover; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: .72rem; background: var(--bg-alt); color: var(--text-soft); }
.tag.active { background: rgba(95,138,139,.18); color: var(--teal-mid); }
.tag.sold, .tag.rented { background: rgba(201,80,76,.16); color: #c9504c; }

.admin-card-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.admin-card-block h2 { font-size: 1.3rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.admin-form label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); margin-bottom: 6px; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-family: var(--ff-body); }
.admin-form textarea { min-height: 90px; resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--accent); }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }
.btn-sm { padding: 8px 16px; font-size: .74rem; }
.btn-danger { background: transparent; border: 1px solid #c9504c; color: #c9504c; }
.btn-danger:hover { background: #c9504c; color: #fff; }
.inline-form { display: inline; }
.existing-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.existing-images figure { position: relative; width: 90px; }
.existing-images img { width: 90px; height: 70px; object-fit: cover; border-radius: 6px; }
.existing-images button { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #c9504c; color: #fff; cursor: pointer; }

/* Admin — sidebar section labels */
.admin-nav-label { display: block; margin: 18px 0 4px; padding: 0 16px; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #6f8788; }
.admin-hint { color: var(--text-soft); font-size: .9rem; margin-bottom: 18px; max-width: 720px; }
.admin-stat.attention { border-left-color: #c9504c; }

/* Dashboard quick tiles */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: all .18s; }
.quick-tile:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.quick-tile .qt-ic { font-size: 1.5rem; color: var(--accent); }
.quick-tile .qt-t { font-weight: 600; color: var(--heading); font-size: 1.02rem; }
.quick-tile .qt-d { font-size: .8rem; color: var(--text-soft); }

/* Content editor */
.content-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.content-tabs a { padding: 8px 14px; border-radius: 999px; font-size: .8rem; border: 1px solid var(--border); color: var(--text-soft); background: var(--card); }
.content-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.content-tabs a.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.text-row { padding: 16px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 160px 1fr; gap: 18px; }
.text-row:last-child { border-bottom: 0; }
.text-key { font-family: monospace; font-size: .76rem; color: var(--text-soft); padding-top: 26px; word-break: break-all; }
.text-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.settings-prev { display: block; margin-top: 10px; width: 100%; max-width: 220px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: 1fr; }
  .text-row { grid-template-columns: 1fr; gap: 8px; }
  .text-key { padding-top: 0; }
  .text-langs { grid-template-columns: 1fr; }
}

/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 24px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow-card); }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .prop-grid, .listings-grid, .prop-grid.listings-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .about-split, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .agent-grid, .blog-grid, .testi-grid, .prop-grid, .listings-grid { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr; margin-top: -20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .brand-tag { display: none; }
  .hero { min-height: 78vh; }
  .admin-cards { grid-template-columns: 1fr; }
  .admin-main { padding: 24px 18px; }
  .admin-table { display: block; overflow-x: auto; }
}
