/*
  Finishworks Design System
  finishworks.co.uk
  Version 1.0 - May 2025
  ─────────────────────────────────────────────────────────
  This file defines the full design token set, typography,
  shared components and layout utilities used across all
  Finishworks pages.
*/

/* ─── FONTS ──────────────────────────────────────────── */
/* Import in <head>:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Inter:ital,wght@0,700;1,700&display=swap" rel="stylesheet">
   Or self-host for production performance.
   Inter = display / headings
   Inter = body / UI
*/

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {

  /* Colour - v4 Navy palette, no green UI */
  --black:        #18181b;   /* Retained for compatibility */
  --ink:          #18181b;   /* Body text - near-black, not harsh */
  --ink-soft:     #52525b;   /* Secondary body text */
  --ink-muted:    #a1a1aa;   /* Labels, captions, meta */
  --border:       #e4e3df;   /* Default borders - lighter */
  --border-mid:   #d1d0cb;   /* Slightly stronger borders */
  --surface:      #f9f8f5;   /* Liam spec - lighter warm white */
  --surface-mid:  #f2f1ee;   /* Subtle divider sections */
  --white:        #ffffff;   /* Pure white */
  --accent:       #c9a96e;   /* Gold - warmth, used sparingly */
  --accent-dark:  #8a6e3e;   /* Darker gold hover */
  --green:        #1e3a5f;   /* REMAPPED → navy (green var retained for compat) */
  --green-light:  #e8edf4;   /* REMAPPED → navy light */
  --green-dark:   #152c4a;   /* Navy dark - hover */
  --green-deeper: #0f1e35;   /* Footer background */
  --navy:         #1e3a5f;   /* Primary brand accent */
  --navy-dark:    #152c4a;   /* Hover / pressed */
  --navy-light:   #e8edf4;   /* Light fills, tag backgrounds */
  --navy-mid:     #c8d4e3;   /* Borders for navy elements */
  --footer-bg:    #0f1e35;   /* Footer - very dark navy, not black */

  /* Typography scale */
  --text-xs:    11px;
  --text-sm:    13px;
  --text-base:  15px;
  --text-md:    16px;
  --text-lg:    17px;
  --text-xl:    20px;

  /* Spacing */
  --section-pad:    80px 40px;
  --section-pad-sm: 48px 40px;
  --inner-max:      1160px;
  --gap-card:       10px;
  --gap-grid:       64px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-pill: 100px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.section-inner { max-width: var(--inner-max); margin: 0 auto; }
section { padding: var(--section-pad); }
.section-sm { padding: var(--section-pad-sm); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h2 {
  font-family: 'Inter', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--black);
}
h3 {
  font-family: 'Inter', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}
h4 {
  font-family: 'Inter', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}
.display-num {
  font-family: 'Inter', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.02em;
}
.accent { color: var(--navy); font-style: italic; }
.italic-accent { color: var(--navy); font-style: italic; }
.italic-accent-gold { color: var(--accent); font-style: italic; }
.italic-accent-white { color: rgba(255,255,255,0.55); font-style: italic; }
.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.section-label-accent { color: var(--accent); }

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 104;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s;
}
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 104;
  gap: 6px;
  position: fixed;
  top: 20px;
  right: 24px;
  transition: all 0.2s ease;
}
.hamburger:active {
  transform: scale(0.95);
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  display: block;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(11px, 11px);
  background: var(--white);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
  background: var(--white);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1e3a5f 0%, #152c4a 100%);
  z-index: 102;
  flex-direction: column;
  padding: 70px 32px 40px 32px;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  animation: slideInRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  backdrop-filter: blur(10px);
}
.mobile-menu.active {
  display: flex;
  pointer-events: auto;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.mobile-menu a {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 16px 14px;
  margin: 4px -14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}
.mobile-menu a:hover {
  background: rgba(201, 169, 110, 0.15);
  color: var(--accent);
  padding-left: 18px;
}
.mobile-menu a:last-child {
  margin-bottom: 8px;
}
.mobile-menu .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--accent) 0%, #d4b896 100%);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}
.mobile-menu .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.35);
}
.mobile-menu .close-btn {
  position: fixed;
  top: 20px;
  right: 32px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 103;
  line-height: 1;
}
.mobile-menu .close-btn:hover {
  color: var(--accent);
}
.logo {
  font-family: 'Inter', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--navy); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 500; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--footer-bg); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--footer-bg); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--surface); }
.btn-surface { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-surface:hover { background: var(--border); }
.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline-dark:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  font-weight: 400;
  border-bottom: 1px solid var(--border-mid);
  border-radius: 0;
  padding: 0 0 2px;
  gap: 6px;
}
.btn-ghost:hover { color: var(--ink); }
.btn-nav { background: var(--footer-bg); color: var(--white); font-size: var(--text-sm); padding: 9px 22px; }
.btn-nav:hover { background: var(--navy); }

/* ─── TAGS / PILLS ───────────────────────────────────── */
.tag {
  display: inline-block;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.tag-green { background: var(--green-light); color: var(--navy); font-weight: 600; border-color: var(--green-light); }
.tag-dark { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.15); }
.tag-white-outline { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.2); font-weight: 600; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }

/* ─── EYEBROW PILL ───────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 8px;
  margin-bottom: 28px;
}
.eyebrow-pill {
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow-text { font-size: 12px; color: var(--ink-muted); font-weight: 400; }

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.card-surface {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.card-green {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-black {
  background: var(--footer-bg);
  border-radius: var(--radius-md);
  padding: 24px 32px;
}

/* ─── AT A GLANCE ────────────────────────────────────── */
.glance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.glance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.glance-row:last-child { border-bottom: none; padding-bottom: 0; }
.glance-label { font-size: var(--text-sm); color: var(--ink-soft); font-weight: 300; }
.glance-value { font-size: var(--text-sm); font-weight: 500; color: var(--black); }
.glance-value.green { color: var(--navy); }

/* ─── WHATSAPP CARD ──────────────────────────────────── */
.wa-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.wa-card-title { font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 2px; }
.wa-card-sub { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 300; }
.wa-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.wa-btn:hover { background: rgba(255,255,255,0.25); }

/* ─── STAT CARD ──────────────────────────────────────── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.stat-item { padding: 0 16px; border-right: 1px solid var(--border); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Inter', serif; font-size: 22px; font-weight: 700; color: var(--black); line-height: 1; }
.stat-label { font-size: 11px; color: var(--ink-muted); margin-top: 4px; font-weight: 400; }

/* ─── REVIEW CARDS ───────────────────────────────────── */
.review-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.review-text { font-size: 16px; color: var(--black); line-height: 1.65; margin-bottom: 20px; font-weight: 400; }
.review-author-row { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #fff;
  flex-shrink: 0;
}
.review-name { font-size: var(--text-sm); font-weight: 500; color: var(--black); }
.review-location { font-size: 12px; color: var(--ink-muted); font-weight: 300; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-row { border-top: 1px solid var(--border); }
.faq-row:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.faq-q-text { font-size: 15px; font-weight: 400; color: var(--black); }
.faq-icon { color: var(--navy); font-size: 22px; line-height: 1; flex-shrink: 0; font-weight: 300; }
.faq-a { display: none; padding-bottom: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; font-weight: 300; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  padding: 48px 40px 32px;
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: var(--inner-max);
  margin: 0 auto;
}
.footer-logo { font-family: 'Inter', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: var(--text-sm); color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 240px; font-weight: 300; margin-bottom: 16px; }
.footer-google-rating { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #4285F4; color: white; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.footer-google-rating:hover { background: #3367D6; transform: translateY(-2px); }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.45); font-weight: 300; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); font-weight: 300; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.4); }
.footer-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 24px 0;
  max-width: var(--inner-max);
  margin: 0 auto;
}
.footer-row a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.footer-row a:hover {
  color: var(--white);
}

/* ─── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb { padding: 14px 40px; background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: var(--inner-max); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { font-size: 12px; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { font-size: 12px; color: var(--ink-muted); }
.breadcrumb .current { font-size: 12px; color: var(--ink); font-weight: 500; }

/* ─── PROCESS STEPS ──────────────────────────────────── */
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.active { background: var(--navy); border-color: var(--navy); }
.step-num span { font-family: 'Inter', serif; font-size: 14px; color: var(--navy); font-style: italic; }
.step-num.active span { color: #fff; }
.step-title { font-size: 16px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.step-body { font-size: 14px; color: var(--ink-soft); line-height: 1.65; font-weight: 300; }

/* ─── COLOUR SWATCHES ────────────────────────────────── */
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.swatch { border-radius: var(--radius-sm); padding: 16px; display: flex; align-items: end; min-height: 80px; }
.swatch span { font-size: 11px; font-weight: 300; }
.swatch.dark span { color: rgba(255,255,255,0.5); }
.swatch.light span { color: rgba(0,0,0,0.4); }

/* ─── AREA PILLS ─────────────────────────────────────── */
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.area-pill {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 12px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

/* ─── UTILITY ────────────────────────────────────────── */
.text-white { color: var(--white); }
.text-muted-white { color: rgba(255,255,255,0.55); }
.text-dim-white { color: rgba(255,255,255,0.45); }
.bg-black { background: var(--footer-bg); }
.bg-surface { background: var(--surface); }
.bg-green { background: var(--navy); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-bottom-dark { border-bottom: 1px solid rgba(255,255,255,0.08); }
.divider { height: 1px; background: var(--border); }
.divider-dark { height: 1px; background: rgba(255,255,255,0.08); }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.gap-10 { gap: 10px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

/* ─── SCHEMA (hidden) ────────────────────────────────── */
.schema { display: none; }

/* ─────────────────────────────────────────────────────
   RESPONSIVE
   Mobile breakpoint: 768px
   Tablet breakpoint: 1024px
   ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gap-grid: 48px; }
  h1 { font-size: clamp(38px, 5vw, 56px); }
  h2 { font-size: clamp(28px, 4vw, 40px); }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; position: relative; z-index: 105; }
  .nav-links { display: none; }
  .nav-actions .btn-nav { display: none; }
  .hamburger { display: flex; position: fixed; }
  section { padding: 56px 20px; }
  .section-sm { padding: 36px 20px; }
  .breadcrumb { padding: 12px 20px; }
  h1 { font-size: clamp(36px, 8vw, 48px); }
  h2 { font-size: clamp(28px, 6vw, 36px); }
  footer { padding: 40px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
