/* Spot On Trades — shared stylesheet */
:root {
  --ink:        #1A1A1A;
  --body:       #4A4A4A;
  --muted:      #767676;
  --line:       #E5E5E3;
  --surface:    #FFFFFF;
  --page:       #F6F5F3;
  --orange:     #E8722C;
  --orange-lt:  #F0923F;
  --orange-dk:  #CE5F1D;
  --navy:       #12192B;
  --slate:      #47566B;
  --cream:      #FDF1E4;
  --radius:     12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--body);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---- Platform header (shared, quiet) ---- */
.platform-bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.platform-bar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.platform-name { font-weight: 700; color: var(--ink); font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.platform-nav { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.platform-nav a { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 10px 20px; border-radius: 999px; white-space: nowrap; }
.platform-nav a[aria-current="page"] { background: var(--orange); color: #fff; }
.platform-nav a:hover { color: var(--ink); }
.platform-nav a[aria-current="page"]:hover { color: #fff; }
.platform-back { font-size: 14px; color: var(--muted); text-decoration: none; }
.platform-back:hover { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle span { margin: 5px 0; }

/* ---- Audience toggle ---- */
.audience-toggle {
  display: inline-flex; background: var(--page); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px; gap: 4px;
}
.toggle-btn {
  flex: 1; text-align: center; padding: 12px 20px; min-height: 44px; border-radius: 999px;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer; background: transparent;
  color: var(--muted); font-family: inherit; white-space: nowrap;
}
.toggle-btn[aria-selected="true"] { background: var(--orange); color: #fff; }

/* ---- Buttons ---- */
.btn-call, .btn-submit, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 14px 26px; min-height: 44px; border-radius: var(--radius);
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.btn-call:hover, .btn-submit:hover, .btn-primary:hover { background: var(--orange-dk); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 13px 24px; min-height: 44px; border-radius: var(--radius); text-decoration: none; cursor: pointer;
}
.btn-secondary:hover { border-color: #C9C9C6; }

/* ---- Hero / search ---- */
.hero { padding: 44px 0 36px; text-align: center; }
.hero h1 { color: var(--ink); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 20px; }
.hero .toggle-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.search-form { display: grid; gap: 12px; max-width: 620px; margin: 0 auto; }
.search-form input, .search-form select {
  width: 100%; font-family: inherit; font-size: 15px; min-height: 48px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); background: var(--surface); appearance: none;
}
.search-form input:focus, .search-form select:focus { outline: none; border-color: var(--orange); }
.engineer-panel { max-width: 480px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.engineer-panel p { margin-bottom: 18px; }

/* ---- Trust strip ---- */
.trust-strip { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); text-align: center; }
.trust-item strong { display: block; color: var(--ink); font-size: 16px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---- Section scaffolding ---- */
section { padding: 30px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
h1 { color: var(--ink); }
h2 { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.section-title { color: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 32px; }

/* ---- Reviews ---- */
.rating-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rating-num { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; }
.stars { font-size: 22px; color: var(--orange); letter-spacing: 2px; }
.rating-count { color: var(--muted); font-size: 14px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.quote { background: var(--page); border-radius: var(--radius); padding: 18px; font-size: 15px; color: var(--body); }
.quote .who { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }

/* ---- Chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--body); background: var(--surface); }
.chip.trust { border-color: #CFE8D4; background: #F1F9F2; color: #2E6B3A; font-weight: 500; }
.chip.trust::before { content: "\2713  "; }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--page); }

/* ---- Map ---- */
.map-frame { width: 100%; height: 320px; border: 0; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---- Enquiry / sign-up forms ---- */
.enquiry-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; font-family: inherit; font-size: 15px; min-height: 48px;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--orange); }
.form-grid textarea { min-height: 90px; resize: vertical; }

/* ---- Sticky mobile call bar ---- */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface);
  border-top: 1px solid var(--line); padding: 12px 20px; display: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06); z-index: 50;
}
.sticky-call .btn-call { width: 100%; }

/* ---- Results grid (search page) ---- */
.results-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.results-toolbar select {
  font-family: inherit; font-size: 14px; padding: 10px 14px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink);
}
.results-count { font-size: 14px; color: var(--muted); margin-left: auto; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.result-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, border-color .15s;
}
.result-card:hover, .result-card:focus-visible { box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: #D9D9D6; }
.rc-top { display: flex; gap: 12px; align-items: center; padding: 16px 16px 0; }
.rc-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; border: 1px solid var(--line); background: var(--page); flex-shrink: 0; }
.rc-body { padding: 12px 16px 18px; }
.rc-name { font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.rc-rating { font-size: 14px; margin-bottom: 6px; }
.rc-rating .stars { font-size: 14px; letter-spacing: 1px; }
.rc-area { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.rc-line { font-size: 14px; color: var(--body); }

/* ---- Landing page: steps / why / pricing / proof ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; flex-shrink: 0;
}
.step h3 { color: var(--ink); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.why-list { display: grid; gap: 14px; }
.why-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.why-list li::before { content: "\2713"; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pricing-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.pricing-box .price { font-size: 32px; font-weight: 700; color: var(--ink); margin: 8px 0; }
.stat-row { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; text-align: center; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 13px; color: var(--muted); }
.hero-media { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); border: 1px solid var(--line); background: var(--page); object-fit: cover; margin-bottom: 28px; }

/* ---- Footer ---- */
footer { background: var(--ink); color: #CFCFCF; padding: 34px 0; margin-top: 20px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer .fname { color: #fff; font-weight: 700; font-size: 16px; }
footer .ftag { color: #9A9A9A; margin-top: 4px; }
footer a { color: #CFCFCF; text-decoration: none; display: block; margin-top: 6px; }
footer a:hover { color: #fff; }
footer .col-title { color: #fff; font-weight: 600; margin-bottom: 4px; }
footer .copy { color: #7A7A7A; font-size: 13px; text-align: center; margin-top: 24px; }

.photo-placeholder {
  background: repeating-linear-gradient(135deg, var(--page), var(--page) 10px, #ECEBE7 10px, #ECEBE7 20px);
  border: 1px dashed #C9C9C6; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 12px;
}

/* ---- Category chip rail ---- */
.category-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.category-chip {
  flex: none; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 10px 18px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.category-chip:hover { border-color: #C9C9C6; }

/* ---- Trust cards (3-up) ---- */
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { text-align: center; padding: 8px; }
.trust-card .tc-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--page); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px;
}
.trust-card h3 { color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.trust-card p { font-size: 14px; color: var(--muted); }

/* ---- Highlight panel (colour block around a key element) ---- */
.highlight-panel { background: var(--navy); border-radius: 20px; padding: 40px; color: var(--cream); }
.highlight-panel .trust-card .tc-icon { background: var(--orange); color: #fff; border: none; }
.highlight-panel .trust-card h3 { color: #fff; }
.highlight-panel .trust-card p { color: rgba(253,241,228,0.7); }

/* ---- Review rail ---- */
.review-rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; }
.review-card {
  flex: none; width: 240px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.review-card .rv-stars { color: var(--orange); font-size: 14px; margin-bottom: 8px; }
.review-card h4 { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.review-card p { font-size: 13.5px; color: var(--body); margin-bottom: 10px; }
.review-card .rv-who { font-size: 12.5px; color: var(--muted); }

.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .platform-name img { max-width: 130px !important; height: auto !important; width: auto !important; }
  .platform-nav { display: none; }
  .platform-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px; gap: 14px; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 24px; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .sticky-call { display: block; }
  body.has-sticky-call { padding-bottom: 76px; }
  section { padding: 20px 0; }
  .card { padding: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .two-col-stack { grid-template-columns: 1fr !important; }
  .stat-row { gap: 24px; }
  body.profile-page .btn-call.top-call { display: none; }
}
@media (min-width: 721px) {
  .nav-toggle { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .results-grid { grid-template-columns: 1fr; }
}

