/* ===== Brand range pages (scout.html, eduardono.html, ab-inflatables.html) =====
   Shared by every brand page; the markup is rendered by brand-range.js from
   boat-data.json → ranges[<body data-range>]. ===== */
.br-hero {
  position: relative;
  background: var(--charcoal);
  padding-top: var(--nav-height);
  overflow: hidden;
}

.br-hero__bg {
  position: absolute;
  inset: 0;
  background: url('./assets/product-boats.jpg') no-repeat center / cover;
  opacity: 0.55;
  pointer-events: none;
}

/* Keep the hero copy legible over a bright brand photo */
.br-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.92) 0%, rgba(26, 26, 26, 0.7) 45%, rgba(26, 26, 26, 0.35) 100%);
}

.br-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 56px 24px 52px;
}

.br-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  transition: color var(--transition);
}

.br-hero__back:hover {
  color: var(--gold-light);
}

.br-hero__back svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.br-hero__back:hover svg {
  transform: translateX(-3px);
}

.br-hero__logo {
  display: inline-block;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 22px;
}

.br-hero__logo img {
  display: block;
  height: 44px;
  width: auto;
}

.br-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.br-hero__title em {
  font-style: normal;
  color: var(--red);
}

.br-hero__divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 20px 0;
}

.br-hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--grey-muted);
  max-width: 720px;
  line-height: 1.7;
}

/* Model quick-nav strip */
.br-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
}

.br-strip__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.br-strip__inner::-webkit-scrollbar {
  display: none;
}

.br-strip__link {
  flex-shrink: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.br-strip__link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.br-strip__link span {
  color: var(--grey-muted);
  font-weight: 500;
}

/* Range section */
.br-range {
  background: var(--off-white);
  padding: 72px 0 40px;
}

.br-range__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.br-range__intro {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.75;
  max-width: 820px;
  margin-bottom: 48px;
}

.br-range__intro strong {
  color: var(--charcoal);
}

.br-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.br-label__line {
  width: 32px;
  height: 2px;
  border-radius: 1px;
  background: var(--red);
}

.br-label__text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.br-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Model card */
.br-model {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
  scroll-margin-top: 130px;
}

.br-model:hover {
  box-shadow: var(--shadow-md);
}

.br-model__image {
  position: relative;
  background: var(--off-white);
}

.br-model__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.br-model__thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
  overflow-x: auto;
}

.br-model__thumb {
  flex-shrink: 0;
  width: 68px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--off-white);
  cursor: pointer;
  transition: border-color var(--transition);
}

.br-model__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}

.br-model__thumb:hover {
  border-color: var(--grey-muted);
}

.br-model__thumb.active {
  border-color: var(--red);
}

.br-model__size {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
}

.br-model__body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.br-model__title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 4px;
}

.br-model__type {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}

.br-model__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 18px;
}

.br-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.br-spec__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

.br-spec__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.br-model__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.br-model__highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

.br-model__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.br-model__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.br-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.br-btn svg {
  width: 16px;
  height: 16px;
}

.br-btn--whatsapp {
  background: #25d366;
  color: var(--white);
}

.br-btn--whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

.br-btn--outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--grey-light);
}

.br-btn--outline:hover {
  border-color: var(--charcoal);
}

/* Compare table */
.br-compare {
  background: var(--white);
  padding: 64px 0 80px;
}

.br-compare__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.br-compare__heading {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.br-compare__sub {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 28px;
  line-height: 1.6;
}

.br-compare__scroll {
  overflow-x: auto;
  border: 1px solid var(--grey-light);
  border-radius: 12px;
}

.br-compare table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.br-compare th,
.br-compare td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
  white-space: nowrap;
}

.br-compare thead th {
  background: var(--off-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey);
}

.br-compare thead th a {
  color: var(--charcoal);
  text-decoration: none;
}

.br-compare thead th a:hover {
  color: var(--red);
}

.br-compare thead th small {
  display: block;
  font-weight: 500;
  color: var(--grey-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.br-compare tbody th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--off-white);
}

.br-compare tbody td {
  color: var(--charcoal);
  font-weight: 500;
}

.br-compare tbody tr:last-child th,
.br-compare tbody tr:last-child td {
  border-bottom: none;
}

.br-compare__note {
  font-size: 12px;
  color: var(--grey-muted);
  margin-top: 14px;
  line-height: 1.6;
}

/* Bottom CTA */
.br-cta {
  background: var(--charcoal);
  padding: 72px 0;
  text-align: center;
}

.br-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.br-cta__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.br-cta__sub {
  color: var(--grey-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.br-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.br-cta .br-btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.br-cta .br-btn--outline:hover {
  border-color: var(--white);
}

/* Status */
.br-status {
  text-align: center;
  padding: 48px 24px;
  color: var(--grey);
  font-size: 15px;
}

.br-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .br-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .br-model__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .br-model__body {
    padding: 22px 20px 24px;
  }
  .br-hero__inner {
    padding: 44px 20px 40px;
  }
  .br-range {
    padding-top: 56px;
  }
}

/* Additions for boats[]-backed models (Scout, Eduardoño) */
.br-model__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.br-model__price {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.br-model__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.br-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: 20px;
  padding: 4px 11px;
}

.br-btn--gold {
  background: var(--gold);
  color: var(--charcoal);
}

.br-btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
