/* =====================================================================
   BTTR Ltd — Motor Trade Advisory
   styles.css  ·  Warm editorial theme (ivory + terracotta, serif display)
   ===================================================================== */

:root {
  --bg:        #f8f4ee;   /* warm ivory */
  --surface:   #ffffff;
  --sand:      #f0eae0;   /* alt section */
  --ink:       #221e1b;   /* warm near-black */
  --muted:     #6c6258;   /* warm taupe */
  --accent:    #c0531e;   /* terracotta */
  --accent-d:  #a4451a;   /* darker on hover */
  --accent-t:  rgba(192, 83, 30, 0.10);
  --line:      rgba(34, 30, 27, 0.14);
  --line-2:    rgba(34, 30, 27, 0.07);
  --radius:    4px;
  --maxw:      1160px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --serif:     "Fraunces", Georgia, "Times New Roman", serif;
  --sans:      "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(66px, 8vw, 112px) 0; position: relative; }

.kicker {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: inline-block;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
.h-xl { font-size: clamp(38px, 6vw, 76px); font-weight: 500; }
.h-lg { font-size: clamp(30px, 4.2vw, 50px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 28px; border: 1.5px solid transparent; border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-d); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-wa { background: #1faa52; color: #fff; }
.btn-wa:hover { background: #178a44; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--ink); color: #e8e1d6; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 16px; }
.topbar a { color: #e8e1d6; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 24px; }
.topbar .tb-right { color: #b4a99a; letter-spacing: 0.04em; }
.topbar svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(34,30,27,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); display: inline-flex; align-items: baseline; gap: 2px; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 11px 20px; font-size: 14px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 2px; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(30px, 5vw, 64px); align-items: end; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.hero-card .hc-k { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-card ul { display: grid; gap: 12px; margin-bottom: 24px; }
.hero-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink); }
.hero-card li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-card .btn { width: 100%; }

/* ---------- Intro / About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about-grid .side h2 { position: sticky; top: 110px; }
.about-body p { color: var(--muted); font-size: 18px; margin-bottom: 20px; }
.about-body p:first-child { color: var(--ink); font-size: 20px; }
.about-body .btn { margin-top: 10px; }

/* ---------- Sector index ---------- */
.sectors { background: var(--sand); }
.sector-list { border-top: 1px solid var(--line); margin-top: 48px; }
.sector-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center;
  padding: 26px 14px; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}
.sector-row:hover { background: var(--surface); padding-left: 24px; }
.sector-row .n { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.sector-row .s-txt h3 { font-size: 22px; margin-bottom: 3px; }
.sector-row .s-txt p { color: var(--muted); font-size: 15px; }
.sector-row .s-arrow { color: var(--muted); transition: transform .25s var(--ease), color .25s; opacity: 0; }
.sector-row:hover .s-arrow { opacity: 1; transform: translateX(4px); color: var(--accent); }
.sector-row .s-arrow svg { width: 22px; height: 22px; }

/* ---------- Approach / timeline ---------- */
.approach-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.timeline { position: relative; }
.t-step { position: relative; padding: 0 0 40px 42px; border-left: 2px solid var(--line); }
.t-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.t-step::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.t-step .t-num { font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; display: block; }
.t-step h3 { font-size: 24px; margin-bottom: 8px; }
.t-step p { color: var(--muted); font-size: 16px; }

/* ---------- Stats band ---------- */
.band { background: var(--accent); color: #fff; }
.band .wrap { padding-block: clamp(48px, 6vw, 76px); }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat .s-big { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 500; line-height: 1; margin-bottom: 10px; }
.stat .s-lab { font-size: 15px; color: #fbe7db; }
.band-sep { height: 1px; }

/* ---------- Buyers CTA ---------- */
.buyers .inner { text-align: center; max-width: 720px; margin-inline: auto; }
.buyers h2 { margin-bottom: 18px; }
.buyers p { color: var(--muted); margin-bottom: 30px; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line); margin-top: 44px; }
.faq { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink);
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq-q .ic { flex: none; width: 22px; height: 22px; position: relative; color: var(--accent); transition: transform .3s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: currentColor; }
.faq-q .ic::before { left: 10px; top: 2px; width: 2px; height: 18px; }
.faq-q .ic::after  { top: 10px; left: 2px; height: 2px; width: 18px; }
.faq.open .faq-q .ic { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { color: var(--muted); font-size: 17px; padding: 0 0 26px; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .lead { margin-bottom: 34px; }
.cline { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.cline:last-child { border-bottom: 1px solid var(--line); }
.cline .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-t); color: var(--accent); display: grid; place-items: center; }
.cline .ic svg { width: 21px; height: 21px; }
.cline .k { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cline .v { font-family: var(--serif); font-size: 20px; color: var(--ink); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin-bottom: 24px; position: relative; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  color: var(--ink); font-family: inherit; font-size: 16px; padding: 9px 2px;
  transition: border-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236c6258' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 26px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin: 2px 0 24px; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--accent); flex: none; }
.consent label { font-size: 13.5px; color: var(--muted); }
.consent a { color: var(--accent); text-decoration: underline; }
.form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-feedback { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 3px; font-size: 14.5px; }
.form-feedback.show { display: block; }
.form-feedback.ok { background: rgba(31,170,82,.12); border: 1px solid rgba(31,170,82,.4); color: #146c35; }
.err-msg { color: #b23b2e; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #c0392b; }
.field.invalid .err-msg { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9d1c5; padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about { color: #b4a99a; font-size: 15px; max-width: 42ch; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8f8477; margin-bottom: 18px; font-weight: 700; }
.footer-col a, .footer-col p { color: #d9d1c5; font-size: 15px; display: block; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { color: #8f8477; font-size: 13.5px; }
.footer-bottom .legal a { color: #8f8477; font-size: 13.5px; margin-left: 22px; transition: color .2s; }
.footer-bottom .legal a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 22px; bottom: 24px; z-index: 90; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1faa52; color: #fff; box-shadow: 0 12px 28px -8px rgba(34,30,27,.45); transition: transform .25s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 29px; height: 29px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal-page { padding: 80px 0; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 10px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 42px; }
.legal-page h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 16.5px; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--accent); text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 14.5px; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-menu {
    position: fixed; inset: 74px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 15px 2px; font-size: 18px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
  .nav-menu .btn { margin-top: 16px; }
  .hero-grid, .about-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid .side h2 { position: static; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .legal a { margin-left: 0; margin-right: 22px; }
  .sector-row { grid-template-columns: 40px 1fr auto; gap: 16px; }
  .topbar .tb-right { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
