/* =========================================================================
   United Claims Advocate Group (UCAG) — Design System
   Patriotic, professional. Navy foundation, confident red accent, clean white.
   ========================================================================= */

:root {
  /* Brand palette — bold & patriotic */
  --navy:        #0a1f4d;   /* primary — deep, saturated */
  --navy-700:    #112d6e;
  --navy-500:    #1f4fb0;   /* vivid royal blue accent */
  --red:         #d21f33;   /* bright Old Glory red */
  --red-600:     #b01627;
  --red-bright:  #e8202f;
  --white:       #ffffff;
  --offwhite:    #f1f5fb;
  --slate:       #44546a;   /* body text on light */
  --slate-300:   #c7d0de;
  --gold:        #f2b417;   /* warm accent — trust marks/stars */

  /* Functional */
  --bg:          var(--white);
  --text:        #1a2436;
  --muted:       #5a6a82;
  --border:      #e2e8f2;

  /* Type */
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 35, 66, 0.10);
  --shadow-sm: 0 2px 8px rgba(10, 35, 66, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
a { color: var(--navy-500); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: .9rem;
  padding: 5px 14px 5px 12px;
  background: rgba(210,31,51,.10);
  border-left: 4px solid var(--red);
  border-radius: 3px;
}
.eyebrow::before { content: "★ "; color: var(--red); }

/* Hero tagline — FREE consultation, NO out-of-pocket */
.hero-tagline {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.92rem, 2.3vw, 1.7rem);
  margin: 0 0 16px;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-tagline .hl {
  color: #ff2e3e;
  font-style: italic;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fluorescent cyan neon eyebrow (hero) */
.eyebrow-neon {
  color: #27e1ff;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: .14em;
  background: rgba(39,225,255,.08);
  border-left-color: #27e1ff;
  text-shadow: 0 0 6px rgba(39,225,255,.95), 0 0 16px rgba(39,225,255,.7), 0 0 32px rgba(39,225,255,.5);
}
.eyebrow-neon::before { color: #27e1ff; text-shadow: inherit; }

/* ---- Patriotic stripe accent (used under sections / hero) ---- */
.stripe {
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(90deg,
    var(--red) 0 60px, var(--white) 60px 120px, var(--navy-500) 120px 180px);
}

/* ============================ Buttons ============================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red-600));
  color: #fff; box-shadow: 0 6px 18px rgba(210,31,51,.35);
  text-transform: uppercase; letter-spacing: .03em; font-size: .95rem;
}
.btn-primary:hover { background: var(--red-600); color: #fff; box-shadow: 0 8px 22px rgba(210,31,51,.45); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }

/* ============================ Logo banner ============================ */
.logo-banner {
  display: block; width: 100%; background: #fff;
  padding: 10px 24px; border-bottom: 3px solid var(--red);
}
.logo-banner img { display: block; width: 100%; height: auto; max-width: 1320px; margin: 0 auto; }

/* ============================ Header / Nav ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  border-top: 5px solid var(--red);
  box-shadow: 0 2px 14px rgba(8,24,66,.25);
}
.nav {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--red), var(--navy-500));
  display: grid; place-items: center; color: #fff; font-weight: 800;
  font-family: var(--font-head); border: 1px solid rgba(255,255,255,.25);
}
.brand .name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand .name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--slate-300); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #e7edf6; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { margin-left: 8px; }

.nav-schedule { padding: 12px 22px; font-size: .9rem; }
@media (max-width: 860px) { .nav-schedule { font-size: .72rem; padding: 9px 12px; } }

/* ===== Fixed floating call button (bottom-right, always visible) ===== */
.call-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #ffd400; color: #0a1f4d; font-weight: 800; letter-spacing: .02em;
  text-transform: uppercase; font-size: .95rem;
  padding: 14px 22px; border-radius: 50px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  animation: callPulse 1.4s ease-in-out infinite; transform-origin: center;
}
.call-float svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.call-float:hover { background: #ffdf33; color: #0a1f4d; text-decoration: none; filter: brightness(1.03); }
@keyframes callPulse {
  0%,100% { transform: scale(1);    box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 0 rgba(255,212,0,.55); }
  50%     { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0,0,0,.32), 0 0 0 14px rgba(255,212,0,0); }
}
@media (max-width: 560px) { .call-float { right: 14px; bottom: 14px; padding: 12px 16px; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .call-float { animation: none; } }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; color: #fff;
}
.nav-toggle span { display:block; width:24px; height:2px; background:#fff; margin:5px auto; transition:.2s; }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  color: #fff;
  padding: 140px 0 150px;
  overflow: hidden;
  border-bottom: 6px solid var(--red);
  /* logo stretched to fill the hero, darkened for legible text */
  background-image:
    linear-gradient(rgba(9,16,36,.60), rgba(9,16,36,.72)),
    url("assets/hero-logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* gentle vignette so edges settle and text pops */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 52%, rgba(0,0,0,.42) 100%);
}
.hero .container { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero p.lead { font-size: 1.3rem; color: #e3ebf7; max-width: 660px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .trust {
  margin-top: 42px; display: flex; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px; overflow: hidden; backdrop-filter: blur(2px);
}
.hero .trust > div {
  padding: 18px 28px; color: #cdd9ea; font-size: .9rem;
  border-right: 1px solid rgba(255,255,255,.13); flex: 1; min-width: 150px;
}
.hero .trust > div:last-child { border-right: 0; }
.hero .trust b { color: var(--gold); font-size: 1.7rem; font-family: var(--font-head); display:block; line-height:1.1; }

/* ============================ Sections ============================ */
section { padding: 72px 0; }
.section-light { background: var(--offwhite); }

/* Navy section (moved down from the hero) */
.section-navy {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  border-top: 5px solid var(--red);
  border-bottom: 5px solid var(--red);
}
/* red diagonal flag-stripe wedge on the right (like the original hero) */
.section-navy::before {
  content: ""; position: absolute; top: 0; right: -120px; bottom: 0; width: 460px;
  background: repeating-linear-gradient(135deg,
    rgba(210,31,51,.55) 0 22px, rgba(210,31,51,0) 22px 64px);
  transform: skewX(-12deg); pointer-events: none; z-index: 0;
}
/* small star-dot texture */
.section-navy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.4px, transparent 1.5px);
  background-size: 28px 28px; opacity: .5;
}
.section-navy .container { position: relative; z-index: 1; }
.section-navy h2 { color: #fff; }
.section-navy .section-head p { color: #d8e2f0; }
.section-navy .eyebrow { background: rgba(255,255,255,.10); color: #ff9aa6; border-left-color: var(--red); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head h2 { position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after {
  content:""; position:absolute; left:0; bottom:0; width: 72px; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--navy-500) 50% 100%); border-radius: 2px;
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%); }

/* Grid of cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--navy-500);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--red); }
.card .ico {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy-500), var(--navy)); color:#fff;
  display:grid; place-items:center; font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(31,79,176,.30);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Stat band */
.band {
  position: relative; color: #fff;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  border-top: 5px solid var(--red); border-bottom: 5px solid var(--red);
}
.band::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.3px, transparent 1.4px);
  background-size: 28px 28px; opacity:.5;
}
.band .container { position: relative; z-index: 1; }
.band .grid { text-align: center; }
.band .stat b { font-family: var(--font-head); font-size: 2.8rem; color: var(--gold); display:block; }
.band .stat span { color: #d8e2f0; font-size: .95rem; }

/* Photo showcase tiles (claim types with real images) */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--red);
}
.shot img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.shot::after { content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,24,66,0) 30%, rgba(8,24,66,.85) 100%); }
.shot:hover img { transform: scale(1.06); }
.shot .label { position: relative; z-index:1; color:#fff; padding: 18px 20px; }
.shot .label b { font-family: var(--font-head); font-size: 1.2rem; display:block; }
.shot .label span { font-size: .85rem; color:#d8e2f0; }

/* Media split (image + text) */
.media { width:100%; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); }
.media img { display:block; width:100%; height:100%; object-fit: cover; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 5px solid #fff; outline: 1px solid var(--border); }
.media-frame::before { content:""; position:absolute; left:0; top:0; bottom:0; width:8px; z-index:1;
  background: repeating-linear-gradient(180deg, var(--red) 0 16px, var(--navy-500) 16px 32px); }
.media-frame img { display:block; width:100%; height:100%; object-fit: cover; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.split li { padding: 8px 0 8px 32px; position: relative; }
.split li::before {
  content: "★"; color: var(--red); position: absolute; left: 0; top: 7px; font-size: .9rem;
}

/* States / cities link lists */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.place {
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 18px; border:1px solid var(--border); border-radius: var(--radius);
  background:#fff; color: var(--navy); font-weight:600;
}
.place:hover { border-color: var(--red); text-decoration:none; box-shadow: var(--shadow-sm); }
.place .arrow { color: var(--red); }

/* CTA band */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--red-bright), var(--red-600));
  color:#fff; text-align:center;
  border-top: 5px solid var(--navy);
}
.cta::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.6px);
  background-size: 26px 26px; opacity:.5;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color:#fff; }
.cta p { color: #ffe6e9; max-width: 600px; margin: 0 auto 24px; }

/* ============================ Footer ============================ */
.site-footer { background: var(--navy); color: #c9d4e4; padding: 56px 0 28px; }
.site-footer a { color: #c9d4e4; }
.site-footer a:hover { color: #fff; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color:#fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style:none; padding:0; margin:0; }
.footer-grid li { margin-bottom: 8px; font-size: .94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.85rem; color:#9fb0c7;
}
.disclaimer { font-size: .8rem; color: #8194ad; margin-top: 12px; max-width: 760px; }

/* ============================ Breadcrumb ============================ */
.breadcrumb { background: var(--offwhite); border-bottom:1px solid var(--border); }
.breadcrumb ol { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:14px 0; font-size:.88rem; }
.breadcrumb li::after { content: "›"; margin-left:8px; color: var(--muted); }
.breadcrumb li:last-child::after { content:""; }
.breadcrumb a { color: var(--muted); }

/* ============================ Utilities ============================ */
.center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.muted { color: var(--muted); }
.tag { display:inline-block; background: var(--offwhite); border:1px solid var(--border);
  padding:4px 12px; border-radius:99px; font-size:.82rem; color:var(--navy); font-weight:600; margin:3px; }
.tag-link { transition: border-color .15s, box-shadow .15s, color .15s; }
.tag-link:hover { border-color: var(--red); color: var(--red); text-decoration:none; box-shadow: var(--shadow-sm); }
.tag-link .arrow { color: var(--red); margin-left:2px; }

/* ===== Top attention bar (reopen denied/underpaid claims) ===== */
.alert-bar {
  position:sticky; top:80px; z-index:49;        /* locks right below the 80px blue bar */
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  text-align:center; text-decoration:none; color:#fff;
  padding:12px 18px; line-height:1.32; letter-spacing:.2px;
  background:linear-gradient(90deg,#a50f20,#e8202f,#ff5563,#e8202f,#a50f20);
  background-size:220% 100%; animation:alertSheen 7s linear infinite;
  box-shadow:0 4px 14px rgba(0,0,0,.22);
}
.alert-bar:hover { text-decoration:none; filter:brightness(1.06); }
.alert-bar .l1 { font-size:1.3rem;  font-weight:800; }
.alert-bar .l2 { font-size:1.05rem; font-weight:600; }
.alert-bar .l3 { font-size:1.12rem; font-weight:800; text-decoration:underline; text-underline-offset:3px; }
@keyframes alertSheen { 0%{background-position:0% 50%} 100%{background-position:220% 50%} }
@keyframes alertPulse {
  0%   { box-shadow:0 0 0 0 rgba(255,255,255,.85); }
  70%  { box-shadow:0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow:0 0 0 0 rgba(255,255,255,0); }
}
@media (max-width:560px){ .alert-bar{ padding:10px 12px; } .alert-bar .l1{ font-size:1.05rem; } .alert-bar .l2{ font-size:.9rem; } .alert-bar .l3{ font-size:.98rem; } }
@media (prefers-reduced-motion: reduce){
  .alert-bar{ animation:none; } .alert-bar .dot{ animation:none; }
}
/* Hook phrase: pulse-zoom + gold flash, synced so gold lands at the zoom peak */
.alert-bar .fx-hook {
  display:inline-block; transform-origin:center; font-weight:800;
  animation:zoomFlash 1.2s ease-in-out infinite;
}
@keyframes zoomFlash {
  0%,100% { transform:scale(1);    color:#fff;    text-shadow:none; }
  50%     { transform:scale(1.09); color:#ffd24d; text-shadow:0 0 10px rgba(255,210,77,.6),0 0 20px rgba(255,210,77,.35); }
}
@media (prefers-reduced-motion: reduce){ .alert-bar .fx-hook{ animation:none; } }

/* ===== Video frame + placeholder ===== */
.video-frame {
  max-width:880px; margin:0 auto; aspect-ratio:16/9; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); background:var(--navy);
}
.video-frame iframe, .video-frame video { width:100%; height:100%; border:0; display:block; }
.video-placeholder {
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:10px; text-align:center; padding:24px; color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--navy-700) 60%,var(--navy-500));
}
.video-placeholder .play {
  width:74px; height:74px; border-radius:50%; background:var(--red);
  box-shadow:0 8px 24px rgba(0,0,0,.35); position:relative; margin-bottom:6px;
}
.video-placeholder .play::after {
  content:""; position:absolute; top:50%; left:54%; transform:translate(-50%,-50%);
  border-style:solid; border-width:14px 0 14px 22px; border-color:transparent transparent transparent #fff;
}
.video-placeholder p { font-family:var(--font-head); font-size:1.25rem; margin:0; color:#fff; }
.video-placeholder span { font-size:.9rem; color:var(--slate-300); max-width:380px; }

/* ============================ Responsive ============================ */
@media (max-width: 980px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .grid-3, .grid-2, .split, .footer-grid { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  .nav-links {
    position: absolute; top: 72px; left:0; right:0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 16px; border-bottom: 3px solid var(--red);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 24px; }
  .nav-links a { display:block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { padding: 12px 24px 0; }
  .nav-toggle { display: block; }
  .band .grid-3 { grid-template-columns: 1fr 1fr; }
}
