/* ==========================================================================
   5 DAYS OF CHRISTMAS RAFFLE GIVEAWAY - STYLESHEET
   Farmers Insurance Agent Holiday Campaign
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Festive Palette */
  --color-crimson: #8b1523;
  --color-crimson-light: #ab1d2e;
  --color-crimson-dark: #580b14;
  --color-crimson-deep: #3b060d;
  
  --color-pine: #102319;
  --color-pine-light: #1a3828;
  --color-pine-dark: #0a1710;
  --color-pine-border: rgba(46, 125, 84, 0.35);

  --color-gold: #e5c365;
  --color-gold-light: #f7e7a8;
  --color-gold-dark: #b8912e;
  --color-gold-glow: rgba(229, 195, 101, 0.4);

  --color-cream: #faf7f2;
  --color-cream-muted: #e2dbce;
  --color-white: #ffffff;
  --color-dark-bg: #0b1410;
  
  /* Text & Surfaces */
  --text-primary: #fcfbf9;
  --text-secondary: #d1c7b7;
  --text-muted: #a39b8c;
  --surface-card: rgba(18, 32, 24, 0.82);
  --surface-card-hover: rgba(24, 42, 32, 0.92);
  --surface-glass: rgba(255, 255, 255, 0.05);
  --surface-input: rgba(10, 20, 15, 0.7);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 4px 25px rgba(229, 195, 101, 0.35);
  --shadow-crimson: 0 8px 30px rgba(139, 21, 35, 0.45);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-dark-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(139, 21, 35, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(26, 56, 40, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(139, 21, 35, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0d1a13 0%, #08100c 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* MANDATORY UTILITY CLASS */
.hidden {
  display: none !important;
}

/* --- Ambient Holiday Lighting Blobs --- */
.holiday-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.45;
}

.glow-top-left {
  top: -100px;
  left: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 21, 35, 0.65), transparent 70%);
}

.glow-top-right {
  top: 15%;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 195, 101, 0.35), transparent 70%);
}

.glow-mid-center {
  bottom: 20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 56, 40, 0.5), transparent 70%);
}

/* --- Centered Site Wrapper --- */
.site-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  flex-direction: column;
}

/* --- Top Agency Bar --- */
.top-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(229, 195, 101, 0.2);
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.agency-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.agency-crest-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(229, 195, 101, 0.12);
  border: 1px solid rgba(229, 195, 101, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.agency-icon-svg {
  width: 22px;
  height: 22px;
}

.agency-info-text {
  display: flex;
  flex-direction: column;
}

.agency-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.agency-tagline {
  font-size: 0.78rem;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
}

/* Centered Container for English / Español Switcher */
.lang-switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.agency-contact-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (min-width: 650px) and (max-width: 899px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 1rem;
  }
  .agency-badge {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }
  .agency-contact-quick {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
  .lang-switcher-container {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: 100%;
  }
}

@media (min-width: 900px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
  }
  .agency-badge {
    justify-content: flex-start;
  }
  .lang-switcher-container {
    justify-self: center;
    width: auto;
  }
  .agency-contact-quick {
    justify-self: flex-end;
  }
}

/* --- Bilingual Language Switcher --- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(10, 22, 16, 0.92);
  border: 1.5px solid rgba(229, 195, 101, 0.55);
  border-radius: 999px;
  padding: 5px 7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(229, 195, 101, 0.2);
  gap: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  line-height: 1.1;
  min-height: 42px;
}

.lang-code {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

.lang-name {
  font-size: 0.96rem;
  display: inline;
}

@media (max-width: 480px) {
  .lang-switcher {
    padding: 4px 6px;
  }
  .lang-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem;
    min-height: 38px;
    gap: 0.35rem;
  }
  .lang-code {
    font-size: 0.82rem;
  }
}

.lang-divider {
  color: rgba(229, 195, 101, 0.45);
  font-size: 1rem;
  font-weight: 300;
  user-select: none;
  padding: 0 2px;
}

.lang-btn:hover {
  color: var(--color-gold-light);
  background: rgba(229, 195, 101, 0.12);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-crimson-light) 100%);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 3px 14px rgba(139, 21, 35, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(229, 195, 101, 0.45);
}

.quick-quote-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: linear-gradient(135deg, rgba(214, 40, 40, 0.85), rgba(139, 21, 35, 0.95));
  border: 1px solid rgba(229, 195, 101, 0.5);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(214, 40, 40, 0.35);
  transition: all var(--transition-fast);
}

.quick-quote-nav-btn:hover {
  background: linear-gradient(135deg, #e63946, #b2182b);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.5);
  color: #fff;
}

.quote-sparkle-icon {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.quick-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(229, 195, 101, 0.1);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 999px;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.quick-call-btn svg {
  width: 15px;
  height: 15px;
}

.quick-call-btn:hover {
  background: rgba(229, 195, 101, 0.22);
  border-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 0 12px var(--color-gold-glow);
  transform: translateY(-1px);
}

/* --- Status Banners (Ended / Coming Soon) --- */
.status-banner {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(18, 30, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.status-banner-ended {
  border-left: 5px solid var(--color-crimson-light);
  background: linear-gradient(90deg, rgba(88, 11, 20, 0.85), rgba(20, 30, 25, 0.9));
}

.status-banner-upcoming {
  border-left: 5px solid var(--color-gold);
  background: linear-gradient(90deg, rgba(85, 68, 18, 0.85), rgba(20, 30, 25, 0.9));
}

.status-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.status-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.status-banner strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.status-banner p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(229, 195, 101, 0.25);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(139, 21, 35, 0.2);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.holiday-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.4rem;
  background: linear-gradient(135deg, rgba(139, 21, 35, 0.85), rgba(88, 11, 20, 0.95));
  border: 1px solid rgba(229, 195, 101, 0.5);
  border-radius: 999px;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm), 0 0 15px rgba(229, 195, 101, 0.25);
}

.sparkle-icon {
  font-size: 0.95rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fceda8 0%, #e5c365 50%, #d4a339 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(229, 195, 101, 0.35));
}

.hero-motto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.5rem 1.6rem;
  background: rgba(229, 195, 101, 0.12);
  border: 1.5px solid rgba(229, 195, 101, 0.5);
  border-radius: 999px;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 18px rgba(229, 195, 101, 0.25);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.motto-sparkle {
  color: var(--color-gold);
  font-size: 0.85em;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* --- Countdown Timer Component --- */
.countdown-container {
  background: rgba(10, 20, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 18px;
  padding: 1.25rem 1.75rem;
  display: inline-block;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 0, 0, 0.4);
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.countdown-timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-digit {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.countdown-separator {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: -0.5rem;
}

/* --- Hero Highlights & Scroll CTA --- */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item-gold {
  background: rgba(229, 195, 101, 0.18);
  border: 1px solid rgba(229, 195, 101, 0.5);
  color: var(--color-white);
  box-shadow: 0 0 14px rgba(229, 195, 101, 0.2);
}

.highlight-item-gold strong {
  color: var(--color-gold-light);
}

.highlight-bullet {
  font-size: 1rem;
}

.hero-cta-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-crimson-light) 100%);
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-crimson);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.hero-cta-scroll:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-crimson-light) 0%, #be2538 100%);
  box-shadow: 0 10px 35px rgba(171, 29, 46, 0.6);
  color: var(--color-white);
}

.arrow-down {
  width: 18px;
  height: 18px;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 5 Days Showcase Section --- */
.gifts-showcase-section {
  margin-bottom: 4rem;
}

.days-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.day-card {
  background: var(--surface-card);
  border: 1px solid rgba(229, 195, 101, 0.2);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

@media (min-width: 680px) {
  .day-card {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1.75rem;
    gap: 1.75rem;
  }
}

.day-card:hover {
  background: var(--surface-card-hover);
  border-color: rgba(229, 195, 101, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.day-gift-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 195, 101, 0.3);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

@media (min-width: 680px) {
  .day-gift-image-wrapper {
    width: 140px;
    height: 140px;
  }
}

.day-gift-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.day-card:hover .day-gift-img {
  transform: scale(1.05);
}

.day-number-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(10, 20, 15, 0.88);
  border: 1px solid rgba(229, 195, 101, 0.4);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
}

.day-card-body {
  flex: 1;
  min-width: 0;
}

.day-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.drawing-date-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold-light);
  background: rgba(229, 195, 101, 0.12);
  border: 1px solid rgba(229, 195, 101, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.day-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.day-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Grand Prize Day 5 Special Accent */
.grand-day-card {
  background: linear-gradient(135deg, rgba(88, 11, 20, 0.45) 0%, rgba(20, 35, 26, 0.95) 100%);
  border: 1.5px solid rgba(229, 195, 101, 0.5);
  box-shadow: 0 4px 25px rgba(139, 21, 35, 0.35);
}

.grand-day-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(229, 195, 101, 0.4);
}

.grand-tag {
  background: linear-gradient(135deg, var(--color-crimson), var(--color-crimson-light));
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.grand-date-badge {
  background: linear-gradient(135deg, rgba(229, 195, 101, 0.25), rgba(229, 195, 101, 0.1));
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* --- Entry Section & Form --- */
.entry-section {
  margin-bottom: 4rem;
}

.entry-card-container {
  background: linear-gradient(180deg, rgba(16, 28, 22, 0.95) 0%, rgba(10, 19, 15, 0.98) 100%);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

@media (min-width: 768px) {
  .entry-card-container {
    padding: 3.5rem 3.5rem;
  }
}

.entry-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.entry-ribbon-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(139, 21, 35, 0.6);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  margin-bottom: 0.85rem;
}

.entry-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.entry-sub {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Alert Banner */
.form-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.form-alert-error {
  background: rgba(139, 21, 35, 0.35);
  border: 1px solid rgba(235, 77, 96, 0.6);
  color: #ffd8dc;
}

.alert-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #ff6b7e;
}

/* Form Rows & Layout */
.holiday-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .form-row-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .form-row-three-col {
    grid-template-columns: 2fr 1.2fr 1.2fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.req-star {
  color: #ff7588;
  font-weight: 700;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 19px;
  height: 19px;
  color: var(--color-gold);
  opacity: 0.75;
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--surface-input);
  border: 1px solid rgba(229, 195, 101, 0.25);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.input-wrapper .form-control {
  padding-left: 2.75rem;
}

/* Styled select control to match text inputs with custom chevron */
select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0.85rem 1rem;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e5c365' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

select.form-control option {
  background-color: #0d1a13;
  color: #ffffff;
  padding: 8px 12px;
}

.form-control::placeholder {
  color: rgba(209, 199, 183, 0.45);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(14, 28, 20, 0.95);
  box-shadow: 0 0 0 3px rgba(229, 195, 101, 0.25);
}

.form-control.input-error {
  border-color: #ff6b7e;
  box-shadow: 0 0 0 3px rgba(255, 107, 126, 0.25);
}

.field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Checkbox Styles */
.checkbox-group {
  margin-top: 0.4rem;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: var(--surface-input);
  border: 1.5px solid rgba(229, 195, 101, 0.4);
  border-radius: 6px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.custom-checkbox-container:hover input ~ .checkmark {
  border-color: var(--color-gold);
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-crimson);
  border-color: var(--color-gold);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.checkbox-subtext {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.optional-review-group {
  padding: 1rem 1.25rem;
  background: rgba(229, 195, 101, 0.05);
  border: 1px dashed rgba(229, 195, 101, 0.3);
  border-radius: 12px;
}

.optional-review-group .checkbox-text strong {
  color: var(--color-gold-light);
}

.inline-rules-btn {
  background: none;
  border: none;
  color: var(--color-gold);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  font-weight: 600;
}

.inline-rules-btn:hover {
  color: var(--color-white);
}

/* Submit Button */
.form-actions {
  margin-top: 0.75rem;
}

.submit-raffle-btn {
  width: 100%;
  padding: 1.1rem 2rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-crimson) 0%, var(--color-crimson-light) 60%, #be2538 100%);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-crimson);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.submit-raffle-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(171, 29, 46, 0.6), 0 0 20px rgba(229, 195, 101, 0.3);
}

.submit-raffle-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  width: 22px;
  height: 22px;
}

.form-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.lock-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-gold);
}

/* --- Post-Entry Success State --- */
.post-entry-card {
  text-align: center;
  padding: 1rem 0;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f6b3e 0%, #134628 100%);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px rgba(46, 125, 84, 0.6);
}

.check-svg {
  width: 36px;
  height: 36px;
  color: var(--color-white);
}

.success-ribbon {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.success-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.daily-reminder-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(229, 195, 101, 0.08);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.reminder-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.reminder-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-gold-light);
  margin-bottom: 0.2rem;
}

.reminder-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Already entered notification box */
.already-entered-box {
  background: rgba(139, 21, 35, 0.25);
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: left;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-gold-light);
  margin-bottom: 0.35rem;
}

.info-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.already-entered-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Bonus Referral Panel */
.share-bonus-panel {
  background: rgba(10, 20, 15, 0.85);
  border: 1px solid rgba(229, 195, 101, 0.4);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  box-shadow: var(--shadow-md);
}

.share-card-header {
  margin-bottom: 1.5rem;
}

.share-sparkle {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.share-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.45rem;
}

.share-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.share-description strong {
  color: var(--color-gold-light);
}

.share-link-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.share-url-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  font-size: 0.9rem;
  font-family: monospace;
}

.share-url-field:focus {
  outline: none;
  border-color: var(--color-gold);
}

.copy-btn {
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #0b1410;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(229, 195, 101, 0.4);
}

.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-icon {
  width: 16px;
  height: 16px;
}

.fb-btn {
  background-color: #1877f2;
}

.fb-btn:hover {
  background-color: #0d65d9;
}

.x-btn {
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.x-btn:hover {
  background-color: #222222;
}

.wa-btn {
  background-color: #25d366;
  color: #05260f;
}

.wa-btn:hover {
  background-color: #20ba59;
}

.success-agency-footer {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-cream-muted);
}

/* --- Dedicated Free Insurance Quote & QR Code Section --- */
.insurance-quote-section {
  margin-bottom: 4rem;
}

.quote-banner-card {
  background: linear-gradient(145deg, rgba(14, 28, 20, 0.96) 0%, rgba(20, 38, 28, 0.95) 50%, rgba(10, 20, 15, 0.98) 100%);
  border: 1.5px solid rgba(229, 195, 101, 0.4);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(229, 195, 101, 0.15);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .quote-banner-card {
    padding: 3rem 3rem;
  }
}

.quote-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(229, 195, 101, 0.2);
}

.agency-brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.quote-agency-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.agency-badge-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(229, 195, 101, 0.12);
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 999px;
  color: var(--color-gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.quote-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 820px) {
  .quote-main-content {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.quote-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.quote-main-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Office Location Card */
.office-location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(10, 20, 15, 0.75);
  border: 1px solid rgba(229, 195, 101, 0.3);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.75rem;
}

.office-loc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(214, 40, 40, 0.2);
  border: 1px solid rgba(214, 40, 40, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff6b7e;
}

.office-loc-icon svg {
  width: 20px;
  height: 20px;
}

.office-loc-details {
  flex: 1;
}

.office-loc-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.25rem;
}

.office-loc-address {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.office-loc-contact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.office-phone-link {
  color: var(--color-gold-light);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.office-phone-link svg {
  width: 14px;
  height: 14px;
}

.office-phone-link:hover {
  text-decoration: underline;
  color: #fff;
}

.contact-sep {
  color: rgba(255, 255, 255, 0.3);
}

.directions-link {
  color: var(--text-secondary);
  text-decoration: underline;
}

.directions-link:hover {
  color: var(--color-gold-light);
}

.quote-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: linear-gradient(135deg, #d62828 0%, #b2182b 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(214, 40, 40, 0.45);
  transition: all var(--transition-fast);
}

.btn-primary-quote:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
  box-shadow: 0 6px 22px rgba(214, 40, 40, 0.6);
  color: #fff;
}

.arrow-right-icon {
  width: 18px;
  height: 18px;
}

.btn-secondary-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  background: rgba(229, 195, 101, 0.1);
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 12px;
  color: var(--color-gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary-quote svg {
  width: 16px;
  height: 16px;
}

.btn-secondary-quote:hover {
  background: rgba(229, 195, 101, 0.2);
  color: #fff;
  border-color: var(--color-gold);
}

/* QR Code Presentation Box */
.quote-qr-column {
  display: flex;
  justify-content: center;
}

.qr-presentation-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 195, 101, 0.3);
  border: 3px solid var(--color-gold);
  max-width: 270px;
  width: 100%;
}

.qr-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0b1410;
  color: var(--color-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.qr-camera-icon {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.qr-image-frame {
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.quote-qr-image {
  width: 170px;
  height: 170px;
  display: block;
  border-radius: 8px;
}

.qr-caption strong {
  display: block;
  font-size: 0.92rem;
  color: #0b1410;
  font-weight: 700;
}

.qr-caption p {
  font-size: 0.78rem;
  color: #555555;
  margin: 0.15rem 0 0.6rem;
}

.qr-fallback-link {
  font-size: 0.72rem;
  color: #0c4a6e;
  text-decoration: underline;
  word-break: break-all;
  line-height: 1.3;
  display: block;
}

.qr-fallback-link:hover {
  color: #d62828;
}

/* Post Entry Success Screen Quote Card */
.success-quote-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: rgba(14, 28, 20, 0.85);
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  max-width: 620px;
  margin: 0 auto 2.25rem;
  text-align: left;
}

@media (min-width: 640px) {
  .success-quote-card {
    flex-direction: row;
    align-items: center;
  }
}

.success-quote-qr-wrapper {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 12px;
  text-align: center;
  flex-shrink: 0;
  border: 2px solid var(--color-gold);
}

.success-quote-qr-img {
  width: 110px;
  height: 110px;
  display: block;
  border-radius: 6px;
}

.qr-scan-badge {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0b1410;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-quote-content {
  flex: 1;
}

.quote-farmers-mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.farmers-red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d62828;
}

.success-quote-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.success-quote-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.success-quote-desc strong {
  color: var(--color-gold-light);
}

.success-quote-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.success-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #d62828, #b2182b);
  border-radius: 8px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.success-quote-btn:hover {
  background: #e63946;
  color: #fff;
}

.arrow-ext {
  width: 13px;
  height: 13px;
}

.success-quote-phone-link {
  font-size: 0.84rem;
  color: var(--color-gold-light);
  text-decoration: underline;
  font-weight: 600;
}

/* Feature Agency Card Branding */
.feature-farmers-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.farmers-bullet {
  color: rgba(229, 195, 101, 0.4);
}

.chip-quote-highlight {
  background: rgba(214, 40, 40, 0.25) !important;
  border-color: rgba(214, 40, 40, 0.5) !important;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.chip-quote-highlight:hover {
  background: rgba(214, 40, 40, 0.45) !important;
  border-color: var(--color-gold) !important;
}

/* Footer Agency Branding */
.footer-agency-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.footer-agency-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer-agency-subtitle {
  font-size: 0.88rem;
  color: var(--color-gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.how-it-works-section {
  margin-bottom: 4rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--surface-card);
  border: 1px solid rgba(229, 195, 101, 0.15);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 195, 101, 0.35);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-crimson), var(--color-crimson-light));
  border: 1.5px solid var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(139, 21, 35, 0.4);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Agency Feature Section --- */
.agency-feature-section {
  margin-bottom: 4rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(16, 32, 24, 0.9) 0%, rgba(10, 20, 15, 0.95) 100%);
  border: 1px solid rgba(229, 195, 101, 0.25);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .feature-card {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem 3rem;
    gap: 2.5rem;
  }
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(229, 195, 101, 0.1);
  border: 1px solid rgba(229, 195, 101, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-shield {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
}

.feature-content {
  flex: 1;
}

.feature-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.agency-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-gold-light);
}

.contact-chip svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

/* --- Official Rules Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: #0d1a13;
  border: 1px solid rgba(229, 195, 101, 0.35);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(229, 195, 101, 0.2);
  background: rgba(18, 35, 26, 0.8);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--color-gold);
  display: block;
  margin-top: 0.15rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.close-icon {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

.modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(229, 195, 101, 0.2);
  background: rgba(18, 35, 26, 0.8);
  display: flex;
  justify-content: flex-end;
}

.modal-action-btn {
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #0a1710;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-action-btn:hover {
  box-shadow: 0 4px 15px rgba(229, 195, 101, 0.4);
}

/* --- Site Footer --- */
.site-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(229, 195, 101, 0.2);
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.footer-link-btn:hover {
  color: var(--color-white);
}

.footer-bullet {
  color: rgba(229, 195, 101, 0.4);
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 780px;
  margin: 0 auto 1.25rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* MANDATORY WOOBBOX POWERED-BY SLOT */
#wbx-powered-by-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  min-height: 24px;
}
