/*
Theme Name: Apex Roofing Plymouth
Theme URI: https://apexroofingplymouth.co.uk
Description: Professional lead generation theme for Apex Roofing Plymouth
Author: Apex Roofing Plymouth
Version: 1.0.0
Text Domain: apex-roofing-plymouth
*/

/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --navy: #0B1F3A;
  --slate: #2F2F2F;
  --yellow: #FFC400;
  --white: #FFFFFF;
  --text-light: #444444;
  --text-dark: #FFFFFF;
  --font: Arial, Helvetica, sans-serif;
  --border-radius: 4px;
  --transition: 0.25s ease;
  --shadow: 0 2px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.18);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background: #f8f8f8;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--yellow); }

ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

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

.text-yellow { color: var(--yellow); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }

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

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

.section--grey { background: #f2f2f2; }

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

.flex { display: flex; gap: 16px; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

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

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-lg { padding: 18px 44px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ===========================
   HEADER & NAVIGATION
=========================== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img { height: 52px; width: auto; }

.logo-text {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
}

.logo-text span { color: var(--yellow); display: block; font-size: 0.75rem; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.current-menu-item,
.site-nav li.current-menu-item > a,
.site-nav li.current-page-ancestor > a {
  color: var(--yellow);
  background: rgba(255,196,0,0.1);
}

.site-nav .btn-nav {
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

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

/* Dropdown */
.site-nav li { position: relative; }

.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--yellow);
  min-width: 220px;
  padding: 8px 0;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.site-nav li:hover > .sub-menu { display: flex; }

.site-nav .sub-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 0.82rem;
}

.site-nav .sub-menu a:hover { background: rgba(255,196,0,0.15); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162f5a 60%, var(--slate) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight { color: var(--yellow); }

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.trust-item .icon {
  width: 32px;
  height: 32px;
  background: rgba(255,196,0,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
  font-size: 0.9rem;
}

/* Hero Quote Box */
.hero-form-box {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.hero-form-box h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.hero-form-box p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 20px;
}

/* ===========================
   FORMS
=========================== */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-light);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit-btn {
  width: 100%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
}

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

.form-note {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  margin-top: 10px;
}

/* Honeypot */
.hp-field { display: none; }

/* ===========================
   SERVICE CARDS
=========================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p { font-size: 0.9rem; color: #666; flex-grow: 1; margin-bottom: 16px; }

.service-card a {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card a:hover { color: var(--yellow); }
.service-card a::after { content: ' →'; }

/* ===========================
   WHY CHOOSE US / FEATURE BOXES
=========================== */
.feature-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-box h4 { margin-bottom: 6px; font-size: 1rem; }
.feature-box p { font-size: 0.88rem; color: #666; }

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  background: var(--yellow);
  padding: 32px 0;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ===========================
   ACCORDION / FAQ
=========================== */
.accordion { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }

.accordion-item { border-bottom: 1px solid #e5e5e5; background: var(--white); }
.accordion-item:last-child { border-bottom: none; }

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}

.accordion-header:hover { background: #f9f9f9; }
.accordion-header.active { background: var(--navy); color: var(--white); }

.accordion-header .icon {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion-header.active .icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  border-top: 2px solid var(--yellow);
}

.accordion-body.open { display: block; }

/* ===========================
   BREADCRUMBS
=========================== */
.breadcrumbs {
  background: #f2f2f2;
  padding: 12px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid #e5e5e5;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--navy); }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { color: #aaa; }
.breadcrumbs .current { color: #888; }

/* ===========================
   PAGE HERO
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162f5a 100%);
  color: var(--white);
  padding: 64px 0;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { opacity: 0.88; max-width: 640px; font-size: 1.05rem; margin-bottom: 24px; }

.page-hero .page-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-hero-meta .meta-tag {
  background: rgba(255,196,0,0.15);
  border: 1px solid rgba(255,196,0,0.3);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 2px;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   AREAS GRID
=========================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.area-pill {
  background: var(--white);
  border: 1.5px solid #e5e5e5;
  border-radius: 6px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.area-pill:hover {
  border-color: var(--yellow);
  background: #fffbf0;
}

.area-pill::before {
  content: '📍';
  font-size: 0.9rem;
}

/* ===========================
   BLOG / CARDS
=========================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #162f5a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }

.blog-cat {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--yellow); }

.blog-card p { font-size: 0.88rem; color: #666; flex-grow: 1; margin-bottom: 16px; }

.blog-card .read-more {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card .read-more:hover { color: var(--yellow); }
.blog-card .read-more::after { content: ' →'; }

/* ===========================
   SINGLE POST / PAGE CONTENT
=========================== */
.content-area {
  max-width: 860px;
  margin: 0 auto;
}

.entry-content { font-size: 1rem; line-height: 1.8; color: #444; }
.entry-content h2 { margin: 40px 0 16px; font-size: 1.7rem; }
.entry-content h3 { margin: 32px 0 12px; font-size: 1.3rem; }
.entry-content h4 { margin: 24px 0 10px; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 24px; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content strong { color: var(--navy); }
.entry-content a { color: var(--navy); text-decoration: underline; }
.entry-content a:hover { color: var(--yellow); }

.entry-content blockquote {
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  margin: 24px 0;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* ===========================
   SIDEBAR LAYOUT
=========================== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.sidebar { position: sticky; top: 88px; }

.sidebar-widget {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.sidebar-links { display: flex; flex-direction: column; gap: 8px; }

.sidebar-links a {
  font-size: 0.88rem;
  color: #555;
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-links a:hover, .sidebar-links a.active {
  border-left-color: var(--yellow);
  background: #f9f9f9;
  color: var(--navy);
}

.sidebar-links a::before { content: '→'; color: var(--yellow); font-size: 0.8rem; }

/* Sidebar Quote Form */
.sidebar-form .form-submit-btn { font-size: 0.85rem; padding: 12px 16px; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--yellow);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
  font-family: serif;
}

.testimonial-text { font-size: 0.95rem; color: #555; line-height: 1.7; margin-bottom: 16px; padding-top: 24px; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info { font-size: 0.85rem; }
.author-info strong { display: block; color: var(--navy); }
.author-info span { color: #888; }

.star-rating { color: #FFB700; font-size: 0.85rem; margin-top: 2px; }

/* ===========================
   PROCESS STEPS
=========================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }

.step-item { text-align: center; }

.step-num {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 auto 16px;
}

.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 0.9rem; color: #666; }

/* ===========================
   CONTACT PAGE
=========================== */
.contact-form-section {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info-box {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px;
  color: var(--white);
}

.contact-info-box h3 { color: var(--white); margin-bottom: 20px; }

.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail .ci-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,196,0,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail p { font-size: 0.9rem; opacity: 0.9; margin: 0; }
.contact-detail strong { color: var(--yellow); display: block; margin-bottom: 2px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===========================
   POSTCODE CHIPS
=========================== */
.postcode-wrap { display: flex; gap: 10px; flex-wrap: wrap; }

.postcode-chip {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; opacity: 0.75; line-height: 1.7; }

.footer-col h5 {
  color: var(--yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--yellow); }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--yellow); }

.footer-bottom-links { display: flex; gap: 16px; }

/* ===========================
   SUCCESS / ERROR MESSAGES
=========================== */
.form-message {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-box { max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 16px; border-top: 2px solid var(--yellow); }
  .site-nav.open ul { flex-direction: column; width: 100%; }
  .site-nav.open .sub-menu { display: flex; position: static; border: none; padding: 0 0 0 16px; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .section { padding: 48px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .contact-form-section { padding: 24px; }
  .hero-form-box { padding: 24px; }
  .btn-lg { padding: 14px 28px; }
}

/* ===========================
   UTILITY CLASSES
=========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

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

/* Section headings */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .overline {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: #666; font-size: 1.02rem; }
