/* ============================================================
   Eagle Mini-Mart & Propane — styles.css
   Container-based professional layout
   ============================================================ */

/* ---- Variables ---- */
:root {
  --navy:        #1a3a5c;
  --navy-dark:   #0d1f33;
  --navy-light:  #2a5080;
  --gold:        #c8920a;
  --gold-light:  #e0a50b;
  --gold-dark:   #a37608;
  --gold-pale:   #f0b429;
  --light-bg:    #f4f7fb;
  --border:      #e5e7eb;
  --text:        #1c1c1c;
  --muted:       #6b7280;
  --white:       #ffffff;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 18px rgba(0,0,0,0.11);
  --shadow-lg:   0 10px 36px rgba(0,0,0,0.14);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s ease;
  --font-head:   'Montserrat', 'Arial Black', sans-serif;
  --font-body:   'Open Sans', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Anchor links land below the sticky nav */
  scroll-padding-top: 80px;
  /* Prevent iOS from inflating font sizes in landscape */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent long words / URLs breaking layouts on narrow screens */
  overflow-wrap: break-word;
  word-break: break-word;
}

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

/* ---- Accessibility: visible focus ring ---- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove default outline when :focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

/* ---- Skip-to-content link (screen readers / keyboard users) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ---- Container System ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section       { padding: 88px 0; }
.section-sm    { padding: 56px 0; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem);  font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }
p  { color: var(--muted); line-height: 1.8; }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-head);
  margin-bottom: 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header p { max-width: 600px; margin: 16px auto 0; font-size: 1.05rem; }

.divider-gold {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(200,146,10,.38);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(26,58,92,.3);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  /* Respect notch/Dynamic Island on iPhone X+ */
  padding-left:  env(safe-area-inset-left,  0px);
  padding-right: env(safe-area-inset-right, 0px);
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-eagle-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--navy);
  transition: var(--transition);
}
.logo-eagle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-logo:hover .logo-eagle-wrap {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(200,146,10,.25);
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: var(--white);
  line-height: 1.2;
  transition: var(--transition);
}
.nav-logo-text span {
  display: block;
  font-weight: 500;
  font-size: .7rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 1px;
}
#navbar.scrolled .nav-logo-text { color: var(--navy); }
#navbar.scrolled .nav-logo-text span { color: var(--muted); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .875rem;
  color: rgba(255,255,255,.9);
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: .03em;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--gold-pale);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active { color: var(--gold-pale); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

#navbar.scrolled .nav-link {
  color: var(--navy);
}
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--gold);
}
#navbar.scrolled .nav-link::after {
  background: var(--gold);
}
#navbar.scrolled .nav-link:hover::after,
#navbar.scrolled .nav-link.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--gold);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius);
}
.mobile-nav .nav-link:hover { background: rgba(255,255,255,.07); color: var(--gold-pale); }
.mobile-nav .nav-link::after { display: none; }
.mobile-nav .btn { margin-top: 10px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  padding-top: 72px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #081524 0%, #0d2040 45%, #1a3a5c 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* Radial gold glow top-right */
#hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -160px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,146,10,.13) 0%, transparent 65%);
  pointer-events: none;
}

/* Diagonal white cut at bottom */
#hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 110px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Hero two-column layout */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* ---- Eagle visual (right column) ---- */
.hero-visual {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}


/* ============================================================
   STARFIELD — Hero, Winners, CTA Banner
   ============================================================ */

/* Sections need a positioning context */
#winners, #cta-banner { position: relative; overflow: hidden; }
/* #hero already has position:relative and overflow:hidden */

/* Full-section backdrop layer — sits behind everything */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Ensure section content renders above the starfield */
#hero        .hero-container,
#winners     .container,
#cta-banner  .container { position: relative; z-index: 2; }

/* Individual star dots — brighter opacity range, brightness filter */
.starfield .star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  filter: brightness(1.5);
  animation: sf-twinkle linear infinite;
  will-change: opacity;
}
@keyframes sf-twinkle {
  0%, 100% { opacity: 1;    }
  50%       { opacity: 0.15; }
}

/* ---- Shooting star — all styling controlled by JS ---- */
.starfield__shoot {
  position: absolute;
  height: 2px;
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity;
}
/* Leading dot — default right (left-to-right travel) */
.starfield__shoot::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 5px 2px rgba(255,255,255,.85),
              0 0 12px 5px rgba(160,200,255,.45);
}
/* Flip dot to left end when travelling right-to-left */
.starfield__shoot.rtl::after {
  right: auto;
  left: -3px;
}

/* Atmospheric glow — blue-white like Earth's limb */
.hero-eagle-glow {
  position: absolute;
  inset: -70px;
  background: radial-gradient(circle,
    rgba(100,160,255,.18) 0%,
    rgba(60,120,220,.10) 35%,
    transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* Orbit rings */
.hero-eagle-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-eagle-ring--outer {
  inset: -36px;
  border: 1px solid rgba(100,160,255,.18);
  animation: earth-orbit 6s ease-in-out infinite;
}
.hero-eagle-ring--mid {
  inset: -10px;
  border: 1px solid rgba(255,255,255,.12);
  animation: earth-orbit 6s ease-in-out infinite .9s;
}
.hero-eagle-ring--inner {
  inset: 18px;
  border: 1px solid rgba(100,160,255,.1);
  animation: earth-orbit 6s ease-in-out infinite 1.8s;
}

/* The globe itself */
.hero-eagle-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid rgba(100,160,255,.35);
  box-shadow:
    0 0 0 8px rgba(100,160,255,.06),
    0 0 50px rgba(80,140,255,.25),
    0 0 100px rgba(40,80,180,.2),
    0 0 160px rgba(0,0,0,.5);
  animation: earth-float 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

/* Lucky badge */
.hero-eagle-badge {
  position: absolute;
  bottom: 28px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 7px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(200,146,10,.45);
  z-index: 2;
  animation: earth-float 7s ease-in-out infinite 1.2s;
}

@keyframes earth-float {
  0%, 100% { transform: translateY(0px)   rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

@keyframes earth-orbit {
  0%, 100% { opacity: .3; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.03); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,146,10,.15);
  border: 1px solid rgba(200,146,10,.4);
  color: var(--gold-pale);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 24px;
}

.hero-inner h1 { color: var(--white); margin-bottom: 20px; }
.hero-inner h1 .highlight { color: var(--gold-pale); }

.hero-inner > p {
  color: rgba(255,255,255,.72);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats row */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat .stat-val {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-pale);
  line-height: 1;
}
.hero-stat .stat-lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-top: 4px;
}

/* ---- Accent strip ---- */
.accent-strip {
  background: var(--gold);
  padding: 15px 0;
}
.accent-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.accent-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.accent-sep {
  width: 5px; height: 5px;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 26px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 72px; height: 72px;
  background: rgba(200,146,10,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.service-icon i { font-size: 1.8rem; color: var(--gold); transition: var(--transition); }
.service-card:hover .service-icon { background: var(--gold); }
.service-card:hover .service-icon i { color: var(--white); }
.service-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: .9rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why-choose { background: var(--navy); padding: 80px 0; }
#why-choose .section-label { color: var(--gold-pale); }
#why-choose .section-header h2 { color: var(--white); }
#why-choose .section-header p { color: rgba(255,255,255,.6); }
#why-choose .divider-gold { background: rgba(200,146,10,.6); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(200,146,10,.35);
  transform: translateY(-5px);
}
.feature-icon {
  width: 80px; height: 80px;
  background: rgba(200,146,10,.13);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: rgba(200,146,10,.22); }
.feature-icon i { font-size: 2rem; color: var(--gold-pale); }
.feature-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.feature-card p  { color: rgba(255,255,255,.58); font-size: .92rem; }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--light-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content .section-label,
.about-content h2,
.about-content .divider-gold { text-align: left; margin-left: 0; }
.about-content h2 { margin-bottom: 0; }
.about-content .divider-gold { margin: 14px 0 22px; }
.about-content p { margin-bottom: 14px; }

.about-checklist {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}
.about-checklist i { color: var(--gold); font-size: .85rem; flex-shrink: 0; }

/* About visual card */
.about-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(200,146,10,.22) 0%, transparent 70%);
}
.about-card .big-icon {
  font-size: 4.5rem;
  color: rgba(200,146,10,.3);
  margin-bottom: 22px;
  position: relative;
}
.about-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; position: relative; }
.about-card > p { color: rgba(255,255,255,.65); font-size: .94rem; position: relative; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  position: relative;
}
.stat-box {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.stat-box .val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-pale);
  line-height: 1.1;
}
.stat-box .lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

/* ============================================================
   HOURS & LOCATION
   ============================================================ */
#hours { background: var(--white); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.hours-info h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hours-info h3 i { color: var(--gold); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td {
  padding: 11px 0;
  font-size: .94rem;
  vertical-align: middle;
}
.hours-table td:first-child { font-weight: 600; color: var(--navy); width: 55%; }
.hours-table td:last-child {
  color: var(--gold-dark);
  font-weight: 700;
  font-family: var(--font-head);
  text-align: right;
}
.hours-table tr.today {
  background: rgba(200,146,10,.06);
  border-radius: 4px;
}
.hours-table tr.today td { color: var(--gold); }
.hours-table tr.today td:first-child::before {
  content: '▶ ';
  font-size: .65em;
  vertical-align: middle;
}

/* Holiday closure note */
.hours-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(200,146,10,.08);
  border: 1px solid rgba(200,146,10,.25);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--navy);
}
.hours-note i { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.hours-note strong { color: var(--navy-dark); }

.fh-closed span { color: #e05c4a !important; font-weight: 700; }

/* Contact detail items */
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.ci {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(200,146,10,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon i { color: var(--gold); font-size: .95rem; }
.ci-text { padding-top: 2px; }
.ci-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 2px;
}
.ci-text span, .ci-text a { font-size: .94rem; color: var(--muted); }
.ci-text a { color: var(--navy); font-weight: 600; transition: var(--transition); }
.ci-text a:hover { color: var(--gold); }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 390px;
  display: block;
  border: none;
}
.map-footer {
  display: block;
  padding: 13px 20px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
  transition: var(--transition);
}
.map-footer i { margin-right: 8px; }
.map-footer:hover { background: var(--gold); color: var(--white); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, #081524 0%, #1a3a5c 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(200,146,10,.11) 0%, transparent 68%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.cta-content .sub { color: rgba(255,255,255,.6); font-size: 1.05rem; margin-bottom: 32px; }
.cta-phone {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--gold-pale);
  letter-spacing: -.02em;
  margin-bottom: 30px;
  transition: var(--transition);
}
.cta-phone:hover { color: var(--gold-light); text-shadow: 0 0 32px rgba(200,146,10,.45); }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-addr {
  color: rgba(255,255,255,.38);
  font-size: .85rem;
  margin-top: 26px;
}
.cta-addr i { margin-right: 6px; color: rgba(200,146,10,.5); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #080f1a;
  padding: 64px 0 0;
  /* Extra bottom space for home-indicator bar on iOS */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,.5); }
.footer-brand p { color: rgba(255,255,255,.42); font-size: .88rem; line-height: 1.7; max-width: 250px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.42); font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-pale); }

.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.fh-row {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  color: rgba(255,255,255,.42);
}
.fh-row span:last-child { color: var(--gold-pale); font-weight: 700; }

.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.42);
}
.fc-item i { color: var(--gold); width: 14px; margin-top: 2px; flex-shrink: 0; }
.fc-item a { color: rgba(255,255,255,.42); transition: var(--transition); }
.fc-item a:hover { color: var(--gold-pale); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: rgba(255,255,255,.25); font-size: .8rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold-pale); }

/* ============================================================
   LOTTERY WINNERS SECTION
   ============================================================ */
.winners-section {
  background: linear-gradient(160deg, #0a1a2e 0%, #0d2040 50%, #1a3a5c 100%);
  position: relative;
  overflow: hidden;
}
.winners-section::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,146,10,.1) 0%, transparent 65%);
  pointer-events: none;
}
.winners-section::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,146,10,.08) 0%, transparent 65%);
  pointer-events: none;
}

.winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.winner-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,146,10,.25);
  border-radius: var(--radius-lg);
  padding: 44px 36px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.winner-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(200,146,10,.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.3);
}
.winner-card--recent {
  border-color: rgba(200,146,10,.5);
  background: rgba(200,146,10,.06);
}

.winner-ribbon {
  position: absolute;
  top: 18px; left: -28px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 36px;
  transform: rotate(-35deg);
}
.winner-ribbon--gold {
  background: rgba(200,146,10,.35);
  color: var(--gold-pale);
}

.winner-trophy {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1;
}
.winner-card:nth-child(1) .winner-trophy i { color: rgba(200,200,200,.7); }
.winner-card:nth-child(2) .winner-trophy i { color: var(--gold-pale); }

.winner-amount {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--gold-pale);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  text-shadow: 0 0 40px rgba(200,146,10,.3);
}

.winner-year {
  display: inline-block;
  background: rgba(200,146,10,.2);
  color: var(--gold-pale);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  border: 1px solid rgba(200,146,10,.3);
}

.winner-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.winner-desc {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.winner-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 6px 14px;
  border-radius: 100px;
}
.winner-tag i { color: var(--gold); }

/* Winners bottom CTA bar */
.winners-cta {
  margin-top: 44px;
  position: relative;
  z-index: 1;
}
.winners-cta-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(200,146,10,.1);
  border: 1px solid rgba(200,146,10,.3);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  flex-wrap: wrap;
}
.winners-cta-inner > i {
  font-size: 2.2rem;
  color: var(--gold-pale);
  flex-shrink: 0;
}
.winners-cta-inner > div {
  flex: 1;
  min-width: 200px;
}
.winners-cta-inner strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}
.winners-cta-inner span {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
  .winners-grid { grid-template-columns: 1fr; }
  .winners-cta-inner { flex-direction: column; text-align: center; }
  .winner-amount { font-size: 2.6rem; }
}

/* ============================================================
   THEME DIVIDER (above Hours section)
   ============================================================ */
.theme-divider {
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.theme-divider__navy {
  display: block;
  height: 4px;
  background: linear-gradient(
    to right,
    transparent       0%,
    var(--navy)      8%,
    var(--navy-light) 50%,
    var(--navy)      92%,
    transparent      100%
  );
}

.theme-divider__gold {
  display: block;
  height: 4px;
  background: linear-gradient(
    to right,
    transparent     0%,
    var(--gold-dark) 8%,
    var(--gold-pale) 50%,
    var(--gold-dark) 92%,
    transparent     100%
  );
}

/* ============================================================
   SCROLL-REVEAL
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: .1s; }
.fade-in.d2 { transition-delay: .2s; }
.fade-in.d3 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE — MOBILE-FIRST
   ============================================================ */

/* ---- Tablet: ≤1100px ---- */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr 320px; gap: 40px; }
  .hero-visual    { width: 320px; height: 320px; }
  .hero-eagle-img { width: 260px; height: 260px; }
}

/* ---- Tablet: ≤960px ---- */
@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr 260px; gap: 28px; }
  .hero-visual    { width: 240px; height: 240px; }
  .hero-eagle-img { width: 200px; height: 200px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid    { gap: 48px; }
}

/* ---- Mobile: ≤768px ---- */
@media (max-width: 768px) {
  .section    { padding: 56px 0; }
  .container  { padding: 0 16px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
  .nav-container        { height: 64px; }
  /* Side padding respects iPhone notch */
  .nav-container {
    padding-left:  max(16px, env(safe-area-inset-left,  0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  /* Mobile nav dropdown extends to screen edges */
  .mobile-nav {
    padding-left:  max(24px, env(safe-area-inset-left,  0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }

  /* Hero — Earth above text on mobile */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .hero-visual   { order: -1; width: 200px; height: 200px; margin: 0 auto 8px; }
  .hero-eagle-img { width: 164px; height: 164px; }
  .hero-eagle-badge  { bottom: 8px; right: 0; font-size: .62rem; padding: 5px 10px; }
  .hero-badge        { justify-content: center; }
  .hero-inner h1     { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .hero-inner > p    { font-size: .97rem; margin-left: auto; margin-right: auto; }
  .hero-buttons      { justify-content: center; }
  .hero-stats        { justify-content: center; gap: 22px; padding-top: 28px; }

  /* Accent strip */
  .accent-strip .container { gap: 14px; }
  .accent-sep  { display: none; }
  .accent-item { font-size: .75rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card  { padding: 28px 16px 22px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card  { padding: 28px 22px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-card { padding: 36px 24px; }

  /* Winners */
  .winners-grid      { grid-template-columns: 1fr; gap: 18px; }
  .winner-card       { padding: 36px 22px 26px; }
  .winner-amount     { font-size: 2.6rem; }
  .winners-cta-inner { flex-direction: column; text-align: center; padding: 20px; }

  /* Hours */
  .hours-grid      { grid-template-columns: 1fr; gap: 32px; }
  .map-wrap iframe { height: 260px; }
  /* Prevent table overflow on narrow screens */
  .hours-table     { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* CTA banner */
  .cta-btns  { flex-direction: column; align-items: center; }
  .cta-phone { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* Footer */
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }
}

/* ---- Small mobile: ≤480px ---- */
@media (max-width: 480px) {
  .section { padding: 44px 0; }

  /* Hero */
  .hero-visual    { width: 160px; height: 160px; }
  .hero-eagle-img { width: 130px; height: 130px; }
  .hero-eagle-badge { display: none; }
  .hero-stats       { flex-wrap: wrap; gap: 14px 24px; }
  .hero-buttons     { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; width: 100%; max-width: 300px; margin: 0 auto; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Section headers */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: .95rem; }

  /* About */
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-grid  { gap: 28px; }

  /* Winners */
  .winner-ribbon { font-size: .58rem; padding: 4px 28px; top: 14px; left: -28px; }
  .winner-amount { font-size: 2.2rem; }

  /* Hours table */
  .hours-table td { font-size: .85rem; padding: 9px 0; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand p { max-width: 100%; }

  /* Buttons — guaranteed 48 px tap target (WCAG 2.5.5) */
  .btn        { padding: 14px 20px; font-size: .88rem; min-height: 48px; }
  .map-footer { padding: 16px; font-size: .85rem; min-height: 48px; }

  /* Nav logo — drop subtitle on tiny screens */
  .nav-logo-text span { display: none; }
}

/* ---- Very small (≤360px) ---- */
@media (max-width: 360px) {
  .hero-inner h1   { font-size: 1.7rem; }
  .winner-amount   { font-size: 2rem; }
  .cta-phone       { font-size: 1.75rem; }
  .section-label   { font-size: .68rem; }
  .service-card h3 { font-size: 1rem; }
}

/* ---- Touch / tap UX (coarse pointer devices) ---- */
@media (hover: none) and (pointer: coarse) {
  /* Guaranteed minimum tap targets */
  .btn        { min-height: 48px; }
  .nav-link   { min-height: 44px; display: flex; align-items: center; }
  .map-footer { min-height: 48px; display: flex; align-items: center; justify-content: center; }

  /* Instant visual tap feedback instead of hover effects */
  .btn:active         { opacity: .82; transform: scale(.97); }
  .nav-link:active    { opacity: .7; }
  .service-card:active { transform: translateY(-3px); }

  /* Disable hover-only transforms (no stuck states on touch) */
  .service-card:hover,
  .feature-card:hover,
  .winner-card:hover  { transform: none; box-shadow: none; }
}
