/* ========================================================================
   GOLDEN MEMORIAL — Brand Stylesheet v2.0
   Brand: Martin Eichhorn & Associates / Lincoln Heritage premier agency
   Palette:  Navy #0E2A47  Gold #C9A24A  Sage #7B9080  Cream #FAF6EE
   ======================================================================== */

:root {
  --navy:        #0E2A47;
  --navy-2:      #1c4170;
  --gold:        #C9A24A;
  --gold-2:      #d6b466;
  --sage:        #7B9080;
  --cream:       #FAF6EE;
  --cream-2:     #F5EFE3;
  --text:        #1a1a1a;
  --muted:       #5a5a5a;
  --soft:        #8a8a8a;
  --line:        #E7DCC6;
  --white:       #ffffff;
  --shadow:      0 8px 30px rgba(14,42,71,.08);
  --shadow-lg:   0 16px 50px rgba(14,42,71,.14);
  --radius:      14px;
  --radius-sm:   8px;
  --maxw:        1180px;
}

/* ----------------------- RESET ----------------------- */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

/* Senior-friendly accessibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ----------------------- TYPOGRAPHY ----------------------- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-bottom: .6rem; }
h4 { font-size: 1.05rem; margin-bottom: .4rem; }
p  { margin-bottom: 1rem; color: var(--text); }
.eyebrow {
  text-transform: uppercase; font-size: 13px; letter-spacing: 2.5px;
  color: var(--gold); font-weight: 700; margin-bottom: 14px; display:block;
}

/* ----------------------- LAYOUT PRIMITIVES ----------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section.tight { padding: 50px 0; }
section.cream { background: var(--cream); }
section.cream-2 { background: var(--cream-2); }
section.navy { background: var(--navy); color: var(--cream); }
section.navy h1,
section.navy h2,
section.navy h3 { color: var(--gold); }
section.navy p { color: var(--cream); opacity: .92; }

.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-1 { margin-top: 14px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 48px; }

/* ----------------------- TOP BAR ----------------------- */
.topbar {
  background: var(--navy);
  color: var(--cream);
  font-size: 13.5px;
  padding: 10px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: var(--gold); font-weight: 600; }
.topbar .pill {
  background: var(--gold); color: var(--navy); padding: 4px 12px; border-radius: 30px;
  font-weight: 700; font-size: 12px;
}

/* ----------------------- HEADER / NAV ----------------------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(14,42,71,.04);
}
header.site .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.logo .icon {
  width: 36px; height: 36px;
  background: var(--navy); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 18px;
}
.logo .icon svg { width: 22px; height: 22px; }
.logo small { font-size: 10px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Inter', sans-serif; display: block; }

nav.main ul {
  display: flex; list-style: none; gap: 28px; align-items: center;
}
nav.main a {
  font-size: 15px; font-weight: 600; color: var(--text);
}
nav.main a:hover { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all .2s;
  border: none; font-family: inherit;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent; color: var(--navy); border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ----------------------- HERO ----------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  opacity: .15;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .gold { color: var(--gold); }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust-strip {
  display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap;
}
.hero .trust-strip > div {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted);
}
.hero .trust-strip svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero img.heroimg {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10; object-fit: cover;
}

/* ----------------------- STAT STRIP ----------------------- */
.stat-strip {
  background: var(--navy); color: var(--cream);
  padding: 36px 0;
}
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-strip .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem); color: var(--gold); font-weight: 700; line-height: 1;
}
.stat-strip .lbl { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; margin-top: 8px; }

/* ----------------------- CARDS ----------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.card .icon-wrap {
  width: 60px; height: 60px;
  background: var(--cream);
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon-wrap svg { width: 36px; height: 36px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.card a.more { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; font-size: 14px; }
.card a.more:hover { color: var(--gold); }

/* Featured card */
.card.featured {
  background: var(--navy); color: var(--cream); border-color: var(--navy);
}
.card.featured h3 { color: var(--gold); }
.card.featured p { color: var(--cream); opacity: .9; }
.card.featured .icon-wrap { background: rgba(201,162,74,.18); }
.card.featured a.more { color: var(--gold); border-color: var(--gold); }

/* Process steps */
.step { padding: 30px; background: var(--white); border-radius: var(--radius); position: relative; border: 1px solid var(--line); }
.step .num {
  font-family: 'Playfair Display', serif;
  font-size: 56px; font-weight: 700; color: var(--gold);
  line-height: 1; opacity: .85; margin-bottom: 12px;
}

/* ----------------------- TRUST BAR (As Featured In) ----------------------- */
.trustbar { background: var(--white); padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar .label { text-align: center; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.trustbar .logos { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: .65; }
.trustbar .logos span { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); font-weight: 600; }

/* ----------------------- TESTIMONIAL ----------------------- */
.testimonial {
  background: var(--cream);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.testimonial p.quote { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--navy); font-style: italic; line-height: 1.5; }
.testimonial .author { font-size: 14px; color: var(--muted); margin-top: 14px; font-weight: 600; }
.testimonial .author strong { color: var(--navy); font-weight: 700; }

/* ----------------------- CTA BAND ----------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream); padding: 70px 0; text-align: center;
}
.cta-band h2 { color: var(--gold); margin-bottom: 14px; }
.cta-band p { font-size: 18px; opacity: .92; max-width: 640px; margin: 0 auto 28px; }

/* ----------------------- STICKY MOBILE CALL BAR ----------------------- */
.mobile-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--gold); color: var(--navy);
  padding: 14px 20px; font-weight: 700;
  text-align: center; box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  z-index: 200; font-size: 16px;
}

/* ----------------------- FOOTER ----------------------- */
footer.site {
  background: var(--navy); color: var(--cream); padding: 60px 0 30px;
}
footer.site .grid-4 { gap: 40px; }
footer.site h4 { color: var(--gold); margin-bottom: 16px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; font-family: 'Inter', sans-serif; }
footer.site a { color: var(--cream); opacity: .85; display: block; padding: 4px 0; font-size: 14px; }
footer.site a:hover { color: var(--gold); opacity: 1; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; margin-top: 40px; font-size: 12px; opacity: .65; line-height: 1.6; }

/* ----------------------- COMPLIANCE NOTE ----------------------- */
.compliance-note {
  background: var(--cream-2); padding: 18px 22px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--muted); line-height: 1.55; border-left: 3px solid var(--sage);
}

/* ----------------------- MOBILE ----------------------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero { padding: 60px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 22px; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  nav.main ul { display: none; } /* hamburger needed */
  .mobile-call { display: block; }
  body { padding-bottom: 60px; }
}
/* --- GALLERY & SLIDESHOW STYLES --- */
.gallery-section {
  padding: 80px 0;
  background: var(--cream);
}
.slideshow-container {
  max-width: 960px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.slideshow-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}
@media (max-width: 768px) {
  .slideshow-grid {
    grid-template-columns: 1fr;
  }
}
.slideshow-image-col {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.slide-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-image-col img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.slideshow-text-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-left: 1px solid var(--line);
}
@media (max-width: 768px) {
  .slideshow-text-col {
    padding: 30px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
}
.slide-nav-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.slide-counter {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.slide-arrows {
  display: flex;
  gap: 8px;
}
.slide-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}
.slide-arrow:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.slide-arrow svg {
  stroke: currentColor;
}
.slideshow-text-col h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}
.slide-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 30px;
  min-height: 80px;
  transition: opacity 0.3s ease;
}
.slide-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.slide-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}
