/* ==========================================================================
   Peninsula Miracle — Design System
   Style: European / American minimal B2B. Warm sand, deep navy, brass accent.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #12202b;
  --ink-soft: #3d4f5c;
  --muted: #6c7d89;
  --navy: #0d2436;
  --navy-2: #16354b;
  --sand: #f7f4ee;
  --sand-2: #efe9df;
  --line: #e2dbcf;
  --line-soft: #edE7dd;
  --brass: #a9754a;
  --brass-dark: #8c5c36;
  --green: #2f6b52;
  --white: #ffffff;

  /* Type */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 32, 43, .05);
  --shadow: 0 12px 32px -12px rgba(18, 32, 43, .18);
  --shadow-lg: 0 32px 64px -32px rgba(18, 32, 43, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- Reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

::selection { background: var(--navy); color: #fff; }

/* -------------------------------------------------------------- Layout -- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #eef2f4; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c3ced6; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------- Type utils -- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.section--navy .eyebrow { color: #d9a878; }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--navy .lede { color: #c3ced6; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

.small { font-size: .86rem; line-height: 1.55; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--sand); border-color: var(--ink); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sand-2); color: var(--navy); }

.btn--brass { background: var(--brass); }
.btn--brass:hover { background: var(--brass-dark); }

.btn--sm { padding: 11px 18px; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { gap: 13px; border-color: var(--navy); }
.link-arrow svg { width: 14px; height: 14px; }

/* -------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: .02em;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: .005em;
  color: var(--ink);
}
.brand-sub {
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .89rem;
  color: var(--ink-soft);
  padding: 9px 12px;
  border-radius: 4px;
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a.is-active { color: var(--ink); font-weight: 500; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-tel {
  font-size: .85rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.header-tel svg { width: 14px; height: 14px; color: var(--brass); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 17px; height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  background: var(--sand);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(169, 117, 74, .10), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(13, 36, 54, .07), transparent 42%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 9px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 82, .14);
}
.hero h1 { margin-bottom: 24px; max-width: 15ch; }
.hero h1 em {
  font-style: italic;
  color: var(--brass);
}
.hero .lede { margin-bottom: 34px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note {
  margin-top: 26px;
  font-size: .82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { width: 14px; height: 14px; color: var(--green); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #23445c, #0d2436 60%);
  box-shadow: var(--shadow-lg);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat-card {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  min-width: 210px;
}
.hero-stat-card .k {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
}
.hero-stat-card .v {
  font-size: .76rem;
  letter-spacing: .02em;
  color: var(--muted);
  margin-top: 6px;
}
.hero-stat-card .row {
  display: flex; gap: 22px;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.hero-stat-card .row div .k { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; }
.hero-stat-card .row div .v { font-size: .68rem; }

/* --------------------------------------------------------- Trust strip -- */
.trust-strip { border-bottom: 1px solid var(--line-soft); background: #fff; }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 40px;
  padding: 26px 0;
}
.trust-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 150px;
  line-height: 1.5;
}
.trust-item {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink-soft);
  opacity: .78;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------- Cards -- */
.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card .num {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brass);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: .94rem; line-height: 1.62; }
.card .ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--navy);
  margin-bottom: 22px;
}
.card .ico svg { width: 20px; height: 20px; }
.card .card-foot { margin-top: auto; padding-top: 22px; }

/* ---------------------------------------------------------- Value list -- */
.tick-list { display: grid; gap: 16px; }
.tick-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
}
.tick-list svg {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--green);
}
.tick-list strong { color: var(--ink); font-weight: 600; }
.section--navy .tick-list li { color: #c3ced6; }
.section--navy .tick-list strong { color: #fff; }
.section--navy .tick-list svg { color: #7fbfa3; }

/* --------------------------------------------------------------- Steps -- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  padding: 28px 26px 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 44px; height: 1px;
  background: var(--brass);
}
.step-num {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--brass);
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: .89rem; color: var(--ink-soft); line-height: 1.6; }

/* ------------------------------------------------------------ Products -- */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.cat-filter button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  font-size: .85rem;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.cat-filter button:hover { border-color: var(--ink); color: var(--ink); }
.cat-filter button.is-active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease);
}
.product:hover { box-shadow: var(--shadow); border-color: var(--line); transform: translateY(-3px); }
.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eae4d9, #ded5c5);
  position: relative;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product-media img { transform: scale(1.035); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .94);
  border-radius: 3px;
  padding: 5px 9px;
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.12rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.product-body .desc { font-size: .87rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.spec-list { display: grid; gap: 7px; margin-bottom: 20px; }
.spec-list li {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line-soft);
}
.spec-list li span:last-child { color: var(--ink); font-weight: 500; }
.product .btn { margin-top: auto; }

/* Spec panel media (used where a SKU photography set is not yet available) */
.media-panel {
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #17384f, #0b1e2c 72%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media-panel svg {
  width: 58px; height: 58px;
  stroke: #cf9d6d;
  stroke-width: 1.05;
  fill: none;
  position: relative;
  z-index: 2;
  transition: transform .45s var(--ease);
}
.product:hover .media-panel svg { transform: scale(1.08); }
.media-panel .media-label {
  position: absolute;
  bottom: 13px; left: 15px;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
  z-index: 2;
}
.product-tag--dark {
  background: rgba(255, 255, 255, .1);
  color: #e6d3c1;
  border: 1px solid rgba(255, 255, 255, .14);
}

/* Category banner on the catalogue page */
.cat-banner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-bottom: 34px;
}
.cat-banner .cat-copy { padding: clamp(28px, 4vw, 44px); }
.cat-banner .cat-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.cat-banner .cat-copy p { font-size: .93rem; color: var(--ink-soft); }
.cat-banner .cat-media { background: var(--sand-2); min-height: 240px; position: relative; }
.cat-banner .cat-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.cat-tags span {
  font-size: .72rem;
  color: var(--ink-soft);
  background: var(--sand);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 5px 9px;
}
@media (max-width: 860px) {
  .cat-banner { grid-template-columns: 1fr; }
  .cat-banner .cat-media { min-height: 200px; order: -1; }
  .cat-banner .cat-media img { position: relative; }
}

/* ---------------------------------------------------------- Case cards -- */
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-bottom: 24px;
}
.case-card:nth-child(even) .case-media { order: 2; }
.case-media {
  background: linear-gradient(150deg, #dfd7c8, #c9beab);
  min-height: 300px;
  position: relative;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.case-body { padding: clamp(28px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.chip {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 3px;
  padding: 5px 9px;
}
.case-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.case-body p { font-size: .93rem; color: var(--ink-soft); }
.case-metrics {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.case-metrics .k {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--navy);
}
.case-metrics .v { font-size: .72rem; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }

/* ----------------------------------------------------------- Gallery -- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #d9d1c3, #b8ab96);
}
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(6) { grid-column: span 2; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  font-size: .74rem;
  color: #fff;
  letter-spacing: .04em;
  background: linear-gradient(to top, rgba(9, 20, 29, .82), transparent);
}

/* -------------------------------------------------------- Testimonials -- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.quote-card blockquote {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sand-2);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 600; color: var(--navy);
  flex: none;
}
.quote-card .name { font-size: .86rem; font-weight: 600; }
.quote-card .role { font-size: .76rem; color: var(--muted); }
.stars { color: var(--brass); font-size: .8rem; letter-spacing: .14em; margin-bottom: 16px; }

/* ------------------------------------------------------------ CTA band -- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 117, 74, .28), transparent 66%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: center;
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta-inner h2 { color: #fff; margin-bottom: 16px; max-width: 20ch; }
.cta-inner p { color: #b7c4cd; max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-actions .btn { width: 100%; }
.cta-actions .small { color: #8fa0ac; }

/* ----------------------------------------------------------- Page hero -- */
.page-hero {
  background: var(--sand);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(48px, 6vw, 76px) 0 clamp(44px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 0%, rgba(169, 117, 74, .10), transparent 45%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--muted);
  margin-bottom: 22px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span.sep { opacity: .5; }
.page-hero h1 { max-width: 24ch; margin-bottom: 20px; }
.page-hero .lede { max-width: 60ch; }

/* --------------------------------------------------------------- Forms -- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.field label .req { color: var(--brass); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fdfcfa;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 36, 54, .07);
}
.field input::placeholder,
.field textarea::placeholder { color: #a9b4bc; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236c7d89' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.form-note { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: .86rem;
  background: #eef6f1;
  border: 1px solid #cfe4d8;
  color: var(--green);
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdf1ee; border-color: #f0d5cd; color: #a3452a; }

/* ----------------------------------------------------------- Accordion -- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 24px 44px 24px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  display: block;
  line-height: 1.5;
}
.faq-q::after,
.faq-q::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--brass);
  transition: transform .3s var(--ease);
}
.faq-q::before { transform: rotate(90deg); }
.faq-item.is-open .faq-q::before { transform: rotate(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner {
  padding: 0 44px 26px 0;
  font-size: .93rem;
  color: var(--ink-soft);
  line-height: 1.68;
}
.faq-a-inner ul { margin-top: 10px; display: grid; gap: 8px; }
.faq-a-inner li { position: relative; padding-left: 16px; }
.faq-a-inner li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* ------------------------------------------------------------- Content -- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2em; margin-bottom: .6em; }
.prose h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); font-size: .96rem; }
.prose ul { display: grid; gap: 9px; margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass);
}
.prose a { color: var(--brass-dark); border-bottom: 1px solid rgba(169, 117, 74, .35); }
.prose strong { color: var(--ink); }

/* ------------------------------------------------------------- Footer -- */
.site-footer { background: var(--navy); color: #a9b8c2; padding: clamp(52px, 6vw, 76px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { border-color: rgba(255, 255, 255, .35); color: #fff; }
.site-footer .brand-sub { color: #7d8f9b; }
.footer-about { font-size: .88rem; line-height: 1.65; color: #93a5b1; margin: 20px 0 22px; max-width: 34ch; }
.footer-col h5 {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7d8f9b;
  font-weight: 600;
  margin: 0 0 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .88rem; color: #b3c1cb; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: .88rem; line-height: 1.55; display: flex; gap: 10px; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--brass); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: #7d8f9b;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------- WhatsApp FAB -- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f7a4d;
  color: #fff;
  padding: 13px 18px;
  border-radius: 100px;
  font-size: .86rem;
  font-weight: 500;
  box-shadow: 0 14px 32px -10px rgba(18, 32, 43, .45);
  transition: transform .2s var(--ease), background .2s;
}
.fab:hover { transform: translateY(-2px); background: #196340; }
.fab svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------- Utilities -- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--media-right .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(150deg, #e3dccf, #c6b9a4);
  position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split--tall .split-media { aspect-ratio: 4 / 4.4; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat-row .k {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--navy);
}
.stat-row .v { font-size: .78rem; color: var(--muted); margin-top: 7px; line-height: 1.45; }
.stat-row--4 { grid-template-columns: repeat(4, 1fr); }

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-row--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stat-row--4 { grid-template-columns: 1fr; }
}
.section--navy .stat-row { border-color: rgba(255, 255, 255, .14); }
.section--navy .stat-row .k { color: #fff; }
.section--navy .stat-row .v { color: #94a6b2; }

/* Numbered service rows (services page) */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.15fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-row:last-of-type { border-bottom: 1px solid var(--line); }
.service-row .idx {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--brass);
  padding-top: 6px;
}
.service-row h3 { margin-bottom: 14px; }
.service-row .desc { font-size: .95rem; color: var(--ink-soft); }
.service-row .bullets { display: grid; gap: 10px; }
.service-row .bullets li {
  font-size: .89rem;
  color: var(--ink-soft);
  padding-left: 17px;
  position: relative;
  line-height: 1.55;
}
.service-row .bullets li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass);
}
.service-row .bullets strong { color: var(--ink); font-weight: 600; }

/* QC process timeline */
.qc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.qc-cell { background: #fff; padding: 26px 22px; }
.qc-cell .n { font-size: .7rem; letter-spacing: .12em; color: var(--brass); margin-bottom: 12px; }
.qc-cell h4 { font-size: .95rem; margin-bottom: 7px; }
.qc-cell p { font-size: .83rem; color: var(--muted); line-height: 1.55; }

/* Contact info blocks */
.contact-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.contact-item {
  background: #fff;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background .18s;
}
.contact-item:hover { background: var(--sand); }
.contact-item .ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sand);
  display: grid; place-items: center;
  flex: none;
  color: var(--navy);
}
.contact-item .ico svg { width: 16px; height: 16px; }
.contact-item .label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-item .value { font-size: .93rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-item .hint { font-size: .76rem; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------------ Responsive -- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 20ch; }
  .hero-media { max-width: 560px; }
  .hero-media .frame { aspect-ratio: 16 / 12; }
  .hero-stat-card { left: auto; right: 18px; bottom: 18px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery figure:nth-child(6) { grid-column: span 2; }
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row .bullets { grid-column: 2; margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .header-tel { display: none; }
  .nav-toggle { display: grid; }

  /* Collapsed navigation panel (works from 1024px down) */
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; border-radius: 0; }
  .nav .btn { margin-top: 14px; }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; border-radius: 0; }
  .nav .btn { margin-top: 14px; }
  .header-cta .btn { display: none; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-card:nth-child(even) .case-media { order: 0; }
  .case-media { min-height: 220px; }
  .case-media img { position: relative; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split-media { order: 1; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px 1fr; }
  .trust-inner { justify-content: flex-start; gap: 18px 28px; }
  .trust-label { max-width: none; width: 100%; }
  .hero-stat-card { position: static; margin-top: -30px; margin-left: 16px; width: fit-content; }
  .hero-media .frame { aspect-ratio: 4 / 3.2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .steps { grid-template-columns: 1fr; }
  .qc-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr; gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .fab { right: 14px; bottom: 14px; padding: 12px 16px; }
  .fab span { display: none; }
  .case-metrics { gap: 20px; }
  .card { padding: 24px; }
}

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

/* ------------------------------------------------------------ Tables -- */
.prose table,
.table-plain {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: .87rem;
}
.prose th,
.prose td,
.table-plain th,
.table-plain td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.prose th,
.table-plain th {
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.prose td code {
  font-size: .82rem;
  background: var(--sand);
  padding: 2px 5px;
  border-radius: 3px;
}

/* ------------------------------------------------------ Cookie banner -- */
.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(18, 32, 43, .45);
  padding: 20px 22px;
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 48ch;
}
.cookie-bar a { color: var(--brass-dark); border-bottom: 1px solid rgba(169, 117, 74, .4); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 76px; padding: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Print */
@media print {
  .site-header, .fab, .cta-band, .site-footer { display: none; }
  body { color: #000; }
}
