/* Ruff Trailer Co */
:root {
  --red: #c41e1e;
  --red-dark: #9a1515;
  --red-soft: #f8e8e8;
  --charcoal: #1a1a1a;
  --charcoal-2: #2c2c2c;
  --gray: #555;
  --gray-light: #f4f4f4;
  --border: #e0e0e0;
  --white: #ffffff;
  --max: 1080px;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  line-height: 1.55;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--red); }

.placeholder-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--red);
  color: var(--white);
  padding: .15rem .45rem;
  border-radius: 4px;
  margin-left: .4rem;
  vertical-align: middle;
}

.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav a {
  color: #ddd;
  font-size: .9rem;
  text-decoration: none;
}
.nav a:hover { color: var(--white); }

/* —— Hero —— */
.hero {
  position: relative;
  color: var(--white);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.hero .lead {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 1.4rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); text-decoration: none; color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  margin-left: .6rem;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; text-align: center; }

/* —— Sections —— */
section { padding: 3.25rem 0; }
section.alt { background: var(--gray-light); }
.section-title {
  font-size: 1.65rem;
  margin-bottom: .35rem;
}
.section-sub {
  color: var(--gray);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

/* —— Gallery —— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
}
.gallery-grid figure {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-grid figcaption {
  font-size: .8rem;
  color: var(--gray);
  padding: .55rem .75rem;
}

/* —— Specs / Included —— */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
}
.card ul { list-style: none; }
.card li {
  padding: .4rem 0;
  padding-left: 1.3rem;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}
.card li:last-child { border-bottom: none; }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: .55rem;
  height: .55rem;
  background: var(--red);
  border-radius: 2px;
}

/* —— Rates —— */
.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rates-table th,
.rates-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.rates-table th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
}
.rates-table tr:last-child td { border-bottom: none; }
.rates-table tr:nth-child(even) td { background: #fafafa; }
.rates-table .price {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.rates-note {
  margin-top: 1rem;
  font-size: .92rem;
  color: var(--gray);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .7rem;
}
.step h4 { margin-bottom: .35rem; font-size: 1rem; }
.step p { font-size: .9rem; color: var(--gray); }

.avail-banner {
  margin-top: 1.5rem;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 500;
}

/* —— FAQ —— */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .65rem;
  padding: .9rem 1.1rem;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin-top: .7rem;
  color: var(--gray);
  font-size: .95rem;
}

/* —— Contact / Form —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
}
.form-card label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .3rem;
  margin-top: .85rem;
}
.form-card label:first-of-type { margin-top: 0; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: var(--white);
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-card .hint {
  font-size: .8rem;
  color: var(--gray);
  margin-top: .35rem;
}
.form-actions { margin-top: 1.2rem; }
.todo-note {
  font-size: .8rem;
  color: #888;
  margin-top: .6rem;
  font-style: italic;
}

.contact-side h3 { margin-bottom: .75rem; }
.contact-side p { margin-bottom: .9rem; color: var(--gray); }
.contact-side .channel {
  display: block;
  padding: .85rem 1rem;
  background: var(--gray-light);
  border-radius: 8px;
  margin-bottom: .6rem;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--border);
}
.contact-side .channel:hover {
  border-color: var(--red);
  text-decoration: none;
}
.contact-side .channel strong {
  display: block;
  color: var(--red);
  margin-bottom: .15rem;
}
.placeholder-email {
  background: #fff8e6;
  border: 1px dashed #d4a017;
  padding: .2rem .45rem;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: .9em;
}

/* —— Footer —— */
.site-footer {
  background: var(--charcoal);
  color: #bbb;
  padding: 1.75rem 0;
  font-size: .88rem;
}
.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer strong { color: var(--white); }
.site-footer .placeholder-tag { margin-left: .3rem; }

/* —— Mobile —— */
@media (max-width: 800px) {
  .nav { display: none; }
  .two-col,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 420px; }
  .btn-outline { margin-left: 0; margin-top: .6rem; display: inline-block; }
  .rates-table th,
  .rates-table td { padding: .75rem .85rem; font-size: .92rem; }
}

.honeypot { position: absolute; left: -10000px; height: 0; overflow: hidden; }
