/*
Theme Name: UK Roofing & Scaffolding Specialists
Theme URI: https://ukroofingandscaffold.co.uk
Author: UK Roofing & Scaffolding Specialists
Author URI: https://ukroofingandscaffold.co.uk
Description: Custom theme for UK Roofing & Scaffolding Specialists.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: master-theme
Tags: acf, custom-fields, blocks, gutenberg, developer

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box Sizing
# Base
  - Typography
  - Elements
  - Links
# Layouts
  - Container
  - Grid
# Components
  - Navigation
  - Posts/Archive
  - Pagination
# Utilities
----------------------------------------------------------------*/

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  /* Colors */
  --color-primary:     #1a1a2e;
  --color-secondary:   #16213e;
  --color-accent:      #e94560;
  --color-accent-alt:  #0f3460;
  --color-text:        #1a1a1a;
  --color-text-muted:  #6b7280;
  --color-bg:          #ffffff;
  --color-bg-alt:      #f9fafb;
  --color-border:      #e5e7eb;
  --color-white:       #ffffff;
  --color-black:       #000000;

  /* Typography */
  --font-heading:      'Georgia', 'Times New Roman', serif;
  --font-body:         system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:         'Courier New', Courier, monospace;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;

  --leading-tight:  1.25;
  --leading-snug:   1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1536px;
  --container-max:  1200px;

  /* Borders */
  --radius-sm:   0.125rem;
  --radius:      0.25rem;
  --radius-md:   0.375rem;
  --radius-lg:   0.5rem;
  --radius-xl:   0.75rem;
  --radius-2xl:  1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow:     0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl:  0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

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

  /* Z-index */
  --z-below:   -1;
  --z-base:     0;
  --z-above:    1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}

.roofing-form-body {
    background: #ffffff;
    border: 0px solid #ddd!important; 
    padding: 0;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
  color: var(--color-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary); }

/* =====================
   LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--xl  { max-width: var(--container-xl); }
.container--full { max-width: 100%; }

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-branding__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  text-decoration: none;
}

/* =====================
   NAVIGATION
   ===================== */
.nav-primary ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.nav-primary a:hover,
.nav-primary .current-menu-item > a {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* =====================
   MAIN CONTENT
   ===================== */
.site-main {
  min-height: 60vh;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding-block: var(--space-12);
  margin-top: var(--space-16);
}

.site-footer a {
  color: var(--color-white);
  opacity: 0.8;
}
.site-footer a:hover { opacity: 1; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }

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

.card__body { padding: var(--space-6); }
.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.card__excerpt { color: var(--color-text-muted); }

/* =====================
   ACF BLOCK STYLES
   ===================== */
.acf-block {
  position: relative;
}

/* Hero Block */
.block-hero {
  padding-block: var(--space-24);
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}
.block-hero h1,
.block-hero h2 { color: var(--color-white); }
.block-hero__subtitle {
  font-size: var(--text-xl);
  opacity: 0.8;
  margin-bottom: var(--space-8);
}

/* CTA Block */
.block-cta {
  padding-block: var(--space-16);
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
}
.block-cta h2 { color: var(--color-white); }

/* Feature Grid Block */
.block-features {
  padding-block: var(--space-16);
}
.feature-item {
  text-align: center;
  padding: var(--space-8);
}
.feature-item__icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

/* Testimonial Block */
.block-testimonial {
  padding-block: var(--space-16);
  background: var(--color-bg-alt);
}
.testimonial-item {
  background: var(--color-bg);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-accent);
}
.testimonial-item__quote {
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial-item__author { font-weight: var(--font-bold); }
.testimonial-item__role { color: var(--color-text-muted); font-size: var(--text-sm); }

/* Content + Image Block */
.block-content-image {
  padding-block: var(--space-16);
}
.block-content-image__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.block-content-image--reverse .block-content-image__inner {
  direction: rtl;
}
.block-content-image--reverse .block-content-image__content {
  direction: ltr;
}
@media (max-width: 768px) {
  .block-content-image__inner { grid-template-columns: 1fr; }
  .block-content-image--reverse .block-content-image__inner { direction: ltr; }
}

/* =====================
   FORMS
   ===================== */
.form-group { margin-bottom: var(--space-4); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgb(233 69 96 / 0.15);
}

/* =====================
   UTILITIES
   ===================== */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }

.text-primary  { color: var(--color-primary); }
.text-accent   { color: var(--color-accent); }
.text-muted    { color: var(--color-text-muted); }
.text-white    { color: var(--color-white); }

.bg-primary    { background-color: var(--color-primary); }
.bg-alt        { background-color: var(--color-bg-alt); }
.bg-accent     { background-color: var(--color-accent); }

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.my-8  { margin-block: var(--space-8); }
.my-16 { margin-block: var(--space-16); }

.py-8  { padding-block: var(--space-8); }
.py-12 { padding-block: var(--space-12); }
.py-16 { padding-block: var(--space-16); }
.py-24 { padding-block: var(--space-24); }

.hidden  { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =====================
   WORDPRESS CORE
   ===================== */
.wp-block-image img { border-radius: var(--radius-lg); }

.alignleft  { float: left; margin-right: var(--space-6); }
.alignright { float: right; margin-left: var(--space-6); }
.aligncenter { margin-inline: auto; text-align: center; }
.alignwide  { max-width: var(--container-xl); margin-inline: auto; }
.alignfull  { max-width: 100%; margin-inline: calc(-1 * var(--space-6)); }
/*
Theme Name: Master Theme
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A powerful master theme with deep ACF integration, custom block support, and a clean developer-first architecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: master-theme
Tags: acf, custom-fields, blocks, gutenberg, developer
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Reset & Box Sizing
# Base
  - Typography
  - Elements
  - Links
# Layouts
  - Container
  - Grid
# Components
  - Header
  - Navigation
  - Footer
  - Buttons
  - Cards
  - Forms
# ACF Blocks
# Homepage Template
  - Emergency Bar
  - Hero
  - Accreditations Bar
  - USP Section
  - Areas We Cover
  - About Us
  - Featured Projects
  - Services
  - Working Process
  - Testimonials
  - FAQ
  - Contact CTA
  - Social Feed
# Utilities
# WordPress Core
# Responsive
----------------------------------------------------------------*/

/* =====================
   CSS CUSTOM PROPERTIES
   ===================== */
:root {
  /* ── Brand Colours ── */
  --color-red:         #C8102E;
  --color-red-dark:    #A00D24;
  --color-red-light:   #E8153A;

  /* ── Theme Colours ── */
  --color-primary:     #C8102E;
  --color-secondary:   #0F1215;
  --color-accent:      #C8102E;
  --color-accent-alt:  #A00D24;
  --color-text:        #0F1215;
  --color-text-muted:  #6b7280;
  --color-bg:          #ffffff;
  --color-bg-alt:      #F8F9FA;
  --color-bg-dark:     #0F1215;
  --color-bg-dark-2:   #1A1F24;
  --color-bg-dark-3:   #252B32;
  --color-bg-teal:     #0d4f5e;
  --color-border:      #E5E7EB;
  --color-white:       #ffffff;
  --color-black:       #000000;

  /* ── Typography ── */
  --font-heading:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:     'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:     'Courier New', Courier, monospace;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;
  --font-extrabold:800;

  --leading-tight:   1.1;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  /* ── Spacing ── */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* ── Layout ── */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1280px;
  --container-2xl:  1536px;
  --container-max:  1200px;

  /* ── Borders ── */
  --radius-sm:   0.125rem;
  --radius:      0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow:     0 4px 24px rgb(0 0 0 / 0.08);
  --shadow-md:  0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:  0 12px 48px rgb(0 0 0 / 0.15);
  --shadow-xl:  0 20px 60px rgb(0 0 0 / 0.2);

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

  /* ── Z-index ── */
  --z-below:    -1;
  --z-base:      0;
  --z-above:     1;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-4);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-6xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-5xl)); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-red);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-red-dark); }

/* Eyebrow / section tag */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.625rem;
}

/* =====================
   LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--xl  { max-width: var(--container-xl); }
.container--full { max-width: 100%; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-branding__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
}

/* =====================
   NAVIGATION
   ===================== */
.nav-primary ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-1);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.nav-primary a:hover,
.nav-primary .current-menu-item > a {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

/* =====================
   MAIN CONTENT
   ===================== */
.site-main { min-height: 60vh; }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding-block: var(--space-12);
  margin-top: 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__desc {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  line-height: var(--leading-relaxed);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
}

.site-footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-footer a:hover { color: var(--color-white); }

.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}
.social-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--color-white) !important;
  text-decoration: none;
  transition: var(--transition);
}
.social-links__item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}
.social-links__item svg { width: 16px; height: 16px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn--primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn--secondary:hover {
  background: var(--color-text);
  color: var(--color-white);
}

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

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn--sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card__image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card__body { padding: var(--space-6); }
.card__title { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.card__excerpt { color: var(--color-text-muted); }

/* =====================
   ACF BLOCK STYLES
   ===================== */
.acf-block { position: relative; }

.block-hero {
  padding-block: var(--space-24);
  background: var(--color-bg-dark);
  color: var(--color-white);
  text-align: center;
}
.block-hero h1,
.block-hero h2 { color: var(--color-white); }
.block-hero__subtitle {
  font-size: var(--text-xl);
  opacity: 0.8;
  margin-bottom: var(--space-8);
}

.block-cta {
  padding-block: var(--space-16);
  background: var(--color-red);
  color: var(--color-white);
  text-align: center;
}
.block-cta h2 { color: var(--color-white); }

.block-features { padding-block: var(--space-16); }
.feature-item { text-align: center; padding: var(--space-8); }
.feature-item__icon { font-size: var(--text-4xl); margin-bottom: var(--space-4); }

.block-testimonial {
  padding-block: var(--space-16);
  background: var(--color-bg-alt);
}
.testimonial-item {
  background: var(--color-bg);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-red);
}
.testimonial-item__quote {
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial-item__author { font-weight: var(--font-bold); }
.testimonial-item__role { color: var(--color-text-muted); font-size: var(--text-sm); }

.block-content-image { padding-block: var(--space-16); }
.block-content-image__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.block-content-image--reverse .block-content-image__inner { direction: rtl; }
.block-content-image--reverse .block-content-image__content { direction: ltr; }
@media (max-width: 768px) {
  .block-content-image__inner { grid-template-columns: 1fr; }
  .block-content-image--reverse .block-content-image__inner { direction: ltr; }
}

/* =====================
   FORMS
   ===================== */
.form-group { margin-bottom: var(--space-4); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.form-control,
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-control:focus,
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: var(--color-red);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}

textarea { min-height: 90px; resize: vertical; }

input[type="submit"],
button[type="submit"] {
  width: 100%;
  padding: 0.875rem;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-fast);
}
input[type="submit"]:hover,
button[type="submit"]:hover { background: var(--color-red-dark); }

/* CF7 overrides */
.wpcf7-form p { margin: 0; }
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
}
.wpcf7-form .wpcf7-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: var(--font-semibold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--color-red-dark); }

/* ================================================================
   HOMEPAGE TEMPLATE
   ================================================================ */

/* ── Emergency Bar ───────────────────────────────────────────── */
.emergency-bar {
  background: var(--color-red);
  padding: 0.625rem 0;
  position: relative;
  z-index: var(--z-sticky);
}
.emergency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.emergency-bar__text {
  color: rgba(255,255,255,0.9);
  font-size: var(--text-sm);
}
.emergency-bar__phone {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}
.emergency-bar__phone:hover { opacity: 0.85; color: var(--color-white); }

/* ── Hero Section ────────────────────────────────────────────── */
.hp-hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem; /* top clears the absolute header (~74px) */
}
.hp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,12,15,0.84) 0%,
    rgba(10,12,15,0.58) 60%,
    rgba(10,12,15,0.28) 100%
  );
}
.hp-hero .container { position: relative; z-index: 1; }
.hp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hp-hero__tagline {
  display: block;
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red-light);
  margin-bottom: 1rem;
}
.hp-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-extrabold);
  color: var(--color-white);
  line-height: 1.0;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hp-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-bottom: 2.25rem;
  line-height: var(--leading-relaxed);
}
.hp-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hp-hero__rating {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.hp-hero__stars {
  color: #F59E0B;
  font-size: 1.125rem;
  letter-spacing: 2px;
  font-style: normal;
}
.hp-hero__rating span:last-child {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

/* Form card inside hero */
.hp-form-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hp-form-card__header {
  background: var(--color-bg-dark-2);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  background-size: cover;
  background-position: center;
  padding: 2rem 2rem 1.5rem;
  position: relative;
}
.hp-form-card__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,18,0.65);
}
.hp-form-card__header > * { position: relative; z-index: 1; }
.hp-form-card__body {
  background: var(--color-white);
  padding: 1.5rem 2rem 2rem;
}
.hp-form-card__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.375rem;
  line-height: 1.2;
}
.hp-form-card__sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.hp-form-card__form { display: flex; flex-direction: column; gap: 0.75rem; }

/* CF7 inputs — always white/light since they sit on white body */
.hp-form-card .wpcf7-form input,
.hp-form-card .wpcf7-form select,
.hp-form-card .wpcf7-form textarea {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  font-family: var(--font-body);
}
.hp-form-card .wpcf7-form input::placeholder,
.hp-form-card .wpcf7-form textarea::placeholder { color: var(--color-text-muted); }
.hp-form-card .wpcf7-form select { color: var(--color-text-muted); }
.hp-form-card .wpcf7-form input[type="submit"],
.hp-form-card .wpcf7-form .wpcf7-submit {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: var(--font-bold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  transition: background var(--transition-fast) !important;
  padding: 0.875rem 1rem !important;
  font-size: 1rem !important;
}
.hp-form-card .wpcf7-form input[type="submit"]:hover,
.hp-form-card .wpcf7-form .wpcf7-submit:hover {
  background: var(--color-red-dark) !important;
}

/* ── Accreditations Bar ──────────────────────────────────────── */
.hp-accred {
  background: var(--color-bg-dark-2);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  padding: 3rem 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hp-accred::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,18,0.72);
}
.hp-accred .container { position: relative; z-index: 1; }
.hp-accred__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.hp-accred__left {
  flex-shrink: 0;
}
.hp-accred__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.375rem;
}
.hp-accred__sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  max-width: 280px;
}
.hp-accred__logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}
.hp-accred__logo img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 1;
  transition: opacity var(--transition-fast);
  /* No filter - display logos in their natural colours */
}
.hp-accred__logo img:hover { opacity: 0.85; }

/* Text badge fallback (shown when real logos not yet uploaded) */
.hp-accred__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 0.5rem;
  min-width: 80px;
}
.hp-accred__badge-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hp-accred__badge-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── USP Section ─────────────────────────────────────────────── */
.hp-usp {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.hp-usp__intro {
  text-align: center;
  margin-bottom: 3.5rem;
}
.hp-usp__intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
}
.hp-usp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.hp-usp__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hp-usp__card:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.hp-usp__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hp-usp__icon svg { width: 56px; height: 56px; color: var(--color-red); }
.hp-usp__icon--img {
  background: transparent;
  border-radius: 0;
}
.hp-usp__icon--img img { width: 72px; height: 72px; object-fit: contain; display: block; }
.hp-usp__card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.hp-usp__card-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: 1.5rem;
}
.hp-usp__link {
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  color: var(--color-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
  border-top: 1px solid var(--color-border);
  width: 100%;
  padding-top: 1.25rem;
  justify-content: center;
}
.hp-usp__link:hover { color: var(--color-red-dark); }

/* ── Areas We Cover ──────────────────────────────────────────── */
.hp-areas {
  padding: 6rem 0;
  background: var(--color-white);
}
.hp-areas__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hp-areas__map img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hp-areas__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.hp-areas__content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 2rem;
}

/* ── About Us ────────────────────────────────────────────────── */
.hp-about {
  padding: 6rem 0;
  background: var(--color-bg-dark-2);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  background-size: cover;
  background-position: center;
}
.hp-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hp-about__content .section-eyebrow { color: var(--color-red-light); }
.hp-about__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}
.hp-about__body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: var(--leading-relaxed);
  margin-bottom: 2rem;
}
.hp-about__body p { color: rgba(255,255,255,0.65); }
.hp-about__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* About Us Slideshow */
.hp-about-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hp-about-slider__track { position: relative; width: 100%; }
.hp-about-slider__slide {
  display: none;
  width: 100%;
}
.hp-about-slider__slide.is-active { display: block; }
.hp-about-slider__slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.hp-about-slider__prev,
.hp-about-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.4);
  color: var(--color-white);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.hp-about-slider__prev { left: 1rem; }
.hp-about-slider__next { right: 1rem; }
.hp-about-slider__prev:hover,
.hp-about-slider__next:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}


/* ── Featured Projects ───────────────────────────────────────── */
/* All project card styles defined in SECTION LAYOUT FIXES below */

/* ── Services Section ────────────────────────────────────────── */
.hp-services {
  padding: 6rem 0;
  background: var(--color-bg-dark);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hp-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,18,0.60);
}
.hp-services .container { position: relative; z-index: 1; }
/* hp-services__header is unused in homepage template — layout uses __layout/__text */
.hp-services__header {
  display: none;
}
.hp-services__header .section-eyebrow { color: var(--color-red-light); }
.hp-services__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.hp-services__header p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  line-height: var(--leading-relaxed);
  margin: 0;
}
.hp-services__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}
.hp-services__text { padding-top: 1rem; }
.hp-services__text .section-eyebrow { color: var(--color-red-light); }
.hp-services__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hp-services__text p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: var(--leading-relaxed);
  margin-bottom: 2rem;
}

.hp-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
/* Service cards — image by default, full white on hover */
.hp-service-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  min-height: 240px;
  cursor: pointer;
  background: var(--color-bg-dark-2);
}
.hp-service-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 16px 48px rgba(200,16,46,0.2);
}

/* Image — fills full card, fades out on hover */
.hp-service-card__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.35s ease;
}
.hp-service-card:hover .hp-service-card__image { opacity: 0; }
.hp-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White overlay — covers card on hover */
.hp-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.hp-service-card:hover::after { opacity: 1; }

/* Title bar — always visible at bottom over the image */
.hp-service-card__title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(5,10,18,0.90) 0%, rgba(5,10,18,0.0) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}
.hp-service-card:hover .hp-service-card__title-bar { opacity: 0; pointer-events: none; }

.hp-service-card__title-bar h3 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
}

/* Body — hidden by default, appears on hover above white overlay */
.hp-service-card__body {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}
.hp-service-card:hover .hp-service-card__body {
  opacity: 1;
  transform: translateY(0);
}
.hp-service-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}
.hp-service-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.25rem;
}
.hp-service-card__link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}
.hp-service-card__link:hover { color: var(--color-red-dark); }

/* ── Working Process ─────────────────────────────────────────── */
.hp-process {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.hp-process__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}
.hp-process__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: 1rem;
}
.hp-process__header p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.75rem;
}
.hp-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.hp-process__steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-red) 0,
    var(--color-red) 8px,
    transparent 8px,
    transparent 20px
  );
}
.hp-process__step {
  text-align: center;
  padding: 0 2rem 2rem;
  position: relative;
}
.hp-process__step-num {
  width: 52px;
  height: 52px;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--font-extrabold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(200,16,46,0.4);
}
.hp-process__step-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 160px;
  margin-bottom: 1.25rem;
}
.hp-process__step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-process__step h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}
.hp-process__step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ── Testimonials ────────────────────────────────────────────── */
/* When used as the split-layout ACF block, reset generic .block-testimonial defaults */
/* ── Testimonials — full-bleed bg image, card overlaid on left ── */
.block-testimonial.hp-testimonials {
  padding: 0;
  background: transparent;
}
.hp-testimonials {
  padding: 6rem 0;
  background: var(--color-bg-dark);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Full-bleed wrapper: background image fills the whole section */
.hp-testimonials__inner {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--container-xl);
}

/* Dark gradient overlay across the whole image */
.hp-testimonials__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,12,15,0.90) 0%,
    rgba(10,12,15,0.75) 50%,
    rgba(10,12,15,0.30) 100%
  );
  z-index: 1;
}

/* Card: sits on the left, above the overlay */
.hp-testimonials__slider {
  position: relative;
  z-index: 2;
  width: 50%;
  max-width: 580px;
  padding: 4rem 3.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

/* Slides */
.hp-tes-slide { display: none; }
.hp-tes-slide.is-active { display: block; }

/* Small red accent line above the quote */
.hp-tes-slide__accent {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-red);
  margin-bottom: 1.5rem;
}

.hp-tes-slide__pull {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: var(--font-bold);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hp-tes-slide__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.hp-tes-slide__star-label {
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.hp-tes-slide__body {
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
}
.hp-tes-slide__body p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin: 0;
}

.hp-tes-slide__author {
  display: block;
}
.hp-tes-slide__author strong {
  display: block;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: var(--font-semibold);
  margin-bottom: 0.25rem;
}
.hp-tes-slide__author span {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav buttons: bottom-right of the card */
.hp-testimonials__nav {
  position: absolute;
  bottom: 2rem;
  left: 3.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hp-tes-prev,
.hp-tes-next {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: none;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.hp-tes-prev:hover,
.hp-tes-next:hover {
  background: var(--color-red-dark);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.hp-faq {
  padding: 6rem 0;
  background: var(--color-bg-alt);
}
.hp-faq__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
}
.hp-faq__sidebar h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 1rem;
}
.hp-faq__sidebar > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 2rem;
}
.hp-faq__cta-card {
  position: relative;
  background: var(--color-bg-dark-2);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hp-faq__cta-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,15,0.92) 0%, rgba(5,8,15,0.55) 60%, rgba(5,8,15,0.25) 100%);
  border-radius: var(--radius-xl);
}
.hp-faq__cta-card__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.hp-faq__cta-card p {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.hp-faq__item {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.hp-faq__item[open] { border-color: var(--color-red); }
.hp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: var(--font-semibold);
  color: var(--color-text);
  list-style: none;
  transition: color var(--transition-fast);
  user-select: none;
}
.hp-faq__question::-webkit-details-marker { display: none; }
.hp-faq__question:hover { color: var(--color-red); }
.hp-faq__icon {
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--color-red);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.hp-faq__item[open] .hp-faq__icon { transform: rotate(45deg); }
.hp-faq__answer {
  padding: 0 1.25rem 1.125rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}
.hp-faq__answer p { margin: 0; }

/* ── Contact CTA ─────────────────────────────────────────────── */
/* background and layout handled by the layout-fixes section below */
.hp-contact-cta {
  background-color: var(--color-bg-dark-2);
  background-image: url('https://ukroofingandscaffold.webguysderby.com/wp-content/uploads/Group-253.png');
  background-size: cover;
  background-position: center top;
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
}
.hp-contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,0.75);
  pointer-events: none;
  z-index: 0;
}
.hp-contact-cta .container { position: relative; z-index: 1; }

/* Top row: eyebrow+heading LEFT, description RIGHT */
.hp-contact-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: start;
}
.hp-contact-cta__text-col .section-eyebrow { color: var(--color-red); }
.hp-contact-cta__text-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0;
}
.hp-contact-cta__text-col p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  padding-top: 0.5rem;
}
/* Right col in top row: description text */

/* Bottom row: form spans left+centre, image spans right — achieved via right div */
.hp-contact-cta__right {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 2rem;
  padding-bottom: 4rem;
  min-height: 420px;
}
/* Form sits on left, z-index on top */
.hp-contact-cta__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  width: 50%;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
/* Kill CF7 response output grey border */
.hp-contact-cta__form-wrap .wpcf7-response-output {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* House: large, positioned right, overlaps under the form on its left edge */
.hp-contact-cta__image {
  position: absolute;
  bottom: 0;
  right: -2rem;
  width: 65%;
  z-index: 1;
}
.hp-contact-cta__image img {
  width: 100%;
  height: auto;
  display: block;
}
.hp-contact-cta__form { display: flex; flex-direction: column; gap: 0.875rem; }
/* Remove any grey border/outline from form plugin wrappers */
.hp-contact-cta__form-wrap .wpcf7,
.hp-contact-cta__form-wrap form,
.hp-contact-cta__form {
  border: none !important;
  box-shadow: none !important;
}

/* Contact info bar */
.hp-contact-bar {
  background: #C8102E;
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}
.hp-contact-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hp-contact-bar__item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-align: center;
}
.hp-contact-bar__label {
  font-size: 0.6875rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hp-contact-bar__value {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.hp-contact-bar__value:hover { opacity: 0.85; color: var(--color-white); }
.hp-contact-bar__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hp-contact-bar__socials .hp-contact-bar__label {
  color: rgba(255,255,255,0.65);
}
.hp-contact-bar__socials .social-links {
  margin: 0;
}
.hp-contact-bar__socials .social-links__item {
  border-color: rgba(255,255,255,0.3);
}

/* ── Social Feed ─────────────────────────────────────────────── */
.hp-social-feed {
  padding: 6rem 0;
  background: var(--color-bg-dark);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hp-social-feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,12,15,0.78);
}
.hp-social-feed .container { position: relative; z-index: 1; }
.hp-social-feed__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.hp-social-feed__text .section-eyebrow { color: var(--color-red-light); }
.hp-social-feed__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-white);
  margin-bottom: 0.625rem;
}
.hp-social-feed__text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: var(--leading-relaxed);
  margin: 0;
}
.hp-social-feed__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.hp-social-feed__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.hp-social-feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hp-social-feed__item:hover img { transform: scale(1.08); }

/* =====================
   UTILITIES
   ===================== */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-primary { color: var(--color-red); }
.text-accent  { color: var(--color-red); }
.text-muted   { color: var(--color-text-muted); }
.text-white   { color: var(--color-white); }

.bg-primary   { background-color: var(--color-red); }
.bg-alt       { background-color: var(--color-bg-alt); }
.bg-accent    { background-color: var(--color-red); }
.bg-dark      { background-color: var(--color-bg-dark); }

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.my-8  { margin-block: var(--space-8); }
.my-16 { margin-block: var(--space-16); }

.py-8  { padding-block: var(--space-8); }
.py-12 { padding-block: var(--space-12); }
.py-16 { padding-block: var(--space-16); }
.py-24 { padding-block: var(--space-24); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =====================
   WORDPRESS CORE
   ===================== */
.wp-block-image img { border-radius: var(--radius-lg); }
.alignleft   { float: left; margin-right: var(--space-6); }
.alignright  { float: right; margin-left: var(--space-6); }
.aligncenter { margin-inline: auto; text-align: center; }
.alignwide   { max-width: var(--container-xl); margin-inline: auto; }
.alignfull   { max-width: 100%; margin-inline: calc(-1 * var(--space-6)); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .hp-hero__inner        { grid-template-columns: 1fr; gap: 3rem; }
  .hp-hero__right        { max-width: 480px; }
  .hp-usp__cards         { grid-template-columns: repeat(2, 1fr); }
  .hp-services__layout   { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-contact-cta__right { grid-template-columns: 1fr; }
  .hp-areas__inner,
  .hp-about__inner,
  .hp-faq__inner         { grid-template-columns: 1fr; gap: 3rem; }
  .hp-about-slider__slide img { height: 340px; }
  /* Projects: stack large card full width, small cards 2-col below */
  .hp-projects__layout   { flex-direction: row; }
  .hp-project-card--large { flex: 0 0 auto; min-height: 380px; }
  .hp-services__grid     { grid-template-columns: repeat(2, 1fr); }
  .hp-testimonials__inner { min-height: 400px; }
  .hp-testimonials__slider { width: 65%; padding: 3rem 2.5rem 4rem; min-height: 400px; }
  .hp-testimonials__nav { right: 2.5rem; }
  .hp-contact-cta__right { grid-template-columns: 1fr; }
  .hp-social-feed__grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .container { padding-inline: var(--space-4); }

  .hp-hero { min-height: 70vh; padding: 7rem 0 3.5rem; }
  .hp-hero__heading { font-size: 2.5rem; }
  .hp-hero__ctas { flex-direction: column; }
  .hp-usp__cards         { grid-template-columns: 1fr; }
  .hp-projects__layout   { flex-direction: column; } .hp-project-card--large { flex: 0 0 auto; }
  .hp-project-card--large { flex: 0 0 auto; min-height: 320px; }
  .hp-services__grid     { grid-template-columns: 1fr; }
  .hp-process__steps     { grid-template-columns: 1fr; }
  .hp-process__steps::before { display: none; }
  .hp-social-feed__grid  { grid-template-columns: repeat(2, 1fr); }
  .hp-contact-bar__inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hp-faq__inner         { grid-template-columns: 1fr; }
  .site-footer__inner    { grid-template-columns: 1fr; }
  .hp-about-slider__slide img { height: 280px; }
  .hp-about-slider__prev,
  .hp-about-slider__next { width: 36px; height: 36px; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .hp-social-feed__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-testimonials__slider { width: 100%; padding: 2.5rem 1.5rem 4.5rem; min-height: unset; }
  .hp-testimonials__nav { right: 1.5rem; bottom: 1.5rem; }
  .hp-about-slider__slide img { height: 240px; }
}

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

.hp-hero__tagline { animation: fadeInUp 0.6s ease both; }
.hp-hero__heading { animation: fadeInUp 0.6s ease 0.1s both; }
.hp-hero__sub     { animation: fadeInUp 0.6s ease 0.2s both; }
.hp-hero__ctas    { animation: fadeInUp 0.6s ease 0.3s both; }
.hp-hero__rating  { animation: fadeInUp 0.6s ease 0.4s both; }/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .container { padding-inline: var(--space-4); }
}

/* ================================================================
   TOP BAR
================================================================ */
.top-bar {
  background: var(--color-red);
  padding: 0.5rem 0;
  font-size: 0.75rem;
}
.top-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.top-bar__left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-bar__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.top-bar__socials a:hover { color: var(--color-white); }
.top-bar__socials svg { width: 14px; height: 14px; }
.top-bar__social-label {
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  font-size: 0.6875rem;
}

/* Centre */
.top-bar__centre {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  text-align: center;
}
.top-bar__arrow { opacity: 0.7; font-size: 0.625rem; }
.top-bar__promo { white-space: nowrap; }

/* Right */
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  justify-content: flex-end;
  color: rgba(255,255,255,0.75);
  font-size: 0.6875rem;
}
.top-bar__right svg { flex-shrink: 0; color: rgba(255,255,255,0.9); }
.top-bar__cta {
  color: var(--color-white);
  font-weight: var(--font-bold);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}
.top-bar__cta:hover { opacity: 0.8; color: var(--color-white); }

/* ================================================================
   HEADER — Updated (logo centred, split nav)
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Homepage: header is transparent and overlaps the hero (absolute, floats over) */
.is-homepage .site-header,
.page-template-template-homepage .site-header {
  position: absolute;
  width: 100%;
  top: auto;
  background: transparent !important;
  border-bottom: none;
  box-shadow: none;
  z-index: var(--z-sticky);
}
.is-homepage .site-header .site-branding__title,
.page-template-template-homepage .site-header .site-branding__title { color: var(--color-white); }
.is-homepage .site-header .nav-list a,
.page-template-template-homepage .site-header .nav-list a { color: rgba(255,255,255,0.9); }
.is-homepage .site-header .nav-list a:hover,
.page-template-template-homepage .site-header .nav-list a:hover { color: var(--color-white); }
.is-homepage .site-header .nav-toggle__bar,
.page-template-template-homepage .site-header .nav-toggle__bar { background: var(--color-white); }

/* Hero wrap: push content past the overlaid header */
.hp-hero-wrap {
  position: relative;
  /* top-bar ~34px is in normal flow, header ~74px is absolute over the hero */
  margin-top: 0; /* top-bar is in flow, hero handles its own padding */
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.site-header__nav { display: flex; align-items: center; }
.site-header__nav--right { justify-content: flex-end; }

/* Shared nav list */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-page-ancestor > a {
  color: var(--color-red);
  background: rgba(200,16,46,0.06);
}

/* Site branding */
.site-branding { text-align: center; }
.site-branding a { text-decoration: none; display: inline-block; }
.site-branding img { height: 56px; width: auto; }
.site-branding__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}
.mobile-nav__inner { padding: 0 1.5rem; }
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav__list + .mobile-nav__list { margin-top: 0.5rem; border-top: 1px solid var(--color-border); padding-top: 0.5rem; }
.mobile-nav__list li a {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  font-weight: var(--font-medium);
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}
.mobile-nav__list li a:hover { color: var(--color-red); }

/* ================================================================
   FOOTER — Updated design
================================================================ */
.site-footer { background: var(--color-bg-dark); color: var(--color-white); }

.site-footer__top { padding: 4rem 0 2.5rem; }
.site-footer__top-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.site-footer__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--leading-relaxed);
  margin: 0.75rem 0 0;
}

.site-footer__nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.site-footer__nav-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__nav-list a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-footer__nav-list a:hover { color: var(--color-white); }

.site-footer__contact p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.375rem;
  line-height: var(--leading-relaxed);
}
.site-footer__contact-name {
  font-weight: var(--font-semibold);
  color: rgba(255,255,255,0.8) !important;
}
.site-footer__contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-footer__contact a:hover { color: var(--color-white); }
.site-footer__socials { margin-top: 1rem !important; }

.site-footer__bottom {
  background: rgba(0,0,0,0.2);
  padding: 1rem 0;
}
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: center; }
.site-footer__copyright {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* ================================================================
   INNER PAGE HERO (all non-homepage inner pages)
================================================================ */
.page-hero {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 3rem;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,15,0.55) 0%, rgba(10,12,15,0.80) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__content { max-width: 720px; }
.page-hero__content .section-eyebrow { color: var(--color-red-light); }
.page-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-extrabold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.page-hero__content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* ================================================================
   INNER PAGE SHARED SECTIONS
================================================================ */
.inner-section { padding: 5rem 0; }
.inner-section.bg-white  { background: var(--color-white); }
.inner-section.bg-alt    { background: var(--color-bg-alt); }
.inner-section.bg-dark   { background: var(--color-bg-dark); }

.inner-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.inner-section__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
}
.inner-section__header--light h2 { color: var(--color-white); }

.inner-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.inner-two-col__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: 1rem;
}
.inner-two-col__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.inner-wysiwyg { font-size: 0.9375rem; color: var(--color-text-muted); line-height: var(--leading-relaxed); }
.inner-wysiwyg--center { text-align: center; }
.inner-wysiwyg p { margin-bottom: 1rem; }

/* Inner CTA banner */
.inner-cta-section {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
}
.inner-cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.8), rgba(10,12,15,0.85));
}
.inner-cta-section .container { position: relative; z-index: 1; }
.inner-cta-section__content { text-align: center; max-width: 600px; margin: 0 auto; }
.inner-cta-section__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}
.inner-cta-section__content p {
  color: rgba(255,255,255,0.78);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.inner-contact-cta { background: var(--color-white); padding: 5rem 0; }

/* ================================================================
   ABOUT — TEAM GRID
================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--color-bg-dark-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
}
.team-card__photo { overflow: hidden; height: 220px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__body { padding: 1.25rem; }
.team-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}
.team-card__role {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-red-light);
  font-weight: var(--font-medium);
  margin-bottom: 0.625rem;
}
.team-card__body p { font-size: var(--text-sm); color: rgba(255,255,255,0.55); line-height: var(--leading-relaxed); margin: 0; }

/* ================================================================
   ABOUT — ACCREDITATIONS
================================================================ */
.accred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.accred-logos__item { text-align: center; }
.accred-logos__item img { height: 56px; width: auto; margin: 0 auto 0.5rem; }
.accred-logos__item span { display: block; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ================================================================
   ABOUT — TEAM (LIGHT / CIRCULAR PHOTO VARIANT)
================================================================ */
.team-grid--light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  justify-items: center;
}
.team-card--light {
  text-align: center;
  max-width: 280px;
  width: 100%;
}
.team-card--light .team-card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--color-border);
  background: var(--color-bg-alt);
}
.team-card--light .team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.team-card--light h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.team-card--light .team-card__role {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-red);
  font-weight: var(--font-medium);
}
.team-card--light .team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  line-height: var(--leading-relaxed);
}

/* ================================================================
   ABOUT — CUSTOMERS THAT TRUST US
================================================================ */
.bg-teal { background-color: var(--color-bg-teal); }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}
.trust-logos__item {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  flex-shrink: 0;
}
.trust-logos__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.trust-section__intro {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 680px;
  margin: 1.5rem auto 0;
  line-height: var(--leading-relaxed);
}

/* ================================================================
   ABOUT — SUPPLIERS
================================================================ */
.suppliers-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2.5rem;
}
.suppliers-logos__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  width: 160px;
}
.suppliers-logos__item .logo-circle {
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.suppliers-logos__item .logo-circle img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}
.suppliers-logos__item span {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.2;
}

/* ================================================================
   AREAS — AREAS GRID
================================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.area-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  transition: all var(--transition);
}
.area-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--color-red); }
.area-card__image { overflow: hidden; height: 160px; }
.area-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.area-card:hover .area-card__image img { transform: scale(1.06); }
.area-card__body { padding: 1.25rem; }
.area-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}
.area-card__body p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* ================================================================
   GALLERY
================================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  padding: 0.5rem 1.25rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-filter:hover,
.gallery-filter.is-active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item { border-radius: var(--radius-xl); overflow: hidden; }
.gallery-item__inner { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-item__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,15,0.92) 0%, rgba(10,12,15,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-item__inner img { transform: scale(1.06); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; transform: translateY(0); }
.gallery-item__badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
.gallery-item__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.375rem;
}
.gallery-item__meta {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.gallery-item__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: var(--leading-relaxed);
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-empty { text-align: center; color: var(--color-text-muted); font-size: 1rem; padding: 3rem 0; }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-layout__form h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.contact-layout__form > p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}
.contact-layout__form-wrap { display: flex; flex-direction: column; gap: 0.875rem; }
.contact-layout__info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.contact-detail-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-detail-block__icon {
  width: 40px;
  height: 40px;
  background: rgba(200,16,46,0.08);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-red);
}
.contact-detail-block strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.contact-detail-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--leading-relaxed);
}
.contact-detail-block a {
  color: var(--color-red);
  text-decoration: none;
}
.contact-detail-block a:hover { color: var(--color-red-dark); }
.contact-map { margin-top: 1.5rem; border-radius: var(--radius-xl); overflow: hidden; }
.contact-map iframe { width: 100%; height: 260px; display: block; border: 0; }

/* ================================================================
   SCROLL REVEAL
================================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-on-scroll.is-revealed { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — New additions
================================================================ */
@media (max-width: 1024px) {
  .top-bar__inner { grid-template-columns: 1fr; gap: 0.375rem; text-align: center; }
  .top-bar__left, .top-bar__right { justify-content: center; }
  .top-bar__promo { white-space: normal; }
  .site-header__inner { grid-template-columns: auto 1fr; }
  .site-header__nav--left, .site-header__nav--right { display: none; }
  .nav-toggle { display: flex; }
  .site-footer__top-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer__nav-cols { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--light { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .inner-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .site-footer__nav-cols { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item__overlay { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .top-bar__inner { display: flex; flex-direction: column; gap: 0.25rem; }
  .site-footer__nav-cols { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid--light { grid-template-columns: 1fr; }
  .trust-logos__item { width: 140px; height: 140px; }
  .suppliers-logos__item { width: 130px; }
  .areas-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   TARGETED FIXES — June 2026
================================================================ */

/* 1. ACCREDITATIONS — red label, larger logos, dividers */
.hp-accred { padding: 2.5rem 0; }
.hp-accred__left { flex-shrink: 0; max-width: 260px; }
.hp-accred__label { color: var(--color-red) !important; font-size: 0.75rem; }
.hp-accred__sub { font-size: clamp(0.9rem, 1.6vw, 1.15rem); max-width: 240px; }
.hp-accred__logos { gap: 0; }
.hp-accred__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.hp-accred__logo:first-child { border-left: none; padding-left: 0; }
.hp-accred__logo img { height: 68px; max-width: 140px; }
.hp-accred__badge {
  padding: 0 1.75rem;
  border-left: 1px solid rgba(255,255,255,0.18);
  border-radius: 0;
  border-top: none; border-right: none; border-bottom: none;
}
.hp-accred__badge:first-child { border-left: none; padding-left: 0; }
.hp-accred__badge-label { font-size: 1.25rem; }

/* 2. USP SECTION — 4 columns: 3 cards + areas content side by side */
.hp-usp { padding: 4rem 0; }
.hp-usp-areas-wrap {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}
/* Left: 3 USP cards side by side */
.hp-usp__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.hp-areas-inline {
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 0;
}
.hp-areas-inline .section-eyebrow {
  color: var(--color-red);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hp-areas-inline h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: var(--font-extrabold);
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
/* Map image sits below text, flush to bottom */
.hp-areas-inline .hp-areas__map {
  flex: 1;
  min-height: 160px;
  margin: 0 -2rem;
  overflow: hidden;
}
.hp-areas-inline .hp-areas__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.hp-areas-inline .hp-areas__link-wrap {
  padding: 1rem 0;
}
.hp-areas-inline a {
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  color: var(--color-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.hp-areas-inline a:hover { color: var(--color-red-dark); }

/* 3. TESTIMONIALS — full-width bg, semi-transparent card left, arrows bottom-right of card */
.hp-testimonials { padding: 0; background: transparent; }
.hp-testimonials__inner {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  max-width: 100%;
}
.hp-testimonials__bg-overlay {
  background: linear-gradient(to right, rgba(5,8,12,0.88) 0%, rgba(5,8,12,0.60) 55%, rgba(5,8,12,0.15) 100%);
}
.hp-testimonials__slider {
  width: 48%;
  max-width: 620px;
  padding: 4rem 4rem 5rem;
  min-height: 560px;
  background: rgba(10,15,20,0.55);
  backdrop-filter: blur(2px);
}
.hp-testimonials__nav {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  z-index: 3;
}

/* Responsive */
@media (max-width: 768px) {
  .hp-usp-areas-wrap { grid-template-columns: 1fr; }
  .hp-testimonials__slider { width: 100%; padding: 2.5rem 1.5rem 4.5rem; min-height: unset; }
  .hp-accred__logo { padding: 0 1rem; }
  .hp-accred__logo img { height: 48px; }
}

/* Testimonials full-width fix — no container, no border-radius */
.hp-testimonials {
  padding: 0;
  overflow: hidden;
}
.hp-testimonials__inner {
  border-radius: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  width: 100%;
}
.hp-testimonials__slider {
  padding-left: max(3.5rem, calc((100vw - var(--container-xl, 1280px)) / 2 + 2rem));
}

/* Nav arrows — bottom-right corner of the slider card */
.hp-testimonials__slider { position: relative; }
.hp-testimonials__nav {
  position: absolute !important;
  bottom: 1.75rem !important;
  right: 1.75rem !important;
  left: auto !important;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

/* Footer credit */
.site-footer__bottom-inner { justify-content: space-between; }
.site-footer__credit {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.site-footer__credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.site-footer__credit a:hover { color: var(--color-white); }

/* ================================================================
   SECTION LAYOUT FIXES — Projects / Services / Contact CTA
================================================================ */

/* PROJECTS — large featured card left spanning full height, 3 photo cards stacked right */
.hp-projects { padding: 6rem 0; background: var(--color-white); }
.hp-projects .container { padding-bottom: 0; }
.hp-projects__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.hp-projects__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hp-projects__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
  color: var(--color-text);
}
/* View all link with arrows — matches mockup */
.hp-projects__view-all {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
/* Projects: large card left, scrollable track right — full viewport width */
.hp-projects__layout {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-top: 2rem;
}

/* ── Large featured card ── */
.hp-project-card--large {
  flex: 0 0 340px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--color-red);
  border-radius: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #0d2235;
  margin-right: 1.25rem;
}
/* Actual post image behind everything */
.hp-project-card--large .hp-project-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-project-card--large .hp-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.35;
  transition: transform 0.6s ease;
}
.hp-project-card--large:hover .hp-project-card__image img { transform: scale(1.04); }
/* Body always visible on large card */
.hp-project-card--large .hp-project-card__body {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ── Scrollable small cards track ── */
.hp-projects__scroll-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  overscroll-behavior: auto;
  touch-action: pan-x;
}
.hp-projects__scroll-track::-webkit-scrollbar { display: none; }
.hp-projects__scroll-track .hp-project-card {
  touch-action: pan-x;
}

/* ── Small cards ── */
.hp-projects__scroll-track .hp-project-card {
  flex: 0 0 280px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border-bottom: 4px solid var(--color-red);
  min-height: 480px;
  background: var(--color-bg-dark-2);
  display: flex;
  flex-direction: column;
}

/* Image fills full card */
.hp-projects__scroll-track .hp-project-card .hp-project-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-projects__scroll-track .hp-project-card .hp-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hp-projects__scroll-track .hp-project-card:hover .hp-project-card__image img {
  transform: scale(1.04);
}

/* Dark overlay on hover */
.hp-projects__scroll-track .hp-project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 35, 0.75);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.hp-projects__scroll-track .hp-project-card:hover::after {
  opacity: 1;
}

/* Body: hidden by default, revealed on hover with dark overlay */
.hp-projects__scroll-track .hp-project-card .hp-project-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hp-projects__scroll-track .hp-project-card:hover .hp-project-card__body {
  opacity: 1;
  transform: translateY(0);
}
.hp-projects__scroll-track .hp-project-card .hp-project-card__excerpt {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.6;
  margin: 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-projects__scroll-track .hp-project-card .hp-project-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-decoration: none;
}
.hp-projects__scroll-track .hp-project-card .hp-project-card__link:hover {
  color: var(--color-red-light);
}

/* Shared card text colours */
.hp-project-card__date {
  font-size: 0.6875rem;
  color: var(--color-red-light);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.375rem;
}
.hp-project-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid rgba(200,16,46,0.6);
  color: var(--color-red-light);
  font-size: 0.625rem;
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.hp-project-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
}

/* Large card specific text */
.hp-project-card--large .hp-project-card__date { color: var(--color-red-light); }
.hp-project-card--large .hp-project-card__badge {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--color-white);
}
.hp-project-card--large .hp-project-card__title {
  font-size: 1.5rem;
  text-align: center;
}
.hp-project-card--large .hp-project-card__excerpt {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  margin: 0;
  text-align: center;
}
.hp-project-card--large .hp-project-card__link {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.hp-project-card--large .hp-project-card__link:hover { color: var(--color-red-light); }

/* Arrow buttons in header scroll the track */
.hp-projects__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--color-text);
  background: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.hp-projects__arrow:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
/* ================================================================
   MOBILE MOCKUP FIXES
================================================================ */

/* 1. Hero heading — NOT uppercase per mockup */
.hp-hero__heading { text-transform: none !important; }

/* 2. Google Fonts preconnect fallback — ensure Barlow loads */
/* (handled via @import already — ensure specificity) */
h1, h2, h3, h4, h5, h6,
.hp-hero__heading,
.hp-usp__card-title,
.hp-project-card__title,
.hp-service-card__body h3,
.hp-tes-slide__pull,
.hp-process__step h3,
.site-footer__nav-heading,
.hp-accred__sub,
.hp-contact-cta__text-col h2,
.hp-services__text h2,
.hp-projects__header h2 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif !important;
}

/* 3. Mobile layout fixes */
@media (max-width: 768px) {

  /* Hero — form stacks below content */
  .hp-hero {
    padding: 6rem 0 3rem;
    min-height: unset;
  }
  .hp-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .hp-hero__form-wrap { width: 100%; }
  .hp-hero__heading { font-size: clamp(2rem, 9vw, 3rem); }
  .hp-hero__sub { font-size: 1rem; }
  .hp-hero__ctas { flex-direction: column; gap: 0.75rem; }
  .hp-hero__ctas .btn { width: 100%; text-align: center; }

  /* Accreditations — stack vertically, logos in 2×2 grid */
  .hp-accred__inner { flex-direction: column; gap: 1.5rem; }
  .hp-accred__left { max-width: 100%; }
  .hp-accred__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    justify-items: center;
    align-items: center;
  }
  .hp-accred__logo { padding: 0; border: none; }
  .hp-accred__logo:first-child { padding-left: 0; }
  .hp-accred__badge { width: 100%; justify-content: center; }

  /* USP + Areas — stack to single column */
  .hp-usp-areas-wrap {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .hp-usp__card { padding: 1.5rem; }

  /* About — content above, image below */
  .hp-about__inner {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .hp-about__content { order: 1; }
  .hp-about-slider { order: 2; }
  .hp-about-slider__slide img { height: 260px; }

  /* Projects — single column */
  .hp-projects__grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 1rem;
  }
  .hp-project-card--large {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 300px !important;
  }

  /* Services — stack text then cards */
  .hp-services__layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .hp-services__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem;
  }

  /* Process — single column */
  .hp-process__steps {
    grid-template-columns: 1fr !important;
  }
  .hp-process__steps::before { display: none; }

  /* Testimonials — full slider width */
  .hp-testimonials__slider {
    width: 100% !important;
    padding: 2.5rem 1.5rem 4rem !important;
    min-height: unset !important;
  }
  .hp-testimonials__nav { bottom: 1rem !important; right: 1rem !important; }

  /* FAQ */
  .hp-faq__inner { grid-template-columns: 1fr !important; }

  /* Contact CTA */
  .hp-contact-cta__right { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .hp-contact-cta__image { display: none; } /* hide house image on mobile */

  /* Contact bar */
  .hp-contact-bar__inner { flex-direction: column; gap: 1.5rem; text-align: center; }

  /* Social feed */
  .hp-social-feed__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hp-social-feed__header { text-align: center; }

  /* Footer */
  .site-footer__top-inner { grid-template-columns: 1fr !important; gap: 2rem; }
  .site-footer__nav-cols { grid-template-columns: 1fr 1fr !important; gap: 1.5rem; }
  .site-footer__bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hp-services__grid { grid-template-columns: 1fr !important; }
  .hp-accred__logo img { height: 40px; }
  .hp-accred__badge-label { font-size: 0.9rem; }
  .site-footer__nav-cols { grid-template-columns: 1fr !important; }
}
/* ================================================================
   MOBILE FIXES — USP SECTION & CONTACT CTA
   (overrides any earlier conflicting rules)
================================================================ */

@media (max-width: 768px) {

  /* ── USP Section ─────────────────────────── */
  .hp-usp { padding: 2rem 0; }

  .hp-usp-areas-wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hp-usp__cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .hp-usp__card {
    padding: 1.5rem !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hp-usp__icon {
    margin-bottom: 1rem;
  }

  .hp-areas-inline {
    padding: 1.5rem 1.5rem 0 !important;
  }

  .hp-areas-inline .hp-areas__map {
    margin: 0 -1.5rem !important;
    min-height: 200px;
  }

  /* ── Contact CTA Section ─────────────────── */
  .hp-contact-cta {
    padding: 3rem 0 0 !important;
  }

  .hp-contact-cta__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .hp-contact-cta__right {
    position: static !important;
    min-height: unset !important;
    padding-bottom: 0 !important;
    margin-top: 1rem !important;
  }

  .hp-contact-cta__form-wrap {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  .hp-contact-cta__image {
    display: none !important;
  }

  /* ── Contact bar ─────────────────────────── */
  .hp-contact-bar__inner {
    flex-direction: column !important;
    gap: 1.25rem !important;
    text-align: center !important;
  }
}

/* ================================================================
   MOBILE FIXES — PROJECTS SECTION
================================================================ */

@media (max-width: 768px) {

  .hp-projects {
    padding: 3rem 0 0;
  }

  /* Header: title left, controls right — keep in one row */
  .hp-projects__header {
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 var(--space-4);
  }

  .hp-projects__header h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  /* Stack: large card full-width on top, scroll track below */
  .hp-projects__layout {
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 0;
  }

  /* Large featured card — full width, shorter height */
  .hp-project-card--large {
    flex: none !important;
    width: 100% !important;
    min-height: 260px !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }

  /* Always show large card body on mobile (no hover) */
  .hp-project-card--large .hp-project-card__body {
    background: linear-gradient(to top, rgba(5,15,30,0.92) 0%, rgba(5,15,30,0.5) 70%, transparent 100%);
    justify-content: flex-end;
    text-align: left;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .hp-project-card--large .hp-project-card__title {
    font-size: 1.25rem;
    text-align: left;
  }

  .hp-project-card--large .hp-project-card__excerpt {
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Scroll track: horizontal peek-scroll */
  .hp-projects__scroll-track {
    padding: 1.25rem var(--space-4) 1.5rem;
    gap: 1rem !important;
    /* Show ~1.2 cards so the user knows it scrolls */
    scroll-snap-type: x mandatory;
  }

  .hp-projects__scroll-track .hp-project-card {
    flex: 0 0 78vw !important;
    min-height: 300px !important;
    scroll-snap-align: start;
    border-radius: var(--radius-lg) !important;
  }

  /* Always show card body on mobile (touch devices can't hover) */
  .hp-projects__scroll-track .hp-project-card::after {
    opacity: 0.6 !important;
    background: linear-gradient(to top, rgba(5,15,30,0.92) 0%, rgba(5,15,30,0.3) 60%, transparent 100%) !important;
  }

  .hp-projects__scroll-track .hp-project-card .hp-project-card__body {
    opacity: 1 !important;
    transform: none !important;
  }
}




/* ============================================================
   BLOG GRID & CARDS
   Add these rules to your theme's main stylesheet.
   ============================================================ */

/* 3-column grid, collapses to 2 then 1 on smaller screens */
.blog-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .blog-grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .blog-grid--3col { grid-template-columns: 1fr; }
}

/* Card */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow .2s ease, transform .2s ease;
}

.blog-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.14);
    transform: translateY(-3px);
}

/* Featured image */
.blog-card__image-link { display: block; }

.blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--color-dark, #1a1a2e);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

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

/* Placeholder when no featured image is set */
.blog-card__no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark, #1a1a2e) 0%, var(--color-red, #c0392b) 100%);
}

/* Category badge */
.blog-card__badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--color-red, #c0392b);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .25rem .6rem;
    border-radius: 4px;
    pointer-events: none;
}

/* Card body */
.blog-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .6rem;
}

/* Meta: date · read time */
.blog-card__meta {
    font-size: .8rem;
    color: var(--color-text-muted, #888);
    margin: 0;
}

/* Title */
.blog-card__title {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0;
}

.blog-card__title a {
    color: var(--color-dark, #1a1a2e);
    text-decoration: none;
    transition: color .2s;
}

.blog-card__title a:hover {
    color: var(--color-red, #c0392b);
}

/* Excerpt */
.blog-card__excerpt {
    font-size: .9rem;
    color: var(--color-text-muted, #555);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* "Read more →" — reuses .hp-service-card__link from the theme */
.blog-card__body .hp-service-card__link {
    margin-top: .25rem;
    align-self: flex-start;
}

/* ============================================================
   BLOG CATEGORY FILTER BAR
   Reuses .gallery-filter from the theme; only layout tweaks here.
   ============================================================ */
.blog-filters {
    margin-bottom: 2.5rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.blog-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.blog-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}

.blog-pagination ul li a,
.blog-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 .75rem;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    color: var(--color-dark, #1a1a2e);
    background: #fff;
    border-color: #e0e0e0;
}

.blog-pagination ul li a:hover {
    background: var(--color-red, #c0392b);
    border-color: var(--color-red, #c0392b);
    color: #fff;
}

.blog-pagination ul li span.current {
    background: var(--color-red, #c0392b);
    border-color: var(--color-red, #c0392b);
    color: #fff;
}
/* ================================================================
   SERVICES PAGE — static service list (template-services.php)
================================================================ */
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.svc-item {
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
}

.svc-item__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.svc-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-item__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.svc-item__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-bold, 700);
  color: var(--color-heading, #0a0c0f);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.svc-item__desc {
  font-size: 0.9375rem;
  color: var(--color-text, #374151);
  line-height: var(--leading-relaxed, 1.7);
  flex: 1;
}

.svc-item__body .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .svc-list { grid-template-columns: 1fr; }
}