@import url('https://fonts.googleapis.com/css2?family=Petrona:wght@500;600&family=Figtree:wght@400;500;600;700&display=swap');

/* ============================================================
   Collins Wallpaper Masters — collinswallpapermasters.com
   Concept: plaster-white surface, seam rules, plum plumb line
   ============================================================ */

:root {
  --font-heading: 'Petrona', Georgia, serif;
  --font-body: 'Figtree', Arial, sans-serif;
  --font-accent: 'Figtree', Arial, sans-serif;
  --bg-dark: #2B2230;
  --bg-light: #FAF7F2;
  --bg-alt: #F1EBE1;
  --accent: #6E2A5B;
  --accent-hover: #571F48;
  --text-light: #FAF7F2;
  --text-dark: #26212B;
  --text-muted: #6F6674;
  --border: #DFD6C8;
  --error: #9E2B25;
  --radius-card: 12px;
  --radius-input: 8px;
  --radius-form: 14px;
  --shadow: 0 18px 40px rgba(43, 34, 48, 0.14);
  --shadow-raised: 0 24px 56px rgba(32, 24, 35, 0.22);
  --transition: 180ms cubic-bezier(0.23, 1, 0.32, 1);
  --seam: 1px solid var(--border);
  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--text-dark); }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

ul, ol { padding-left: 1.2rem; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Layout helpers ---------- */
.cwm-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.cwm-section { padding: 80px 0; }
.cwm-section--flush { padding-top: 0; }

/* Seam rule: signature section opener */
.cwm-seam {
  position: relative;
  border-top: var(--seam);
  padding-top: 40px;
}

.cwm-kicker {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.cwm-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 12px;
}

.cwm-center { text-align: center; }
.cwm-center .cwm-sub { margin-left: auto; margin-right: auto; }
.cwm-mt-1 { margin-top: 16px; }
.cwm-mt-2 { margin-top: 32px; }
.cwm-mt-3 { margin-top: 48px; }
.cwm-mb-2 { margin-bottom: 32px; }

/* ---------- Buttons ---------- */
.cwm-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  min-height: 48px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cwm-btn--primary { background: var(--accent); color: var(--text-light); }
.cwm-btn--primary:hover { background: var(--accent-hover); color: var(--text-light); box-shadow: 0 8px 18px rgba(110, 42, 91, 0.25); transform: translateY(-1px); }
.cwm-btn--primary,
.cwm-nav .cwm-btn--primary { color: #FFFFFF; }
.cwm-nav .cwm-btn--primary:hover { color: #FFFFFF; }
.cwm-btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.cwm-btn--ghost:hover { background: var(--accent); color: var(--text-light); }
.cwm-btn--wide { width: 100%; }
.cwm-btn:active, .cwm-tab:active { transform: scale(0.97); }

/* ---------- Top bar + header ---------- */
.cwm-topline {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.85rem;
}
.cwm-topline .cwm-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 12px;
}
.cwm-topline__place { display: inline-flex; align-items: center; gap: 6px; color: #CFC6D6; }
.cwm-topline__place svg { flex: none; }
.cwm-topline__tel {
  color: var(--text-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}
.cwm-topline__tel:hover { color: #C98BB4; }

.cwm-masthead {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-light);
  border-bottom: var(--seam);
}
.cwm-masthead .cwm-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.cwm-brand { display: inline-flex; align-items: center; }
.cwm-brand img { width: 240px; height: 48px; }

.cwm-nav { display: flex; align-items: center; gap: 4px; }
.cwm-nav a {
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 12px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}
.cwm-nav a:hover { color: var(--accent); }
.cwm-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.cwm-nav .cwm-btn { margin-left: 10px; padding: 11px 20px; min-height: 44px; }

.cwm-burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.cwm-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text-dark);
  transition: transform var(--transition), opacity var(--transition);
}
.cwm-burger span:nth-child(1) { top: 15px; }
.cwm-burger span:nth-child(2) { top: 23px; }
.cwm-burger span:nth-child(3) { top: 31px; }
.cwm-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.cwm-burger.active span:nth-child(2) { opacity: 0; }
.cwm-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.cwm-hero { position: relative; padding: 28px 0 0; }
.cwm-hero > .cwm-container:nth-child(2) { max-width: none; padding: 0; }
.cwm-hero > .cwm-container:first-child {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 0;
  right: 0;
  height: 620px;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.cwm-hero__head {
  /* Reserve the right-hand column for the quote form and a clear gutter. */
  max-width: min(600px, calc(100% - 560px));
  pointer-events: auto;
}
.cwm-hero__head h1 { margin-bottom: 16px; }
.cwm-hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(250, 247, 242, 0.86);
  max-width: 640px;
}
.cwm-hero h1 { color: var(--text-light); text-wrap: balance; }

.cwm-vouchers { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.cwm-voucher {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-light);
}
.cwm-voucher svg { color: #e8a8d0; flex: none; }

.cwm-hero__stage {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px);
  border-radius: 0;
  box-shadow: var(--shadow);
}
.cwm-hero__stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 23, 35, 0.94) 0%, rgba(40, 29, 43, 0.8) 47%, rgba(40, 29, 43, 0.28) 100%);
}
.cwm-hero__img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Form card overlapping the image's bottom edge */
.cwm-panelform {
  background: var(--bg-light);
  border: var(--seam);
  border-top: 3px solid var(--accent);
  padding: 30px 28px 28px;
  max-width: 460px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-form);
}
.cwm-hero .cwm-panelform {
  position: relative;
  margin: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px)) 0 0;
  z-index: 1;
  box-shadow: var(--shadow-raised);
}
.cwm-panelform h2, .cwm-panelform h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.cwm-hero .cwm-panelform h2 { text-align: center; }
.cwm-panelform p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }

/* ---------- Forms ---------- */
.cwm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cwm-field { margin-bottom: 14px; position: relative; }
.cwm-form-row .cwm-field { margin-bottom: 0; }
.cwm-field--full { grid-column: 1 / -1; }
.cwm-form-row { margin-bottom: 14px; }

.cwm-field input,
.cwm-field select,
.cwm-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.cwm-field select {
  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='%236E2A5B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  color: var(--text-dark);
}
.cwm-field textarea { min-height: 96px; resize: vertical; }
.cwm-field input::placeholder, .cwm-field textarea::placeholder { color: #8B8292; }
.cwm-field input:focus, .cwm-field select:focus, .cwm-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.cwm-field input.cwm-invalid,
.cwm-field select.cwm-invalid,
.cwm-field textarea.cwm-invalid { border-color: var(--error); }

.cwm-field-error {
  display: block;
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
}

.cwm-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cwm-form-note {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  font-size: 0.95rem;
  margin-top: 14px;
}
.cwm-form-note--error { border-left-color: var(--error); color: var(--error); }

/* ---------- B2B split ---------- */
.cwm-duo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.cwm-duo__img img { border: var(--seam); width: 100%; height: auto; }

.cwm-offer-list { list-style: none; padding: 0; margin: 22px 0; }
.cwm-offer-list li {
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cwm-offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.cwm-offer-list li:last-child { border-bottom: 0; }

/* ---------- Service cards ---------- */
.cwm-craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.cwm-craft {
  border: var(--seam);
  padding: 26px 22px;
  background: var(--bg-light);
  border-radius: var(--radius-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cwm-craft:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(43, 34, 48, 0.1); }
.cwm-craft svg { color: var(--accent); margin-bottom: 14px; }
.cwm-craft h3 { font-size: 1.15rem; margin-bottom: 10px; }
.cwm-craft p { font-size: 0.93rem; color: var(--text-muted); }

.cwm-valueline {
  margin-top: 34px;
  padding: 18px 22px;
  background: var(--bg-alt);
  font-size: 0.98rem;
  text-align: center;
}

/* ---------- Gallery ---------- */
.cwm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.cwm-tab {
  display: inline-block;
  padding: 11px 22px;
  min-height: 44px;
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--bg-light);
  cursor: pointer;
}
.cwm-tab:hover { border-color: var(--accent); color: var(--accent); }
.cwm-tab.active { background: var(--accent); border-color: var(--accent); color: var(--text-light); }

.cwm-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.cwm-panel { border: var(--seam); background: var(--bg-light); border-radius: var(--radius-card); overflow: hidden; }
.cwm-panel img { width: 100%; height: auto; }
.cwm-panel figcaption {
  padding: 12px 14px;
  font-size: 0.87rem;
  color: var(--text-muted);
  border-top: var(--seam);
}
.cwm-panel.hidden { display: none; }

/* ---------- Before / after ---------- */
.cwm-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.cwm-ba {
  position: relative;
  overflow: hidden;
  border: var(--seam);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.cwm-ba img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.cwm-ba__after {
  position: absolute;
  inset: 0;
}
.cwm-ba__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cwm-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--bg-light);
  z-index: 4;
}
.cwm-ba__handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--text-light);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.cwm-ba__tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  background: rgba(43, 34, 48, 0.82);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  pointer-events: none;
}
.cwm-ba__tag--before { left: 12px; }
.cwm-ba__tag--after { right: 12px; }

/* ---------- Reviews / why us ---------- */
.cwm-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cwm-why__item { border: var(--seam); padding: 24px 22px; }
.cwm-why__item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cwm-why__item p { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- Process ---------- */
.cwm-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border: var(--seam);
}
.cwm-step { padding: 28px 24px; border-right: var(--seam); }
.cwm-step:last-child { border-right: 0; }
.cwm-step__no {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.cwm-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cwm-step p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- SEO content ---------- */
.cwm-prose { max-width: 820px; }
.cwm-prose p { margin-bottom: 18px; }
.cwm-prose p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.cwm-faq { margin-top: 36px; border-top: var(--seam); }
.cwm-faq__item { border-bottom: var(--seam); }
.cwm-faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px 4px;
  min-height: 48px;
  cursor: pointer;
}
.cwm-faq__q:hover { color: var(--accent); }
.cwm-faq__icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  color: var(--accent);
}
.cwm-faq__icon::before, .cwm-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--transition);
}
.cwm-faq__icon::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.cwm-faq__icon::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.cwm-faq__item.active .cwm-faq__icon::after { transform: scaleY(0); }
.cwm-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.cwm-faq__a-inner { padding: 0 4px 22px; color: var(--text-muted); max-width: 760px; }

/* ---------- Stats ---------- */
.cwm-tally {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--seam);
  background: var(--bg-alt);
}
.cwm-tally__cell { padding: 30px 20px; text-align: center; border-right: var(--seam); }
.cwm-tally__cell:last-child { border-right: 0; }
.cwm-tally__num {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--accent);
  display: block;
}
.cwm-tally__label { font-size: 0.9rem; color: var(--text-dark); font-weight: 500; }

/* ---------- Page hero + breadcrumbs ---------- */
.cwm-pagehead {
  padding: 64px 0 56px;
  border-bottom: var(--seam);
  background: linear-gradient(115deg, var(--bg-alt), #f8f4ed);
}
.cwm-crumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.cwm-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cwm-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.cwm-crumbs a { color: var(--text-muted); }
.cwm-crumbs a:hover { color: var(--accent); }

/* ---------- Two-column & lists ---------- */
.cwm-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cwm-checks { list-style: none; padding: 0; }
.cwm-checks li {
  padding: 9px 0 9px 32px;
  position: relative;
}
.cwm-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.cwm-rooms { margin-top: 26px; border-top: var(--seam); }
.cwm-rooms dt {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.08rem;
  padding-top: 18px;
}
.cwm-rooms dd { color: var(--text-muted); padding: 4px 0 18px; border-bottom: var(--seam); font-size: 0.96rem; }

/* ---------- Value cards / areas grid ---------- */
.cwm-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cwm-tile { border: var(--seam); padding: 26px 22px; }
.cwm-tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cwm-tile p { font-size: 0.93rem; color: var(--text-muted); }

.cwm-map-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.cwm-contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 56px;
  align-items: start;
}
.cwm-panelform--contact { max-width: none; width: 100%; }
.cwm-map-card {
  border: var(--seam);
  padding: 26px 22px;
  display: block;
  color: var(--text-dark);
  transition: border-color var(--transition);
}
.cwm-map-card:hover { border-color: var(--accent); color: var(--text-dark); }
.cwm-map-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cwm-map-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 10px; }
.cwm-map-card span { color: var(--accent); font-weight: 600; font-size: 0.92rem; }

/* ---------- Contact page ---------- */
.cwm-contact-lines { display: grid; gap: 0; border-top: var(--seam); }
.cwm-contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: var(--seam);
}
.cwm-contact-line svg { color: var(--accent); flex: none; margin-top: 4px; }
.cwm-contact-line strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }

.cwm-hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.cwm-hours th, .cwm-hours td { text-align: left; padding: 10px 4px; border-bottom: var(--seam); font-size: 0.95rem; }
.cwm-hours th { font-weight: 600; }

.cwm-map-embed { border: var(--seam); margin-top: 40px; }
.cwm-map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- CTA band ---------- */
.cwm-ctaband {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 0;
  text-align: center;
}
.cwm-ctaband h2 { color: var(--text-light); margin-bottom: 12px; }
.cwm-ctaband p { color: #CFC6D6; max-width: 620px; margin: 0 auto 26px; }
.cwm-ctaband .cwm-container { position: relative; }
.cwm-ctaband::before { content: none; }
.cwm-ctaband__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cwm-btn--onDark { background: var(--text-light); color: var(--bg-dark); }
.cwm-btn--onDark:hover { background: #E9E2D6; color: var(--bg-dark); }
.cwm-btn--outlineDark { background: transparent; border-color: #CFC6D6; color: var(--text-light); }
.cwm-btn--outlineDark:hover { border-color: var(--text-light); background: rgba(250,247,242,0.08); color: var(--text-light); }

/* ---------- Footer ---------- */
.cwm-basefoot {
  background: var(--bg-dark);
  color: #CFC6D6;
  padding: 64px 0 0;
  border-top: 3px solid var(--accent);
}
.cwm-basefoot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}
.cwm-basefoot h3 {
  color: var(--text-light);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cwm-basefoot p { font-size: 0.93rem; }
.cwm-basefoot ul { list-style: none; padding: 0; }
.cwm-basefoot ul li { margin-bottom: 10px; }
.cwm-basefoot a { color: #CFC6D6; }
.cwm-basefoot a:hover { color: var(--text-light); }
.cwm-basefoot__brand img { width: 240px; height: 48px; margin-bottom: 16px; }
.cwm-basefoot__contact li { display: flex; gap: 10px; align-items: flex-start; }
.cwm-basefoot__contact svg { flex: none; margin-top: 5px; color: #C98BB4; }
.cwm-basefoot__legal {
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  padding: 20px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Sticky CTA ---------- */
.cwm-floatcta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow);
}

/* ---------- Modal ---------- */
.cwm-veil {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(38, 33, 43, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cwm-veil.active { display: flex; }
.cwm-veil .cwm-panelform { max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; margin: 0; }
.cwm-veil__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.cwm-veil__close:hover { color: var(--accent); }
.cwm-veil .cwm-panelform { position: relative; }

/* ---------- Hero load animation (single orchestrated moment) ---------- */
@keyframes cwmRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.cwm-anim { animation: cwmRise 0.6s ease both; }
.cwm-anim--2 { animation-delay: 0.12s; }
.cwm-anim--3 { animation-delay: 0.24s; }
.cwm-anim--4 { animation-delay: 0.36s; }

/* ---------- 404 ---------- */
.cwm-lost { padding: 96px 0; text-align: center; }
.cwm-lost h1 { margin-bottom: 14px; }
.cwm-lost p { color: var(--text-muted); margin-bottom: 26px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 993px) and (max-width: 1200px) {
  .cwm-nav { gap: 0; }
  .cwm-nav a { padding: 10px 7px; font-size: 0.85rem; white-space: nowrap; }
  .cwm-nav .cwm-btn { padding: 10px 14px; font-size: 0.85rem; margin-left: 4px; }
  .cwm-brand img { width: 190px; height: auto; }
}

@media (max-width: 992px) {
  .cwm-burger { display: block; }
  .cwm-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-light);
    border-bottom: var(--seam);
    padding: 12px 24px 20px;
    gap: 0;
  }
  .cwm-nav.active { display: flex; }
  .cwm-nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); min-height: 48px; }
  .cwm-nav a.active { border-bottom-color: var(--accent); }
  .cwm-nav .cwm-btn { margin: 16px 0 0; }

  .cwm-craft-grid { grid-template-columns: repeat(2, 1fr); }
  .cwm-steps { grid-template-columns: repeat(2, 1fr); }
  .cwm-step:nth-child(2) { border-right: 0; }
  .cwm-step:nth-child(-n+2) { border-bottom: var(--seam); }
  .cwm-tiles { grid-template-columns: repeat(2, 1fr); }
  .cwm-duo { grid-template-columns: 1fr; gap: 32px; }
  .cwm-cols { grid-template-columns: 1fr; gap: 32px; }
  .cwm-hero > .cwm-container:first-child { height: 660px; }
  .cwm-hero__head { max-width: calc(100% - 400px); }
  .cwm-hero__stage { min-height: 660px; padding: 40px 28px; }
  .cwm-hero .cwm-panelform { margin: 0 24px 0 0; max-width: 380px; }
}

@media (max-width: 768px) {
  .cwm-section { padding: 56px 0; }
  .cwm-wall { grid-template-columns: repeat(2, 1fr); }
  .cwm-why { grid-template-columns: 1fr; }
  .cwm-ba-pair { grid-template-columns: 1fr; }
  .cwm-tally { grid-template-columns: repeat(2, 1fr); }
  .cwm-tally__cell:nth-child(2), .cwm-tally__item:nth-child(2) { border-right: 0; }
  .cwm-tally__cell:nth-child(-n+2), .cwm-tally__item:nth-child(-n+2) { border-bottom: var(--seam); }
  .cwm-map-grid { grid-template-columns: repeat(2, 1fr); }
  .cwm-contact-split { grid-template-columns: 1fr; gap: 40px; }
  .cwm-basefoot__grid { grid-template-columns: 1fr 1fr; }
  .cwm-hero > .cwm-container:first-child {
    height: 860px;
    align-items: flex-start;
    padding-top: 48px;
  }
  .cwm-hero__head { max-width: 650px; }
  .cwm-hero__stage { min-height: 860px; padding: 36px 24px; align-items: flex-end; }
  .cwm-hero .cwm-panelform { margin: 0; max-width: 480px; }
  .cwm-floatcta {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 -6px 20px rgba(43, 34, 48, 0.2);
  }
}

@media (max-width: 480px) {
  .cwm-craft-grid { grid-template-columns: 1fr; }
  .cwm-steps { grid-template-columns: 1fr; }
  .cwm-step { border-right: 0; border-bottom: var(--seam); }
  .cwm-step:last-child { border-bottom: 0; }
  .cwm-wall { grid-template-columns: 1fr; }
  .cwm-form-row { grid-template-columns: 1fr; }
  .cwm-form-row .cwm-field { margin-bottom: 14px; }
  .cwm-form-row .cwm-field:last-child { margin-bottom: 0; }
  .cwm-map-grid { grid-template-columns: 1fr; }
  .cwm-basefoot__grid { grid-template-columns: 1fr; }
  .cwm-hero > .cwm-container:first-child { height: 900px; padding-top: 36px; }
  .cwm-hero__stage { min-height: 900px; padding: 20px 14px; }
  .cwm-hero .cwm-panelform { margin-top: 0; padding: 24px 20px; }
  .cwm-topline .cwm-container { font-size: 0.8rem; }
  .cwm-brand img { width: 200px; height: 40px; }
}

/* ---- Shared components used by inner pages (split, cards, ticks, tint) ---- */
.cwm-section--tint { background: var(--bg-alt); }

.cwm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.cwm-split--rev { direction: rtl; }
.cwm-split--rev > * { direction: ltr; }
.cwm-split__copy h2 { margin-bottom: 14px; }
.cwm-split__media img { width: 100%; height: auto; border: var(--seam); display: block; }

.cwm-ticks { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.cwm-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  border: var(--seam);
  background: var(--bg-light);
  padding: 8px 14px;
}
.cwm-tick::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: 0 0 auto;
}

.cwm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cwm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cwm-card {
  border: var(--seam);
  background: var(--bg-light);
  padding: 26px 22px;
  display: block;
  color: var(--text-dark);
  border-radius: var(--radius-card);
}
.cwm-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cwm-card p { font-size: 0.93rem; color: var(--text-muted); }
.cwm-card--link { transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.cwm-card--link:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(43, 34, 48, 0.1); color: var(--text-dark); }
.cwm-card__icon { color: var(--accent); margin-bottom: 12px; display: inline-flex; }
.cwm-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.cwm-tally__item { text-align: center; padding: 26px 16px; border-right: var(--seam); }
.cwm-tally__item:last-child { border-right: 0; }
.cwm-tally__item .cwm-tally__num { display: block; margin-bottom: 4px; }

.cwm-404-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}

@media (max-width: 992px) {
  .cwm-split { grid-template-columns: 1fr; gap: 36px; }
  .cwm-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cwm-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cwm-grid-3, .cwm-grid-4 { grid-template-columns: 1fr; }
}
