/* Makao Furniture — design system
   Warm ivory surfaces, deep ink type and a burnt-amber accent drawn from the Makao logo. */

:root {
  --ink: #1b1714;
  --ink-2: #3a322b;
  --muted: #6e645a;
  --paper: #fbf8f4;
  --cream: #f4eee6;
  --sand: #e8dfd3;
  --white: #fff;
  --accent: #c2621a;
  --accent-600: #a8520f;
  --accent-50: #fbefe4;
  --sage: #5d6b50;
  --line: rgba(27, 23, 20, 0.1);
  --line-strong: rgba(27, 23, 20, 0.18);
  --success: #2f7a4b;
  --danger: #b3261e;
  --warn: #9a6400;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(27, 23, 20, 0.06), 0 2px 8px rgba(27, 23, 20, 0.04);
  --shadow: 0 10px 30px -12px rgba(43, 28, 14, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(43, 28, 14, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: #f0b27a; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--accent); }
.display-sm { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; margin-top: 20px; }
.lead-sm { font-size: 1.06rem; color: var(--ink-2); margin-top: 16px; }
.prose p + p { margin-top: 1em; }
.prose { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.86rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); box-shadow: 0 10px 24px -10px rgba(194, 98, 26, 0.6); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--white); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.link-light { color: #fff; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  border: 0; background: transparent; cursor: pointer; color: var(--ink); position: relative;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn .icon { width: 21px; height: 21px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #e9e1d7; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-inner span { display: inline-flex; gap: 8px; align-items: center; }
.topbar-links { gap: 20px !important; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.85; }
.topbar-links a:hover { opacity: 1; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, 0.3); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 36px; height: 36px; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: #bdb2a6; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); background: var(--cream); }
.main-nav a.is-active { color: var(--ink); font-weight: 700; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-cta { margin-left: 8px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 100; background: var(--paper); padding: 16px var(--gutter) 32px;
  display: flex; flex-direction: column; overflow-y: auto; animation: slideIn 0.3s var(--ease);
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.mobile-nav ul { margin-top: 12px; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
}
.mobile-nav li a.is-active { color: var(--accent); }
.mobile-nav li .icon { width: 18px; color: var(--muted); }
.mobile-nav-cta { display: grid; gap: 10px; margin-top: 28px; }
.mobile-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; margin-top: 8px; }
.mobile-search input { border: 0; outline: 0; background: none; flex: 1; min-height: 48px; }

.search-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(27, 23, 20, 0.45); backdrop-filter: blur(6px);
  padding-top: 110px; animation: fade 0.2s;
}
@keyframes fade { from { opacity: 0; } }
.search-form {
  display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto;
}
.search-form > .icon { width: 22px; height: 22px; color: var(--muted); }
.search-form input { flex: 1; border: 0; outline: 0; font-size: 1.2rem; min-height: 52px; background: none; }
.search-suggest { max-width: 760px; margin: 16px auto 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #fff; font-size: 0.9rem; }
.search-suggest a { background: rgba(255, 255, 255, 0.16); padding: 6px 14px; border-radius: 999px; }
.search-suggest a:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- Flash & toast ---------- */
.flash { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid; }
.flash-success { background: #eef6f0; border-color: #cfe4d6; color: #1f5a36; }
.flash-error { background: #fbeceb; border-color: #f0cfcc; color: #8a1f18; }
.flash-info { background: var(--accent-50); border-color: #f1d6bf; color: #7a3d0b; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 200; opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  display: flex; gap: 14px; align-items: center; font-size: 0.92rem; transition: opacity 0.25s, transform 0.25s var(--ease); max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; white-space: nowrap; }
.toast.is-error { background: var(--danger); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--ink); color: #f3ece4; }
.section-dark .muted { color: #b8ada1; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .muted { max-width: 34em; }
.section-head .h2 { max-width: 18em; }

.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--cream), var(--paper)); }
.page-hero .lead { margin-top: 16px; }
.page-hero-img { position: relative; color: #fff; border: 0; padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 7vw, 80px); background: var(--ink); overflow: hidden; }
.page-hero-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 23, 20, 0.1), rgba(27, 23, 20, 0.75)); }
.page-hero-img .container { position: relative; z-index: 1; }
.page-hero-img .lead { color: #efe7de; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }
.page-hero-img .breadcrumbs { color: #e0d6cb; }

/* Reveal on scroll (enabled by JS so content is visible without it) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(1200px 500px at 85% 0%, #f2e4d4 0%, transparent 60%), var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof li { display: flex; flex-direction: column; font-size: 0.84rem; color: var(--muted); }
.hero-proof strong { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-weight: 600; }
.hero-visual { position: relative; padding: 0 0 40px 40px; }
.hero-main { margin: 0; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-float { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg); }
.hero-float img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-a { width: 38%; aspect-ratio: 1; left: 0; bottom: 0; }
.hero-float-b { width: 28%; aspect-ratio: 1; right: -18px; top: 38%; }
.hero-badge {
  position: absolute; right: 8%; bottom: 8px; display: flex; gap: 10px; align-items: center;
  background: var(--white); padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); font-size: 0.86rem;
}
.hero-badge .icon { color: var(--accent); fill: var(--accent); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { padding: 28px 26px 26px; position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card-body h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; }
.service-card-body p { color: var(--muted); flex: 1; }
.service-icon {
  position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(194, 98, 26, 0.7);
}
.service-icon .icon { width: 24px; height: 24px; }
.service-num { position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-size: 1.1rem; color: var(--sand); font-weight: 600; }

/* ---------- Category strip ---------- */
.category-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 32px; scrollbar-width: thin; }
.category-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: border-color 0.2s, box-shadow 0.2s;
}
.category-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.category-chip:hover, .category-chip.is-active { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.category-chip.is-active { background: var(--ink); color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-accent { background: var(--accent); color: #fff; }
.badge-muted { background: var(--ink); color: #fff; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-name { font-size: 1.02rem; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.product-name a:hover { color: var(--accent); }
.product-desc { font-size: 0.86rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.product-variants { font-size: 0.78rem; color: var(--ink-2); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 1.08rem; }
.price s { font-size: 0.82rem; color: var(--muted); }
.stock { font-size: 0.74rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-ok { color: var(--success); }
.stock-low { color: var(--warn); }
.stock-out { color: var(--danger); }
.product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.product-actions form .btn, .product-actions > .btn { width: 100%; padding: 0 10px; }

/* ---------- Split features ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split-media-card {
  position: absolute; left: -24px; bottom: 28px; background: var(--white); border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-lg); max-width: 300px; font-size: 0.92rem;
}
.split-media-card .eyebrow { margin-bottom: 6px; }
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: 3px; }
.check-list-sm { gap: 8px; font-size: 0.9rem; margin-top: 18px; }
.check-grid { grid-template-columns: repeat(2, 1fr); }
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mini-steps div { border-top: 2px solid var(--ink); padding-top: 14px; }
.mini-steps span { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; font-weight: 600; }
.mini-steps strong { display: block; margin-top: 2px; }
.mini-steps p { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }

/* ---------- Projects ---------- */
.project-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.project-tile { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: #2b2520; }
.project-tile-lg { grid-column: span 2; grid-row: span 2; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.project-tile:hover img { transform: scale(1.06); }
.project-tile-info {
  position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}
.project-tile-info span { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.project-tile-info h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-top: 4px; }
.project-tile-lg .project-tile-info h3 { font-size: 2rem; }

/* ---------- Packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.package-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card.is-featured { border: 2px solid var(--accent); }
.package-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.package-media img { width: 100%; height: 100%; object-fit: cover; }
.package-media .badge { position: absolute; top: 14px; left: 14px; }
.package-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.package-body h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.package-body .muted { font-size: 0.9rem; margin-top: 4px; }
.package-body .btn-row { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.package-meta { display: grid; gap: 8px; margin-top: 18px; padding: 14px 16px; background: var(--cream); border-radius: var(--radius-sm); }
.package-meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.package-meta span { font-size: 0.7rem; white-space: nowrap; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.package-meta strong { font-size: 0.95rem; text-align: right; }

/* ---------- Testimonials ---------- */
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.testimonial { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 30px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; flex: 1; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 0.9rem; }
.testimonial figcaption span { color: var(--muted); }
.stars { display: flex; gap: 2px; color: var(--sand); }
.stars .on { color: var(--accent); }
.stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 32px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -21px; width: 22px; height: 1px; background: var(--line-strong);
}
.step-num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--accent); font-weight: 500; }
.steps h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-top: 14px; }
.steps p { color: var(--muted); margin-top: 8px; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; background: var(--ink); color: #fff; overflow: hidden; text-align: center; }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(27, 23, 20, 0.35), rgba(27, 23, 20, 0.85)); }
.final-cta-inner { position: relative; z-index: 1; padding: clamp(88px, 12vw, 160px) var(--gutter); display: flex; flex-direction: column; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: #141110; color: #cfc5b9; padding: 72px 0 28px; font-size: 0.92rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-cta-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.footer-cta .btn-row { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 52px 0; }
.footer-grid h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-about p { margin-top: 18px; max-width: 30em; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #f0b27a; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); }
.social a:hover { background: rgba(255, 255, 255, 0.1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: #978c80; }
.footer-bottom a:hover { color: #fff; }
.footer-pay strong { color: #cfc5b9; font-weight: 600; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float .icon { width: 30px; height: 30px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-section + .form-section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-section-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }
.form-section-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.col-span { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field-label { font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--accent); }
.hint { font-size: 0.8rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 0.97rem;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e645a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(194, 98, 26, 0.12); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.82rem; font-weight: 500; }
.form-error { background: #fbeceb; color: #8a1f18; border: 1px solid #f0cfcc; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--white); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.15s;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice span:hover { border-color: var(--ink); }

.toggle-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: var(--white); font-size: 0.92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--ink); background: var(--cream); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }
.stepper button { width: 42px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 999px; }
.stepper button:hover { background: var(--cream); }
.stepper input { width: 52px; text-align: center; border: 0; outline: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.dropzone {
  position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 22px; text-align: center;
  background: var(--paper); transition: border-color 0.2s, background 0.2s; cursor: pointer;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: var(--accent-50); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 26px; height: 26px; color: var(--accent); margin: 0 auto 8px; display: block; }
.dropzone strong { display: block; font-size: 0.95rem; }
.dropzone small { color: var(--muted); }
.dropzone-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; justify-content: center; }
.dropzone-files span { font-size: 0.78rem; background: var(--white); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- Two-column page layouts ---------- */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.sticky { position: sticky; top: 100px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin-bottom: 12px; }
.aside-dark { background: var(--ink); color: #eee5da; border: 0; }
.aside-dark h3 { color: #fff; }
.aside-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.aside-list li:last-child { border: 0; }
.aside-list .icon { color: var(--accent); margin-top: 3px; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.filters { position: sticky; top: 100px; display: grid; gap: 28px; }
.filter-group h3 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); font-weight: 700; }
.filter-links a { display: flex; justify-content: space-between; padding: 7px 12px; border-radius: 10px; font-size: 0.92rem; color: var(--ink-2); }
.filter-links a:hover { background: var(--cream); }
.filter-links a.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.filter-links small { color: inherit; opacity: 0.6; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs .input { min-height: 42px; padding: 8px 12px; font-size: 0.9rem; }
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.shop-toolbar .select { min-height: 42px; width: auto; font-size: 0.9rem; }
.shop-search { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 6px 0 16px; flex: 1; max-width: 380px; }
.shop-search input { border: 0; outline: 0; background: none; flex: 1; min-height: 42px; min-width: 0; }
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.86rem; font-weight: 600; background: var(--white); }
.chip.is-active, .chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 64px 24px; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.empty p { color: var(--muted); margin-top: 8px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.9rem; padding: 0 14px; }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--cream); }
.gallery-thumbs button.is-active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 6px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.pdp-price strong { font-size: 1.8rem; }
.pdp-price s { color: var(--muted); }
.pdp-short { margin-top: 16px; color: var(--ink-2); font-size: 1.04rem; }
.pdp-options { margin-top: 26px; display: grid; gap: 20px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills .choice span { min-height: 42px; padding: 6px 16px; border-radius: 999px; }
.pdp-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pdp-buy .btn { flex: 1; min-width: 150px; }
.pdp-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.pdp-assurances div { background: var(--cream); border-radius: 12px; padding: 14px; font-size: 0.82rem; display: flex; flex-direction: column; gap: 6px; }
.pdp-assurances .icon { color: var(--accent); width: 22px; height: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.tabs { margin-top: 30px; border-top: 1px solid var(--line); }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
details.acc[open] summary::after { content: "–"; }
details.acc > div { padding-bottom: 20px; color: var(--ink-2); }

/* Cart & checkout */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 12px 14px 0; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: 16px; align-items: center; }
.cart-product img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; flex: none; }
.cart-product a { font-weight: 700; }
.cart-product small { display: block; color: var(--muted); }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.summary-card h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.96rem; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 700; }
.summary-note { font-size: 0.84rem; color: var(--muted); margin-top: 10px; }
.progress { height: 6px; background: var(--cream); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.mini-lines { display: grid; gap: 14px; margin-bottom: 16px; max-height: 360px; overflow: auto; }
.mini-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; font-size: 0.9rem; }
.mini-line img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.mini-line small { display: block; color: var(--muted); }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; background: var(--white); }
.pay-option input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.pay-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pay-option strong { display: block; }
.pay-option small { color: var(--muted); }
.pay-tag { font-size: 0.7rem; background: var(--cream); padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 600; color: var(--muted); }

/* Order confirmation & tracking */
.confirm-hero { text-align: center; padding: 56px 0 24px; }
.confirm-icon { width: 76px; height: 76px; border-radius: 50%; background: #e7f3eb; color: var(--success); display: grid; place-items: center; margin: 0 auto 20px; }
.confirm-icon .icon { width: 36px; height: 36px; }
.order-number { display: inline-block; font-weight: 700; font-size: 1.1rem; background: var(--white); border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px; margin-top: 14px; letter-spacing: 0.04em; }
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 12px 0 8px; }
.timeline li { position: relative; text-align: center; font-size: 0.8rem; color: var(--muted); padding-top: 34px; font-weight: 600; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 50%; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); transform: translateX(-50%); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--accent); border-color: var(--accent); }
.timeline li.done::after { background: var(--accent); }
.timeline li.current::before { box-shadow: 0 0 0 6px rgba(194, 98, 26, 0.18); }
.pay-box { border-radius: var(--radius); padding: 20px; margin-top: 16px; background: var(--accent-50); border: 1px solid #f1d6bf; }
.pay-box pre { white-space: pre-wrap; font-family: inherit; margin: 10px 0 0; font-weight: 600; }
.status-pill { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: var(--cream); color: var(--ink-2); white-space: nowrap; }
.status-pill.s-paid, .status-pill.s-completed, .status-pill.s-delivered, .status-pill.s-accepted, .status-pill.s-sent-ok { background: #e7f3eb; color: #1f5a36; }
.status-pill.s-pending, .status-pill.s-new, .status-pill.s-unpaid, .status-pill.s-sent { background: #fdf1e3; color: #8a4a0d; }
.status-pill.s-failed, .status-pill.s-cancelled, .status-pill.s-declined { background: #fbeceb; color: #8a1f18; }
.status-pill.s-confirmed, .status-pill.s-processing, .status-pill.s-ready, .status-pill.s-out_for_delivery, .status-pill.s-scheduled, .status-pill.s-contacted, .status-pill.s-quoted, .status-pill.s-in_progress, .status-pill.s-changes_requested { background: #e8eef6; color: #23466e; }

/* Account */
.account-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); }
.panel + .panel { margin-top: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.auth-media { position: relative; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 56px var(--gutter); }
.auth-form > div { width: 100%; max-width: 420px; }

/* Portfolio */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { display: block; }
.portfolio-card .media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.portfolio-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.portfolio-card:hover .media img { transform: scale(1.05); }
.portfolio-card .badge { position: absolute; top: 14px; left: 14px; }
.portfolio-card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin-top: 16px; }
.portfolio-card p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; user-select: none; background: var(--cream); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--ink); font-size: 1.1rem; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(27, 23, 20, 0.7); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; background: var(--cream); border-radius: 999px; font-size: 0.84rem; font-weight: 600; }

/* Services page */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block:nth-child(even) .service-block-media { order: 2; }
.service-block-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.two-lists h3 { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.two-lists .check-list { margin-top: 0; gap: 8px; font-size: 0.93rem; }
.include-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.include-grid li { display: flex; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 0.94rem; }
.include-grid .icon { color: var(--accent); }

/* About */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.value .icon { width: 30px; height: 30px; color: var(--accent); }
.value h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-top: 14px; }
.value p { color: var(--muted); margin-top: 6px; font-size: 0.94rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat-row div { border-left: 2px solid var(--accent); padding-left: 16px; }
.stat-row strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; display: block; line-height: 1.1; }
.stat-row span { color: var(--muted); font-size: 0.88rem; }
.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; }
.pillars span:not(:last-child)::after { content: "|"; margin-left: 28px; color: var(--accent); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.2s; }
a.contact-card:hover { border-color: var(--ink); }
.contact-card .icon { color: var(--accent); width: 24px; height: 24px; }
.contact-card span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 6px; }
.contact-card strong { font-size: 1rem; word-break: break-word; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); margin-top: 16px; filter: grayscale(0.3) sepia(0.1); }
.hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }

/* Submitted */
.submitted { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(56px, 8vw, 100px) 0; }
.ref-box { display: inline-block; margin-top: 18px; padding: 14px 26px; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--accent); }
.ref-box span { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ref-box strong { font-size: 1.4rem; letter-spacing: 0.04em; }

/* Quote document */
.quote-doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.quote-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.quote-totals { margin-left: auto; max-width: 360px; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .main-nav a { padding: 8px 7px; font-size: 0.85rem; }
  .header-inner { gap: 14px; }
}
@media (max-width: 1200px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-grid; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .split, .pdp, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media, .service-block:nth-child(even) .service-block-media { order: 0; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .project-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-aside, .cart-layout, .shop-layout { grid-template-columns: 1fr; }
  .sticky, .filters { position: static; }
  .shop-layout .filters { display: none; }
  .shop-layout .filters.is-open { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
  .filters-toggle { display: inline-flex; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .values, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-media { display: none; }
  .split-media-card { left: 16px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand-name { font-size: 1.5rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-sub { display: none; }
  .icon-btn { width: 40px; height: 40px; }
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product-desc, .product-variants { display: none; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .product-actions { grid-template-columns: 1fr; }
  .service-grid, .package-grid, .portfolio-grid, .steps, .upload-grid, .contact-cards { grid-template-columns: 1fr; }
  .form-grid, .form-grid-3, .two-lists, .check-grid { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr; }
  .project-mosaic { grid-template-columns: 1fr; }
  .project-tile-lg { grid-column: auto; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-float-b { right: 0; }
  .hero-badge { display: none; }
  .hero-visual { padding-left: 20px; }
  .btn-row .btn-lg { flex: 1 1 100%; }
  .pdp-assurances { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table td[data-label="Unit price"] { display: none; }
  .timeline { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
  .timeline li { text-align: left; padding: 6px 0 16px 36px; }
  .timeline li::before { top: 6px; left: 9px; }
  .timeline li::after { top: -14px; left: 17px; width: 2px; height: 22px; }
  .values, .stat-row { grid-template-columns: 1fr 1fr; }
  .pillars span:not(:last-child)::after { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

.section-dark .portfolio-card p { color: #b8ada1; }

/* ---------- Logo ---------- */
.brand-logo { height: 78px; width: auto; display: block; transition: transform 0.2s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.brand-logo-sm { height: 48px; }
.brand-logo-lg { height: 110px; }
.header-inner { min-height: 94px; }
@media (max-width: 720px) {
  .header-inner { min-height: 66px; }
  .brand-logo { height: 52px; }
  .brand-logo-lg { height: 96px; }
}
