/* ============================================================
   Oxfordshire AV — USP, trust, FAQ, form, footer styles
   ============================================================ */

/* ─── USP / Same-day social ────────────────────────────────── */

.usp {
  padding: 64px 24px 56px;
  background:
    radial-gradient(140% 60% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.usp-flag-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.usp-flag-top::before {
  content: "";
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.usp h2 {
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 16px;
}
.usp h2 .hl { color: var(--accent); font-style: italic; }
.usp p.lede {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 32px;
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 60%, transparent) 0%,
    var(--accent) 30%,
    var(--accent) 70%,
    color-mix(in srgb, var(--accent) 40%, transparent) 100%);
  border-radius: 2px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  position: relative;
  padding-bottom: 28px;
}
.timeline-row:last-child { padding-bottom: 0; }

.timeline-dot {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-dot::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 3px solid var(--accent);
  z-index: 1;
}
.timeline-dot.is-live::before {
  background: var(--accent);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent),
    0 0 0 12px color-mix(in srgb, var(--accent) 6%, transparent);
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent), 0 0 0 12px color-mix(in srgb, var(--accent) 6%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 26%, transparent), 0 0 0 16px color-mix(in srgb, var(--accent) 10%, transparent); }
}

.timeline-time {
  display: block;
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.timeline-time .ampm {
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 2px;
  color: var(--fg-muted);
  font-weight: 600;
}
.timeline-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
  margin-top: 4px;
}
.timeline-body { padding-top: 2px; }
.timeline-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--fg);
}
.timeline-body p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--fg-muted);
}
.timeline-output {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 6px 10px;
  border-radius: 999px;
}
.timeline-output svg { width: 12px; height: 12px; }

.usp-outputs {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.usp-outputs h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
  margin: 0 0 16px;
}
.usp-outputs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.usp-output-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.usp-output-chip-count {
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ─── Where we work ────────────────────────────────────────── */

.where {
  padding: 56px 24px;
}
.where h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 18px;
}
.where p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 20px;
}
.where-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.town-chip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  color: var(--fg);
}
.town-chip.is-base {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--m3-ink);
  font-weight: 600;
}
.oav-page[data-palette="Inverted Light"] .town-chip.is-base { color: var(--m3-off-white); }

/* ─── Sectors ──────────────────────────────────────────────── */

.sectors {
  padding: 56px 24px;
  background: var(--bg-2);
}
.sectors h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 24px;
}
.sectors-list { display: flex; flex-direction: column; gap: 0; }
.sector-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.sector-row:last-child { border-bottom: 0; }
.sector-row h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.sector-row p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--fg-muted);
}
.sector-num {
  font-family: var(--m3-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ─── Why us ───────────────────────────────────────────────── */

.why {
  padding: 56px 24px;
}
.why h2 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 12px 0 24px;
}
.why h2 .hl { color: var(--accent); font-style: italic; }
.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-card {
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  border-radius: var(--m3-radius-lg);
  padding: 18px;
}
.why-card .label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.why-card p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--fg-muted);
}

/* ─── FAQ ──────────────────────────────────────────────────── */

.faq {
  padding: 56px 24px;
  background: var(--bg-2);
}
.faq h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 12px 0 22px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 18px 36px 18px 0;
  font-family: var(--m3-font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fg);
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--m3-font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--accent);
  transition: transform var(--m3-dur-base) var(--m3-ease-out);
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
  padding: 0 0 18px;
  max-width: 36ch;
}

/* ─── Enquiry form ─────────────────────────────────────────── */

.enquiry {
  padding: 64px 24px 56px;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.enquiry h2 {
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 12px 0 12px;
}
.enquiry h2 .hl { color: var(--accent); font-style: italic; }
.enquiry-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 24px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 10px;
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  color: var(--fg);
  padding: 12px 14px;
  font-family: var(--m3-font-sans);
  font-size: 15px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: border-color var(--m3-dur-fast) var(--m3-ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: color-mix(in srgb, var(--fg-muted) 70%, transparent); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.form-row-2 .form-field { margin-bottom: 0; }
.form-fine {
  font-size: 11px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 14px 0 0;
  text-align: center;
}
.form-fine a { color: var(--accent); border-bottom-color: currentColor; }
.form-success {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.form-success h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.form-success p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--fg-muted);
}

/* ─── Footer ───────────────────────────────────────────────── */

.foot {
  background: var(--m3-ink);
  color: var(--m3-mist);
  padding: 40px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.oav-page[data-palette="Inverted Light"] .foot { color: var(--m3-mist); }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--m3-mist);
  margin: 0 0 12px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
  margin: 22px 0 26px;
}
.foot-col h5 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--m3-aqua);
  margin: 0 0 12px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--m3-mist);
}
.foot-col a {
  color: inherit;
  border: 0;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
}
.foot-bottom .motion3-line {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.foot-bottom .motion3-line strong { color: #fff; font-weight: 700; letter-spacing: -0.005em; }
.foot-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-legal-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 11px;
  border-bottom: none;
}
.foot-legal-links a:hover { color: rgba(255,255,255,0.75); }

/* ─── Clients strip ──────────────────────────────────────────── */
.clients {
  padding: 40px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.clients-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin: 0 0 28px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}
.client-logo:hover { opacity: 0.8; }
.client-logo img {
  max-height: 48px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

/* ─── Sticky mobile CTA ─────────────────────────────────────── */
.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,15,20,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 50;
}
.sticky-cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 12px 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.sticky-cta-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1.4;
  padding: 12px 0;
  border-radius: 999px;
  background: var(--m3-orange);
  font-size: 14px;
  font-weight: 600;
  color: var(--m3-ink);
  text-decoration: none;
}
