/* Variant D — NV /sell-my-boat/ design system applied to short-form structure */

:root {
  --brand-red: #e7131a;
  --brand-red-hover: #c40e14;
  --brand-red-light: #ff7579;
  --brand-navy: #001c2d;
  --brand-navy-deep: #091822;
  --brand-navy-mid: #15375a;
  --pale-teal: #eaf4f7;
  --pale-teal-edge: #d4e8ee;
  --cream: #edece7;
  --slate-body: #3f5462;
  --gray-mid: #747474;
  --gray-border: #c7c7c7;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--slate-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy);
  font-weight: 700;
  margin: 0 0 0.6em;
  line-height: 1.2;
}

p { margin: 0 0 1rem; }

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

/* ============ Layout container ============ */
.nb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-brand {
  background: var(--brand-red);
  color: var(--white);
}
.btn-brand:hover {
  background: var(--brand-red-hover);
  color: var(--white);
}
.btn-brand:active { transform: translateY(1px); }
.btn-brand-block { display: block; width: 100%; }

/* ============ Hero ============ */
.hero-section {
  position: relative;
  background: var(--brand-navy);
  background-image:
    linear-gradient(135deg, rgba(0, 28, 45, 0.45) 0%, rgba(0, 28, 45, 0.20) 55%, rgba(0, 28, 45, 0.05) 100%),
    url('../images/valuation-hero.webp');
  background-size: cover;
  background-position: 0% center;
  color: var(--white);
  padding: 0 0 5rem;
}
@media (min-width: 992px) {
  .hero-section { padding: 0 0 6.5rem; }
}
.hero-logo-bar {
  position: relative;
  z-index: 3;
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}
@media (min-width: 992px) {
  .hero-logo-bar { padding-top: 2.25rem; padding-bottom: 2.75rem; }
}
.hero-logo-bar .brand-mark {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero-logo-bar .brand-mark:hover { color: #ffffff; }
.hero-logo-bar .brand-mark .bm-flag {
  display: inline-block;
  font-size: 1.5em;
  vertical-align: -0.12em;
  margin-right: 0.4rem;
  line-height: 1;
}
.hero-logo-bar .brand-mark .bm-r { color: #b91c1c; }
.hero-logo-bar .brand-mark .bm-w { color: #ffffff; }
.hero-logo-bar .brand-mark .bm-b { color: #1e4d7a; }
.hero-inner { position: relative; z-index: 2; }

.hero-copy { max-width: 620px; }

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-trust-badge .badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--brand-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--brand-red); }

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-feature img {
  width: 1.4rem;
  height: 1.4rem;
  filter: brightness(0) invert(1);
}

/* ============ Valuation Card (form) ============ */
.valuation-card {
  background: var(--pale-teal);
  border: 1px solid var(--pale-teal-edge);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 28, 45, 0.22);
  padding: 2rem 1.75rem;
  color: var(--slate-body);
}
@media (min-width: 992px) {
  .valuation-card { padding: 2.25rem 2rem; }
}

.form-title {
  color: #1e4d7a;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  text-align: center;
}
.form-subtitle {
  color: var(--slate-body);
  font-size: 0.92rem;
  text-align: center;
  margin: 0;
}

.form-label {
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
  display: block;
}
.form-label span { color: var(--brand-red); }

.form-control-brand,
.select-brand {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--brand-navy);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control-brand:focus,
.select-brand:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(231, 19, 26, 0.15);
}
.form-control-brand::placeholder {
  color: var(--gray-mid);
  opacity: 0.85;
}

.select-brand {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23001c2d' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.7rem;
  padding-right: 2.25rem;
}

.radio-group-brand {
  border: 0;
  padding: 0;
  margin: 0;
}
.radio-group-brand .form-label { margin-bottom: 0.6rem; }
.radio-options {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.radio-option-wrap { position: relative; flex: 1 1 0; min-width: 90px; }
.radio-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-option {
  display: block;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  padding: 0.65rem 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.radio-option-input:checked + .radio-option {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}
.radio-option-input:focus + .radio-option {
  box-shadow: 0 0 0 3px rgba(231, 19, 26, 0.18);
}

/* ============ Bootstrap form-grid overrides (keep functional, restyle) ============ */
.valuation-card .row { display: flex; flex-wrap: wrap; margin: 0 -0.5rem; }
.valuation-card .row.g-3 > * { padding: 0.5rem; }
.valuation-card .col-12 { flex: 0 0 100%; max-width: 100%; }
.valuation-card .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .valuation-card .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

/* ============ Stats band ============ */
.stats-section {
  background: var(--pale-teal);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  text-align: center;
  padding: 1rem 0.5rem;
}
.stat-card h2 {
  color: var(--brand-red);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
  line-height: 1;
}
.stat-card p {
  color: var(--slate-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

/* ============ Boats grid ============ */
.boats-section {
  background: var(--white);
  padding: 4.5rem 0;
}
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section-heading .eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.section-heading h2 {
  color: var(--brand-navy);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0;
}

.boats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) { .boats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .boats-grid { grid-template-columns: repeat(3, 1fr); } }

.boat-card {
  background: var(--white);
  border: 1px solid var(--pale-teal-edge);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 28, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.boat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 28, 45, 0.14);
}
.boat-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.boat-card-body {
  padding: 1.1rem 1.2rem 1.4rem;
}
.boat-card-body h3 {
  color: var(--brand-navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.boat-card-body p {
  color: var(--slate-body);
  font-size: 0.95rem;
  margin: 0;
}

/* ============ CTA band ============ */
.cta-section {
  background: var(--brand-navy-mid);
  padding: 4rem 0;
  text-align: center;
}
.cta-copy { max-width: 720px; margin: 0 auto; }
.cta-copy h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.cta-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}
.cta-copy p span { display: block; }

/* ============ Footer ============ */
.site-footer {
  background: var(--brand-navy-mid);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
@media (min-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: 1fr auto; }
}
.site-footer .footer-brand {
  display: inline-block;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-footer .footer-brand:hover { color: var(--white); }
.site-footer .footer-brand .bm-r { color: #b91c1c; }
.site-footer .footer-brand .bm-w { color: #ffffff; }
.site-footer .footer-brand .bm-b { color: #1e4d7a; }
.site-footer .footer-copy {
  text-align: center;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

/* ============ Utility ============ */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Section grid wrapper (used in hero) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
}
