/* JPalmer Transports — site styles */

:root {
  --black: #000000;
  --bg: #0B0B0B;
  --panel: #151515;
  --panel-2: #1A1A1A;
  --line: #2A2A2A;
  --line-2: #3A3A3A;
  --white: #FFFFFF;
  --ink: #111111;
  --soft: #CFCFCF;
  --muted: #BDBDBD;
  --dim: #9A9A9A;
  --body-dark: #4A4A4A;
  --label-dark: #5F5F5F;
  --error: #FFB4A8;
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--white); }
a:hover { color: #D9D9D9; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--ink); }

input::placeholder, textarea::placeholder { color: #8A8A8A; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.serif { font-family: var(--serif); font-weight: 400; }

.eyebrow { font-size: 12px; letter-spacing: 4px; color: var(--muted); }
.light .eyebrow { color: var(--label-dark); }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

.light { background: var(--white); color: var(--ink); }
.light a { color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--bg); padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 16px 24px;
  font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: 2.5px;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn-solid { background: var(--white); color: var(--bg); }
.btn-solid:hover { background: #E6E6E6; color: var(--bg); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid #5A5A5A; font-weight: 400; letter-spacing: 3px; }
.btn-lg { min-height: 52px; padding: 18px 32px; font-size: 13px; letter-spacing: 3px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 26px; letter-spacing: 0.5px; color: var(--white); }
.logo-sub { font-size: 10px; letter-spacing: 5px; color: var(--muted); margin-top: 4px; }

.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 12px; letter-spacing: 2.5px; }
.main-nav a { text-decoration: none; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.header-phone { text-decoration: none; font-size: 14px; letter-spacing: 1px; }
.header-actions .btn { min-height: 44px; padding: 14px 22px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-2); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    border-top: 1px solid var(--line); padding-top: 8px;
  }
  .main-nav a { display: flex; align-items: center; min-height: 44px; width: 100%; }
  .site-header.open .main-nav { display: flex; }
  .header-actions { order: 2; }
  .header-phone { display: none; }
}
@media (max-width: 480px) {
  .wrap, .faq { padding-left: 20px; padding-right: 20px; }
  .site-header .wrap { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 12px 14px; font-size: 11px; letter-spacing: 1.5px; }
  .logo-name { font-size: 23px; }
  .logo-sub { letter-spacing: 4px; font-size: 9px; }
}

/* Hero */
.hero { background: var(--black); border-bottom: 1px solid var(--line); }
.hero .wrap {
  padding-top: 112px; padding-bottom: 112px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; }
.hero-lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--soft); max-width: 560px; }

.checklist {
  list-style: none; margin: 0; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px;
  font-size: 15px; color: #E6E6E6; max-width: 560px;
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.checklist svg { flex: none; margin-top: 1px; }

.stars { letter-spacing: 3px; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.hero-rating .stars { color: var(--white); }
.hero-proof { width: 100%; max-width: 340px; }
.hero-proof img { width: 100%; height: auto; display: block; background: var(--white); border: 1px solid var(--line); }

/* Forms */
.card-form {
  background: var(--panel); border: 1px solid #2F2F2F; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.hero-form { flex: 1 1 380px; min-width: 0; }
.card-form h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.form-intro { display: flex; flex-direction: column; gap: 6px; }
.form-intro p { margin: 0; font-size: 14px; color: var(--muted); }
.form-note { margin: 0; font-size: 12px; color: var(--dim); text-align: center; }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 2.5px; color: var(--soft); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); color: var(--white);
  font-family: inherit; font-size: 17px; font-weight: 300; letter-spacing: normal;
  padding: 15px; min-height: 52px; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 0; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BDBDBD' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.card-form .field input, .card-form .field select { background-color: var(--bg); font-size: 16px; padding: 14px; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); }

.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > .field { flex: 1 1 220px; }
.row > .field.wide { flex: 2 1 260px; }

.form-error { margin: 0; font-size: 14px; color: var(--error); }
.form-error[hidden] { display: none; }

.done-card {
  display: flex; flex-direction: column; gap: 22px;
  border: 1px solid #2F2F2F; background: var(--panel); padding: 40px;
}
.done-card h1, .done-card h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.done-card p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--soft); }
.done-card p.small { font-size: 16px; color: var(--muted); }
.done-card .btn { align-self: flex-start; }
.hero-form .done-card { border: 0; padding: 0; }
.hero-form .done-card h2 { font-size: 30px; }
.hero-form .done-card p { font-size: 16px; }

button[disabled] { opacity: 0.6; cursor: wait; }

/* Carousel */
.carousel .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px;
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 320px; object-fit: cover; display: block; }
.dots { display: flex; justify-content: center; gap: 4px; }
.dots button {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.dots span { display: block; width: 28px; height: 3px; background: #4A4A4A; transition: background 0.3s; }
.dots button[aria-pressed="true"] span { background: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* Reviews */
.reviews .wrap { padding-top: 8px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge { text-decoration: none; border: 1px solid var(--line); padding: 14px 20px; min-height: 44px; display: flex; flex-direction: column; gap: 4px; }
.badge-num { font-family: var(--serif); font-size: 26px; line-height: 1; }
.badge-num .stars { font-size: 16px; letter-spacing: 2px; }
.badge-label { font-size: 11px; letter-spacing: 2.5px; color: var(--muted); }

/* 10 reviews: 5 or 2 per row keeps every row full */
.review-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .review-grid { grid-template-columns: minmax(0, 1fr); } .review { min-height: 0; } }
.review {
  margin: 0; border: 1px solid var(--line); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; min-height: 230px;
}
.review .stars { font-size: 12px; letter-spacing: 2px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.review figcaption strong { color: var(--white); font-weight: 300; }
.reviews-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.reviews-foot span { font-size: 12px; letter-spacing: 1px; color: var(--dim); }
.reviews-foot a { font-size: 12px; letter-spacing: 2.5px; }

/* Shared section padding */
.pad { padding-top: 96px; padding-bottom: 96px; }

/* Why */
.why .wrap, .how .wrap { display: flex; flex-direction: column; gap: 56px; }
.features { display: flex; flex-wrap: wrap; gap: 40px; }
.feature { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 24px; }
.feature h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.feature p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--body-dark); }

/* Comparison */
.compare .wrap { display: flex; flex-direction: column; gap: 40px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; text-align: left; }
.compare thead tr { background: var(--panel); }
.compare thead th { padding: 18px 20px; font-weight: 400; font-size: 12px; letter-spacing: 2.5px; color: var(--soft); }
.compare thead th.us { font-weight: 500; color: var(--bg); background: var(--white); }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { padding: 18px 20px; font-weight: 400; color: var(--muted); }
.compare td { padding: 18px 20px; color: var(--soft); }
.compare td.us { background: var(--panel-2); color: var(--white); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; }
.steps h3 { margin: 0; font-size: 17px; font-weight: 500; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-dark); }

/* Delivery times */
.delivery .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.delivery-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.delivery-copy p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--soft); }
.delivery-copy .btn { align-self: flex-start; }
.times { flex: 1 1 460px; min-width: 0; border: 1px solid var(--line); }
.times-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; align-items: center;
  padding: 20px 24px; border-top: 1px solid var(--line); font-size: 17px;
}
.times-row span + span { font-family: var(--serif); }
.times-row.head { padding: 16px 24px; background: var(--panel); border-top: 0; font-size: 11px; letter-spacing: 2.5px; color: var(--muted); }
.times-row.head span + span { font-family: var(--sans); }

/* Who we ship for */
.who .wrap { display: flex; flex-direction: column; gap: 48px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 260px; border: 1px solid #DADADA; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-dark); }
.card.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card.dark p { color: var(--soft); }
.light .card.dark a { color: var(--white); margin-top: 6px; font-size: 12px; letter-spacing: 2.5px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: 96px 24px; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 400; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--soft); }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo {
  flex: 1 1 360px; min-width: 0; margin: 0; padding: 12px;
  background: var(--white); border: 1px solid #D4D4D4; box-shadow: 0 18px 40px rgba(17, 17, 17, 0.16);
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy p { margin: 0; font-size: 17px; line-height: 1.7; color: #3A3A3A; }

/* Final CTA */
.cta { background: var(--panel); border-top: 1px solid var(--line); }
.cta .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta .h2 { flex: 1 1 520px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn { min-height: 52px; padding: 18px 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-cols {
  padding-top: 48px; padding-bottom: 48px;
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  font-size: 14px; color: var(--muted); line-height: 1.8;
}
.footer-cols > div { display: flex; flex-direction: column; }
.footer-cols a { text-decoration: none; color: var(--muted); }
.footer-cols a:hover { color: var(--white); }
.footer-title { font-size: 11px; letter-spacing: 2.5px; color: var(--white); }
.footer-brand { font-family: var(--serif); font-size: 22px; color: var(--white); }
.copyright { padding-bottom: 32px; font-size: 12px; color: var(--dim); }

/* Quote + dealer pages */
.page-main { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.page-flow { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.page-main h1.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
.step-form { display: flex; flex-direction: column; gap: 28px; }
.step-form[hidden], .done-card[hidden], .progress[hidden] { display: none; }
.group { border: 1px solid var(--line); margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.group legend { padding: 0 8px; font-size: 11px; letter-spacing: 3px; color: var(--white); }
.plain-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.plain-group legend { font-size: 11px; letter-spacing: 2.5px; color: var(--soft); margin-bottom: 10px; padding: 0; }
.page-intro { display: flex; flex-direction: column; gap: 12px; }
.page-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); }
.fine { margin: 0; font-size: 13px; line-height: 1.6; color: var(--dim); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.step-form > .btn { align-self: flex-start; }

.progress { display: flex; flex-direction: column; gap: 14px; }
.progress-labels { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 3px; color: #8A8A8A; }
.progress-labels .on { color: var(--white); }
.progress-bars { display: flex; gap: 6px; }
.progress-bars span { flex: 1; height: 3px; background: #4A4A4A; }
.progress-bars span.on { background: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: inherit; font-size: 15px; font-weight: 300; padding: 12px 22px; min-height: 48px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--white);
}
.chip[aria-pressed="true"] { border-color: var(--white); background: var(--white); color: var(--bg); }

.side {
  flex: 1 1 320px; min-width: 0; border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.side h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 15px; line-height: 1.5; color: #E6E6E6; }
.side li { display: flex; gap: 12px; }
.side li svg { flex: none; margin-top: 3px; }
.side-quote { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.side-quote p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.side-quote span.by { font-size: 13px; color: var(--muted); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Phone */
@media (max-width: 600px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .pad, .faq { padding-top: 64px; padding-bottom: 64px; }
  .cta .wrap { padding-top: 64px; padding-bottom: 64px; }
  .card-form, .side { padding: 24px; }
  .done-card { padding: 28px; }
  .group { padding: 18px; }
  .slide img { height: 260px; }
  .delivery .wrap, .about .wrap, .page-main { gap: 40px; }
  .hero-copy, .hero-form, .delivery-copy, .times, .about-photo, .about-copy, .page-flow, .side { flex-basis: 100%; }
}
@media (max-width: 440px) {
  .checklist { grid-template-columns: 1fr; }
  .times-row { padding: 16px; font-size: 16px; }
}
