/* =========================================================
   NAIL DE AREUM — style.css
   Mobile first. 색상/폰트는 :root 토큰에서 일괄 관리합니다.
   ========================================================= */

:root {
  --off-white: #FAF9F6;
  --ivory: #F2EDE5;
  --sand: #D8C9B8;
  --taupe: #A99784;
  --taupe-text: #73634F; /* 보조 텍스트용. 아이보리 배경에서도 WCAG 4.5:1 이상 */
  --charcoal: #292723;
  --line: #E4DCD0;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

  --gutter: 20px;
  --header-h: 64px;
  --section-y: 88px;
  --max: 1240px;
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --header-h: 84px; --section-y: 152px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--off-white); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding: var(--section-y) 0; }

/* ---------- Typography ---------- */
.eyebrow, .section-index {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-bottom: 20px;
}
.section-title { margin-bottom: 36px; font-weight: 400; }
.section-title .en {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-title .ko {
  display: block;
  margin-top: 16px;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  font-weight: 500;
  color: var(--taupe-text);
  letter-spacing: 0;
}
.sub-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 40px 0 16px;
}
.note, .block-note, .price-foot, .gallery-more {
  font-size: 0.875rem;
  color: var(--taupe-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid var(--charcoal);
  transition: background-color .25s ease, color .25s ease;
}
.btn-dark { background: var(--charcoal); color: var(--off-white); }
.btn-dark:hover { background: #3d3a35; }
.btn-line { background: transparent; color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--off-white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; font-family: "Times New Roman", var(--serif); color: var(--charcoal); line-height: 1;
}
.logo-small { font-size: 0.72rem; letter-spacing: 0.02em; }
.logo-large { font-size: 1.45rem; letter-spacing: 0.04em; margin-top: 2px; }

.nav-toggle {
  width: 48px; height: 48px; margin-right: -12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 24px; height: 1px; background: var(--charcoal); position: relative;
  transition: transform .3s ease, background-color .3s ease;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴: JS가 있으면 햄버거로 여닫는 전체 화면 패널 */
.site-nav { display: none; }
.site-nav.is-open {
  display: flex; flex-direction: column;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--off-white);
  padding: 32px var(--gutter) 40px;
  overflow-y: auto;
}
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 1.9rem; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-cta { margin-top: 32px; }

/* JS가 없으면(모바일) 햄버거를 숨기고 메뉴를 헤더 아래 가로 목록으로 펼쳐 둔다 */
@media (max-width: 1079px) {
  .no-js .site-header { position: static; }
  .no-js .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-top: 14px; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; width: 100%; padding: 0 0 12px; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
  .no-js .site-nav li a { padding: 10px 0; font-size: 1.1rem; border: 0; }
  .no-js .nav-cta { display: none; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .no-js .site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 36px;
    position: static; padding: 0; background: none; overflow: visible;
  }
  .site-nav ul { flex-direction: row; gap: 28px; }
  .site-nav li a {
    padding: 8px 0; border: 0; font-size: 1.05rem; letter-spacing: 0.04em;
    position: relative;
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--charcoal); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
  }
  .site-nav li a:hover::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; min-height: 44px; padding: 0 22px; font-size: 0.875rem; }
}

/* ---------- 01 Hero ---------- */
.hero { display: flex; flex-direction: column-reverse; background: var(--off-white); }
.hero-media { aspect-ratio: 1 / 1; max-height: 62svh; width: 100%; overflow: hidden; background: var(--ivory); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-text { padding: 36px var(--gutter) 64px; }
.hero-slogan {
  font-family: var(--serif);
  font-size: clamp(3rem, 13vw, 6.6rem);
  line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 28px;
}
.hero-slogan em { font-style: italic; color: #968270; } /* 큰 글씨 대비 3:1 이상 */
.hero-title { font-size: clamp(1.05rem, 3.4vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.hero-desc { color: #4a4640; max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 180px; }

@media (min-width: 900px) {
  .hero {
    flex-direction: row; align-items: stretch;
    min-height: calc(100svh - var(--header-h)); max-height: 980px;
  }
  .hero-text {
    flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center;
    padding: 64px 64px 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .hero-media { flex: 1 1 50%; aspect-ratio: auto; max-height: none; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- 02 Story ---------- */
.story { background: var(--ivory); text-align: center; }
.story-body { display: grid; gap: 20px; max-width: 40em; margin: 0 auto; color: #3d3a35; }
.story-body strong { font-weight: 600; }
.pillars {
  display: grid; gap: 28px; margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--sand);
}
.pillars li { display: flex; flex-direction: column; gap: 6px; }
.pillar-en { font-family: var(--serif); font-size: 1.8rem; font-style: italic; }
.pillar-ko { font-size: 0.9rem; color: var(--taupe-text); }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Split layout (Extension / Location) ---------- */
.split { display: grid; gap: 48px; }
.split-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ivory); }
.split-media figcaption, .bridal-media figcaption {
  margin-top: 12px; font-family: var(--serif); font-style: italic; color: var(--taupe-text);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
}

.extension .split-text > p { color: #3d3a35; }
.shape-list { border-top: 1px solid var(--line); }
.shape-list div {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.shape-list dt { font-family: var(--serif); font-size: 1.25rem; }
.shape-list dd { font-size: 0.93rem; color: #4a4640; align-self: center; }
.process { display: grid; gap: 10px; counter-reset: none; }
.process li { display: flex; gap: 16px; align-items: baseline; font-size: 0.95rem; }
.process span { font-family: var(--serif); color: var(--taupe-text); font-size: 1.05rem; min-width: 24px; }
.extension .note { margin: 32px 0 20px; }

/* ---------- 04 Bridal ---------- */
.bridal { background: var(--ivory); padding-top: 0; }
.bridal-hero { display: grid; }
.bridal-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.bridal-text { padding: 56px var(--gutter) 0; }
.bridal-text > p { color: #3d3a35; max-width: 34em; }
.bridal-styles { display: grid; gap: 0; margin: 36px 0; border-top: 1px solid var(--sand); }
.bridal-styles li { padding: 18px 0; border-bottom: 1px solid var(--sand); display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.bridal-styles h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.5rem; }
.bridal-styles p { font-size: 0.93rem; color: #4a4640; }
.bridal-text .note { margin-bottom: 20px; }
.bridal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 64px; }
@media (min-width: 900px) {
  .bridal { padding-top: var(--section-y); }
  .bridal-hero {
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
    grid-template-columns: 7fr 5fr; gap: 88px; align-items: center;
  }
  .bridal-text { padding: 0; }
  .bridal-grid { gap: 24px; margin-top: 96px; }
}

/* 사진 플레이스홀더 (실제 사진으로 교체 전용) */
.ph {
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--off-white); border: 1px solid var(--sand);
  font-family: var(--serif); font-size: clamp(0.95rem, 2.5vw, 1.3rem); font-style: italic; color: var(--taupe-text); line-height: 1.3;
}
.ph small { font-family: var(--sans); font-style: normal; font-size: 0.72rem; letter-spacing: 0.04em; }

/* ---------- 05 Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 32px; }
.no-js .filters { display: none; }
.filter {
  min-height: 44px; padding: 0 2px;
  font-family: var(--serif); font-size: 1.2rem; color: var(--taupe-text);
  border-bottom: 1px solid transparent;
}
.filter.is-active, .filter:hover { color: var(--charcoal); border-bottom-color: var(--charcoal); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
.gallery li[hidden] { display: none; }
.gallery-open { display: block; width: 100%; padding: 0; overflow: hidden; background: var(--ivory); cursor: zoom-in; }
.gallery-open img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.gallery-open:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 12px; font-size: 0.875rem; color: #4a4640; line-height: 1.5; }
.gallery .cat {
  display: block; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--taupe-text);
}
.gallery-more { margin-top: 40px; }
.gallery-more a { color: var(--charcoal); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
}

/* Lightbox */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 56px 16px 24px;
  border: 0; background: rgba(250, 249, 246, 0.98); color: var(--charcoal);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lightbox::backdrop { background: rgba(41, 39, 35, 0.4); }
.lightbox-img { max-height: calc(100% - 60px); width: auto; object-fit: contain; }
.lightbox-caption { font-size: 0.9rem; color: #4a4640; text-align: center; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; width: 48px; height: 48px;
  font-size: 2rem; line-height: 1; font-family: var(--serif);
}

/* ---------- 06 Monthly ---------- */
.monthly { background: var(--charcoal); color: var(--off-white); }
.monthly .section-index, .monthly .section-title .ko { color: var(--sand); }
.monthly-head { display: flex; flex-direction: column; gap: 8px; }
.monthly-month { display: flex; flex-direction: column; margin-bottom: 32px; }
.m-en { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1; }
.m-num { font-family: var(--serif); letter-spacing: 0.2em; color: var(--sand); margin-top: 6px; }
.monthly-intro { color: #d9d3ca; max-width: 40em; margin-bottom: 48px; }
.monthly-grid { display: grid; gap: 40px; margin-bottom: 48px; }
.monthly-grid .ph { background: #34312c; border-color: #4a4640; color: var(--sand); }
.monthly-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.monthly-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin-top: 16px; }
.price-tag { font-size: 0.9rem; color: var(--sand); }
.monthly-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.monthly-actions .btn { flex: 1 1 240px; }
@media (min-width: 900px) { .monthly-actions .btn { flex: 0 0 auto; } }
.monthly .btn-line { color: var(--off-white); border-color: var(--off-white); }
.monthly .btn-line:hover { background: var(--off-white); color: var(--charcoal); }
.monthly :focus-visible { outline-color: var(--off-white); }
@media (min-width: 700px) {
  .monthly-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
  .monthly-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .monthly-month { text-align: right; margin-bottom: 36px; }
}

/* ---------- 07 Price ---------- */
.price-grid { display: grid; gap: 48px; }
.price-block h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--charcoal);
}
.price-block h3 .en { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.price-block h3 .ko { font-size: 0.85rem; font-weight: 500; color: var(--taupe-text); }
.price-block dl div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.price-block dt small, .price-block h3 small { color: var(--taupe-text); font-size: 0.8em; }
.price-block dd { font-family: var(--serif); font-size: 1.2rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.price-block .consult { padding: 12px 0; color: #4a4640; font-size: 0.95rem; }
.block-note { margin-top: 10px; }
.membership {
  margin-top: 72px; padding: 36px 28px; background: var(--ivory);
  display: grid; gap: 20px;
}
.membership h3 { display: flex; flex-direction: column; gap: 4px; }
.membership h3 .en { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1; }
.membership h3 .ko { font-size: 0.85rem; color: var(--taupe-text); font-weight: 500; }
.membership li { padding: 6px 0 6px 18px; position: relative; }
.membership li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--taupe); }
.price-foot { margin-top: 24px; }
@media (min-width: 700px) { .price-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 64px; } }
@media (min-width: 1080px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .membership { grid-template-columns: 1fr 2fr; align-items: center; padding: 48px 56px; }
}

/* ---------- 08 Reviews ---------- */
.reviews { background: var(--ivory); }
.review-keywords ol { display: flex; flex-wrap: wrap; gap: 8px; }
.review-keywords li { padding: 8px 16px; border: 1px solid var(--sand); background: var(--off-white); font-size: 0.9rem; }
.review-keywords .sub-title { margin-top: 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.review-date { font-size: 0.8rem; color: var(--taupe-text); margin-top: 14px; }
.review-list { display: grid; gap: 20px; margin: 48px 0; }
.review-list li { background: var(--off-white); padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review-list blockquote p { font-size: 0.98rem; color: #3d3a35; }
.review-list blockquote::before {
  content: "“"; display: block; font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--taupe); margin-bottom: 12px;
}
.review-meta { font-size: 0.82rem; color: var(--taupe-text); line-height: 1.6; }
.review-tag { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--charcoal); }
.review-note { font-size: 0.8rem; color: var(--taupe-text); margin: -24px 0 28px; }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- 09 FAQ ---------- */
.faq-list { border-top: 1px solid var(--charcoal); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0; font-weight: 500; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--taupe-text); transition: transform .3s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 26px; color: #4a4640; font-size: 0.95rem; }
.faq-a a { text-underline-offset: 3px; }

/* ---------- 10 Location ---------- */
.info dl { border-top: 1px solid var(--charcoal); }
.info dl div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--taupe-text); }
.info dd { font-size: 0.95rem; }
.info dd small { color: var(--taupe-text); font-size: 0.85rem; }
.info dd a { text-underline-offset: 3px; }
.parking li { position: relative; padding: 5px 0 5px 18px; font-size: 0.92rem; color: #4a4640; }
.parking li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--taupe); }
.parking strong { color: var(--charcoal); font-weight: 600; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.location-actions .btn { flex: 1 1 200px; }

.map-card {
  position: relative; display: block; aspect-ratio: 4 / 5; min-height: 320px;
  background: var(--ivory); text-decoration: none; overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
}
.map-line { position: absolute; left: 0; right: 0; top: 58%; height: 10px; background: var(--sand); }
.map-station {
  position: absolute; left: 12%; top: calc(58% + 22px);
  font-family: var(--serif); font-size: 1.2rem;
}
.map-station small { font-style: italic; color: var(--taupe-text); margin-left: 4px; }
.map-pin {
  position: absolute; left: 50%; top: 38%; width: 18px; height: 18px; margin-left: -9px;
  background: var(--charcoal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.map-label {
  position: absolute; left: 50%; top: calc(38% - 44px); transform: translateX(-50%);
  white-space: nowrap; font-family: var(--serif); letter-spacing: 0.12em; font-size: 1rem;
}
.map-cta {
  position: absolute; right: 20px; bottom: 20px; padding: 10px 16px;
  background: var(--charcoal); color: var(--off-white); font-size: 0.85rem;
}
.map-card:hover .map-cta { background: #3d3a35; }
@media (min-width: 900px) { .location-split { grid-template-columns: 6fr 5fr; } .map-card { aspect-ratio: 4 / 5; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #d9d3ca; padding: 64px 0 120px; }
.footer-inner { display: grid; gap: 32px; }
.footer-logo { color: var(--off-white); align-items: flex-start; }
.footer-desc { font-size: 0.875rem; margin-top: 14px; }
.footer-address { font-size: 0.8rem; margin-top: 8px; color: var(--sand); line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 0.9rem; text-underline-offset: 4px; display: inline-block; padding: 8px 0; }
.copyright { font-size: 0.78rem; color: var(--taupe); }
.site-footer :focus-visible { outline-color: var(--off-white); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 64px; }
  .footer-inner { grid-template-columns: 2fr 2fr 1fr; align-items: end; }
}

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 246, 0.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-cta .btn { min-height: 48px; padding: 0 12px; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: flex; align-items: center; text-align: center; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
