/* ============================================================
   HARRY TOMES FUNERAL DIRECTORS
   styles.css — Complete Design System
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  /* Brand Colours */
  --navy:        #03264e;
  --navy-light:  #04305f;
  --navy-dark:   #01182f;
  --gold:        #c9924a;
  --gold-light:  #ddac6a;
  --gold-dark:   #a8762f;
  --cream:       #f5f2ed;
  --cream-dark:  #ede8e0;
  --warm-grey:   #9490a0;
  --charcoal:    #2e2e2e;
  --charcoal-light: #555;
  --white:       #ffffff;
  --off-white:   #faf9f7;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;

  /* Sizing */
  --max-width:   1180px;
  --nav-height:  80px;

  /* Transitions */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(3,38,78,0.08);
  --shadow-md:   0 8px 30px rgba(3,38,78,0.12);
  --shadow-lg:   0 20px 60px rgba(3,38,78,0.18);
  --shadow-gold: 0 4px 20px rgba(201,146,74,0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--gold-dark);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: var(--space-sm);
  color: var(--charcoal-light);
  font-size: 1.0rem;
  line-height: 1.8;
}

p:last-child { margin-bottom: 0; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--gold-light); }

.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar .top-bar-left a {
  color: var(--gold-light);
  font-weight: 500;
  border: 1px solid rgba(201,146,74,0.4);
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
  transition: all 0.2s;
}

.top-bar .top-bar-left a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 38, 78, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(1, 24, 47, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}

.nav-logo:hover img {
  opacity: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--gold-light);
}

/* Dropdown */
.nav-menu .has-dropdown:hover > .dropdown,
.nav-menu .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-lg);
}

.dropdown li a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  color: var(--gold-light);
  background: rgba(255,255,255,0.04);
  padding-left: 1.5rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3,38,78,0.88) 0%,
    rgba(3,38,78,0.65) 50%,
    rgba(1,18,35,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  max-width: 680px;
  font-weight: 300;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite 2s;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255,255,255,0.78);
}

.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ── Homepage 3-per-row wide/short cards ── */
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.home-card {
  display: flex;
  flex-direction: column;
}

.home-card-img-wrap {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.home-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.home-card:hover .home-card-img {
  transform: scale(1.04);
}

.home-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-card .card-body p {
  flex: 1;
}

@media (max-width: 900px) {
  .home-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .home-card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.card-body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--space-sm);
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.7rem; color: var(--gold-dark); }

/* ============================================================
   SERVICE CARD (for Our Services page)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(3,38,78,0.07);
  border-radius: 4px;
  padding: var(--space-md) var(--space-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ============================================================
   FEATURE BAND (full-width image with text)
   ============================================================ */
.feature-band {
  position: relative;
  padding: var(--space-2xl) 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.feature-band .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3,38,78,0.92) 0%, rgba(3,38,78,0.8) 100%);
}

.feature-band .container {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.feature-band h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.feature-band p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* ============================================================
   TWO-COLUMN SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
}

.split-content h2 {
  margin-bottom: var(--space-md);
}

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band {
  background: var(--navy);
  padding: var(--space-xl) 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.4rem;
  display: block;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3,38,78,0.95) 0%,
    rgba(3,38,78,0.6) 50%,
    rgba(3,38,78,0.3) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--gold-light); }

.page-hero-content h1 {
  color: var(--white);
  max-width: 600px;
  font-weight: 300;
}

.page-hero-content .lead {
  color: rgba(255,255,255,0.78);
  max-width: 550px;
  margin-top: var(--space-sm);
  font-size: 1.05rem;
}

/* ============================================================
   CONTENT ARTICLE (long-form pages)
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.article-body h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--cream-dark);
}

.article-body h2:first-child {
  margin-top: 0;
  border-top: none;
}

.article-body h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
  color: var(--navy);
}

.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--charcoal-light);
}

.article-body ul li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.article-body .highlight-box {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: var(--space-md);
  border-radius: 0 4px 4px 0;
  margin: var(--space-md) 0;
}

.article-body .highlight-box p {
  margin: 0;
  color: var(--charcoal);
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.sidebar-card p { font-size: 0.9rem; }

.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--charcoal-light);
}

.sidebar-contact-item .icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sidebar-nav {
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-nav h4 {
  padding: var(--space-sm) var(--space-md);
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav ul {
  padding: 0.5rem 0;
}

.sidebar-nav li a {
  display: block;
  padding: 0.6rem var(--space-md);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.15s;
}

.sidebar-nav li:last-child a { border-bottom: none; }
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.04);
  padding-left: calc(var(--space-md) + 6px);
}

/* ============================================================
   PRICE LIST
   ============================================================ */
.price-section {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.price-section-header {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-section-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 400;
}

.price-section-header .total {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table td {
  padding: 0.85rem var(--space-md);
  border-bottom: 1px solid var(--cream);
  font-size: 0.92rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  min-width: 90px;
}

.price-table tr:nth-child(even) td {
  background: var(--cream);
}

.price-note {
  background: var(--cream);
  border-radius: 4px;
  padding: var(--space-md);
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--charcoal-light);
}

.price-note p { font-size: 0.85rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  padding: var(--space-lg);
}

.contact-info-card h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.contact-detail .icon {
  font-size: 1.2rem;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-detail h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
}

.contact-detail a:hover { color: var(--gold-light); }

.contact-phone-large {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-light);
  display: block;
  line-height: 1.2;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer h4 {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item .icon { color: var(--gold); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   TIMELINE (About page)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.65rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.timeline-item h3 { margin-bottom: 0.5rem; }

/* ============================================================
   STEP GUIDE (Recently Bereaved)
   ============================================================ */
.step-list {
  counter-reset: steps;
}

.step-item {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: start;
}

.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-item h3 { margin-bottom: 0.5rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-centre { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--warm-grey); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-sm) 0 var(--space-md);
}

.divider-centre {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu > li > a {
    padding: 1rem var(--space-md);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
    display: none;
  }

  .has-dropdown.open .dropdown { display: block; }

  .dropdown li a {
    padding-left: calc(var(--space-md) + 1rem);
  }

  .nav-toggle { display: flex; }

  .hero { min-height: 100svh; }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .split.reverse { direction: ltr; }

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

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

  .footer-grid > *:first-child {
    grid-column: auto;
  }

  .page-hero { min-height: 300px; }

  .top-bar .top-bar-right .hide-mobile { display: none; }

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

  .step-item { grid-template-columns: 48px 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .price-section-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
