/* ============================================================
   SELL OFFICE CHAIRS — Global Stylesheet (Mobile-First)
   sellofficechairs.co.uk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@700;800;900&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --navy:      #0B1628;
  --navy-mid:  #152240;
  --navy-soft: #1E3159;
  --gold:      #C9A84C;
  --gold-lt:   #E8CC88;
  --gold-wash: #F5EDD8;
  --white:     #FFFFFF;
  --off:       #F4F5F7;
  --rule:      #E2E5EC;
  --text:      #0B1628;
  --mid:       #5A6478;
  --light:     #8D97A8;
  --radius:    4px;
  --shadow-sm: 0 1px 3px rgba(11,22,40,0.08);
  --shadow-md: 0 4px 16px rgba(11,22,40,0.12);
  --max-w:     1100px;
  /* Mobile-safe gutter — never less than 20px */
  --gutter:    clamp(20px, 5vw, 60px);
  /* Nav heights */
  --nav-h:     60px;
  --mob-cta-h: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  /* Space below for sticky mobile CTA */
  padding-bottom: var(--mob-cta-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Mobile-first section padding */
.section     { padding: 48px 0; }
.section-sm  { padding: 36px 0; }

@media (min-width: 768px) {
  .section    { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
}
@media (min-width: 1024px) {
  .section    { padding: 96px 0; }
  .section-sm { padding: 64px 0; }
}

/* ── TYPOGRAPHY — Mobile-first sizes ── */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.heading-xl { font-family: 'Barlow Condensed',sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.97; font-size: clamp(32px, 8vw, 56px); color: var(--navy); }
.heading-xl .g { color: var(--gold); }
.heading-lg { font-family: 'Barlow Condensed',sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; font-size: clamp(26px, 6vw, 42px); color: var(--navy); }
.heading-md { font-family: 'Barlow Condensed',sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0; line-height: 1; font-size: clamp(20px, 5vw, 32px); color: var(--navy); }
.heading-sm { font-family: 'Barlow Condensed',sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; font-size: 18px; color: var(--navy); }
.body-lg { font-size: 17px; color: var(--mid); line-height: 1.7; font-weight: 300; }
.body-md { font-size: 15px; color: var(--mid); line-height: 1.7; }
.body-sm { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── BUTTONS — large touch targets ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 15px 24px;
  border-radius: var(--radius);
  transition: all 0.2s;
  /* Allow wrapping on very small screens */
  white-space: normal;
  text-align: center;
  min-height: 52px; /* accessible touch target */
  line-height: 1.2;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}
.btn-primary  { background: var(--gold); color: var(--navy); }
.btn-navy     { background: var(--navy); color: var(--white); }
.btn-outline  { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn-ghost    { color: var(--mid); font-family: 'Barlow',sans-serif; font-weight: 600; font-size: 15px; text-transform: none; letter-spacing: 0; padding: 15px 0; min-height: 52px; }
.btn-lg       { padding: 17px 32px; font-size: 16px; }
.btn-sm       { padding: 11px 18px; font-size: 13px; min-height: 44px; }
.btn-full     { width: 100%; }

@media (min-width: 768px) {
  .btn-primary:hover  { background: var(--gold-lt); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn-navy:hover     { background: var(--navy-mid); transform: translateY(-1px); }
  .btn-outline:hover  { background: var(--gold); color: var(--navy); }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-soft);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  /* Bigger tap target */
  padding: 8px 0;
}
.nav-logo-icon { width: 30px; height: 30px; border-radius: 6px; overflow: hidden; }
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}
.nav-logo-text span { color: var(--gold); }
/* Hide full wordmark on very small phones, show SOC */
@media (max-width: 360px) {
  .nav-logo-text .nav-logo-full { display: none; }
}
.nav-links { display: none; }
.nav-cta   { display: none; }

/* Hamburger — big tap target */
.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  margin-right: -8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — full width, big links */
.nav-mobile-menu {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-soft);
  padding: 8px var(--gutter) 20px;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-link {
  display: flex;
  align-items: center;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--light);
  border-bottom: 1px solid var(--navy-soft);
  transition: color 0.2s;
  min-height: 52px;
}
.nav-mobile-link:hover, .nav-mobile-link:active { color: var(--white); }
.nav-mobile-ctas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.nav-mobile-ctas .btn { flex: 1; min-width: 120px; }

@media (min-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #6B80A8;
    transition: color 0.2s;
    padding: 8px 0;
  }
  .nav-link:hover { color: var(--white); }
  .nav-link.active { color: var(--white); }
  .nav-cta { display: inline-flex; margin-left: 8px; }
  .nav-mobile-toggle { display: none; }
  .nav-mobile-menu  { display: none !important; }
}

/* ── STICKY MOBILE CTA BAR ── */
/* Shows at bottom of screen on mobile — the most important element for conversions */
.mob-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 190;
  display: flex;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  height: var(--mob-cta-h);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
}
.mob-cta-bar .btn {
  flex: 1;
  font-size: 14px;
  padding: 12px 8px;
  min-height: 48px;
}
.mob-cta-bar .btn-wa {
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 52px;
  border-radius: var(--radius);
  min-height: 48px;
  width: 52px;
}
@media (min-width: 768px) {
  .mob-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ── WHATSAPP FLOATING (desktop only) ── */
.whatsapp-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: none; /* hidden on mobile — use mob-cta-bar instead */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
  cursor: pointer;
}
.whatsapp-widget svg { width: 28px; height: 28px; }
.whatsapp-widget:hover { transform: scale(1.1); }
@media (min-width: 768px) {
  .whatsapp-widget { display: flex; }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-soft);
  border-bottom: 1px solid var(--navy-soft);
  padding: 10px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #4A6080;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.trust-bar-item .dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 8px;
  font-family: 'IBM Plex Mono', monospace;
}
.form-control {
  width: 100%;
  /* 16px font prevents iOS zoom-in on focus */
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius);
  background: var(--navy-mid);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  /* Tap-friendly height */
  min-height: 52px;
}
.form-control:focus { outline: none; border-color: var(--gold); }
.form-control option { background: var(--navy); }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 40px; }
.section-header-center { text-align: center; }
.section-header-center .eyebrow { justify-content: center; }
.section-header-center .eyebrow::before { display: none; }
.section-header-center .eyebrow::after {
  content: ''; display: block;
  width: 20px; height: 1px;
  background: var(--gold);
}
@media (min-width: 768px) { .section-header { margin-bottom: 56px; } }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-soft);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
.footer-brand-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-text span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: #3A5070; margin-bottom: 16px; line-height: 1.5; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4A6080;
  margin-bottom: 10px;
  min-height: 40px; /* tap target */
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light);
  margin-bottom: 14px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 0; }
.footer-col-links a {
  display: block;
  font-size: 13px;
  color: #3A5070;
  padding: 7px 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  border-bottom: 1px solid #0f1e38;
}
.footer-col-links a:last-child { border-bottom: none; }
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--navy-soft);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom-text { font-size: 12px; color: #1E3159; line-height: 1.5; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12px; color: #1E3159; transition: color 0.2s; padding: 4px 0; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card-navy {
  background: var(--navy);
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius);
  padding: 20px;
}
@media (min-width: 768px) { .card-navy { padding: 28px; } }

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 560px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .process-grid { grid-template-columns: repeat(4,1fr); } }
.process-step {
  background: var(--white);
  padding: 24px 20px;
}
@media (min-width: 768px) { .process-step { padding: 32px 28px; } }
.process-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.process-num::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.process-icon {
  width: 40px; height: 40px;
  background: var(--gold-wash);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.process-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-text { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── WHY CARDS ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3,1fr); } }
.why-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}
@media (min-width: 768px) {
  .why-card { padding: 26px; }
  .why-card:hover { border-color: var(--gold); }
}
.why-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 6px;
}
.why-text { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── BRAND CHIPS CAROUSEL ── */
.brands-track-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}
.brands-track-wrap::before,
.brands-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.brands-track-wrap::before { left: 0; background: linear-gradient(to right, var(--off), transparent); }
.brands-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--off), transparent); }
.brands-track {
  display: flex;
  animation: brandScroll 26s linear infinite;
  width: max-content;
}
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 72px;
  border-right: 1px solid var(--rule);
  flex-shrink: 0;
}
.brand-chip-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--light);
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3,1fr); } }
.review-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: #6B80A8; line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--light); }
.review-role   { font-size: 11px; color: #2A3F66; margin-top: 2px; }

/* ── FAQ ── */
.faq-list { width: 100%; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Barlow', sans-serif;
  min-height: 56px; /* tap target */
  line-height: 1.4;
}
.faq-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s;
  font-size: 12px;
  color: var(--mid);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--gold); color: var(--navy); }
.faq-a { font-size: 14px; color: var(--mid); line-height: 1.7; padding-bottom: 18px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BAND ── */
.cta-band { background: var(--gold); padding: 56px 0; text-align: center; }
.cta-band-h {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 52px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1;
}
.cta-band-sub { font-size: 15px; color: rgba(11,22,40,0.6); margin-bottom: 28px; }
.cta-band-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 480px) {
  .cta-band-btns { flex-direction: row; justify-content: center; }
}

/* ── TALLY SECTION ── */
.tally-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-soft);
  border-bottom: 1px solid var(--navy-soft);
  padding: 40px 0;
}
.tally-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--navy-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 480px) {
  .tally-grid { grid-template-columns: 1fr; }
}
.tally-cell { background: var(--navy-mid); padding: 28px 20px; text-align: center; }
.tally-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 7vw, 56px);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 5px;
}
.tally-num .g { color: var(--gold); }
.tally-label { font-family: 'IBM Plex Mono', monospace; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: #3A5070; }
.tally-sublabel { font-size: 11px; color: #2A3F66; margin-top: 3px; }

/* ── STAR RATING ── */
.stars { color: var(--gold); font-size: 14px; }

/* ── CHAIR BRAND GRID ── */
.chairs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 32px;
}
@media (min-width: 560px) { .chairs-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .chairs-grid { grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); } }
.chair-brand-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.cbrand-name { font-family: 'Barlow Condensed',sans-serif; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 4px; }
.cbrand-price { font-family: 'IBM Plex Mono',monospace; font-size: 11px; color: var(--gold); margin-bottom: 4px; }
.cbrand-models { font-size: 11px; color: var(--mid); line-height: 1.5; }

/* ── GOLD TOP BORDER ── */
.gold-top::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg,var(--gold),var(--gold-lt),var(--gold)); pointer-events:none; }
.gold-top { position: relative; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:0.5; }
}
.fade-up   { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }

/* ── UTILITY ── */
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-mid   { color: var(--mid); }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .show-mobile-only { display: none !important; } }

/* ═══════════════════════════════════════════════════
   QUOTE MODAL
   - Mobile: slides up from bottom (bottom sheet)
   - Desktop: centred overlay
════════════════════════════════════════════════════ */

/* Backdrop */
.qmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 10, 20, 0.75);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.qmodal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Sheet */
.qmodal {
  position: fixed;
  z-index: 501;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  /* Mobile: bottom sheet */
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  border-top: 3px solid var(--gold);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.qmodal.open {
  transform: translateY(0);
}

/* Desktop: centred card */
@media (min-width: 640px) {
  .qmodal {
    bottom: auto;
    left: 50%;
    top: 50%;
    right: auto;
    width: 540px;
    max-height: 90vh;
    border-radius: 12px;
    border-top: 3px solid var(--gold);
    transform: translate(-50%, calc(-50% + 24px));
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .qmodal.open {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

/* Drag handle (mobile only) */
.qmodal-handle {
  width: 40px;
  height: 4px;
  background: var(--navy-soft);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}
@media (min-width: 640px) { .qmodal-handle { display: none; } }

/* Header */
.qmodal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px 0;
  flex-shrink: 0;
}
.qmodal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1;
}
.qmodal-subtitle {
  font-size: 12px;
  color: #4A6080;
  margin-top: 4px;
  line-height: 1.4;
}
.qmodal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-soft);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  margin-left: 12px;
  margin-top: -4px;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.qmodal-close:hover { background: var(--gold); color: var(--navy); }

/* Scrollable body */
.qmodal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 24px;
  flex: 1;
}

/* Progress bar */
.qmodal-progress {
  display: flex;
  gap: 4px;
  padding: 14px 20px 0;
  flex-shrink: 0;
}
.qprog-step {
  flex: 1;
  height: 3px;
  background: var(--navy-soft);
  border-radius: 2px;
  transition: background 0.3s;
}
.qprog-step.done { background: var(--gold); }
.qprog-step.active { background: var(--gold-lt); }

/* Step panels */
.qstep { display: none; }
.qstep.active { display: block; }

/* Row layout for 2-col fields */
.qform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 400px) { .qform-row { grid-template-columns: 1fr; } }

/* Required star */
.req { color: var(--gold); margin-left: 2px; }

/* Condition pills */
.condition-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.condition-pill {
  padding: 9px 14px;
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  cursor: pointer;
  background: var(--navy);
  transition: all 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
  user-select: none;
}
.condition-pill:hover { border-color: var(--gold); color: var(--white); }
.condition-pill.selected { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }

/* Availability pills */
.avail-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.avail-pill {
  padding: 10px 12px;
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--light);
  cursor: pointer;
  background: var(--navy);
  transition: all 0.15s;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.avail-pill:hover { border-color: var(--gold); color: var(--white); }
.avail-pill.selected { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }

/* Image upload */
.img-upload-area {
  border: 2px dashed var(--navy-soft);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--navy);
  position: relative;
}
.img-upload-area:hover { border-color: var(--gold); }
.img-upload-area.has-files { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.img-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.img-upload-icon { font-size: 24px; margin-bottom: 6px; }
.img-upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  display: block;
  margin-bottom: 3px;
}
.img-upload-sub { font-size: 11px; color: #3A5070; }
.img-upload-count {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 6px;
}

/* Nav buttons */
.qmodal-nav {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
  flex-shrink: 0;
  border-top: 1px solid var(--navy-soft);
  padding-top: 16px;
}
.qmodal-nav .btn { flex: 1; }
.qmodal-nav .btn-back {
  background: var(--navy-soft);
  color: var(--light);
  font-size: 13px;
  flex: 0 0 auto;
  padding: 12px 16px;
}

/* Error states */
.field-error {
  font-size: 11px;
  color: #E05555;
  margin-top: 4px;
  display: none;
}
.form-control.invalid { border-color: #E05555; }
.form-control.invalid + .field-error { display: block; }

/* Success screen */
.qmodal-success {
  text-align: center;
  padding: 32px 24px 40px;
}
.qmodal-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.qmodal-success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.qmodal-success-body {
  font-size: 14px;
  color: #4A6080;
  line-height: 1.7;
  margin-bottom: 24px;
}
.qmodal-success-detail {
  background: var(--navy-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Step counter label */
.qstep-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3A5070;
  margin-bottom: 14px;
}
