/* ── Coric campaign landing pages — brand styling ─────────────────────────
   Palette + type lifted from coricind.com. Typekit "avenir-lt-pro" loads from
   the kit in index.html; the fallback stack keeps the page on-brand if the kit
   is blocked on a non-coricind host. */

:root {
  --coric-red: #ec3a24;
  --coric-red-hover: #ef5845;
  --coric-red-dark: #c92d1a;
  --coric-navy: #0f172a;
  --coric-ink: #111827;
  --coric-gray: #7e8c8d;
  --coric-line: #e4e0db;
  --coric-bg: #f7faf9;
  --coric-white: #ffffff;
  --font-sans: "avenir-lt-pro", "Avenir Next", "Segoe UI", system-ui, Arial, sans-serif;
  --wrap: 72rem;
  /* Coric's design language is squared — buttons and surfaces use no radius. */
  --radius: 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--coric-ink);
  background: var(--coric-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
a { color: var(--coric-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--coric-red);
  margin: 0 0 .75rem;
}

/* text-wrap: balance evens out line lengths at every width, so headings like
   "Request your rental quote today" don't drop a lone word onto its own line. */
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--coric-navy); text-wrap: balance; }

/* Authors can insert deliberate line breaks in prose fields with \n in the JSON. */
.hero-title, .hero-subhead, .offer-copy, .feature p, .contact-subhead { white-space: pre-line; }

/* ── Buttons (matched to coricind.com: squared, uppercase, 2px border) ────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 0;
  padding: .8rem 1.6rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all .15s ease-in-out;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--coric-red); border-color: var(--coric-red); color: #fff; }
.btn-primary:hover { background: var(--coric-red-hover); border-color: var(--coric-red-hover); color: #fff; }
.btn-primary:disabled { background: var(--coric-gray); border-color: var(--coric-gray); color: #fff; cursor: not-allowed; opacity: .65; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
/* coricind.com applies text-transform-none to the contact submit specifically. */
.btn-text-normal { text-transform: none; letter-spacing: 0; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #fffffff2;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--coric-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1rem; }
.brand img { display: block; height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--coric-navy) 0%, #1c2b45 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
/* With a hero image the overlay carries the contrast; give it a bit more height. */
.hero--image { padding: clamp(4rem, 11vw, 8rem) 0; }
.hero-inner { max-width: 46rem; }
.hero .eyebrow { color: #ff8a75; }
.hero-title { font-size: clamp(2rem, 5.5vw, 3.4rem); color: #fff; text-wrap: balance; }
.hero-subhead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #d7dde6; margin: 0 0 2rem; }
.hero-cta .btn { font-size: 1.05rem; }

/* Trust bar — proof points under the hero subhead, split from a "|"-separated string. */
.trust-bar {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  font-size: .95rem;
  font-weight: 700;
  color: #eef2f7;
}
.trust-bar li { position: relative; padding-left: 1.5rem; }
.trust-bar li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #ff8a75;
  font-weight: 800;
}

/* ── Offer callout ───────────────────────────────────────────────────────── */
.offer { background: var(--coric-bg); border-bottom: 1px solid var(--coric-line); }
.offer-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem 0; }
.offer-badge {
  flex: none; background: var(--coric-red); color: #fff;
  font-weight: 800; font-size: 1.05rem; text-align: center; line-height: 1.1;
  padding: 1rem; border-radius: var(--radius); min-width: 6.5rem;
}
.offer-title { color: var(--coric-navy); font-size: 1.4rem; margin: 0 0 .25rem; }
.offer-copy { margin: 0; color: #444b52; }

/* ── Detail / features ───────────────────────────────────────────────────── */
.detail { padding: clamp(3rem, 7vw, 5rem) 0; }
.detail .section-title { margin-bottom: 2rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.75rem; }
.feature h3 { font-size: 1.2rem; color: var(--coric-navy); }
.feature p { margin: 0; color: #444b52; }
/* Mark label: black, uppercase, left-aligned with the copy, followed by a short
   2px red accent line separating it from the header + body below. */
.feature .feature-mark {
  display: block;
  color: #000; font-size: 1rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .85rem;
}
.feature .feature-mark::after {
  content: ""; display: block;
  width: 2.5rem; height: 2px; margin-top: .6rem;
  background: var(--coric-red);
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact { background: var(--coric-navy); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact .section-title { color: #fff; }
.contact-subhead { color: #d7dde6; margin: 0 0 1.75rem; }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-info li { display: flex; flex-direction: column; }
.contact-info-label { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--coric-gray); font-weight: 700; }
.contact-info a { color: #fff; font-size: 1.1rem; font-weight: 700; }

.contact-form { background: #fff; color: var(--coric-ink); padding: 1.75rem; border-radius: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label, .checkbox span { font-size: .9rem; font-weight: 600; }
.field label { margin-bottom: .35rem; color: #2b3138; }
.field input, .field select, .field textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cfd4d8; border-radius: var(--radius);
  background: #fff; color: var(--coric-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coric-red); box-shadow: 0 0 0 3px rgba(236, 58, 36, .15);
}
.field textarea { resize: vertical; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; margin: .25rem 0 1.25rem; color: #444b52; }
.checkbox input { margin-top: .2rem; }
.contact-submit { width: 100%; }
.form-status { margin: 1rem 0 0; font-weight: 700; min-height: 1.2em; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: var(--coric-red-dark); }
.form-legal { font-size: .75rem; color: var(--coric-gray); margin: 1rem 0 0; }
.form-legal a { color: var(--coric-gray); text-decoration: underline; }

/* Honeypot — visually and physically removed from tab order, kept in DOM for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Not found ───────────────────────────────────────────────────────────── */
.notfound { padding: 5rem 0; text-align: center; }
.notfound h1 { color: var(--coric-navy); }

/* ── Footer (matched to coricind.com: white, multi-column) ───────────────── */
.site-footer { background: #fff; color: #000; border-top: 1px solid var(--coric-line); padding-top: 3.5rem; }
.footer-main { display: flex; align-items: flex-start; gap: 3rem; padding-bottom: 2.75rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; flex: 0 1 20rem; max-width: 100%; }
.footer-logo { height: 34px; width: auto; align-self: flex-start; }
.footer-tagline { font-weight: 400; margin: 0; line-height: 1.75; }
.footer-address { margin: 0; color: #000; }
.footer-address a { color: #000; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  color: #b8b4aa; transition: color .15s ease;
}
.footer-social:hover { color: var(--coric-red); }
.footer-social-icon { width: 22px; height: 22px; }
.footer-links { display: flex; gap: 3rem; flex: 1 1 auto; }
.footer-link-title { display: block; font-weight: 800; font-size: 1.1rem; color: var(--coric-navy); margin-bottom: 1.15rem; }
/* column-count fills top-to-bottom per column, matching coricind.com's link order */
.footer-link-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 3rem; }
.footer-link-list li { margin-bottom: .8rem; break-inside: avoid; }
.footer-link-list a { color: #000; text-decoration: none; }
.footer-link-list a:hover { color: var(--coric-red); text-decoration: underline; }
.footer-cta { display: flex; flex-direction: column; gap: .9rem; flex: 0 1 18rem; max-width: 100%; }
.footer-cta-title { font-weight: 800; font-size: 1.1rem; color: var(--coric-navy); }
.footer-cta-copy { margin: 0; color: #444b52; }
.footer-cta .btn { align-self: flex-start; }
.footer-bottom-bar { border-top: 1px solid var(--coric-line); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; }
.footer-copyright { margin: 0; color: #5f5b52; font-size: .875rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: #5f5b52; font-size: .875rem; text-decoration: none; }
.footer-legal a:hover { color: var(--coric-red); text-decoration: underline; }
@media (max-width: 800px) {
  .footer-main { gap: 2rem; }
  .footer-links { flex-basis: 100%; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .offer-inner { flex-direction: column; align-items: flex-start; }
}
