/* Arm Broker — site stylesheet
   Layout concept: "Ararat skyline" — the logo's black band carries the hero and footer, orange line accents,
   white record-like cards in between; listings read like cadastral cards (ID, floor 5/9, m²).
   Single light look by choice: background and every color are set explicitly. */
:root {
  --bg: #f5f4f2;
  --surface: #ffffff;
  --surface-2: #ece9e4;
  --ink: #141414;
  --muted: #625d56;
  --line: #e1ddd6;
  --accent: #ed9e28;        /* Arm Broker orange, from the logo */
  --accent-ink: #141414;
  --accent-text: #a35f00;   /* orange dark enough for text on white */
  --deep: #111111;          /* logo black */
  --deep-2: #262626;
  --deep-ink: #f7f5f2;
  --deep-muted: #b7b1a8;
  --ok: #2c7a4b;
  --font-display: "Montserrat", "Noto Sans Armenian", "Segoe UI", system-ui, sans-serif;
  --font-body: "Golos Text", "Noto Sans Armenian", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20,20,20,.06), 0 8px 24px -12px rgba(20,20,20,.2);
  color-scheme: light;
}
html[lang|="hy"] {
  --font-display: "Noto Sans Armenian", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans Armenian", "Golos Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; margin: 0; color: inherit; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(40px, 6vw, 72px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head p { color: var(--muted); max-width: 60ch; margin-top: 6px; }
html[lang|="hy"] .eyebrow { text-transform: none; letter-spacing: .02em; }
.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #f5b24f; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-deep { background: var(--deep); color: var(--deep-ink); }
.btn-deep:hover { background: var(--deep-2); color: var(--deep-ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 40px; height: 40px; object-fit: contain; }
.logo-word { font: 800 1.12rem/1 "Montserrat", system-ui, sans-serif; letter-spacing: .02em; white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface-2); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 4px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--muted); text-decoration: none; letter-spacing: .04em; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--surface); }
.header-call { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 68px 0 auto 0; margin-top: env(safe-area-inset-top, 0px); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .main-nav:not(.open) { display: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px; font-size: 1rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-tools { margin-left: auto; }
  .header-call .label { display: none; }
  .header-call { padding: 10px; width: 44px; }
}
@media (max-width: 420px) { .logo-word { font-size: 1rem; } .lang-switch a { padding: 4px 7px; } }

/* Hero */
.hero { background: var(--deep); color: var(--deep-ink); position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); display: grid; gap: 28px; }
.hero h1 { max-width: 20ch; }
.hero-sub { color: var(--deep-muted); max-width: 58ch; font-size: 1.05rem; }
.hero-skyline { position: absolute; right: 0; bottom: 0; width: min(760px, 70%); opacity: .55; pointer-events: none; }
.hero-skyline svg { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .hero-skyline { width: 120%; opacity: .25; } }

.search-box { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 16px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.45); position: relative; z-index: 1; max-width: 980px; }
.deal-toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.deal-toggle label { position: relative; }
.deal-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.deal-toggle span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.deal-toggle input:checked + span { background: var(--ink); color: var(--surface); }
.deal-toggle input:focus-visible + span { outline: 3px solid var(--accent); }
.search-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
@media (max-width: 860px) { .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .search-grid .btn { grid-column: 1 / -1; } }
@media (max-width: 460px) { .search-grid { grid-template-columns: 1fr; } }

/* Forms */
.field { display: grid; gap: 4px; min-width: 0; }
.field label, .field .label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { background: #e6f3ea; color: var(--ok); border: 1px solid #bfdcc8; padding: 12px 14px; border-radius: 8px; font-weight: 500; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip small { color: var(--muted); font-weight: 500; }

/* Listing cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--ink); font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.badge.rent { background: var(--deep); color: var(--deep-ink); }
.badge.sale { background: var(--accent); color: var(--accent-ink); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card-price { font: 600 1.2rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.card-price small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.price-amd { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card-addr { color: var(--muted); font-size: .88rem; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink); list-style: none; font-variant-numeric: tabular-nums; }
.specs li { display: inline-flex; gap: 4px; }
.specs span { color: var(--muted); }
.card-id { position: absolute; top: 10px; right: 10px; background: rgba(17,17,17,.75); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* Districts */
.districts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.district { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.district:hover { border-color: var(--deep); color: var(--deep); }
.district small { color: var(--muted); font-size: .8rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.service { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.service svg { width: 34px; height: 34px; color: var(--deep); }
.service p { color: var(--muted); }
.service ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: .93rem; }

/* Split / band */
.band { background: var(--deep); color: var(--deep-ink); }
.band p { color: var(--deep-muted); }
.band a:not(.btn) { color: var(--accent); }
.band .eyebrow { color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.points { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.points svg { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.points strong { display: block; margin-bottom: 2px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); font: 800 1.7rem/1 "Montserrat", system-ui, sans-serif; color: var(--accent-text); }
.steps p { color: var(--muted); font-size: .93rem; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(22px, 4vw, 36px); border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.cta h2 { max-width: 28ch; }
.cta p { max-width: 55ch; margin-top: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--muted); max-width: 70ch; }
.faq summary h3 { font: inherit; }

/* Breadcrumbs & page header */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 22px 26px; display: grid; gap: 10px; }
.page-head p { color: var(--muted); max-width: 70ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Archive */
.archive { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.filters h2 { font-size: 1rem; font-family: var(--font-body); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.archive-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.archive-bar .field { grid-template-columns: auto auto; align-items: center; gap: 8px; }
.result-count { font-weight: 600; }
.type-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.type-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.type-tabs a[aria-current="page"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 12px; justify-items: start; }
.filters-toggle { display: none; }
.seo-text { margin-top: 40px; color: var(--muted); max-width: 75ch; display: grid; gap: 10px; }
.seo-text h2 { color: var(--ink); font-size: 1.15rem; }
@media (max-width: 900px) {
  .archive { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters:not(.open) .filters-body { display: none; }
  .filters-toggle { display: inline-flex; }
}
.filters-body { display: grid; gap: 14px; }

/* Listing detail */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--surface-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--surface-2); max-width: 100%; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.detail-main { display: grid; gap: 20px; min-width: 0; }
.spec-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 0; margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); margin-right: 20px; }
.spec-table dt { color: var(--muted); font-size: .9rem; }
.spec-table dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { padding: 6px 12px; background: var(--surface-2); border-radius: 999px; font-size: .88rem; }
.aside { display: grid; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
@media (max-width: 960px) { .aside { position: static; } }
.price-box .price-main { font: 700 1.9rem/1.1 var(--font-body); font-variant-numeric: tabular-nums; }
.price-box .price-main small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-box .price-amd { font-size: .95rem; }
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-btns .btn { padding-inline: 10px; }
.contact-btns .btn:first-child { grid-column: 1 / -1; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .88rem; }
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  body.has-mobile-bar { padding-bottom: 72px; }
}

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.contact-list svg { width: 22px; height: 22px; color: var(--deep); margin-top: 3px; }
.contact-list .label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem; background: var(--surface); }
.socials svg { width: 18px; height: 18px; }

.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.sample-note { background: #fff5e6; border: 1px solid #f2d3a2; color: #6b3d00; border-radius: 8px; padding: 10px 14px; font-size: .88rem; }

/* Footer */
.site-footer { background: var(--deep); color: var(--deep-ink); margin-top: clamp(40px, 6vw, 72px); }
.site-footer .wrap { padding-block: 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--deep-muted); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--deep-ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { color: var(--deep-muted); font-size: .93rem; }
.site-footer .logo { color: var(--deep-ink); margin-bottom: 12px; }
.site-footer .slogan { color: var(--accent); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.agent { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); }
.agent svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--surface-2); color: var(--ink); }
.agent .label { display: block; font-size: .8rem; color: var(--muted); }
.prose .agent { border-top: 0; padding-top: 0; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--deep-muted); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.footer-socials svg { width: 18px; height: 18px; }
.hero .eyebrow { color: var(--accent); }
@media (max-width: 440px) {
  .header-row { gap: 8px; }
  .header-tools { gap: 6px; }
  .logo { gap: 6px; }
  .logo img { width: 32px; height: 32px; }
  .logo-word { font-size: .86rem; }
  .lang-switch a { padding: 4px 6px; font-size: .72rem; }
}

/* ===================================================================== v1.1 design refinements */

/* Logged-in admin bar: keep the sticky header visible below it */
.admin-bar .site-header { top: calc(env(safe-area-inset-top, 0px) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: calc(env(safe-area-inset-top, 0px) + 46px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: env(safe-area-inset-top, 0px); } }
.admin-bar .filters, .admin-bar .aside { top: calc(env(safe-area-inset-top, 0px) + 116px); }

/* Page header: full-width intro, accent rule, logo watermark */
.page-head { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--surface) 0%, #faf8f5 100%); }
.page-head::after { content: ""; position: absolute; right: max(16px, calc((100vw - 1200px) / 2)); bottom: -28px; width: 260px; height: 258px; background: url("../img/logo-mark.png") center / contain no-repeat; opacity: .09; pointer-events: none; }
.page-head .wrap { padding-block: 28px 40px; gap: 14px; position: relative; z-index: 1; }
.page-head h1 { max-width: 30ch; }
.page-head h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 16px; }
.page-head p { max-width: 62rem; font-size: 1.08rem; line-height: 1.7; color: #4d4943; }
.page-head .meta-line { font-size: .9rem; }
@media (max-width: 860px) { .page-head::after { width: 150px; height: 149px; bottom: -18px; opacity: .07; } }
.page-head + .wrap.section, .page-head + .section { padding-top: clamp(28px, 4vw, 44px); }

/* Section headings */
.section-head h2 { position: relative; }
.section-head p { font-size: 1rem; }

/* Two-column content blocks become cards */
.split > .prose, .split > section.prose { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); align-content: start; }
.band .split > div { background: none; border: 0; padding: 0; }
.prose h2 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); margin-top: 0; }
.prose h2 + * { margin-top: 2px; }
.prose > h2:not(:first-child) { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.prose ul:not(.points):not(.contact-list) { list-style: none; padding: 0; gap: 10px; }
.prose ul:not(.points):not(.contact-list) li { position: relative; padding-left: 30px; }
.prose ul:not(.points):not(.contact-list) li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: #fdf0dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a35f00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose .points svg { color: var(--accent-text); }
.points span { color: var(--muted); }
.band .points span { color: var(--deep-muted); }
.band .points svg { color: var(--accent); }

/* Services: icon badge, check-mark bullets, hover */
.service { gap: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service:hover { border-color: #e9cfa7; box-shadow: var(--shadow); transform: translateY(-2px); }
.service svg { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: #fdf0dc; color: var(--accent-text); }
.service h2, .service h3 { font-family: var(--font-display); font-size: 1.12rem; }
.service ul { list-style: none; padding: 12px 0 0; margin-top: auto; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.service li { position: relative; padding-left: 22px; font-size: .92rem; }
.service li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Steps: numbered badges joined by a line */
.steps li { position: relative; padding-top: 22px; }
.steps li::before { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--accent); font-size: 1.15rem; margin-bottom: 6px; }
.steps h3 { font-size: 1.05rem; }

/* Chips: muted when empty */
.chip.is-empty { color: var(--muted); }
.chip small { background: var(--surface-2); border-radius: 999px; padding: 1px 8px; font-size: .78rem; }
.chip:hover small { background: #fdf0dc; }

/* Cards */
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card-price .on-request { font-size: 1rem; color: var(--accent-text); }
.specs:empty { display: none; }
.card h3 { font-family: var(--font-display); font-size: 1.02rem; }

/* Contact list and socials */
.contact-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fdf0dc; color: var(--accent-text); margin-top: 0; }
.contact-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list a { font-weight: 600; }

/* Detail blocks */
.detail-block h2 { font-size: 1.25rem; }
.price-box { border-top: 4px solid var(--accent); }

/* FAQ */
.faq details[open] { border-color: #e9cfa7; box-shadow: var(--shadow); }
.faq summary h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(110deg, #ed9e28 0%, #f3b24f 100%); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -20px; bottom: -40px; width: 200px; height: 198px; background: url("../img/logo-mark.png") center / contain no-repeat; filter: brightness(0); opacity: .08; }
.cta > * { position: relative; z-index: 1; }

/* Archive */
.seo-text { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); max-width: none; }
.seo-text p { max-width: 75ch; }
.empty { justify-items: center; text-align: center; padding: 40px 24px; }


/* ═══════════════════════════════════════════════════════
   Gallery navigation — prev/next arrows + dots + mobile swipe
   ═══════════════════════════════════════════════════════ */

/* Position the main image container for absolute children */
.gallery-main { position: relative; }

/* Prev / Next arrow buttons */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  padding: 0;
}
.gallery-nav:hover,
.gallery-nav:focus-visible { background: rgba(0,0,0,.72); outline: none; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* Dot indicators */
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, transform .2s;
  pointer-events: auto;
}
.gallery-dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* Thumbnail row: scrollable horizontally on mobile */
@media (max-width: 640px) {
  .thumbs {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 6px;
  }
  .thumbs::-webkit-scrollbar { height: 4px; }
  .thumbs::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 2px;
  }
  .thumbs button {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    scroll-snap-align: start;
    aspect-ratio: unset;
  }
}

/* Cursor hint while dragging main image on desktop */
.gallery-main { cursor: grab; }
.gallery-main:active { cursor: grabbing; }
