/* =========================================================
   Disc Harbor — site styles
   ========================================================= */

:root {
  --navy: #0B2545;
  --navy-deep: #06182D;
  --navy-light: #1E3A66;
  --gold: #F2A93B;
  --gold-deep: #D8902A;
  --cream: #F4EFE6;
  --cream-warm: #ECE3D2;
  --slate: #1E2A3A;
  --driftwood: #8A8780;
  --seaglass: #2E8B6A;
  --red: #C84E3D;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 16px 48px rgba(11, 37, 69, 0.18);
  --radius: 12px;
  --radius-lg: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,37,69,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 44px; width: auto; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; color: var(--navy); font-size: 1.35rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--navy); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 15px;
  font-family: inherit;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--navy); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--navy); }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(242,169,59,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.2rem; color: rgba(244,239,230,0.92); margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: rgba(244,239,230,0.8); }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: '★'; color: var(--gold); }

.hero-card {
  background: var(--white);
  color: var(--slate);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { margin-top: 0; color: var(--navy); }

@media (max-width: 880px) {
  .hero { padding: 50px 0 70px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section.alt { background: var(--cream); }
section.dark { background: var(--navy); color: var(--cream); }
section.dark h2, section.dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { color: var(--gold-deep); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--driftwood); font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,37,69,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.card.dark { background: var(--navy-light); color: var(--cream); border-color: transparent; }
.card.dark h3 { color: var(--white); }

/* ---------- Pricing table ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--cream-warm);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.pricing-card .label { font-size: 13px; font-weight: 700; color: var(--driftwood); letter-spacing: 1.5px; text-transform: uppercase; }
.pricing-card .range { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--navy); font-weight: 700; margin: 8px 0; }
.pricing-card .each { font-size: 12px; color: var(--driftwood); }
.pricing-card.featured { border-color: var(--gold); background: linear-gradient(180deg, #fff 0%, #fdf6e7 100%); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: 14px; color: var(--navy); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(11,37,69,0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--slate);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,169,59,0.18);
}
.form textarea { min-height: 100px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--driftwood); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid rgba(11,37,69,0.1);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-deep); font-weight: 700; font-size: 1.4rem; transition: transform 0.2s; margin-left: 16px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 4px; color: var(--slate); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream);
  padding: 24px 0;
  border-bottom: 1px solid rgba(11,37,69,0.06);
}
.trust-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); font-weight: 500; }
.trust-item strong { color: var(--navy); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-strip h2 { color: var(--white); margin-bottom: 14px; }
.cta-strip p { color: rgba(244,239,230,0.85); max-width: 600px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244,239,230,0.75);
  padding: 60px 0 30px;
  font-size: 14px;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(244,239,230,0.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand .brand-name { color: var(--white); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.eyebrow { color: var(--gold-deep); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.badge { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-soft { background: rgba(242,169,59,0.15); color: var(--gold-deep); }
.list-check { list-style: none; padding: 0; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.list-check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--seaglass); font-weight: 700; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--gold); padding: 8px 14px; border-radius: 8px; z-index: 100; }
