/* ============================================================
   michaelakarafa.sk — v3 design system
   Based on v2 prototype (Playfair Display + Inter, gold accent)
   ============================================================ */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --bg:           hsl(40, 33%, 98%);
  --bg-alt:       hsl(38, 30%, 94%);
  --card:         hsl(40, 25%, 96%);
  --fg:           hsl(0, 0%, 12%);
  --fg-muted:     hsl(0, 0%, 38%);
  --fg-subtle:    hsl(0, 0%, 55%);
  --border:       hsl(38, 20%, 86%);
  --border-strong:hsl(38, 20%, 72%);
  --accent:       hsl(38, 45%, 52%);
  --accent-soft:  hsl(38, 45%, 88%);
  --accent-ink:   hsl(0, 0%, 12%);

  --radius:    2px;
  --radius-lg: 4px;
  --container: 1280px;
  --pad-x:     1.25rem;
  --pad-section: 6rem;
}

@media (min-width: 768px) {
  :root { --pad-x: 2rem; }
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.1;
}

/* ── Layout ──────────────────────────────────────────────── */
.container-x {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section-y {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}

/* ── Typography helpers ──────────────────────────────────── */
.serif    { font-family: var(--font-serif); }
.sans     { font-family: var(--font-sans); }
.mono     { font-family: 'Courier New', monospace; font-size: 0.85em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-muted   { color: var(--fg-muted); }
.text-subtle  { color: var(--fg-subtle); }
.text-accent  { color: var(--accent); }

/* ── Decorative ──────────────────────────────────────────── */
.diamond {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--accent);
}
.flourish::before,
.flourish::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
  gap: 0.4rem;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover  { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent  { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent:hover   { filter: brightness(0.93); }
.btn-outline { border-color: var(--border-strong); color: var(--fg); }
.btn-outline:hover  { border-color: var(--accent); color: var(--accent); }
.btn-ghost   { color: var(--fg); border-color: transparent; }
.btn-ghost:hover    { color: var(--accent); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.7rem; }

/* ── Inputs ──────────────────────────────────────────────── */
.input-std {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--fg);
  transition: border-color 0.2s;
  appearance: none;
}
.input-std:focus   { outline: none; border-color: var(--accent); }
.input-std::placeholder { color: var(--fg-subtle); }
select.input-std   { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px; padding-right: 2.5rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-family: var(--font-sans); color: var(--fg-muted); }
.form-error { color: #c0392b; font-size: 0.8rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card-std {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card-std:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.08);
}

/* ── Badge ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--bg-alt);
  color: var(--fg-muted);
}
.badge-sold     { background: var(--fg); color: var(--bg); }
.badge-accent   { background: var(--accent); color: var(--accent-ink); }
.badge-reserved { background: hsl(25,80%,92%); color: hsl(25,65%,35%); }

/* ── Price ───────────────────────────────────────────────── */
.price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
}

/* ── Image placeholder ───────────────────────────────────── */
.img-ph {
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt) 0, var(--bg-alt) 12px,
    var(--border) 12px, var(--border) 13px
  );
}

/* ── Scrollbar ───────────────────────────────────────────── */
.thin-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-up { animation: fadeInUp 0.8s ease-out both; }
.anim-in { animation: fadeIn  0.6s ease-out both; }
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.3s; }

/* ── Flash messages ──────────────────────────────────────── */
.flash {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.flash--success { background: #e8f5e9; border: 1px solid #c3e6c3; color: #2e7d32; }
.flash--error   { background: #fdf3f3; border: 1px solid #e8c3c3; color: #7a2a2a; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: hsla(40, 33%, 98%, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-text    { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name    { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; }
.logo-sub     { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-subtle); }

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link--active { color: var(--accent); }

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--fg);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav { border-top: 1px solid var(--border); background: hsla(40,33%,98%,0.97); backdrop-filter: blur(12px); }
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.mobile-nav-link { font-family: var(--font-sans); font-size: 1rem; color: var(--fg-muted); }
.mobile-nav-link--active,
.mobile-nav-link:hover { color: var(--accent); }

.hidden { display: none !important; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); margin-top: 6rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-name { font-size: 1.2rem; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; max-width: 360px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.social-btn svg   { width: 16px; height: 16px; }

.footer-col-title { margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-links a { color: var(--fg-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.link-atomia { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--accent); }
.link-atomia:hover { text-decoration: underline; }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--fg-subtle);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--fg-subtle); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

/* ── Section header component ────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }
.section-header .eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 48rem; margin-bottom: 1rem; }
.section-header .lede { font-size: 1.05rem; color: var(--fg-muted); max-width: 40rem; line-height: 1.7; }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg-subtle); }
.breadcrumbs a { color: var(--fg-subtle); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs-sep { opacity: 0.4; }

/* ── Property card ───────────────────────────────────────── */
.property-card { display: block; }
.property-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.05); }
.property-card-badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.4rem; }
.property-card-badge-type { position: absolute; top: 1rem; right: 1rem; }
.property-card-body { padding: 1.5rem; }
.property-card-loc  { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--fg-subtle); font-family: var(--font-sans); margin-bottom: 0.5rem; }
.property-card-loc svg { width: 12px; height: 12px; flex-shrink: 0; }
.property-card-title { font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.3; }
.property-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.property-card-meta { display: flex; gap: 0.5rem; font-size: 0.75rem; color: var(--fg-muted); font-family: var(--font-sans); }

/* ── Grid helpers ────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── Hero — editorial ────────────────────────────────────── */
.hero-editorial { background: var(--bg-alt); overflow: hidden; }
.hero-editorial-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .hero-editorial-inner { grid-template-columns: 1fr 1fr; padding-top: 5rem; padding-bottom: 6rem; }
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.98;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-title em { color: var(--accent); }
.hero-lede  { font-size: 1.1rem; color: var(--fg-muted); max-width: 32rem; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.hero-stats   { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; }
.hero-stat-lbl { font-family: var(--font-sans); font-size: 0.72rem; color: var(--fg-muted); margin-top: 0.25rem; max-width: 120px; line-height: 1.4; }

.hero-photo { position: relative; }
.hero-photo-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  max-width: 240px;
}
@media (min-width: 768px) { .hero-photo-card { display: block; } }

/* ── Stats band ──────────────────────────────────────────── */
.stats-band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 600px) { .stats-inner { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .stats-inner { grid-template-columns: repeat(4,1fr); } }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.5rem,4vw,3.5rem); color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.stat-lbl { font-family: var(--font-sans); font-size: 0.8rem; color: var(--fg-muted); line-height: 1.4; max-width: 160px; }
.stats-inner > div { text-align: center; }
.stats-inner > div .stat-lbl { margin: 0 auto; }

/* ── About preview ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-photo { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-title { font-size: clamp(1.8rem, 3vw, 2.75rem); margin-bottom: 1.25rem; text-wrap: balance; }
.about-title em { color: var(--accent); font-style: italic; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-bottom: 2.5rem; }
.about-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; }
.about-check svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }

/* ── Districts ───────────────────────────────────────────── */
.districts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .districts-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .districts-grid { grid-template-columns: repeat(3,1fr); } }
.district-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
}
.district-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.district-card:hover img { transform: scale(1.05); }
.district-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75));
}
.district-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem;
  color: #fff;
}
.district-card-body .eyebrow { color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; }
.district-card-name  { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.25rem; }
.district-card-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

/* ── Process ─────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(5,1fr); } }
.process-step { border-top: 1px solid var(--border-strong); padding-top: 1.25rem; }
.process-num  { font-family: var(--font-serif); color: var(--accent); font-size: 1.1rem; margin-bottom: 0.75rem; }
.process-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-desc  { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 1.25rem; }
.testimonial-stars svg { width: 13px; height: 13px; }
.testimonial-quote { font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; line-height: 1.5; flex: 1; margin-bottom: 1.5rem; }
.testimonial-name  { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; }
.testimonial-role  { font-family: var(--font-sans); font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.2rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; align-items: start; } }
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--fg);
  background: none;
  border: none;
  cursor: pointer;
}
.faq-question-text { font-family: var(--font-serif); font-size: 1.1rem; flex: 1; line-height: 1.4; }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--fg-muted); transition: transform 0.25s; margin-top: 0.1rem; }
.faq-icon.open { transform: rotate(180deg); }
.faq-answer { padding-bottom: 1.5rem; padding-right: 2rem; color: var(--fg-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── Blog preview ────────────────────────────────────────── */
.blog-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .blog-preview-grid { grid-template-columns: 1fr 1fr; } }
.blog-preview-featured-img { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1.5rem; }
.blog-preview-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-preview-featured:hover .blog-preview-featured-img img { transform: scale(1.04); }
.blog-post-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-subtle); margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-post-meta .cat { color: var(--accent); }
.blog-preview-featured h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 0.75rem; transition: color 0.2s; line-height: 1.2; text-wrap: balance; }
.blog-preview-featured:hover h3 { color: var(--accent); }
.blog-preview-side { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-side-item { display: grid; grid-template-columns: 2fr 3fr; gap: 1.25rem; align-items: start; }
.blog-side-img  { aspect-ratio: 4/3; overflow: hidden; }
.blog-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-side-item:hover .blog-side-img img { transform: scale(1.05); }
.blog-side-title { font-size: 1.05rem; margin-bottom: 0.5rem; transition: color 0.2s; line-height: 1.3; }
.blog-side-item:hover .blog-side-title { color: var(--accent); }
.blog-side-excerpt { font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ── CTA dark band ───────────────────────────────────────── */
.cta-dark {
  background: var(--fg);
  color: var(--bg);
  padding: 4rem 2.5rem;
  text-align: center;
}
.cta-dark .eyebrow { color: var(--accent); }
.cta-dark h2 { color: var(--bg); font-size: clamp(1.8rem, 4vw, 3.5rem); max-width: 40rem; margin: 1.25rem auto; text-wrap: balance; line-height: 1.1; }
.cta-dark h2 em { color: var(--accent); }
.cta-dark p  { color: rgba(255,255,255,0.7); max-width: 32rem; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-dark-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ── Page hero (subpages) ────────────────────────────────── */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-hero-title { font-size: clamp(2.2rem, 4vw, 4rem); margin-top: 1.5rem; text-wrap: balance; line-height: 1.05; }
.page-hero-title em { color: var(--accent); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: 1fr 1fr; } }

/* ── Listing filters ─────────────────────────────────────── */
.filters-bar {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.filters-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
}
.filters-inner::-webkit-scrollbar { display: none; }
.filter-search-wrap { position: relative; flex: 1; min-width: 180px; max-width: 280px; }
.filter-search-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--fg-subtle); width: 14px; height: 14px; pointer-events: none; }
.filter-search-wrap .input-std { padding-left: 2.25rem; }
.filter-select { width: auto; min-width: 130px; }
.filter-range-wrap { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; font-size: 0.8rem; color: var(--fg-muted); }
.filter-range-wrap input[type="range"] { width: 120px; accent-color: var(--accent); }
.filter-sort { margin-left: auto; width: auto; min-width: 160px; }
.filters-reset { font-size: 0.75rem; color: var(--fg-subtle); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.filters-reset:hover { color: var(--accent); }

/* ── Property detail ─────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 8fr 4fr; } }

.gallery-main { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; margin-top: 0.5rem; }
.gallery-thumb { aspect-ratio: 4/3; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badges { position: absolute; top: 1.25rem; left: 1.25rem; display: flex; gap: 0.4rem; }

.detail-aside {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1023px) {
  .detail-aside {
    border-top: 3px solid var(--accent);
    padding: 1.25rem 1.25rem 1.5rem;
  }
}
.detail-location { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.detail-price    { font-family: var(--font-serif); font-size: 2.2rem; color: var(--accent); margin-bottom: 1.25rem; }
@media (max-width: 1023px) { .detail-price { font-size: 2.6rem; margin-bottom: 1rem; } }
.detail-specs    { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .detail-specs { grid-template-columns: repeat(2,1fr); gap: 1rem; padding-bottom: 2rem; margin-bottom: 2rem; } }
.spec-label { font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-subtle); margin-bottom: 0.25rem; }
.spec-value { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; }
.detail-ctas { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.detail-ctas .btn-ghost { margin-top: .4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
@media (max-width: 1023px) { .detail-ctas { flex-direction: row; flex-wrap: wrap; } .detail-ctas .btn { flex: 1 1 auto; justify-content: center; } .detail-ctas .btn-ghost { flex-basis: 100%; border-top: 1px solid var(--border); padding-top: 1rem; } }

.detail-description p { font-size: .95rem; line-height: 1.7; color: var(--fg-muted); text-align: justify; margin-bottom: .85rem; }
.detail-description p:last-child { margin-bottom: 0; }

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) { .detail-content-grid { grid-template-columns: 8fr 4fr; } }

.features-list { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .features-list { grid-template-columns: repeat(2,1fr); } }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.feature-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }

.contact-card { padding: 2rem; position: sticky; top: 100px; }
.contact-card-agent { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.contact-card-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.contact-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-card-form { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-card-gdpr { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--fg-subtle); line-height: 1.5; }
.contact-card-gdpr a { color: var(--accent); }

/* ── Sold page ───────────────────────────────────────────── */
.sold-stats { padding-bottom: 3rem; }
.sold-stat-card { background: var(--bg); border: 1px solid var(--border); padding: 1.5rem; }
.sold-stat-num  { font-family: var(--font-serif); font-size: 2.25rem; color: var(--accent); margin-bottom: 0.5rem; }
.sold-stat-lbl  { font-family: var(--font-sans); font-size: 0.75rem; color: var(--fg-muted); line-height: 1.4; }

.sold-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sold-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.sold-card:hover .sold-card-img img { transform: scale(1.05); }
.sold-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.28); }
.sold-card-body { padding: 1.5rem; }
.sold-card-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.sold-spec-label { font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-subtle); margin-bottom: 0.25rem; }
.sold-spec-val   { font-family: var(--font-serif); font-size: 1.1rem; }
.sold-spec-val.positive { color: var(--accent); }

/* ── Blog listing ────────────────────────────────────────── */
.cat-filters { display: flex; gap: 0.5rem; padding: 1.25rem 0; overflow-x: auto; border-bottom: 1px solid var(--border); }
.cat-filters::-webkit-scrollbar { display: none; }
.cat-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cat-btn:hover  { border-color: var(--accent); color: var(--accent); }
.cat-btn.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.blog-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .blog-featured-grid { grid-template-columns: 7fr 5fr; } }
.blog-featured-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-title { font-size: clamp(1.6rem, 3vw, 2.75rem); line-height: 1.15; margin-bottom: 1.25rem; transition: color 0.2s; text-wrap: balance; }
.blog-featured:hover .blog-featured-title { color: var(--accent); }

.blog-card-img  { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1.25rem; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-title { font-size: 1.15rem; line-height: 1.3; margin-bottom: 0.5rem; transition: color 0.2s; text-wrap: balance; }
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ── Blog article ────────────────────────────────────────── */
.article-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-subtle); margin-bottom: 1.25rem; flex-wrap: wrap; }
.article-meta .cat { color: var(--accent); }
.article-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; margin-bottom: 2rem; text-wrap: balance; }
.article-author { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.article-author-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.article-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-author-name { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; }
.article-author-role { font-family: var(--font-sans); font-size: 0.75rem; color: var(--fg-muted); }
.article-cover { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 2.5rem; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-excerpt { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; margin-bottom: 2rem; }
.article-content { font-size: 1rem; line-height: 1.8; color: var(--fg-muted); text-align: justify; }
.article-content h2 { font-family: var(--font-serif); font-size: 1.75rem; color: var(--fg); margin-top: 3rem; margin-bottom: 1rem; }
.article-content h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--fg); margin-top: 2rem; margin-bottom: 0.75rem; }
.article-content p  { margin-bottom: 1.25rem; text-align: justify; }
.article-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--fg);
  margin: 2rem 0;
  text-align: justify;
}
.article-content div p { text-align: justify; }
.article-content div[style*="text-align:center"] p,
.article-content div[style*="text-align: center"] p { text-align: center; }
.article-content ul { padding-left: 1.25rem; margin-bottom: 1.25rem; list-style: disc; }
.article-content ol { padding-left: 1.25rem; margin-bottom: 1.25rem; list-style: decimal; }
.article-content li { margin-bottom: 0.4rem; }
.article-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }

/* ── Contact page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: 1px solid var(--border); }
.contact-info-icon { flex-shrink: 0; color: var(--accent); margin-top: 0.15rem; }
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-label { font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--fg-subtle); margin-bottom: 0.35rem; }
.contact-info-main  { font-family: var(--font-serif); font-size: 1.35rem; transition: color 0.2s; }
.contact-info-item a:hover .contact-info-main { color: var(--accent); }
.contact-info-sub   { font-family: var(--font-sans); font-size: 0.78rem; color: var(--fg-subtle); margin-top: 0.25rem; }

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form-grid { grid-template-columns: repeat(2,1fr); } }
.contact-form-full { grid-column: 1 / -1; }
.contact-gdpr-check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.8rem; color: var(--fg-muted); line-height: 1.5; margin-top: 0.5rem; }
.contact-gdpr-check a { color: var(--accent); }
.contact-gdpr-check input { margin-top: 0.15rem; accent-color: var(--accent); flex-shrink: 0; }
.form-success { text-align: center; padding: 4rem 1rem; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); margin: 0 auto 1.25rem; }
.form-success-icon svg { width: 26px; height: 26px; }

/* ── O mne ───────────────────────────────────────────────── */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .about-page-grid { grid-template-columns: 5fr 7fr; } }
.about-page-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) { .about-page-photo { position: sticky; top: 100px; } }
.about-services { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 2rem 0; }
@media (min-width: 640px) { .about-services { grid-template-columns: repeat(2,1fr); } }
.service-item { border: 1px solid var(--border); padding: 1.5rem; }
.service-title { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-desc  { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }

/* ── Admin ───────────────────────────────────────────────── */
.admin-body { min-height: 100vh; display: flex; background: var(--bg); }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-logo { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.6rem; }
.admin-sidebar-logo .serif { font-size: 1rem; }
.admin-nav { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: 2px; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: background 0.15s, color 0.15s;
}
.admin-nav-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.admin-nav-link:hover    { background: var(--bg); color: var(--fg); }
.admin-nav-link.active   { background: var(--fg); color: var(--bg); }
.admin-sidebar-user { padding: 1rem; border-top: 1px solid var(--border); }
.admin-sidebar-user-inner { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.admin-sidebar-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.admin-sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-sidebar-logout { font-size: 0.78rem; color: var(--fg-muted); transition: color 0.2s; }
.admin-sidebar-logout:hover { color: var(--accent); }

/* ── Admin hamburger (mobile) ── */
.admin-hamburger {
  display: none;
  position: fixed;
  top: .85rem;
  left: .85rem;
  z-index: 300;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .45rem .5rem;
  cursor: pointer;
  line-height: 0;
  color: var(--fg);
}
.admin-hamburger svg { display: block; }
.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 199;
}
@media (max-width: 899px) {
  .admin-hamburger { display: block; }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 200;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-overlay.open { display: block; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 4.5rem 1rem 2rem; }
  .admin-sidebar-logo { padding-left: 3.5rem; }
  .admin-page-header { padding-left: 3rem; }
}

.admin-main { flex: 1; overflow-x: hidden; }
@media (min-width: 900px) { .admin-main { margin-left: 240px; } }
.admin-content { padding: 2.5rem; max-width: 1100px; }

.kpi-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 900px) { .kpi-grid { grid-template-columns: repeat(4,1fr); } }
.kpi-card { background: var(--bg); border: 1px solid var(--border); padding: 1.5rem; }
.kpi-label { font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-subtle); margin-bottom: 0.75rem; }
.kpi-num   { font-family: var(--font-serif); font-size: 2.5rem; line-height: 1; }
.kpi-delta { font-family: var(--font-sans); font-size: 0.75rem; color: var(--accent); margin-top: 0.25rem; }

.admin-table-wrap { background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 0.875rem; }
.admin-table th { text-align: left; font-weight: 500; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-alt); }
.admin-table .actions { display: flex; gap: 0.5rem; justify-content: flex-end; }

.admin-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.admin-page-header h1 { font-size: 2rem; }

/* ── Admin shared table/card styles ─── */
.type-pill { display:inline-block;padding:.18rem .55rem;border-radius:20px;font-size:.7rem;font-weight:500;white-space:nowrap;background:var(--tc-bg,#eee);color:var(--tc-fg,#555) }
.feat-btn { background:none;border:none;cursor:pointer;padding:.2rem;line-height:1;transition:transform .15s;flex-shrink:0 }
.feat-btn:hover { transform:scale(1.2) }
.feat-btn svg { display:block }
.feat-btn.on  svg { fill:hsl(38,80%,52%);stroke:hsl(38,70%,45%) }
.feat-btn.off svg { fill:none;stroke:var(--border) }
.feat-btn.spin { opacity:.4;pointer-events:none }
.prop-tbl-wrap { overflow-x:auto }
.prop-tbl { width:100%;border-collapse:collapse;font-size:.875rem }
.prop-tbl th { padding:.6rem .75rem;text-align:left;font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--fg-muted);border-bottom:2px solid var(--border);white-space:nowrap }
.prop-tbl td { padding:.7rem .75rem;border-bottom:1px solid var(--border);vertical-align:middle }
.prop-tbl tr:last-child td { border-bottom:none }
.prop-tbl tr:hover td { background:var(--bg-alt) }
.prop-thumb { width:60px;height:44px;object-fit:cover;border-radius:4px;display:block;flex-shrink:0 }
.prop-thumb-ph { width:60px;height:44px;border-radius:4px;background:var(--bg-alt);border:1px solid var(--border);flex-shrink:0 }
.tbl-sub { font-size:.72rem;color:var(--fg-muted);margin-top:.15rem }
.tbl-price { font-weight:600;white-space:nowrap }
.tbl-actions { display:flex;gap:.3rem;align-items:center }

/* Admin card (mobile alternative to tables) */
.admin-cards { display:none }
@media (max-width:899px) {
  .admin-tbl-hide { display:none !important }
  .admin-cards { display:flex;flex-direction:column;gap:.65rem }
}
.admin-card { background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden }
.admin-card-inner { display:flex;align-items:stretch }
.admin-card-img { width:88px;flex-shrink:0 }
.admin-card-img img { width:100%;height:100%;object-fit:cover;display:block;min-height:88px }
.admin-card-img-ph { width:100%;min-height:88px;background:var(--bg-alt) }
.admin-card-info { flex:1;padding:.65rem .75rem;min-width:0 }
.admin-card-title { font-size:.875rem;font-weight:500;line-height:1.35;margin-bottom:.25rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical }
.admin-card-meta { font-size:.72rem;color:var(--fg-muted);display:flex;gap:.35rem;flex-wrap:wrap;align-items:center }
.admin-card-foot { display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;background:var(--bg-alt);border-top:1px solid var(--border);flex-wrap:wrap }
.admin-card-price { font-weight:600;font-size:.9rem }

.admin-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .admin-form-grid { grid-template-columns: repeat(2,1fr); } }
.admin-form-full { grid-column: 1 / -1; }
.admin-form-section { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 1rem; }
.admin-form-wrap { background: var(--bg); border: 1px solid var(--border); padding: 2rem; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}
.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.admin-login-logo { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.6rem; }
.admin-login-sub  { font-family: var(--font-sans); font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 2rem; }
.admin-login-form { display: flex; flex-direction: column; gap: 1rem; }

/* ── Utility ─────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-auto { margin-top: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
