/* ═══════════════════════════════════════════
   FANB Website – Style Sheet
   Theme: Warm Filipino heritage + modern clean
═══════════════════════════════════════════ */

:root {
  --gold: #FCD116;
  --gold-light: #FFE566;
  --red: #CE1126;
  --red-light: #E84D5E;
  --blue: #0038A8;
  --blue-light: #3B6FD8;
  --blue-deep: #002080;
  --white: #FFFFFF;
  --cream: #F5F8FF;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F4;
  --gray-200: #E8E8E8;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
}

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

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

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), #B02020);
  color: white;
  box-shadow: 0 4px 16px rgba(206,17,38,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(206,17,38,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover { background: var(--red); color: white; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── SECTION LABELS / TITLES ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(206,17,38,0.08);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: normal;
  color: var(--red);
}
.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 31, 92, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(0, 31, 92, 0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-sun {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px rgba(252,209,22,0.9));
  animation: sunPulse 3s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(252,209,22,0.9)); }
  50% { filter: drop-shadow(0 0 18px rgba(252,209,22,1)); }
}
.logo-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--gold-light);
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--gold), #D4A800);
  color: var(--blue-deep);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(252,209,22,0.55); }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-deep);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #001870 0%, #0038A8 45%, #1a5fa8 70%, #002080 100%);
}
.hero-sun {
  position: absolute;
  right: -5%;
  top: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,209,22,0.40) 0%, rgba(252,209,22,0.10) 50%, transparent 75%);
  animation: heroSunGlow 6s ease-in-out infinite;
}
@keyframes heroSunGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
}
.wave1 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23F5F8FF' fill-opacity='0.08' d='M0,96L60,90.7C120,85,240,75,360,80C480,85,600,107,720,112C840,117,960,107,1080,90.7C1200,75,1320,53,1380,42.7L1440,32L1440,180L1380,180C1320,180,1200,180,1080,180C960,180,840,180,720,180C600,180,480,180,360,180C240,180,120,180,60,180L0,180Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.wave2 {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23F5F8FF' d='M0,128L80,117.3C160,107,320,85,480,90.7C640,96,800,128,960,133.3C1120,139,1280,117,1360,106.7L1440,96L1440,180L1360,180C1280,180,1120,180,960,180C800,180,640,180,480,180C320,180,160,180,80,180L0,180Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 40%, rgba(255,209,102,0.6) 0%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 100px;
  padding-bottom: 180px;
}
.hero-tagline {
  font-family: 'Satisfy', cursive;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-chapter {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.85s forwards;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 195px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about {
  padding: 6rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.about-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-card:hover::before { transform: scaleX(1); }
.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}
.about-card p {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ══════════════════════════════════
   EVENTS
══════════════════════════════════ */
.events {
  padding: 6rem 0;
  background: var(--gray-50);
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.event-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.3s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: white;
  border-color: transparent;
}
.event-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}
.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  background: rgba(206,17,38,0.08);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
}
.featured .event-date-block {
  background: rgba(255,255,255,0.12);
}
.event-month {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
}
.featured .event-month { color: var(--gold-light); }
.event-day {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
}
.featured .event-day { color: white; }
.event-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}
.featured .event-info h3 { color: white; }
.event-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.featured .event-meta { color: rgba(255,255,255,0.6); }
.event-info p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.featured .event-info p { color: rgba(255,255,255,0.8); }

/* ══════════════════════════════════
   ADS SECTION
══════════════════════════════════ */
.ads-section {
  padding: 6rem 0;
  background: var(--cream);
}
.ads-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: white;
  color: var(--gray-600);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--red);
  background: var(--red);
  color: white;
}
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.ad-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.ad-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ad-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 0;
}
.ad-cat-tag.business { background: rgba(252,209,22,0.15); color: #9A7000; }
.ad-cat-tag.services { background: rgba(59,130,246,0.12); color: #1d4ed8; }
.ad-cat-tag.jobs { background: rgba(16,185,129,0.12); color: #047857; }
.ad-cat-tag.housing { background: rgba(139,92,246,0.12); color: #6d28d9; }
.ad-img-placeholder {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.ad-body { padding: 1.25rem; }
.ad-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ad-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.ad-contact {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
}
.ad-post-cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-post-inner {
  text-align: center;
  padding: 2rem;
  color: white;
}
.ad-post-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.ad-post-inner h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.ad-post-inner p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Ad Submit Form */
.ad-submit-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  margin-top: 1rem;
}
.ad-submit-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.ad-submit-form > p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ══════════════════════════════════
   REGISTRATION & PAYMENT
══════════════════════════════════ */
.register-section {
  padding: 6rem 0;
  background: var(--gray-50);
}
.membership-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.tier-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier-card.featured {
  border-color: var(--red);
  background: linear-gradient(160deg, #fff0f2 0%, white 40%);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
}
.tier-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}
.tier-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
  font-family: 'DM Sans', sans-serif;
}
.tier-perks {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}
.tier-perks li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.tier-perks li:last-child { border-bottom: none; }

/* Registration Form */
.reg-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  scroll-margin-top: 100px;
}
.reg-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.selected-plan {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  background: rgba(206,17,38,0.08);
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--red);
  font-size: 0.95rem;
}

/* Tabs */
.form-tabs {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}
.tab-btn {
  flex: 1;
  padding: 0.85rem;
  background: var(--gray-100);
  color: var(--gray-600);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--red);
  color: white;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-note {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: white;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(206,17,38,0.08);
}
.form-group textarea { resize: vertical; }

/* Family row */
.family-member-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.family-member-row input {
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.family-member-row input:focus { border-color: var(--red); }

/* Payment summary */
.payment-summary {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
}
.payment-summary h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.summary-line.total {
  border-bottom: none;
  border-top: 2px solid var(--gray-300);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
}

/* Payment methods */
.payment-methods { margin-bottom: 1.75rem; }
.payment-methods h4 { font-weight: 700; margin-bottom: 1rem; }
.payment-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.payment-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(206,17,38,0.05);
  color: var(--red);
}
.payment-option input { display: none; }

.card-fields { margin-bottom: 1rem; }
.security-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.info-box {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px dashed var(--gray-300);
  margin-bottom: 1rem;
}
.info-box h5 { font-weight: 700; margin-bottom: 0.75rem; color: var(--gray-800); }
.info-box p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* Success */
.reg-success {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.reg-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.reg-success p { color: var(--gray-600); margin-bottom: 2rem; }

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-section {
  padding: 6rem 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(206,17,38,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.contact-item span {
  color: var(--gray-600);
  font-size: 0.9rem;
}
.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.fb-link:hover { opacity: 0.8; }
.footer-links-col h5 {
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card.featured { grid-column: 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .hero-stats { gap: 1.25rem; }
  .stat-num { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-options { flex-direction: column; }
  .form-tabs { flex-direction: column; border-radius: 10px; }
}
