/* ==========================================================================
   Unlimited Keys — Design System
   Charcoal workshop palette + brass key-metal accent + steel-blue trust tone
   Display: Space Grotesk (mechanical, cut precision) / Body: Inter
   ========================================================================== */

:root {
  --ink: #12151a;
  --ink-soft: #171b22;
  --panel: #1b202a;
  --panel-raised: #232936;
  --line: #2b3140;
  --line-soft: #262c38;

  --brass: #c9a15c;
  --brass-bright: #e3c184;
  --brass-dim: #8a713f;

  --steel: #6f93b8;
  --steel-dim: #46596e;

  --paper: #f4f1e9;
  --paper-dim: #cfd0d6;
  --mute: #8d94a3;

  --good: #7fae86;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;

  --shadow-card: 0 12px 30px -14px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 20px 45px -18px rgba(0, 0, 0, 0.65);

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--paper);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brass {
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  color: #201808;
  box-shadow: 0 10px 24px -10px rgba(201, 161, 92, 0.55);
}
.btn-brass:hover { box-shadow: 0 14px 30px -10px rgba(201, 161, 92, 0.7); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(18, 21, 26, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--panel-raised);
  padding: 4px;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.brand-text span { color: var(--brass); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  color: var(--paper-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--brass-bright); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 9px 11px;
  color: var(--paper);
  cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--line-soft);
  background: var(--ink-soft);
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.mobile-nav a:hover { color: var(--brass-bright); }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 84px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(111, 147, 184, 0.16), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(201, 161, 92, 0.12), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--brass-bright);
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--paper-dim);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.trust-strip div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--mute);
}
.trust-strip strong {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.35rem;
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 28px;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-l);
  padding: 1px;
  background: linear-gradient(135deg, rgba(201,161,92,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.hero-panel p.small {
  color: var(--mute);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.quote-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.quote-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--paper-dim);
}
.quote-list i {
  color: var(--brass);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------------------------------- Key-cut divider (signature) ---------------------------------- */

.keycut-divider {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0;
}
.keycut-divider path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}
.keycut-divider.accent path {
  stroke: var(--brass-dim);
}

/* ---------------------------------- Section shell ---------------------------------- */

section { padding: 78px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head p {
  color: var(--mute);
  font-size: 1.02rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.panel-alt { background: var(--ink-soft); }

/* ---------------------------------- Services (key-tag cards) ---------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 24px 24px;
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-dim);
  box-shadow: var(--shadow-card);
}
.service-card:hover::after { border-color: var(--brass); }

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 161, 92, 0.12);
  color: var(--brass-bright);
  font-size: 1.2rem;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.service-card p { color: var(--mute); font-size: 0.92rem; margin: 0; flex-grow: 1; }
.service-card .go {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------------------------------- Process ---------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-left: 8px;
  border-left: 2px solid var(--line);
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 10px;
  margin-left: 8px;
}
.process-step h3 { font-size: 1.1rem; margin-left: 8px; }
.process-step p { color: var(--mute); font-size: 0.94rem; margin: 0 0 0 8px; }

/* ---------------------------------- Areas ---------------------------------- */

.areas-band {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.area-chip {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--paper-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-chip i { color: var(--steel); }

/* ---------------------------------- FAQ / Troubleshooting accordions ---------------------------------- */

.accordion { border-top: 1px solid var(--line-soft); }
.accordion-item { border-bottom: 1px solid var(--line-soft); }
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--paper);
  text-align: left;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.accordion-trigger:hover { color: var(--brass-bright); }
.accordion-trigger .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  transition: transform 0.25s ease, border-color 0.2s ease;
  font-size: 0.95rem;
}
.accordion-item[open] .accordion-trigger .plus {
  transform: rotate(45deg);
  border-color: var(--brass);
}
.accordion-item .accordion-body {
  padding: 0 34px 22px 4px;
  color: var(--mute);
  font-size: 0.97rem;
}
.accordion-item summary { list-style: none; }
.accordion-item summary::-webkit-details-marker { display: none; }

.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.tip-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius-s);
  padding: 20px 22px;
}
.tip-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tip-card h3 i { color: var(--steel); }
.tip-card p { color: var(--mute); font-size: 0.92rem; margin: 0; }

/* ---------------------------------- Enquiry ---------------------------------- */

.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.enquiry-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--mute);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.96rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.82rem; color: var(--mute); margin-top: 12px; text-align: center; }
.form-note a { color: var(--brass); text-decoration: underline; }

.enquiry-alt h2 { font-size: 1.9rem; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  font-size: 1rem;
}
.contact-line i {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--panel-raised);
  color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--brass-bright); }

/* ---------------------------------- Footer ---------------------------------- */

footer.site-footer {
  background: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  padding: 50px 0 26px;
  font-size: 0.9rem;
  color: var(--mute);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 6px; }
.footer-brand span { font-family: var(--font-display); color: var(--paper); font-weight: 700; }
.footer-col h4 {
  color: var(--paper);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; color: var(--mute); }
.footer-col a:hover { color: var(--brass-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------------- WhatsApp floating button ---------------------------------- */

.whatsapp-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease;
}
.whatsapp-button:hover { transform: scale(1.08); }
.whatsapp-button img { width: 30px; height: 30px; }

/* ---------------------------------- Cookie notice ---------------------------------- */

#cookieConsent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 18px 20px;
  border-radius: var(--radius-m);
  font-size: 0.88rem;
  z-index: 900;
  box-shadow: var(--shadow-lift);
  display: none;
}
#cookieConsent.show { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#cookieConsent p { margin: 0; color: var(--paper-dim); flex: 1; min-width: 200px; }
#cookieConsent a { color: var(--brass); }

/* ---------------------------------- Simple pages (privacy / terms) ---------------------------------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 90px;
}
.legal-page h1 { font-size: 2.1rem; }
.legal-page .updated { color: var(--mute); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.2em;
  color: var(--brass-bright);
}
.legal-page p, .legal-page li { color: var(--paper-dim); }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--brass); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.legal-back:hover { color: var(--brass); }

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .enquiry-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-sm-hide { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
