/* FAQ page — self-hosted brand styles. No Tailwind CDN. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-400.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/dm-sans-500.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dm-sans-600.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/dm-sans-700.ttf") format("truetype");
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-serif-display-400.ttf") format("truetype");
}

:root {
  --navy: #111a2d;
  --navy-deep: #0a1636;
  --gold: #edb417;
  --gold-hot: #f59e0b;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --paper: #f7f4ec;
  --white: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.cc-wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

/* Top utility bar */
.cc-topbar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
}
.cc-topbar .cc-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}
.cc-topbar a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.cc-topbar a:hover { text-decoration: underline; }

/* Header / nav — matches live site */
.cc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(17, 26, 45, 0.08);
}
.cc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}
.cc-logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cc-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.cc-nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.cc-nav a:hover { color: var(--navy); }
.cc-nav a.is-active {
  color: var(--navy);
  font-weight: 700;
}
.cc-nav a:not(.cc-nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.cc-nav a:not(.cc-nav-cta):hover::after,
.cc-nav a.is-active:not(.cc-nav-cta)::after { width: 100%; }

.cc-nav-cta,
a.cc-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: var(--navy) !important;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(237, 180, 23, 0.28);
  white-space: nowrap;
}
.cc-nav-cta:hover {
  transform: translateY(-1px);
  color: var(--navy) !important;
}

.cc-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  color: var(--navy);
  cursor: pointer;
}
.cc-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 0 1.1rem;
  border-top: 1px solid var(--line);
}
.cc-mobile-nav.is-open { display: flex; }
.cc-mobile-nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  padding-top: 0.35rem;
}
.cc-mobile-nav .cc-nav-cta { margin-top: 0.4rem; text-align: center; }

@media (max-width: 860px) {
  .cc-nav { display: none; }
  .cc-menu-btn { display: block; }
  .cc-topbar .cc-hide-sm { display: none; }
}

/* Hero */
.cc-hero {
  position: relative;
  min-height: 420px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--navy) url("https://d2xsxph8kpxj0f.cloudfront.net/310419663030573991/i3PSCNnf3tMn6tLt2tuwZS/family-beach-running_3f5ff161.jpg") center/cover no-repeat;
}
.cc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 54, 0.86) 0%, rgba(17, 26, 45, 0.62) 55%, rgba(17, 26, 45, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 22, 54, 0.15) 0%, rgba(10, 22, 54, 0.45) 100%);
}
.cc-hero-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
  max-width: 42rem;
}
.cc-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.cc-hero h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  font-weight: 400;
  color: var(--white);
}
.cc-hero p {
  font-size: 1.15rem;
  color: #d1d5db;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}
.cc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.cc-btn:hover { transform: translateY(-2px); }
.cc-btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: var(--navy);
}
.cc-btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.cc-btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Find / jump bar */
.cc-find {
  background: var(--paper);
  border-bottom: 1px solid rgba(17, 26, 45, 0.06);
  position: sticky;
  top: 4.75rem;
  z-index: 30;
}
.cc-find-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  padding: 0.85rem 0;
}
.cc-find input {
  flex: 1 1 16rem;
  border: 1px solid #d6d3c8;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--navy);
}
.cc-find input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.cc-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cc-jumps a {
  background: var(--white);
  border: 1px solid #ddd6c4;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.cc-jumps a:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* Sections */
.cc-main { padding: 2.75rem 0 4rem; background: #fbfaf6; }
.cc-section {
  margin: 0 auto 2.25rem;
  max-width: 52rem;
}
.cc-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.cc-section-mark {
  width: 8px;
  height: 2.1rem;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--gold), var(--gold-hot));
  flex: 0 0 auto;
}
.cc-section h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}

.cc-faq-list { display: grid; gap: 0.75rem; }

.cc-item {
  background: var(--white);
  border: 1px solid #ebe6d8;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 26, 45, 0.04);
  overflow: hidden;
}
.cc-item[hidden] { display: none; }
.cc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.cc-item summary::-webkit-details-marker { display: none; }
.cc-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
}
.cc-item[open] summary::after { content: "–"; }
.cc-item .cc-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}
.cc-item .cc-answer p { margin: 0 0 0.7rem; }
.cc-item .cc-answer a {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 2px;
}
.cc-item .cc-answer a:hover { color: var(--gold-hot); }

/* CTA bands */
.cc-cta {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 2.6rem 1.6rem;
  text-align: center;
  margin: 2.5rem auto;
  max-width: 52rem;
  box-shadow: 0 18px 40px rgba(17, 26, 45, 0.18);
}
.cc-cta::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 14rem;
  height: 14rem;
  background: var(--gold);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(10px);
}
.cc-cta h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.7rem;
  position: relative;
  color: var(--white);
}
.cc-cta p {
  margin: 0 0 1.4rem;
  color: #d1d5db;
  position: relative;
}
.cc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

/* Footer */
.cc-footer {
  background: var(--navy);
  color: #d1d5db;
  padding: 4rem 0 2rem;
}
.cc-footer-grid {
  display: grid;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}
@media (min-width: 800px) {
  .cc-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.cc-footer h3,
.cc-footer h4 {
  font-family: "DM Serif Display", Georgia, serif;
  color: var(--white);
  margin: 0 0 1rem;
}
.cc-footer h3 { color: var(--gold); font-size: 1.5rem; }
.cc-footer a { color: #e5e7eb; text-decoration: none; }
.cc-footer a:hover { color: var(--gold); }
.cc-footer ul { list-style: none; padding: 0; margin: 0; }
.cc-footer li + li { margin-top: 0.55rem; }
.cc-footer-copy {
  border-top: 1px solid #1f2937;
  padding-top: 1.4rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Empty search */
.cc-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 1.5rem;
}
.cc-empty.is-visible { display: block; }

@media (max-width: 640px) {
  .cc-hero { min-height: 360px; background-position: 65% center; }
  .cc-hero-inner { padding: 4rem 0 3.2rem; }
  .cc-find { top: 56px; }
}

@media (max-width: 360px) {
  .cc-topbar { font-size: 0.72rem; }
  .cc-topbar .cc-wrap { gap: 0.5rem; }
  .cc-topbar a,
  #sticky-cta-bar a.cta-phone {
    white-space: nowrap;
  }
}
