/* ==========================================================================
   CatamaranCabo.com — Deals page styles (The Nightclub on the Water)
   Layered over css/homepage.css (linked first, unchanged).
   Page-specific: hero, key stats, editorial rows, dark club section, panels.
   ========================================================================== */

/* ---------- Active navigation state (Deals current page) ---------- */

.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}
.mobile-menu a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

/* ---------- Page hero (image first, then intro) ---------- */

.page-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero-media {
  position: relative;
  max-width: 100%;
}
.page-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: var(--radius);
}
.page-hero-frame {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: 1rem;
  left: 1rem;
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  z-index: 0;
}

.page-hero-content {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.75rem);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.page-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 46rem;
}

.deal-hero-actions {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Key stats strip ---------- */

.deal-stats {
  max-width: var(--wrap);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.deal-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: center;
}
.deal-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--coral-deep);
  margin: 0 0 0.25rem;
  line-height: 1.1;
}
.deal-stat-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Editorial rows (alternating image and copy) ---------- */

.deal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
}
.deal-row-flip .deal-copy { order: 2; }
.deal-row-flip .deal-figure { order: 1; }

.deal-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 1.1rem;
}
.deal-copy p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1.15rem;
}
.deal-copy p:last-child { margin-bottom: 0; }

.deal-figure {
  margin: 0;
}
.deal-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Dark club section ---------- */

.deal-dark {
  background: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}
.deal-dark .eyebrow { color: var(--seaglass); }
.deal-dark h2 { color: var(--ivory); }
.deal-dark .deal-copy p { color: rgba(250, 247, 241, 0.78); }

/* ---------- Feature panels (three columns) ---------- */

.deal-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.deal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.deal-panel h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.deal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.deal-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  color: var(--ink-soft);
  line-height: 1.55;
  border-top: 1px solid var(--line);
}
.deal-list li:first-child { border-top: 0; }
.deal-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--seaglass);
}

/* ---------- Two column copy block ---------- */

.deal-band-copy {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.deal-band-copy p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.deal-band-copy p a { color: var(--ink); text-decoration: underline; }
.deal-band-copy p a:hover { color: var(--coral-deep); }

/* ---------- Callout panel ---------- */

.deal-callout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.deal-callout p {
  margin: 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}
.deal-callout p a { color: var(--ink); text-decoration: underline; }
.deal-callout p a:hover { color: var(--coral-deep); }

/* ---------- CTA ---------- */

.deal-cta {
  max-width: var(--wrap);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.deal-cta { margin-left: var(--pad); margin-right: var(--pad); }
@media (min-width: 1300px) {
  .deal-cta { margin-left: auto; margin-right: auto; }
}

.deal-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.deal-cta p { color: var(--ink-soft); max-width: 40rem; margin: 0 auto 1.75rem; }

.deal-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .deal-panels { grid-template-columns: 1fr; }
  .deal-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .deal-row { grid-template-columns: 1fr; }
  .deal-row-flip .deal-copy { order: 1; }
  .deal-row-flip .deal-figure { order: 2; }
  .deal-band-copy { grid-template-columns: 1fr; }
  .page-hero-media img { aspect-ratio: 16 / 10; }
  .deal-callout { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .deal-hero-actions .btn,
  .deal-cta-actions .btn { width: 100%; }
}
