/* =========================================================
   Northwall Corporate Design System — PHP CMS Edition
   ========================================================= */

:root {
  --bg: #F5F2EC;
  --surface: #FFFFFF;
  --surface-2: #EFEBE2;
  --ink: #14130F;
  --ink-2: #2A2823;
  --muted: #6B6863;
  --muted-2: #9C9994;
  --line: #E4DFD4;
  --line-2: #D8D2C4;
  --accent: #B5532C;
  --accent-ink: #8C3F1F;
  --accent-soft: #F2D9CA;

  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px; --s-6: 24px;  --s-7: 32px;  --s-8: 40px;
  --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 112px; --s-13: 144px;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(20,19,15,.04);
  --shadow-sm: 0 2px 8px rgba(20,19,15,.05), 0 1px 2px rgba(20,19,15,.04);
  --shadow-md: 0 8px 24px rgba(20,19,15,.06), 0 2px 6px rgba(20,19,15,.04);
  --shadow-lg: 0 24px 60px rgba(20,19,15,.08), 0 6px 16px rgba(20,19,15,.05);

  --f-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-serif: "Instrument Serif", "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --f-mono:  "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-6);
}
@media (min-width: 900px) { .container { padding-inline: var(--s-8); } }

.section     { padding-block: var(--s-12); }
.section--lg { padding-block: var(--s-13); }
.section--sm { padding-block: var(--s-10); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--ink); opacity: .4; }
.eyebrow--accent { color: var(--accent); }
.eyebrow--accent::before { background: var(--accent); opacity: .9; }

/* Headings */
h1, h2, h3, h4 {
  font-family: var(--f-serif); color: var(--ink);
  font-weight: 400; letter-spacing: -.01em; margin: 0; text-wrap: balance;
}
h1 { font-size: clamp(48px, 7vw, 96px); line-height: .98; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-3);
  height: 52px; padding: 0 var(--s-7);
  border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr {
  display: inline-flex; width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(255,255,255,.18);
  transition: transform .25s ease;
}
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost .arr { background: rgba(20,19,15,.06); color: var(--ink); }
.btn--sm { height: 40px; padding: 0 var(--s-5); font-size: 14px; }

.tlink {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: 15px; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px;
  transition: border-color .25s ease, color .25s ease;
}
.tlink:hover { border-color: var(--accent); color: var(--accent); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,236,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(228,223,212,.6);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: var(--s-7);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-serif); font-size: 22px; letter-spacing: -.01em; color: var(--ink);
  flex-shrink: 0;
}
.brand__logo { height: 40px; width: auto; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); position: relative; overflow: hidden;
}
.brand__mark::before, .brand__mark::after {
  content: ""; position: absolute; background: var(--bg);
}
.brand__mark::before { left: 6px; top: 6px; width: 4px; height: 16px; }
.brand__mark::after  { left: 14px; top: 6px; width: 4px; height: 16px; transform: skewX(-22deg); transform-origin: top; }

/* Desktop nav container */
.nav { display: none; }
@media (min-width: 980px) { .nav { display: flex; align-items: center; gap: var(--s-2); } }

/* Direct .nav__link items */
.nav__link {
  position: relative; padding: 10px 16px;
  font-size: 14.5px; color: var(--ink-2);
  border-radius: 999px; display: block;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--ink); background: rgba(20,19,15,.04); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: ""; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* display_menu() generates <li> items — style them to match nav__link */
.nav > ul {
  display: contents;
  list-style: none; padding: 0; margin: 0;
}
.nav > ul > li { list-style: none; }
.nav > ul > li > a {
  position: relative; padding: 10px 16px;
  font-size: 14.5px; color: var(--ink-2);
  border-radius: 999px; display: block;
  transition: color .2s ease, background .2s ease;
}
.nav > ul > li > a:hover { color: var(--ink); background: rgba(20,19,15,.04); }
.nav > ul > li.active > a,
.nav > ul > li.current-menu-item > a { color: var(--ink); }
.nav > ul > li.active > a::after,
.nav > ul > li.current-menu-item > a::after {
  content: ""; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.header__cta { display: none; }
@media (min-width: 720px) { .header__cta { display: inline-flex; } }
.header__actions { display: flex; gap: var(--s-3); align-items: center; flex-shrink: 0; }

/* Hamburger */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
}
@media (min-width: 980px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after  { top: 5px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg); overflow-y: auto;
  padding: var(--s-7) var(--s-6);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s-9);
}
.mobile-drawer__close {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--ink); line-height: 1;
}
.mobile-drawer__nav { display: flex; flex-direction: column; }
.mobile-drawer__home {
  font-size: 20px; font-family: var(--f-serif);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line); color: var(--ink);
  display: block;
}
/* display_menu() output inside mobile drawer */
.mobile-drawer__nav > ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer__nav > ul > li { list-style: none; }
.mobile-drawer__nav > ul > li > a {
  font-size: 20px; font-family: var(--f-serif);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line); color: var(--ink);
  display: block;
}
.mobile-drawer__cta { margin-top: var(--s-8); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(64px,9vw,128px) clamp(40px,5vw,80px);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-10); align-items: end;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-12); }
}
.hero__title { font-size: clamp(56px,8.5vw,132px); line-height: .92; letter-spacing: -.03em; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { margin-top: var(--s-7); max-width: 52ch; font-size: clamp(16px,1.3vw,19px); line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-9); }
.hero__aside { display: grid; gap: var(--s-5); }
.hero__visual {
  aspect-ratio: 4/5; border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(20,19,15,0) 60%, rgba(20,19,15,.55) 100%),
    repeating-linear-gradient(135deg, #2A2823 0 2px, #14130F 2px 22px);
  position: relative; box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-label {
  position: absolute; inset: auto var(--s-5) var(--s-5) var(--s-5);
  display: flex; justify-content: space-between; align-items: end;
  color: rgba(255,255,255,.92);
}
.hero__visual-label .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.hero__visual-label .v { font-family: var(--f-serif); font-size: 22px; }
.hero__stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden;
}
.hero__stat { background: var(--bg); padding: var(--s-5) var(--s-6); }
.hero__stat .n { font-family: var(--f-serif); font-size: 36px; line-height: 1; letter-spacing: -.02em; }
.hero__stat .l { margin-top: var(--s-2); font-size: 13px; color: var(--muted); }

/* Section heads */
.section-head {
  display: grid; grid-template-columns: 1fr; gap: var(--s-6);
  align-items: end; margin-bottom: var(--s-10);
}
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; gap: var(--s-10); } }
.section-head h2 { max-width: 18ch; }
.section-head__meta { display: flex; flex-direction: column; gap: var(--s-4); color: var(--muted); max-width: 44ch; font-size: 15.5px; line-height: 1.55; }

/* =========================================================
   Services / Hizmetler
   ========================================================= */
.services {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 720px)  { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3,1fr); } }

.svc-card {
  background: var(--bg); padding: var(--s-9) var(--s-8) var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-6);
  min-height: 320px; transition: background .3s ease; position: relative;
}
.svc-card:hover { background: var(--surface); }
.svc-card__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.svc-card__icon {
  width: 44px; height: 44px; border-radius: var(--r-md); background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2);
}
.svc-card__icon svg { width: 22px; height: 22px; }
.svc-card h3 { letter-spacing: -.01em; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.svc-card__more .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transition: transform .25s ease; }
.svc-card:hover .svc-card__more .dot { transform: scale(1.4); }

/* =========================================================
   About
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr; gap: var(--s-10); }
@media (min-width: 980px) { .about { grid-template-columns: 1fr 1.1fr; gap: var(--s-12); } }
.about__media {
  aspect-ratio: 5/6; border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(20,19,15,0) 50%, rgba(20,19,15,.35) 100%),
    repeating-linear-gradient(45deg, #E1DACB 0 2px, #D5CCB8 2px 16px);
  position: relative; box-shadow: var(--shadow-md); overflow: hidden;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy h2 { max-width: 16ch; }
.about__copy .lead { margin-top: var(--s-6); }
.about__facts {
  margin-top: var(--s-9); display: grid; grid-template-columns: repeat(2,1fr);
  gap: var(--s-6) var(--s-8); padding-top: var(--s-8); border-top: 1px solid var(--line);
}
.about__fact .n { font-family: var(--f-serif); font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.about__fact .l { margin-top: var(--s-3); font-size: 14px; color: var(--muted); max-width: 22ch; }
.about__cta { margin-top: var(--s-8); }

/* =========================================================
   CTA Strip
   ========================================================= */
.cta-strip {
  background: var(--ink); color: var(--bg); border-radius: var(--r-xl);
  padding: clamp(40px,6vw,88px);
  display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: end;
  position: relative; overflow: hidden;
}
@media (min-width: 900px) { .cta-strip { grid-template-columns: 1.4fr 1fr; } }
.cta-strip::before {
  content: ""; position: absolute; inset: auto -10% -40% auto;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(181,83,44,.7), rgba(181,83,44,0) 70%);
  pointer-events: none;
}
.cta-strip h2 { color: var(--bg); max-width: 18ch; font-size: clamp(36px,4.4vw,56px); }
.cta-strip__side { position: relative; z-index: 1; }
.cta-strip__side p { color: rgba(245,242,236,.7); max-width: 38ch; margin-bottom: var(--s-6); }
.cta-strip__side .btn--primary { background: var(--bg); color: var(--ink); }
.cta-strip__side .btn--primary:hover { background: var(--accent); color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: var(--s-12); padding-top: var(--s-12); padding-bottom: var(--s-7); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--s-10); margin-bottom: var(--s-11); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-8); } }
.footer-brand h3 { font-family: var(--f-serif); font-size: clamp(40px,4vw,56px); line-height: 1; margin-top: var(--s-7); letter-spacing: -.02em; max-width: 14ch; }
.footer-brand p { color: var(--muted); margin-top: var(--s-5); max-width: 36ch; }
.footer-brand .brand__logo { height: 36px; width: auto; margin-bottom: var(--s-3); }
.footer-col h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: var(--s-5);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a { font-size: 15px; color: var(--ink-2); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  align-items: center; justify-content: space-between;
  padding-top: var(--s-7); border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom .meta { display: flex; gap: var(--s-6); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--ink); }

/* =========================================================
   Banner (içerik sayfaları)
   ========================================================= */
.banner {
  position: relative;
  padding-block: clamp(48px,6vw,88px) clamp(72px,9vw,128px);
  background:
    linear-gradient(180deg, rgba(20,19,15,0) 40%, rgba(20,19,15,.6) 100%),
    linear-gradient(160deg, #2A2823 0%, #14130F 100%);
  color: var(--bg); overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, rgba(181,83,44,.45), rgba(181,83,44,0) 65%);
  pointer-events: none;
}
.banner__inner { position: relative; z-index: 1; }
.banner h1 { color: var(--bg); font-size: clamp(48px,6vw,88px); max-width: 22ch; margin-top: var(--s-7); }
.banner p { color: rgba(245,242,236,.78); margin-top: var(--s-6); max-width: 56ch; font-size: clamp(15px,1.2vw,18px); }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
}
.breadcrumb a, .breadcrumb span { color: var(--muted-2); }
.breadcrumb .sep { color: var(--muted-2); opacity: .6; }
.breadcrumb .current { color: var(--bg); }

/* =========================================================
   Article + Sidebar
   ========================================================= */
.article-wrap {
  display: grid; grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-top: calc(-1 * clamp(40px,5vw,72px));
  position: relative; z-index: 1;
}
@media (min-width: 980px) {
  .article-wrap { grid-template-columns: minmax(0,1fr) 320px; gap: var(--s-11); }
}
.article {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(28px,4vw,64px); box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.article .lede {
  font-family: var(--f-serif); font-size: clamp(22px,2vw,28px);
  line-height: 1.35; color: var(--ink); letter-spacing: -.005em; margin: 0 0 var(--s-8);
}
.article h2 { font-size: clamp(28px,2.5vw,36px); margin-top: var(--s-9); margin-bottom: var(--s-5); }
.article h3 { font-family: var(--f-sans); font-size: 20px; font-weight: 600; letter-spacing: -.005em; margin-top: var(--s-8); margin-bottom: var(--s-4); }
.article p { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin-bottom: var(--s-5); max-width: 65ch; }
.article ul { margin: var(--s-3) 0 var(--s-7); padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.article ul li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 1px; background: var(--accent); }
.article ol { margin: var(--s-3) 0 var(--s-7); padding: 0 0 0 var(--s-7); }
.article ol li { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.article a:hover { border-color: var(--accent); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: var(--s-6); position: relative; }
@media (min-width: 980px) { .sidebar { position: sticky; top: 100px; align-self: start; } }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-7); }
.side-card h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin: 0 0 var(--s-5);
}
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card ul li + li { margin-top: var(--s-3); }
.side-card a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; color: var(--ink-2); padding: 6px 0;
  border-bottom: 1px dashed var(--line); transition: color .2s ease;
}
.side-card a:hover { color: var(--accent); }
.side-card a.is-active { color: var(--ink); font-weight: 500; }
.side-card a .arr { color: var(--muted-2); }

.side-cta { background: var(--ink); color: var(--bg); border-radius: var(--r-md); padding: var(--s-7); }
.side-cta h4 { color: var(--bg); font-family: var(--f-serif); font-size: 24px; font-weight: 400; margin: var(--s-3) 0 var(--s-3); letter-spacing: -.01em; text-transform: none; }
.side-cta .eyebrow { color: var(--accent-soft); }
.side-cta .eyebrow::before { background: var(--accent-soft); }
.side-cta p { color: rgba(245,242,236,.7); font-size: 14px; margin-bottom: var(--s-5); }
.side-cta .btn { width: 100%; justify-content: center; background: var(--accent); color: #fff; }
.side-cta .btn:hover { background: var(--accent-ink); }

/* Submenu cards */
.submenu { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px)  { .submenu { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .submenu { grid-template-columns: repeat(3,1fr); } }

.sub-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-7);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; gap: var(--s-4); min-height: 200px;
}
.sub-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-md); }
.sub-card .no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.sub-card h4 { font-family: var(--f-serif); font-size: 22px; line-height: 1.2; letter-spacing: -.01em; font-weight: 400; }
.sub-card p { color: var(--muted); font-size: 14px; }
.sub-card .arrow { margin-top: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* =========================================================
   Contact
   ========================================================= */
.contact-hero { padding-block: clamp(64px,8vw,112px) clamp(40px,5vw,72px); }
.contact-hero h1 { font-size: clamp(56px,7.5vw,112px); max-width: 16ch; margin-top: var(--s-5); }
.contact-hero p { color: var(--muted); margin-top: var(--s-6); max-width: 56ch; font-size: 18px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); margin-top: var(--s-10); }
@media (min-width: 720px)  { .contact-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1080px) { .contact-grid { grid-template-columns: repeat(4,1fr); } }

.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-7); display: flex; flex-direction: column; gap: var(--s-3); min-height: 200px;
  transition: border-color .25s ease, transform .25s ease;
}
.info-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.info-card .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-3);
}
.info-card .ico svg { width: 18px; height: 18px; }
.info-card h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.info-card .val { font-family: var(--f-serif); font-size: 22px; line-height: 1.25; color: var(--ink); letter-spacing: -.005em; }
.info-card .sub { font-size: 13.5px; color: var(--muted); }
.info-card .val a { color: inherit; border: none; }
.info-card .val a:hover { color: var(--accent); }

.contact-main { display: grid; grid-template-columns: 1fr; gap: var(--s-10); margin-top: var(--s-11); align-items: start; }
@media (min-width: 980px) { .contact-main { grid-template-columns: 1.05fr 1fr; gap: var(--s-11); } }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px,4vw,56px); box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: clamp(28px,2.6vw,40px); margin-bottom: var(--s-4); }
.form-card .lead { font-size: 16px; margin-bottom: var(--s-8); }

.form-row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s-5); }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; outline: none; width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--surface); }
.field textarea { min-height: 140px; resize: vertical; }
.field .error { font-size: 12px; color: var(--accent); margin-top: 4px; }

.form-foot {
  display: flex; flex-wrap: wrap; gap: var(--s-5);
  align-items: center; justify-content: space-between; margin-top: var(--s-6);
}
.form-foot .terms { font-size: 13px; color: var(--muted); max-width: 40ch; }

.form-alert {
  padding: var(--s-5) var(--s-6); border-radius: var(--r-md); margin-bottom: var(--s-6); font-size: 15px;
}
.form-alert--ok  { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-alert--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* Map */
.map-block {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #E6E1D5; min-height: 360px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-block iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Hours card */
.hours { display: grid; grid-template-columns: 1fr; gap: var(--s-7); margin-top: var(--s-10); align-items: stretch; }
@media (min-width: 900px) { .hours { grid-template-columns: 1fr 1fr; } }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8); }
.hours-card h3 { margin-bottom: var(--s-6); }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-4) 0; border-bottom: 1px dashed var(--line); font-size: 15.5px;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--ink); }
.hours-row .h { color: var(--muted); font-family: var(--f-mono); font-size: 13.5px; letter-spacing: .04em; }

/* =========================================================
   Error / 404
   ========================================================= */
.error-page { padding-block: var(--s-13); text-align: center; }
.error-page .code { font-family: var(--f-serif); font-size: clamp(80px,12vw,160px); color: var(--line-2); line-height: 1; }
.error-page p { color: var(--muted); font-size: 18px; max-width: 42ch; margin: var(--s-6) auto var(--s-7); }

/* =========================================================
   Scroll-to-top
   ========================================================= */
.scroll-top {
  position: fixed; bottom: var(--s-7); right: var(--s-7); z-index: 90;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  border: 0; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, background .25s ease;
  box-shadow: var(--shadow-md);
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent); }
.scroll-top svg { width: 18px; height: 18px; }
