/* =============================================================================
   HAMPSON & MEALEY — MAIN STYLESHEET
   assets/css/main.css
   Enqueued via functions.php (hm_enqueue_assets).
   No external CSS frameworks. Mobile-first responsive layout.
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --color-brand:        #e63329;   /* Primary red — CTAs, accents, headings */
  --color-red:          #e63329;   /* Alias — matches mockup token */
  --color-brand-dark:   #c0271e;   /* Hover state for brand red */
  --color-dark:         #111111;   /* Header, footer, dark section backgrounds */
  --color-dark-alt:     #1a1a1a;   /* Slightly lighter dark (card dark variants) */
  --color-dark-card:    #1f1f1f;   /* Card on dark background */

  /* Text colours */
  --color-text:         #222222;
  --color-text-muted:   #555555;
  --color-muted:        #555555;   /* Alias — matches mockup token */
  --color-text-light:   #888888;
  --color-white:        #ffffff;
  --color-off-white:    #f5f5f5;
  --color-bg-light:     #f5f5f5;   /* Alias — matches mockup token */
  --color-border:       #e2e2e2;

  /* Typography */
  --font-body:          'Inter', system-ui, -apple-system, sans-serif;
  --fw-normal:          400;
  --fw-medium:          500;
  --fw-semibold:        600;
  --fw-bold:            700;
  --fw-extrabold:       800;
  --fw-black:           900;

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

  /* Layout */
  --container-max:      1200px;
  --container-padding:  1.5rem;
  --radius-sm:          4px;
  --radius-md:          8px;
  --radius-card:        10px;
  --radius-lg:          12px;
  --radius-pill:        999px;

  /* Header */
  --header-height:      68px;
  --header-bg:          var(--color-dark);

  /* Transitions */
  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);
}


/* ─────────────────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

body.nav-is-open {
  overflow: hidden; /* Prevent scroll when mobile menu is open */
}

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

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-brand-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* Screen reader only */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link (keyboard accessibility) */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6em 1.2em;
  background: var(--color-brand);
  color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 1rem;
  color: #fff;
}


/* ─────────────────────────────────────────────────────────────────────────────
   3. LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: 5rem;
}

.section--sm {
  padding-block: var(--space-lg);
}

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

.section--grey {
  background: var(--color-off-white);
}

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
}

.section--dark .section__eyebrow,
.section--brand .section__eyebrow {
  color: rgba(255,255,255,0.7);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--color-text);
}

.section--dark  .section__title,
.section--brand .section__title {
  color: var(--color-white);
}

.section__subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.section--dark  .section__subtitle,
.section--brand .section__subtitle {
  color: rgba(255,255,255,0.8);
}

/* Two-column 60/40 layout used on several inner sections */
.two-col {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--60-40 { grid-template-columns: 3fr 2fr; }
  .two-col--40-60 { grid-template-columns: 2fr 3fr; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.25rem); }
h4 { font-size: 1rem; }

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

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. BUTTONS
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8em 1.75em;
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary — solid red */
.btn--primary {
  background: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}
.btn--primary:hover,
.btn--primary:focus {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: var(--color-white);
}

/* Outline — bordered, transparent */
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover,
.btn--outline:focus {
  background: var(--color-white);
  color: var(--color-brand);
}

/* Ghost — text link with arrow */
.btn--ghost {
  padding: 0;
  background: none;
  border: none;
  color: var(--color-brand);
  font-weight: var(--fw-semibold);
}
.btn--ghost::after {
  content: ' →';
}
.btn--ghost:hover { color: var(--color-brand-dark); }

/* Size modifiers */
.btn--lg {
  padding: 1em 2.25em;
  font-size: 1.05rem;
}
.btn--sm {
  padding: 0.55em 1.2em;
  font-size: 0.875rem;
}


/* ─────────────────────────────────────────────────────────────────────────────
   6. SITE HEADER
   ───────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  background: var(--color-dark);
  min-height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--header-height);
}

/* ── Logo ── */
.site-branding {
  flex-shrink: 0;
}

.site-branding img,
.site-branding .custom-logo {
  max-height: 64px;
  width: auto;
}

.site-branding__text-logo {
  font-size: 1.2rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.site-branding__text-logo:hover { color: var(--color-brand); }

/* ── Primary nav ── */
.primary-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-dark-alt);
  padding: var(--space-sm);
  z-index: 99;
  border-top: 1px solid rgba(255,255,255,.08);
}

.primary-nav.is-open {
  display: flex;
}

.primary-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.primary-nav__list li {
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.primary-nav__list a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.85);
  transition: color var(--transition-fast);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus,
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a {
  color: var(--color-brand);
}

.primary-nav__cta {
  padding-top: var(--space-sm);
}

/* Desktop header CTA — hidden on mobile, shown on desktop */
.header__cta {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Hamburger toggle ── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: rgba(255,255,255,.08); }

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Desktop breakpoint ── */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .primary-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    padding: 0;
    border: none;
    flex: 1;
    justify-content: flex-end;
  }

  .primary-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .primary-nav__list li {
    border: none;
  }

  .primary-nav__list a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
  }

  .primary-nav__cta {
    display: none; /* Use header CTA on desktop */
    padding: 0;
  }

  .header__cta {
    display: inline-flex;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   7. HERO SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--color-dark) center/cover no-repeat;
  background-image: url('../images/hero-home.jpg');
  overflow: hidden;
}

/* Dark overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.45);
  z-index: 1;
}

/* Inner pages use a stronger directional gradient for legibility */
.hero--page::before {
  background: linear-gradient(105deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.40) 100%);
}
.hero--storage::before {
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 100%);
}
.hero--house-removals::before {
  background: rgba(0,0,0,.32) !important;
}

/* ── FAQ details/summary accordion ──────────────────────────────────────── */
.faq__item {
  border-bottom: 1px solid #e2e2e2;
  padding: 0;
}
.faq__item:last-child {
  border-bottom: none;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #222222;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #e63329;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq__item[open] > .faq__question::after {
  content: '−';
}
.faq__answer {
  padding-bottom: 1.1rem;
}
.faq__answer p {
  color: #555555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-block: var(--space-xl);
}

.hero__title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: var(--fw-black);
  line-height: 1.0;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero__title span {
  color: var(--color-brand);
}

.hero__body {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--space-md);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero__accreditation {
  margin-top: var(--space-lg);
}

/* Shorter hero for inner pages */
.hero--page {
  min-height: 42vh;
  background-image: url('../images/hero-house-removals.jpg');
}

.hero--storage {
  background-image: none;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}


/* ─────────────────────────────────────────────────────────────────────────────
   8. TRUST PILLS
   ───────────────────────────────────────────────────────────────────────────── */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pills__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.9em;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}


/* ─────────────────────────────────────────────────────────────────────────────
   9. ACCREDITATION LOGOS BAR
   ───────────────────────────────────────────────────────────────────────────── */
.accreditation-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.accreditation-logos__label {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 0;
}

.accreditation-logos__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.accreditation-logos__img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.accreditation-logos__img:hover { opacity: 1; }


/* ─────────────────────────────────────────────────────────────────────────────
   10. SERVICE CARDS GRID
   ───────────────────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .services-grid--5col { grid-template-columns: repeat(5, 1fr); }
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.service-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card__img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: var(--fw-extrabold);
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.service-card__link:hover { color: var(--color-brand-dark); }


/* ─────────────────────────────────────────────────────────────────────────────
   11. FEATURE LIST (service detail pages)
   ───────────────────────────────────────────────────────────────────────────── */
.feature-list {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(230,51,41,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.section--dark .feature-item__icon {
  background: rgba(230,51,41,.2);
}

.feature-item__text h3 {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.25rem;
}

.feature-item__text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.section--dark .feature-item__text h3 { color: var(--color-white); }
.section--dark .feature-item__text p  { color: rgba(255,255,255,.65); }


/* ─────────────────────────────────────────────────────────────────────────────
   12. WHY CHOOSE US STATS ROW
   ───────────────────────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  gap: var(--space-md);
  text-align: center;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-item__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--fw-black);
  color: var(--color-brand);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.section--dark .stat-item__label { color: rgba(255,255,255,.65); }


/* ─────────────────────────────────────────────────────────────────────────────
   13. BLOG CARD GRID (Moving Insights)
   ───────────────────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.blog-card__thumb {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.blog-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.4rem;
}

.blog-card__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.blog-card__title a {
  color: inherit;
}

.blog-card__title a:hover { color: var(--color-brand); }

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.blog-card__meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
}


/* ─────────────────────────────────────────────────────────────────────────────
   14. CTA STRIP
   ───────────────────────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--color-brand);
  color: var(--color-white);
  padding-block: var(--space-xl);
  text-align: center;
}

.cta-strip__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-strip__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-md);
  max-width: 540px;
  margin-inline: auto;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}


/* ─────────────────────────────────────────────────────────────────────────────
   15. ACCORDION (FAQ)
   ───────────────────────────────────────────────────────────────────────────── */
.accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  background: var(--color-white);
  text-align: left;
  transition: background var(--transition-fast);
  gap: 1rem;
}

.accordion-trigger:hover,
.accordion-item.is-open .accordion-trigger {
  background: var(--color-off-white);
  color: var(--color-brand);
}

/* Chevron icon */
.accordion-trigger::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-base);
}

.accordion-item.is-open .accordion-trigger::after {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content__inner {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.accordion-content__inner p:last-child { margin-bottom: 0; }


/* ─────────────────────────────────────────────────────────────────────────────
   16. CONTACT PAGE
   ───────────────────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1.3fr; }
}

.contact-info__title {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(230,51,41,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.15rem;
}

.contact-info-item__value {
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: var(--color-text);
  margin-bottom: 0;
}

.contact-info-item__value a {
  color: var(--color-brand);
}


/* ─────────────────────────────────────────────────────────────────────────────
   17. FORMS
   ───────────────────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .form-row--2col { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.form-control {
  padding: 0.7em 0.9em;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(230,51,41,.15);
}

.form-control::placeholder {
  color: var(--color-text-light);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85em center;
  padding-right: 2.5em;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Service checkboxes on quote form */
.service-options {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .service-options { grid-template-columns: repeat(2, 1fr); }
}

.service-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  font-size: 0.875rem;
}

.service-options label:hover { border-color: var(--color-brand); }
.service-options label.is-checked {
  border-color: var(--color-brand);
  background: rgba(230,51,41,.04);
}

.service-options label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-brand);
}

.service-options label span {
  display: block;
}

.service-options label strong {
  display: block;
  font-weight: var(--fw-semibold);
  margin-bottom: 0.1rem;
}

.form-submit {
  margin-top: var(--space-md);
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* CF7 compatibility */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7em 0.9em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: border-color var(--transition-fast);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

.wpcf7 input[type="submit"] {
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  padding: 0.8em 1.75em;
  width: auto;
}

.wpcf7 .wpcf7-not-valid-tip { color: var(--color-brand); font-size: 0.8rem; }


/* ─────────────────────────────────────────────────────────────────────────────
   18. PAGE HERO (inner pages)
   ───────────────────────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--color-dark);
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero--has-bg {
  background: var(--color-dark) center/cover no-repeat;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.page-hero--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.40) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}


/* ─────────────────────────────────────────────────────────────────────────────
   19. PROCESS STEPS
   ───────────────────────────────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  counter-reset: steps;
}

@media (min-width: 600px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  counter-increment: steps;
  position: relative;
  padding-top: 1rem;
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-size: 2.5rem;
  font-weight: var(--fw-black);
  color: var(--color-brand);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.35rem;
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.section--dark .process-step__title { color: var(--color-white); }
.section--dark .process-step__text  { color: rgba(255,255,255,.65); }


/* ─────────────────────────────────────────────────────────────────────────────
   20. SINGLE POST
   ───────────────────────────────────────────────────────────────────────────── */
.post-content {
  max-width: 720px;
  margin-inline: auto;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content p,
.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content img {
  border-radius: var(--radius-md);
  margin-block: var(--space-md);
}

.post-content blockquote {
  border-left: 4px solid var(--color-brand);
  margin-left: 0;
  padding: 1rem 1.5rem;
  background: var(--color-off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.post-back {
  margin-bottom: var(--space-md);
}

.post-back a {
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
}

.post-back a::before { content: '← '; }
.post-back a:hover { color: var(--color-brand); }


/* ─────────────────────────────────────────────────────────────────────────────
   21. PAGE PROSE (Privacy Policy, T&C, etc.)
   ───────────────────────────────────────────────────────────────────────────── */
.prose-content {
  max-width: 800px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.prose-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  color: var(--color-text);
}

.prose-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-content p,
.prose-content ul,
.prose-content ol {
  margin-bottom: 1.25rem;
}

.prose-content ul,
.prose-content ol {
  padding-left: 1.5rem;
}

.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }

.prose-content a { color: var(--color-brand); }


/* ─────────────────────────────────────────────────────────────────────────────
   22. SITE FOOTER
   ───────────────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
}

/* ── Footer main: 4-column grid ── */
.footer-main {
  padding-block: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

@media (min-width: 640px) {
  .footer-main__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-main__grid { grid-template-columns: 1.8fr 1fr 1fr 1.4fr; }
}

.footer-col__heading {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

/* Footer brand / logo */
.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .custom-logo,
.footer-brand img {
  height: 64px;
  width: auto;
}

.footer-brand__name {
  font-size: 1.2rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
}

.footer-brand__name:hover { color: var(--color-brand); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Footer nav links */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a,
.footer-nav li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-nav li a:hover { color: var(--color-brand); }

/* Footer contact column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact__phone,
.footer-contact__mobile,
.footer-contact__email,
.footer-contact__address {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.55;
}

.footer-contact__phone { font-weight: var(--fw-bold); font-size: 1rem; color: rgba(255,255,255,.9); }
.footer-contact__phone:hover,
.footer-contact__mobile:hover,
.footer-contact__email:hover,
.footer-contact__address:hover { color: var(--color-brand); }

/* ── Accreditation badge bar (static, centred row) ── */
.footer-accreditation-bar {
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-accreditation-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.footer-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}

.footer-badge img {
  height: 38px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Footer bottom bar ── */
.footer-bottom {
  padding-block: 1.1rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 0;
}

.footer-bottom__copy a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
}
.footer-bottom__copy a:hover { color: var(--color-brand); }

.footer-bottom__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom__legal a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-bottom__legal a:hover { color: var(--color-brand); }


/* ─────────────────────────────────────────────────────────────────────────────
   22b. MOVING GUIDE PAGE — partner cards & accreditation cards
   ───────────────────────────────────────────────────────────────────────────── */

/* Partner grid: 2-col on tablet, 3-col on desktop */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .partner-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .partner-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.partner-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-card__type {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0;
}

.partner-card__name {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin: 0;
  color: var(--color-dark);
}

.partner-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: opacity var(--transition-fast);
}

.partner-card__link:hover { opacity: 0.75; }

/* Accreditation 3-card grid */
.accreditation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .accreditation-cards { grid-template-columns: repeat(3, 1fr); }
}

.accreditation-card {
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-off-white);
}

.accreditation-card__logo-wrap {
  height: 52px;
  display: flex;
  align-items: center;
}

.accreditation-card__logo-wrap img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.accreditation-card__title {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin: 0;
}

.accreditation-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
}

.accreditation-card__badge--blue  { background: #dbeafe; color: #1d4ed8; }
.accreditation-card__badge--orange { background: #fef3c7; color: #92400e; }
.accreditation-card__badge--green  { background: #dcfce7; color: #15803d; }

.accreditation-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accreditation-card__summary {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.accreditation-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.accreditation-card__list li {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.accreditation-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-brand);
  font-weight: var(--fw-bold);
}

.accreditation-card__stats {
  display: flex;
  gap: 1.5rem;
}

.accreditation-card__stats div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.accreditation-card__stats strong {
  font-size: 1.15rem;
  font-weight: var(--fw-extrabold);
  color: var(--color-dark);
}

.accreditation-card__stats span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Guide steps responsive */
@media (max-width: 767px) {
  .guide-step {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
}


/* ─────────────────────────────────────────────────────────────────────────────
   23. PAGE BANNER (inner pages — archive, simple pages)
   ───────────────────────────────────────────────────────────────────────────── */
.page-banner {
  background: var(--color-dark);
  padding-block: var(--space-lg);
}

.page-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-black);
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-banner__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 0;
}


/* ─────────────────────────────────────────────────────────────────────────────
   24. PAGINATION
   ───────────────────────────────────────────────────────────────────────────── */
.pagination {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.pagination a,
.pagination span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  transition: background var(--transition-fast), border-color var(--transition-fast),
              color var(--transition-fast);
}

.pagination span.current,
.pagination a:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
}


/* ─────────────────────────────────────────────────────────────────────────────
   25. FADE-IN ANIMATION
   ───────────────────────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.blog-grid .blog-card:nth-child(2)        { transition-delay: 0.1s; }
.blog-grid .blog-card:nth-child(3)        { transition-delay: 0.2s; }
.feature-list .feature-item:nth-child(2)  { transition-delay: 0.1s; }
.feature-list .feature-item:nth-child(3)  { transition-delay: 0.2s; }
.stats-row .stat-item:nth-child(2)        { transition-delay: 0.1s; }
.stats-row .stat-item:nth-child(3)        { transition-delay: 0.15s; }
.stats-row .stat-item:nth-child(4)        { transition-delay: 0.2s; }


/* ─────────────────────────────────────────────────────────────────────────────
   26. UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--color-white); }
.text-brand  { color: var(--color-brand); }
.text-muted  { color: var(--color-text-muted); }
.mb-0        { margin-bottom: 0; }
.mt-lg       { margin-top: var(--space-lg); }

/* Visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Print ── */
@media print {
  .site-header,
  .nav-toggle,
  .cta-strip,
  .site-footer { display: none; }
  body { color: #000; background: #fff; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 0.75em; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   27. COMPATIBILITY — HOUSE REMOVALS PAGE
   Classes used in page-house-removals-preston.php (written in prior session).
   ───────────────────────────────────────────────────────────────────────────── */

/* Narrow container variant (prose / FAQ columns) */
.container--narrow { max-width: 800px; }

/* Breadcrumb navigation */
.breadcrumb { margin-bottom: var(--space-md); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
}
.breadcrumb__item a { color: rgba(255,255,255,.65); }
.breadcrumb__item a:hover { color: #fff; }
.breadcrumb__item--current { color: rgba(255,255,255,.9); }
.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: 0.35rem;
  color: rgba(255,255,255,.3);
}

/* Feature grid — 3-column icon cards (service-detail pages) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-brand) 12%, transparent);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.feature-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.feature-card__list li::before {
  content: '✓ ';
  color: var(--color-brand);
  font-weight: 700;
}

/* Section heading aliases (service page uses .section__heading / .section__subheading) */
.section__heading   { font-size: clamp(1.4rem,3.5vw,2rem); font-weight:var(--fw-extrabold); line-height:1.2; margin-bottom:var(--space-sm); }
.section__subheading { font-size:1rem; color:var(--color-text-muted); margin-bottom:var(--space-lg); max-width:640px; }

/* Packing section */
.packing-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0;
}
.packing-point {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.packing-point strong {
  display: block;
  color: var(--color-text);
  font-weight: var(--fw-bold);
  margin-bottom: 0.35rem;
}

/* Section CTA wrapper */
.section__cta { margin-top: var(--space-lg); }

/* CTA strip inner / text wrappers (service pages) */
.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.cta-strip__text { flex: 1; min-width: 260px; }
.cta-strip__heading {
  font-size: clamp(1.35rem,3.5vw,2rem);
  font-weight: var(--fw-extrabold);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Solid light button (white fill — for dark/hero backgrounds) */
.btn--light {
  background: #fff;
  color: var(--color-brand);
  border: 2px solid #fff;
}
.btn--light:hover,
.btn--light:focus-visible {
  background: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.9);
  color: var(--color-brand-dark);
  text-decoration: none;
}

/* Light outline button (for dark/hero backgrounds) */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   GALLERY PAGE — masonry grid + lightbox-ready items
   ───────────────────────────────────────────────────────────────────────────── */
.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}
@media (max-width: 900px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 520px)  { .gallery-masonry { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  line-height: 0;   /* removes inline-block gap below img */
  position: relative;
}

.gallery-item__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item__img {
  width: 100%;
  height: auto;
  display: block;
  image-orientation: from-image;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.gallery-item__link:hover .gallery-item__img,
.gallery-item__link:focus .gallery-item__img {
  transform: scale(1.04);
  opacity: 0.88;
}

.gallery-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 4rem 0;
  font-size: 1rem;
}

/* breadcrumb nav used on gallery + interior pages */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:last-child { color: #fff; font-weight: 600; }


/* Two-column layout helpers — mobile-first definition is in section 3 above.
   Safety collapse in case any instance missed the min-width rule. */
@media (max-width: 767px) {
  .two-col,
  .two-col--40-60,
  .two-col--60-40 { grid-template-columns: 1fr !important; }
}


/* ─────────────────────────────────────────────────────────────────────────────
   28. RESPONSIVE GRID UTILITIES
   Replace inline style="display:grid;grid-template-columns:…" site-wide.
   All grids are mobile-first: single column by default, expand at breakpoints.
   ───────────────────────────────────────────────────────────────────────────── */

/* 2-column equal grid */
.hm-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hm-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

/* 3-column equal grid */
.hm-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .hm-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hm-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* 4-column equal grid */
.hm-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 900px) {
  .hm-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

/* 5-column equal grid */
.hm-grid-5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (min-width: 900px) {
  .hm-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}

/* 50/50 split — large content sections with big gap */
.hm-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hm-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* 50/50 split — step/process items with medium gap */
.hm-split--step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .hm-split--step { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* 60/40 form + sidebar */
.hm-split--form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hm-split--form { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

/* Inline form field pair (name + email on same row) */
.hm-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) {
  .hm-form-row { grid-template-columns: 1fr 1fr; }
}

/* Mobile: ensure images in split layouts don't get a fixed height that makes
   them look like slivers — reset to auto height and full width */
@media (max-width: 767px) {
  .hm-split img,
  .hm-split--step img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px;
    object-fit: cover;
  }

  /* guide-step: always LTR direction on mobile */
  .guide-step { direction: ltr !important; }
  .guide-step > * { direction: ltr !important; }

  /* Reduce section padding on mobile */
  .section { padding-block: 3rem; }
}
