/* ============================================================
   BERRY EMPOWERED ADVOCACY — Global Stylesheet
   Colors: Navy #0C2D50 | Teal #1A8A7A | Gold #C9922E
           Light Gold #E8B84B | Soft Teal #C8DDD9 | Off-White #F4F6F8
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:      #0C2D50;
  --teal:      #1A8A7A;
  --gold:      #C9922E;
  --gold-lt:   #E8B84B;
  --teal-soft: #C8DDD9;
  --teal-deep: #145E72;
  --off-white: #F4F6F8;
  --gray-lt:   #E8ECF0;
  --gray-mid:  #8A9AAA;
  --text:      #1A2E42;
  --white:     #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', Arial, sans-serif;

  --radius:    12px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(12,45,80,0.10);
  --shadow-lg: 0 12px 48px rgba(12,45,80,0.14);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1.05rem; color: #3A5068; line-height: 1.8; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: #b07d2a; border-color: #b07d2a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,146,46,0.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.25); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: #157a6a; border-color: #157a6a; transform: translateY(-2px); }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-lt);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-berry { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--navy); }
.nav-logo-sub   { font-family: var(--font-sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; padding: 10px 24px; font-size: 0.875rem; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ── HERO (shared base) ── */
.hero {
  padding-top: 72px; /* nav offset */
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-bg-rays {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-conic-gradient(from 270deg at 50% 110%, var(--teal) 0deg, transparent 4deg, transparent 16deg, var(--teal) 20deg);
  pointer-events: none;
}

/* ── DIVIDER GOLD ── */
.gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.gold-divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.gold-divider-line.rev { background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider-diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── TAGS / BADGES ── */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-teal  { background: rgba(26,138,122,0.12); color: var(--teal); }
.badge-navy  { background: rgba(12,45,80,0.10);  color: var(--navy); }
.badge-gold  { background: rgba(201,146,46,0.15); color: var(--gold); }

/* ── SUN ICON (reusable) ── */
.sun-icon { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name { font-family: var(--font-serif); font-style: italic; font-size: 1.8rem; color: var(--white); }
.footer-tagline    { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 6px; font-style: italic; }
.footer-desc       { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 16px; line-height: 1.7; }
.footer-legal      { font-size: 0.78rem; color: rgba(255,255,255,0.42); margin-top: 14px; line-height: 1.6; }
.footer-heading    { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
footer ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-copy span { color: var(--gold); }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px 32px;
    border-bottom: 1px solid var(--gray-lt);
    box-shadow: var(--shadow);
    gap: 20px;
    align-items: flex-start;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}
