/* Şenel Hukuk Bürosu — site styles.
   Palette comes from the office sign: graphite wall, brass horse. Warm paper for reading. */

:root {
  --bg: #f6f4ef;
  --surface: #fffdf9;
  --sunken: #eeebe3;
  --ink: #1c1d1f;
  --ink-2: #44464b;
  --muted: #64666b;
  --line: #e0dbcf;
  --line-strong: #cfc8b8;
  --gold: #84621c;          /* text-safe brass, 5:1 on --bg */
  --gold-bright: #c39a45;   /* logo / decoration only */
  --gold-wash: #efe6d2;
  --graphite: #24262b;
  --graphite-ink: #f1efe9;
  --graphite-muted: #b4b1aa;
  --focus: #b07d1a;
  --ok: #2f6b3f;
  --err: #a3322a;
  --shadow: 0 1px 2px rgba(60, 44, 12, .06), 0 8px 24px -12px rgba(60, 44, 12, .18);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-sm: 6px;
  --r: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141517;
    --surface: #1b1c1f;
    --sunken: #101113;
    --ink: #ecebe6;
    --ink-2: #c6c3bc;
    --muted: #9c9992;
    --line: #2b2c30;
    --line-strong: #3a3b40;
    --gold: #d8b468;
    --gold-bright: #d8b468;
    --gold-wash: #2a2418;
    --graphite: #0d0e10;
    --graphite-ink: #ecebe6;
    --graphite-muted: #a3a09a;
    --focus: #e2bf72;
    --ok: #7fbf8e;
    --err: #e58a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141517; --surface: #1b1c1f; --sunken: #101113; --ink: #ecebe6; --ink-2: #c6c3bc; --muted: #9c9992;
  --line: #2b2c30; --line-strong: #3a3b40; --gold: #d8b468; --gold-bright: #d8b468; --gold-wash: #2a2418;
  --graphite: #0d0e10; --graphite-ink: #ecebe6; --graphite-muted: #a3a09a; --focus: #e2bf72; --ok: #7fbf8e; --err: #e58a80;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-wash); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.i { flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .8125rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* Buttons: 48px tall, 8px corners, one primary per view. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.25rem; border-radius: 8px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold-bright); color: #1b1608; }
.btn-gold:hover { background: #d9b05a; color: #1b1608; }
.btn .num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 42px; color: var(--gold-bright); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font: 500 1.375rem/1 var(--serif); letter-spacing: -.01em; }
.brand-sub { font: 500 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 500 .9688rem/1 var(--sans); text-decoration: none; color: var(--ink-2); border-radius: var(--r-sm);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--gold-bright); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.menu-btn, .call-btn-sm { display: none; }

@media (max-width: 1040px) {
  .nav, .header-actions .btn { display: none; }
  .menu-btn, .call-btn-sm { display: inline-grid; }
  .site-header .wrap { min-height: 64px; }
  .brand-mark { width: 22px; height: 36px; }
  .brand-name { font-size: 1.25rem; }
}

/* Mobile menu sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 14, 12, .45); animation: fade .25s var(--ease); }
.sheet-panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--bg);
  display: flex; flex-direction: column; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  animation: slide .32s var(--ease); overflow-y: auto;
}
.sheet-top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; margin-bottom: 8px; }
.sheet nav { display: grid; }
.sheet nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  font: 500 1.5rem/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line);
}
.sheet nav a .i { color: var(--muted); }
.sheet-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.sheet-foot p { color: var(--muted); font-size: .9375rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure picture, .hero-figure img { border-radius: var(--r); }
.hero-figure img { aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% 30%; width: 100%; box-shadow: var(--shadow); }
.hero-figure figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .875rem; color: var(--muted); }
.hero-figure figcaption .i { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 16 / 10; }
}

/* Facts row: flat, separated by type and space only. */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 26px 24px 26px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font: 500 1.25rem/1.2 var(--serif); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-top: 12px; }
.section-head .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 44px; }
.section-head .more .i { transition: transform .25s var(--ease); }
.section-head .more:hover .i { transform: translateX(3px); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: start; gap: 8px; } }

/* Practice areas: two-column index list, numbered. */
.practice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 72px); counter-reset: pa; }
.practice-list li { border-top: 1px solid var(--line); counter-increment: pa; }
.practice-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.practice-list a { display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 22px 0; text-decoration: none; }
.practice-list a::before { content: counter(pa, decimal-leading-zero); font: 500 .875rem/1 var(--sans); color: var(--gold); font-variant-numeric: tabular-nums; }
.practice-list h3 { font-size: 1.5rem; transition: color .2s var(--ease); }
.practice-list p { grid-column: 2; color: var(--muted); font-size: .9688rem; }
.practice-list .i { grid-row: 1; grid-column: 3; color: var(--muted); transition: transform .25s var(--ease), color .2s var(--ease); align-self: center; }
.practice-list a:hover h3 { color: var(--gold); }
.practice-list a:hover .i { transform: translateX(4px); color: var(--gold); }
@media (max-width: 760px) {
  .practice-list { grid-template-columns: 1fr; }
  .practice-list li:nth-last-child(2) { border-bottom: 0; }
  .practice-list a { grid-template-columns: 36px 1fr auto; padding: 18px 0; }
  .practice-list h3 { font-size: 1.3125rem; }
}

/* Lawyers */
.lawyers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.lawyer { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease); }
.lawyer:hover { transform: translateY(-2px); color: inherit; }
.monogram { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--graphite); color: var(--gold-bright); font: 500 1.625rem/1 var(--serif); letter-spacing: .02em; overflow: hidden; }
.monogram img { width: 100%; height: 100%; object-fit: cover; }
.lawyer h3 { font-size: 1.5rem; }
.lawyer .role { color: var(--gold); font-weight: 600; font-size: .875rem; letter-spacing: .02em; margin-top: 4px; }
.lawyer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .9688rem; }
.lawyer li { display: flex; gap: 10px; }
.lawyer li::before { content: ""; width: 5px; height: 5px; margin-top: .65em; border-radius: 50%; background: var(--gold-bright); flex: none; }

/* Article lists */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 150px 1fr auto; gap: 6px 28px; padding: 24px 0; text-decoration: none; align-items: baseline; }
.post-list time, .post-list .cat { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-list h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.25; transition: color .2s var(--ease); }
.post-list p { grid-column: 2; color: var(--muted); font-size: .9688rem; max-width: 62ch; }
.post-list .i { color: var(--muted); align-self: center; grid-row: 1 / span 2; grid-column: 3; transition: transform .25s var(--ease), color .2s var(--ease); }
.post-list a:hover h3 { color: var(--gold); }
.post-list a:hover .i { transform: translateX(4px); color: var(--gold); }
@media (max-width: 760px) {
  .post-list a { grid-template-columns: 1fr; padding: 20px 0; }
  .post-list p { grid-column: 1; }
  .post-list .i { display: none; }
}

/* Dark band */
.band { background: var(--graphite); color: var(--graphite-ink); }
.band .eyebrow { color: var(--gold-bright); }
.band a:hover { color: var(--gold-bright); }
.band .muted { color: var(--graphite-muted); }
.contact-band .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-band h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); margin: 14px 0 18px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-lines li a, .contact-lines li > span { display: flex; align-items: center; gap: 14px; min-height: 56px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-lines .i { color: var(--gold-bright); }
.contact-lines strong { display: block; font-weight: 600; }
.contact-lines small { display: block; color: var(--graphite-muted); font-size: .8125rem; }
@media (max-width: 860px) { .contact-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); margin-top: 14px; max-width: 20ch; }
.page-head .lead { margin-top: 16px; font-size: 1.1875rem; color: var(--ink-2); max-width: 42em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: var(--muted); font-size: .9375rem; }

.layout-article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(48px, 7vw, 96px); }
.layout-article.no-aside { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .layout-article { grid-template-columns: minmax(0, 1fr); } }

/* Long-form legal text: serif, measured line length. */
.prose { font: 400 1.1875rem/1.72 var(--serif); color: var(--ink); max-width: 68ch; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 1.75rem; margin-top: 1.9em; line-height: 1.2; }
.prose h3 { font-size: 1.375rem; margin-top: 1.6em; line-height: 1.25; }
.prose h4 { font: 600 1.0625rem/1.4 var(--sans); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .55em; }
.prose a { color: var(--gold); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold-bright); color: var(--ink-2); font-style: italic; }
.prose img { border-radius: var(--r-sm); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-sm); }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font: 400 .9688rem/1.5 var(--sans); }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; }

.aside { position: sticky; top: 100px; display: grid; gap: 28px; }
@media (max-width: 1000px) { .aside { position: static; } }
.toc h2, .aside-block h2 { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.active { border-left-color: var(--gold-bright); color: var(--ink); }
.toc .l3 a { padding-left: 26px; font-size: .875rem; }
@media (max-width: 1000px) { .toc { display: none; } }

.callout { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.callout h2 { font: 500 1.375rem/1.2 var(--serif); letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-bottom: 8px; }
.callout p { color: var(--ink-2); font-size: .9688rem; margin-bottom: 16px; }
.callout .btn { width: 100%; }
.callout .btn + .btn { margin-top: 8px; }

.note { margin-top: 40px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--sunken); color: var(--muted); font-size: .9375rem; line-height: 1.55; max-width: 68ch; }

.related { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.75rem; margin-bottom: 20px; }

/* Article index filter: plain text tabs with underline. */
.filters { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.filters a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.filters a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold-bright); }
.filters a .count { margin-left: 6px; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; color: var(--muted); font-size: .9375rem; }

/* Search */
.search-form { display: flex; gap: 8px; max-width: 640px; margin-top: 24px; }
.field, .search-form input[type="search"] {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 400 1.0625rem/1.3 var(--sans);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field:focus, .search-form input[type="search"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-bright) 30%, transparent); }
textarea.field { min-height: 160px; resize: vertical; line-height: 1.55; }
.results { list-style: none; padding: 0; margin: 24px 0 0; }
.results li { padding: 22px 0; border-top: 1px solid var(--line); }
.results .kind { font-size: .8125rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.results h2 { font-size: 1.375rem; margin: 6px 0; }
.results h2 a { text-decoration: none; }
.results p { color: var(--muted); font-size: .9688rem; }
mark { background: var(--gold-wash); color: inherit; padding: 0 2px; border-radius: 2px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .i { color: var(--gold); margin-top: 3px; }
.contact-list strong { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-size: 1.125rem; }
.map { margin-top: 28px; border-radius: var(--r); overflow: hidden; background: var(--sunken); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; color: var(--muted); }

.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form .hint { font-size: .875rem; color: var(--muted); }
.form .consent { display: flex; gap: 10px; align-items: start; font-weight: 400; color: var(--ink-2); font-size: .9375rem; }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.alert-ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
.alert-err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.field-err { color: var(--err); font-size: .875rem; font-weight: 500; }

/* 404 */
.notfound { padding: clamp(64px, 12vw, 160px) 0; }
.notfound h1 { font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem); margin: 16px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--graphite-muted); padding: clamp(48px, 7vw, 80px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9688rem; }
.site-footer a { text-decoration: none; color: var(--graphite-ink); }
.site-footer a:hover { color: var(--gold-bright); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font: 600 .8125rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite-muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid li a { display: inline-flex; min-height: 36px; align-items: center; }
.foot-brand .brand { color: var(--graphite-ink); }
.foot-brand .brand-sub { color: var(--graphite-muted); }
.foot-brand p { margin-top: 16px; max-width: 32ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; }
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.theme-switch button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--graphite-muted); font: 500 .8125rem/1 var(--sans); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: var(--graphite-ink); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Mobile quick actions: call / WhatsApp / directions within thumb reach. */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1fr;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 8px; text-decoration: none; font: 600 .75rem/1 var(--sans); color: var(--ink); }
  .quickbar a.primary { background: var(--ink); color: var(--bg); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Reveal on scroll (progressive: content is visible without JS). */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .quickbar, .aside, .related, .note { display: none !important; }
  body { background: #fff; color: #000; }
  .layout-article { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }
