/* =============================================
   AVDP - Audio Visual Design & Print
   Main Stylesheet
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* ---- Custom Properties ---- */
:root {
  --bg-primary:    #0d1117;
  --bg-secondary:  #13191f;
  --bg-card:       #1c2333;
  --bg-hover:      #222d42;
  --accent:        #f0a500;
  --accent-hover:  #c98b00;
  --accent-light:  rgba(240,165,0,0.10);
  --accent-border: rgba(240,165,0,0.30);
  --text-primary:  #e6edf3;
  --text-muted:    #8b949e;
  --border:        #2d3748;
  --max-width:     1200px;
  --radius:        8px;
  --radius-lg:     12px;
  --shadow:        0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.50);
  --transition:    0.22s ease;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text-primary); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

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

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0d1117;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text strong { font-size: 0.975rem; font-weight: 700; color: var(--text-primary); }
.nav-logo-text span { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.nav-links > li > a:hover,
.nav-dropdown-btn:hover,
.nav-links > li > a.active { color: var(--text-primary); background: var(--bg-card); }

.nav-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav-links > li:hover .nav-chevron { transform: rotate(225deg) translateY(-2px); }

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 230px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-lg);
  list-style: none;
}

.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.575rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown a:hover { color: var(--text-primary); background: var(--bg-card); }

/* Nav CTA button */
.nav-cta {
  background: var(--accent) !important;
  color: #0d1117 !important;
  font-weight: 700 !important;
  padding: 0.45rem 1.1rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: #0d1117 !important; }

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
  z-index: 1001;
}
.nav-hamburger:hover { background: var(--bg-card); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0.15rem;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }

.nav-mobile a {
  display: block;
  padding: 0.65rem 0.875rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover { color: var(--text-primary); background: var(--bg-card); }

.nav-mobile-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.875rem 0.875rem 0.3rem;
}

.nav-mobile-cta {
  margin-top: 0.75rem;
  display: block;
  text-align: center;
  background: var(--accent) !important;
  color: #0d1117 !important;
  font-weight: 700 !important;
  padding: 0.8rem !important;
  border-radius: var(--radius) !important;
}

/* ---- Hero (Homepage) ---- */
.hero {
  position: relative;
  min-height: 87vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, #0d1117 0%, #0e1422 50%, #0d1117 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(240,165,0,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(30,60,120,0.12) 0%, transparent 60%);
}

/* Animated grid lines subtle effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero > .container > .hero-content > p { font-size: 1.1rem; max-width: 520px; margin-bottom: 2.25rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(240,165,0,0.04) 0%, transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; max-width: 620px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: #0d1117; }
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0d1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,165,0,0.28);
}
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-card); border-color: var(--text-muted); color: var(--text-primary); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--accent-border); box-shadow: 0 6px 28px rgba(0,0,0,0.4); transform: translateY(-3px); }

.card-link { text-decoration: none; display: block; }

/* Service cards (homepage grid) */
.service-card { overflow: hidden; }
.service-card .card-img { height: 150px; border-radius: var(--radius); margin-bottom: 1.25rem; overflow: hidden; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.875rem; margin-bottom: 1rem; }
.card-arrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.card-link:hover .card-arrow { gap: 0.6rem; }

/* ---- Grid Layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }

/* ---- Placeholder Images ---- */
.placeholder {
  background: linear-gradient(135deg, #1a2235 0%, #111827 100%);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.01) 10px,
    rgba(255,255,255,0.01) 20px
  );
}
.placeholder-icon { font-size: 1.75rem; opacity: 0.25; position: relative; }
.placeholder-label { position: relative; font-weight: 500; }

.ph-av { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); }
.ph-wedding { background: linear-gradient(135deg, #1a0d2e 0%, #0f172a 100%); }
.ph-funeral { background: linear-gradient(135deg, #111827 0%, #0a0d12 100%); }
.ph-sport { background: linear-gradient(135deg, #0c1a0c 0%, #0d1117 100%); }
.ph-design { background: linear-gradient(135deg, #1a0d00 0%, #0d1117 100%); }
.ph-doc { background: linear-gradient(135deg, #14121e 0%, #0d1117 100%); }
.ph-hero { background: linear-gradient(135deg, #0f172a 0%, #1e1535 100%); }

/* ---- Two Column Layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.wide { grid-template-columns: 3fr 2fr; }
.two-col.reverse-col > :first-child { order: 2; }
.two-col.reverse-col > :last-child { order: 1; }

/* ---- Feature List (icon + text) ---- */
.features-list { display: flex; flex-direction: column; gap: 1.25rem; }
.feature-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.feature-text h4 { font-size: 0.975rem; margin-bottom: 0.3rem; }
.feature-text p { font-size: 0.875rem; margin: 0; }

/* ---- Check List ---- */
.check-list { display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '';
  display: block;
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 1px;
  background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 5-5' stroke='%23f0a500' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
}

/* ---- Process Steps ---- */
.process-steps { display: flex; flex-direction: column; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 19px; top: 28px; bottom: 28px;
  width: 1px;
  background: var(--border);
}
.step { display: flex; gap: 1.25rem; padding: 1.1rem 0; }
.step-num {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
  position: relative; z-index: 1;
}
.step-content { padding-top: 0.5rem; }
.step-content h4 { margin-bottom: 0.3rem; }
.step-content p { font-size: 0.875rem; margin: 0; }

/* ---- Stats Row ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Pricing Tables ---- */
.pricing-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.pricing-table:last-child { margin-bottom: 0; }

.pricing-table-head {
  background: rgba(240,165,0,0.07);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pricing-table-head h3 { font-size: 1rem; color: var(--accent); margin: 0; }
.pricing-table-head p { font-size: 0.82rem; margin: 0; color: var(--text-muted); }

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid rgba(45,55,72,0.5);
  gap: 1rem;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: rgba(255,255,255,0.015); }

.pricing-item { flex: 1; }
.pricing-item strong { display: block; font-size: 0.9rem; color: var(--text-primary); font-weight: 500; margin-bottom: 0.15rem; }
.pricing-item span { font-size: 0.8rem; color: var(--text-muted); }
.pricing-price { font-size: 0.95rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.65rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(240,165,0,0.025);
  font-style: italic;
}

/* Tiered pricing cards */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tier-card:hover { border-color: var(--accent-border); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.tier-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.tier-head { padding: 2rem; text-align: center; border-bottom: 1px solid var(--border); }
.tier-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  background: var(--accent);
  color: #0d1117;
}
.tier-badge.gold { background: #c8c8c8; color: #1a1a1a; }
.tier-badge.silver { background: #8a8a8a; color: #fff; }
.tier-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.tier-desc { font-size: 0.875rem; }

.tier-body { padding: 1.75rem; flex: 1; }
.tier-body .check-list li { font-size: 0.875rem; }

/* ---- Info Box ---- */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.info-box h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.info-box p { font-size: 0.9rem; }
.info-box ul { list-style: disc; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.info-box li { font-size: 0.875rem; color: var(--text-muted); }

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(240,165,0,0.055) 0%, transparent 65%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 0.875rem; }
.cta-section > .container > p { font-size: 1.05rem; max-width: 540px; margin: 0 auto 2.25rem; }

.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-meta { margin-top: 1.75rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.cta-meta a {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--text-muted); font-size: 0.9rem;
  transition: color var(--transition);
}
.cta-meta a:hover { color: var(--accent); }

/* ---- Contact Form ---- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}
.req-star { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  font-size: 0.925rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,165,0,0.09); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control option { background: var(--bg-secondary); }

/* ---- Alternating section backgrounds ---- */
.bg-alt { background: var(--bg-secondary); }
.bg-card-section { background: var(--bg-card); }

/* ---- Pill / Badge ---- */
.pill {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Divider ---- */
.divider { height: 1px; background: var(--border); margin: 2.5rem 0; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 270px; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.65rem; }
.footer-contact-item a { color: var(--text-muted); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-icon { font-style: normal; min-width: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }

/* ---- Highlight Band ---- */
.highlight-band {
  background: var(--accent-light);
  border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.925rem;
  color: var(--text-primary);
}
.highlight-band strong { color: var(--accent); }
.highlight-band a { color: var(--accent); font-weight: 600; }

/* ---- Pricing breakdown table (funerals etc) ---- */
.price-breakdown { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.price-breakdown th {
  text-align: left; padding: 0.6rem 1rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.price-breakdown td { padding: 0.65rem 1rem; border-bottom: 1px solid rgba(45,55,72,0.4); color: var(--text-muted); }
.price-breakdown tr:last-child td { border-bottom: none; }
.price-breakdown tr:hover td { background: rgba(255,255,255,0.02); }
.price-breakdown td:first-child { color: var(--text-primary); }
.price-breakdown .price-cell { font-weight: 700; color: var(--accent); white-space: nowrap; }
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.table-head { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); background: rgba(240,165,0,0.06); }
.table-head h3 { font-size: 0.975rem; color: var(--accent); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: 75vh; padding: 2rem 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse-col > :first-child { order: unset; }
  .two-col.reverse-col > :last-child { order: unset; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .tier-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }

  .cta-section { padding: 4rem 0; }
  .cta-meta { gap: 1rem; flex-direction: column; align-items: center; }

  .pricing-row { flex-direction: column; gap: 0.2rem; }
  .pricing-price { align-self: flex-start; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .page-hero { padding: 3rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .btn { padding: 0.8rem 1.5rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .pricing-table-head { flex-direction: column; align-items: flex-start; }
  .hero-badge { font-size: 0.68rem; }
}
