/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #0c2d48;
  --navy2: #14375a;
  --gold:  #b8d8e8;
  --gold2: #d4eaf4;
  --cream: #f0f6fa;
  --white: #ffffff;
  --text:  #1a3040;
  --muted: #6a8a9a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  padding-top: 72px; /* nav height */
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  transition: height .3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.85rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: #cfd8e8;
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: .45rem 1.2rem;
  border-radius: 3px;
  font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold2) !important; }
.nav-cta.active { background: var(--gold2) !important; color: var(--navy) !important; }

/* Dropdown */
.nav-has-sub { position: relative; }
.nav-has-sub > a::after {
  content: ' ▾';
  font-size: .7em;
  opacity: .7;
  margin-left: .2em;
}
.nav-sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--navy);
  min-width: 260px; padding: .55rem 0;
  border-top: 2px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  list-style: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.nav-has-sub:hover > .nav-sub,
.nav-has-sub:focus-within > .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub li { margin: 0; }
.nav-sub a {
  display: block;
  padding: .6rem 1.3rem;
  color: #cfd8e8;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: none;
  border-left: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
  white-space: normal;
  line-height: 1.35;
}
.nav-sub a:hover {
  color: var(--gold); background: rgba(255,255,255,.05); border-left-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: .85rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  font-family: 'Lato', sans-serif;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(201,168,76,.6);
  color: var(--gold);
  padding: .85rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: border-color .2s, transform .15s;
  font-family: 'Lato', sans-serif;
}
.btn-outline:hover { border-color: var(--gold); transform: translateY(-2px); }

.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: .75rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .9rem;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: var(--navy2); transform: translateY(-2px); }

/* ── GOLD RULE ── */
.gold-rule {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── PAGE BANNER (inner pages) ── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy2) 100%);
  padding: 80px 5% 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner-inner { position: relative; }
.breadcrumb {
  font-size: .8rem; color: #8899b0;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: .8rem;
}
.page-banner h1 span { color: var(--gold); }
.page-banner p {
  color: #a8b8d0;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── SECTION BASE ── */
.section { padding: 90px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: .7rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title-white { color: var(--white); }

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 560px;
}

.centered { text-align: center; }
.centered .section-sub { margin: .8rem auto 0; }

/* ── CARDS ── */
.card {
  border: 1px solid #e5e0d8;
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow .25s, transform .2s, border-color .25s;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.card:hover { box-shadow: 0 8px 30px rgba(13,31,60,.1); transform: translateY(-4px); border-color: var(--gold); }
.card:hover::after { transform: scaleX(1); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.card-link {
  display: inline-block; margin-top: 1rem;
  color: var(--gold); font-size: .85rem; font-weight: 700;
  text-decoration: none; letter-spacing: .04em;
  transition: gap .2s;
}
.card-link:hover { text-decoration: underline; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 60%, var(--navy2));
  padding: 80px 5%;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: .8rem;
}
.cta-banner p { color: #a8b8d0; margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; max-width: 500px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: #090f1f;
  color: #8899b0;
  padding: 3.5rem 5% 2rem;
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold); font-size: 1.3rem; font-weight: 700;
  display: block; margin-bottom: 1rem;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; color: #6b7a8d; max-width: 240px; }

.footer-col h5 {
  color: #cfd8e8;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a { color: #6b7a8d; text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { font-size: .85rem; color: #6b7a8d; line-height: 1.6; }

.footer-bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .78rem; color: #3d4a5c;
}

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  font-size: .9rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 999;
}
#toast.show { opacity: 1; transform: translateY(0); }

/* ── SCROLL FADE-IN ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-top: 60px; }
  nav { height: 60px; padding: 0 4%; }

  .nav-links {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem 5% 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }

  .nav-toggle { display: flex; }

  /* Mobile dropdown — always expanded inline */
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border-top: none;
    background: rgba(0,0,0,.15);
    min-width: 0; padding: .3rem 0 .6rem;
    margin-top: .4rem;
  }
  .nav-sub a { padding: .5rem 1rem .5rem 1.5rem; font-size: .9rem; }
  .nav-has-sub > a::after { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
