﻿/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand:      #F2E4C4;
  --sand-dark: #D9C89A;
  --turq:      #0B7A75;
  --turq-light:#15B2AB;
  --terra:     #C46A3A;
  --navy:      #1A2B45;
  --cream:     #FAF6EE;
  --ink:       #1C1C1C;
  --muted:     #6B6458;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(26,43,69,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
nav.transparent {
  background: transparent;
  border-bottom: none;
  transition: background .4s;
}
nav.transparent.scrolled {
  background: rgba(26,43,69,.95);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 300; letter-spacing: .08em;
  color: #fff; text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--turq-light); font-style: italic; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.95); text-decoration: none;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 500; transition: color .2s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--turq-light); border-bottom-color: var(--turq-light); }
.nav-cta {
  background: var(--terra); color: #fff;
  padding: .5rem 1.2rem; border-radius: 2px;
  font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; transition: background .2s; flex-shrink: 0;
}
.nav-cta:hover { background: #a8562c; }

/* ── PAGE HERO (non-home) ── */
.page-hero {
  position: relative; min-height: 52vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,28,.90) 0%, rgba(8,18,36,.50) 45%, rgba(10,22,44,.10) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 3rem 3.5rem;
  max-width: 720px;
}
.page-hero-content .breadcrumb {
  font-size: .75rem; color: rgba(255,255,255,.88);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.page-hero-content .breadcrumb a { color: var(--turq-light); text-decoration: none; }
.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; color: #fff; line-height: 1.1;
  margin-bottom: .8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.65), 0 1px 4px rgba(0,0,0,.5);
}
.page-hero-content h1 em { font-style: italic; color: var(--sand); }
.page-hero-content .sub {
  font-size: 1rem; color: #fff; line-height: 1.6;
  max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

/* ── SECTIONS ── */
section { padding: 5rem 3rem; }
.section-tag {
  display: block; font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--terra); margin-bottom: .8rem;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15; color: var(--navy); margin-bottom: 1.1rem;
}
h2 em { font-style: italic; }
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; margin-bottom: .5rem;
}
.lead {
  font-size: 1.03rem; color: var(--muted); line-height: 1.75; max-width: 620px;
}
p { line-height: 1.75; color: var(--muted); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--turq); color: #fff;
  padding: .8rem 1.9rem; border-radius: 2px; text-decoration: none;
  font-size: .88rem; letter-spacing: .04em; font-weight: 500;
  transition: background .2s;
}
.btn-primary:hover { background: var(--turq-light); }
.btn-ghost {
  display: inline-block; border: 1px solid var(--navy); color: var(--navy);
  padding: .8rem 1.9rem; border-radius: 2px; text-decoration: none;
  font-size: .88rem; letter-spacing: .04em; transition: all .2s;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-terra {
  display: inline-block; background: var(--terra); color: #fff;
  padding: .8rem 1.9rem; border-radius: 2px; text-decoration: none;
  font-size: .88rem; letter-spacing: .04em; font-weight: 500;
  transition: background .2s;
}
.btn-terra:hover { background: #a8562c; }

/* ── CARD GRID ── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── STANDARD CARD ── */
.card {
  background: #fff; border-radius: 2px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,43,69,.1); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-body { padding: 1.4rem; }
.card-tag {
  display: inline-block; background: var(--turq); color: #fff;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .65rem; border-radius: 20px; margin-bottom: .6rem;
}
.card-tag.terra { background: var(--terra); }
.card-tag.navy  { background: var(--navy); }

/* ── AFFILIATE NOTE ── */
.affiliate-note {
  font-size: .72rem; color: var(--muted); text-align: center;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--sand-dark);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--terra); padding: 5rem 3rem; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.95); margin-bottom: 2rem; max-width: none; }
.btn-white {
  display: inline-block; background: #fff; color: var(--terra);
  padding: .9rem 2.4rem; border-radius: 2px; text-decoration: none;
  font-weight: 500; font-size: .9rem; transition: opacity .2s;
}
.btn-white:hover { opacity: .9; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: #0e1820; color: rgba(255,255,255,.85);
  padding: 4rem 3rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand .nav-logo { display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: .82rem; line-height: 1.7; }
footer h4 {
  color: rgba(255,255,255,.92); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
footer ul li a {
  color: rgba(255,255,255,.82); font-size: .82rem; text-decoration: none; transition: color .2s;
}
footer ul li a:hover { color: var(--turq-light); }
.footer-bottom {
  background: #0e1820; padding: 1.2rem 3rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .73rem; color: rgba(255,255,255,.65);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.5rem; }
  .page-hero-content { padding: 0 1.5rem 2.5rem; }
  .card-grid-3, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { padding: 1rem 1.5rem; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

