/* ============================================================
   FurnishMyVilla — Site styles v7 (typography & layout polish)
   Mobile-first. Breakpoints: 768px (tablet), 1080px (desktop)
   Palette: ivory bg / charcoal text / warm bronze accent
   Spacing on a 4px grid · shadow scale · unified radius
   ============================================================ */

:root {
  --bg: #faf8f5;
  --bg-alt: #f3efe8;
  --ink: #26231f;
  --ink-soft: #6b655c;
  --accent: #9a7b4f;
  --accent-dark: #7a613c;
  --accent-bright: #d8c39a;
  --wa: #1faa53;
  --line: #e4ddd2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Shadow scale */
  --shadow-sm: 0 1px 2px rgba(38, 35, 31, 0.05), 0 2px 8px rgba(38, 35, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(38, 35, 31, 0.08), 0 2px 4px rgba(38, 35, 31, 0.05);
  --shadow-lg: 0 16px 32px -8px rgba(38, 35, 31, 0.16), 0 4px 10px rgba(38, 35, 31, 0.06);

  /* Radius scale */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;

  /* Motion */
  --ease: cubic-bezier(0, 0, 0.2, 1);
  --dur: 0.3s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1160px, 100% - 44px); margin-inline: auto; }

/* Sticky-header friendly anchor offset */
section[id] { scroll-margin-top: 76px; }

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Eyebrow labels ---------- */
.eyebrow,
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before,
.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow { margin-bottom: 14px; }
.hero-eyebrow { margin-bottom: 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }

h2 {
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}

.section-note { color: var(--ink-soft); max-width: 580px; margin-bottom: 44px; }

/* ---------- Section head: editorial rule line ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.section-head .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 12px; }
.section-head h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.section-meta {
  grid-column: 2;
  grid-row: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-bottom: 8px;
}
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; column-gap: 0; margin-bottom: 32px; }
  .section-head .eyebrow { grid-row: 1; }
  .section-head h2 { grid-row: 2; }
  .section-meta { grid-column: 1; grid-row: 3; padding-top: 4px; padding-bottom: 0; }
}
.contact .section-head { border-bottom-color: rgba(244, 240, 232, 0.22); }
.contact .section-meta { color: rgba(244, 240, 232, 0.6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(31, 170, 83, 0.28); }
.btn-wa:hover { box-shadow: 0 8px 20px rgba(31, 170, 83, 0.34); }
.btn-ghost { border: 1px solid currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(154, 123, 79, 0.08); }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.brand-mark {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-accent { font-style: italic; color: var(--accent); }
.brand-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav {
  position: fixed;
  inset: 64px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  padding: 18px 22px 28px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.main-nav.open { display: flex; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.main-nav .nav-wa { border-bottom: none; margin-top: 14px; text-align: center; }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero (immersive full-bleed, adapted from v1 direction) ---------- */
.hero {
  position: relative;
  min-height: min(88svh, 780px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 21, 17, 0.72) 0%, rgba(24, 21, 17, 0.45) 55%, rgba(24, 21, 17, 0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 44px);
  margin-inline: auto;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 48px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6.5vw, 64px);
  line-height: 1.15;
  margin: calc(clamp(48px, 9vh, 96px) + 2rem) 0 0;
}
.hero-tagline {
  position: relative;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin: 18px 0 28px;
  padding-left: 16px;
}
.hero-tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--accent-bright, #d8c39a);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; margin-bottom: 0; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 200px; padding: 10px 22px; font-size: 13px; text-align: center; box-sizing: border-box; }
.hero-actions .btn,
.contact-actions .btn { flex: 1 1 100%; text-align: center; }
@media (min-width: 480px) {
  .hero-actions .btn,
  .contact-actions .btn { flex: 0 0 auto; }
}

/* ---------- Services (legacy, kept for compatibility) ---------- */
.service-grid { display: grid; gap: 20px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.service-icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 18px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Collections / catalogue products ---------- */
.product-grid { display: grid; gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img-wrap { overflow: hidden; }
.product-img-wrap img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-info { padding: 22px 22px 26px; }
.product-info h3 { font-size: 21px; margin-bottom: 6px; }
.product-info p { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.product-ask { color: var(--accent-dark); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.03em; }
.product-ask:hover { text-decoration: underline; }

.spaces { margin-top: 48px; }
.spaces-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.space-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.space-chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 36px; align-items: center; }
.why-lead { color: var(--ink-soft); font-style: italic; margin-bottom: 16px; }
.why-text p { margin-bottom: 14px; max-width: 52ch; }
.why-list { list-style: none; margin: 22px 0; display: grid; gap: 14px; }
.why-list li { padding-left: 22px; position: relative; color: var(--ink-soft); font-size: 15px; }
.why-list li strong { color: var(--ink); font-weight: 500; }
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.why-close { font-family: var(--serif); font-size: 21px; font-style: italic; }
.why-img img { border-radius: var(--r-md); width: 100%; }
.why-img figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.why-video {
  width: 100%;
  border-radius: var(--r-md);
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ---------- Why Us · four reason cards ---------- */
.why-cards { margin-top: 36px; display: grid; gap: 16px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* 用户指定排版：图片左/上贴边、宽100%（内容宽），右侧自然留出56px白边——有意为之，勿"修复" */
.why-card .why-img-top {
  display: block;
  width: 100%;
  margin: -28px -28px 20px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.why-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 8px 0 12px;
}
.why-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

/* Quality card · swipeable photo window (9 factory photos) */
.why-qc {
  width: 100%;
  margin: -28px -28px 20px;
}
.qc-track {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.qc-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.qc-track img.is-active { opacity: 1; }


/* Price card · auto-rotating loading videos (muted, same layout as why-qc) */
.why-pv {
  width: 100%;
  margin: -28px -28px 20px;
}
.pv-track {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.pv-track video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eee;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.pv-track video.is-active { opacity: 1; }

/* ---------- Why Us · Top-tier factory craft wall ---------- */
.craft-block { margin-top: 88px; }
.craft-head h3 {
  font-family: var(--serif);
  font-size: clamp(27px, 4.5vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  margin: 10px 0 16px;
}
.craft-lead { color: var(--ink-soft); max-width: 62ch; }
.craft-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.craft-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--line);
}

/* Why Us · talking video row */
.why-video-row { margin-top: 64px; display: flex; justify-content: center; }
.why-video-row .why-img { width: 100%; max-width: 720px; }

/* ---------- Where we furnish (space cards) ---------- */
.space-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 500;
  margin-bottom: 12px;
}
.craft-grid figure { margin: 0; }
.space-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.space-card {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.space-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.space-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.space-card:hover img { transform: scale(1.05); }
.space-card .space-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 16px;
  color: #fff;
  font-family: var(--serif);
  font-size: 21px;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.75), rgba(20, 17, 13, 0));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.space-card .space-name em { font-style: normal; font-size: 13px; opacity: 0.85; }
.space-card.is-placeholder .space-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 13, 0.45);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Process (six steps, flow diagram) ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.step:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.step-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(154, 123, 79, 0.35);
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.step-icon svg { width: 28px; height: 28px; }
/* Chevron badge: hint that each step can be opened for details */
.step-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid rgba(154, 123, 79, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%239a7b4f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 5.5px;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step:hover .step-icon,
.step.is-open .step-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.step.is-open .step-icon { transform: translateY(-1px); }
.step.is-open .step-icon::after { transform: rotate(180deg); }
.step-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.step h3 { font-size: 18px; line-height: 1.3; }
/* Step detail: collapsed by default, revealed on click (accordion) */
.step-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  max-width: 250px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  transform: translateY(-4px);
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
    transform 0.4s var(--ease);
}
.step.is-open .step-desc {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

/* Connector line + arrow (tablet & up) */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px 16px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(50% + 46px);
    width: calc(100% - 92px);
    border-top: 1px dashed rgba(154, 123, 79, 0.45);
  }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 28px;
    right: calc(34px - 50%);
    width: 8px;
    height: 8px;
    border-top: 1px solid rgba(154, 123, 79, 0.65);
    border-right: 1px solid rgba(154, 123, 79, 0.65);
    transform: rotate(45deg);
  }
}
/* In 3-col layout, no arrow at row ends */
@media (min-width: 768px) and (max-width: 1079px) {
  .step:nth-child(3n)::after,
  .step:nth-child(3n)::before { display: none; }
}
/* Desktop: single row of six */
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(6, 1fr); gap: 0 8px; }
  .step h3 { font-size: 17px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #f4f0e8; }
.contact .eyebrow { color: #c9a876; }
.contact .eyebrow::before { background: #c9a876; }
.contact h2 { color: #fff; }
.contact-lead { color: rgba(244, 240, 232, 0.78); max-width: 540px; margin-bottom: 34px; }
.contact-actions { margin-bottom: 36px; }
.contact .btn-ghost { color: #f4f0e8; border-color: rgba(244, 240, 232, 0.5); }
.contact-meta { display: grid; gap: 10px; font-size: 14px; color: rgba(244, 240, 232, 0.75); max-width: 640px; }

/* Minimal contact list (index) */
.contact-list {
  max-width: 720px;
  margin-top: 8px;
  border-top: 1px solid rgba(244, 240, 232, 0.22);
}
.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.22);
}
.cl-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a876;
}
.cl-value {
  font-size: 16.5px;
  color: rgba(244, 240, 232, 0.92);
  line-height: 1.6;
}
a.cl-link { text-decoration: none; }
a.cl-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .contact-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 2px; }
}
.contact-meta span:first-child {
  display: inline-block;
  min-width: 70px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a876;
  margin-right: 8px;
}
.contact-meta a { color: inherit; }

.contact-cards {
  display: grid;
  gap: 18px;
  margin: 40px 0 36px;
  justify-items: center;
}
.qr-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.qr-card:hover { transform: translateY(-4px); }
.qr-card img { width: 100%; border-radius: 8px; }
.qr-card h3 { font-size: 20px; margin-top: 16px; }
.qr-card p { font-size: 15px; color: var(--ink); margin-top: 4px; font-weight: 400; }
.qr-card span { font-size: 12.5px; color: var(--ink-soft); }

/* Sales manager card */
.manager-card { display: flex; text-align: left; gap: 18px; align-items: center; }
.manager-avatar {
  width: 96px;
  height: 128px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.manager-card h3 { margin-top: 0; }
.manager-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

/* Craftsmanship detail strip (catalogue) */
.detail-strip { margin-top: 48px; }
.detail-strip h3 { font-size: 23px; margin-bottom: 6px; }
.detail-strip > p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.detail-grid { display: grid; gap: 18px; }
.detail-grid figure { margin: 0; }
.detail-grid img { width: 100%; border-radius: var(--r-sm); display: block; }
.detail-grid figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.collections-more { margin-top: 40px; text-align: center; }
.collections-more .btn-ghost { color: var(--ink); }

/* Catalogue page */
.catalogue-head { padding: 52px 0 8px; }
.catalogue-head h1 { font-size: clamp(30px, 6vw, 46px); margin-bottom: 10px; }
.catalogue-head p { color: var(--ink-soft); max-width: 600px; }
.catalogue-grid { display: grid; gap: 24px; padding-bottom: 80px; }

/* ---------- Footer ---------- */
.site-footer { background: #1b1916; color: rgba(244, 240, 232, 0.65); padding: 48px 0 36px; font-size: 13.5px; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand .brand-mark { color: #fff; font-size: 20px; }
.footer-brand .brand-name { color: rgba(244, 240, 232, 0.6); }
.footer-brand p { margin-top: 10px; max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: inherit; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(244, 240, 232, 0.12); padding-top: 18px; margin-top: 6px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Small phones: keep space-card labels on one line ---------- */
@media (max-width: 479px) {
  .space-card .space-name { font-size: 17px; padding: 28px 14px 12px; }
  .space-card .space-name em { display: none; }
  .space-card .space-note { font-size: 11px; letter-spacing: 0.1em; }
}

/* ---------- Tablet ≥768px ---------- */
@media (min-width: 768px) {
  .section { padding: 104px 0; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalogue-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(3, minmax(0, 300px)); justify-items: stretch; }
  .detail-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .hero-content { padding: 0 0 56px; }
  .why-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .space-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .craft-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .copyright { grid-column: 1 / -1; }
}

/* ---------- Desktop ≥1080px ---------- */
@media (min-width: 1080px) {
  .section { padding: 124px 0; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 30px;
  }
  .main-nav a {
    border: none;
    padding: 0;
    font-size: 14.5px;
    color: var(--ink);
  }
  .main-nav a:hover { color: var(--accent-dark); }
  .main-nav .nav-wa { margin: 0; padding: 11px 24px; }
  .hero { min-height: min(92svh, 860px); }
  .hero-title { font-size: clamp(48px, 5.6vw, 72px); }
}

/* Focus visibility for a11y */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
