/* ============================================================
   WarmDek Roofs Midlands — Main Stylesheet
   Colour palette:
     Slate dark  : #1e293b  (nav, headings, dark sections)
     Slate mid   : #334155  (secondary text, borders)
     Amber/Terra : #c47a3a  (CTAs, accents, highlights)
     Amber light : #e8a05a  (hover states)
     Off-white   : #fafaf8  (page background)
     White       : #ffffff  (cards, forms)
     Light grey  : #f1f0ee  (alternate section bg)
     Text dark   : #1a1a1a  (body copy)
     Text mid    : #4a5568  (secondary body copy)
   ============================================================ */

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

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

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #fafaf8;
  color: #1a1a1a;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* eleventy-img wraps <img> in <picture> — keep layout selectors working */
picture {
  display: contents;
}
a { color: #c47a3a; text-decoration: none; }
a:hover { color: #e8a05a; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1e293b;
}

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.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: #4a5568; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.7;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: #f1f0ee;
}

.section--dark {
  background: #1e293b;
  color: #e2e8f0;
}

.section--dark h2,
.section--dark h3 { color: #ffffff; }
.section--dark p { color: #cbd5e1; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-header p { font-size: 1.05rem; }

.text-center { text-align: center; }
.text-amber { color: #c47a3a; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Grid Helpers ─────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.3;
}

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

.btn-primary {
  background: #c47a3a;
  color: #ffffff;
  border-color: #c47a3a;
}

.btn-primary:hover {
  background: #a8622c;
  border-color: #a8622c;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #c47a3a;
  border-color: #c47a3a;
}

.btn-secondary:hover {
  background: #c47a3a;
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: #1e293b;
  border-color: #ffffff;
}

.btn-white:hover {
  background: #f1f0ee;
  color: #1e293b;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full { width: 100%; display: block; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1e293b;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

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

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

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.nav-logo-text .brand-sub {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus,
.nav-links a.btn-primary:active,
.nav-links a.btn-primary:visited {
  color: #ffffff !important;
  background: #c47a3a;
  border-color: #c47a3a;
  padding: 0.5rem 1.1rem;
}

.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus {
  background: #a8622c;
  border-color: #a8622c;
  color: #ffffff !important;
}

.nav-phone {
  color: #c47a3a !important;
  font-weight: 700 !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #1e293b;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid #334155;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.75rem; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .nav-cta .btn { width: 100%; text-align: center; }
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #2d3f55 100%);
  padding: 4rem 0 3rem;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: #ffffff; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(196,122,58,0.2);
  border: 1px solid rgba(196,122,58,0.5);
  color: #e8a05a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.hero h1 span { color: #e8a05a; }

.hero-sub {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

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

.hero-phone {
  color: #e8a05a;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-phone svg { flex-shrink: 0; }

.hero-image {
  position: relative;
}

.hero-image-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  aspect-ratio: 4/3;
  background: #2d3f55;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: #c47a3a;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 4px 16px rgba(196,122,58,0.4);
  text-align: center;
}

.hero-badge strong { display: block; font-size: 1.1rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; }
  .hero-badge { bottom: 0.5rem; left: 0.5rem; }
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}

.trust-item:last-child { border-right: none; }

.trust-item-icon {
  width: 28px;
  height: 28px;
  background: #c47a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.trust-item-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.trust-item-text span {
  display: block;
  font-weight: 400;
  color: #64748b;
  font-size: 0.75rem;
}

@media (max-width: 860px) {
  .trust-item { padding: 0.4rem 0.75rem; }
  .trust-item-text { font-size: 0.78rem; }
}

@media (max-width: 560px) {
  .trust-bar-inner { gap: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 0.25rem; }
  .trust-item { flex-shrink: 0; }
}

/* ── Benefits Strip ───────────────────────────────────────── */
.benefit-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e8e6e1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #c47a3a, #e8a05a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.benefit-card p { font-size: 0.92rem; color: #64748b; margin: 0; }

/* ── How It Works ─────────────────────────────────────────── */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-wrap::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(to right, #c47a3a, #e8a05a, #c47a3a);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  background: #1e293b;
  border: 3px solid #c47a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: #c47a3a;
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.92rem; color: #64748b; margin: 0; }

@media (max-width: 640px) {
  .steps-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-wrap::before { display: none; }
}

/* ── Product Teaser ───────────────────────────────────────── */
.product-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-teaser-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
  background: #e2e8f0;
}

.product-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-features {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: #c47a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #fff;
  font-size: 0.75rem;
}

.product-feature p {
  font-size: 0.95rem;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .product-teaser { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Coverage Section ─────────────────────────────────────── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.coverage-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}

.coverage-item:hover {
  background: #c47a3a;
  color: #ffffff;
  border-color: #c47a3a;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
  font-family: inherit;
}

.faq-question:hover { background: #f8f7f5; }

.faq-question.active { background: #fef9f5; color: #c47a3a; }

.faq-icon {
  width: 24px;
  height: 24px;
  border: 2px solid #c47a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c47a3a;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  border-top: 1px solid #f1f0ee;
}

.faq-answer.open { display: block; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #c47a3a 0%, #a8622c 100%);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 { color: #ffffff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 1.75rem; }

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

.cta-phone-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  opacity: 0.9;
}

.cta-phone-link:hover { opacity: 1; color: #ffffff; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.accred-badge {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.03em;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer-col ul li a {
  color: #64748b;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #c47a3a; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-contact-item a { color: #c47a3a; }
.footer-contact-item a:hover { color: #e8a05a; }
.footer-contact-item a.btn,
.footer-contact-item a.btn:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #475569;
  margin: 0;
}

.footer-bottom a { color: #475569; }
.footer-bottom a:hover { color: #c47a3a; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Stat Strip ───────────────────────────────────────────── */
.stat-strip {
  background: #1e293b;
  padding: 2rem 0;
}

.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #c47a3a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .stat-strip-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ── Review Placeholder ───────────────────────────────────── */
.review-placeholder {
  background: #f8f7f5;
  border: 2px dashed #d4c9bc;
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.review-placeholder p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.review-stars {
  color: #c47a3a;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #1e293b 0%, #2d3f55 100%);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 { color: #ffffff; margin-bottom: 0.75rem; }
.page-hero p { color: #cbd5e1; font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  background: #f1f0ee;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 0.82rem;
  color: #64748b;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin: 0 0.45rem;
  color: #cbd5e1;
  speak: never;
}

.breadcrumb-list a { color: #c47a3a; }
.breadcrumb-list a:hover { color: #a8622c; }

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid #e8e6e1;
}

/* ── Price Table ──────────────────────────────────────────── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th {
  background: #1e293b;
  color: #ffffff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #f8f7f5; }
.price-table .price-highlight { color: #c47a3a; font-weight: 700; }

/* ── Form Styles ──────────────────────────────────────────── */
.form-wrap {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border: 1px solid #e8e6e1;
  max-width: 680px;
  margin: 0 auto;
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step-header {
  margin-bottom: 1.75rem;
}

.form-step-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.form-step-header p { font-size: 0.95rem; color: #64748b; margin: 0; }

.progress-bar-wrap {
  margin-bottom: 2rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.progress-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #c47a3a, #e8a05a);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.option-btn {
  border: 2px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.option-btn .opt-icon {
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c47a3a;
}

.option-btn .opt-icon .icon {
  display: block;
}

.option-grid--photos .option-btn:not(.option-btn--photo) {
  min-height: 136px;
  justify-content: center;
}

.option-grid--photos .option-btn:not(.option-btn--photo) .opt-icon {
  min-height: 56px;
}

.option-grid--photos .option-btn:not(.option-btn--photo) .opt-icon .icon {
  width: 48px;
  height: 48px;
}

.option-btn:hover .opt-icon,
.option-btn.selected .opt-icon {
  color: #c47a3a;
}

.credential-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: rgba(196, 122, 58, 0.2);
  border: 1px solid rgba(196, 122, 58, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8a05a;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #c47a3a, #e8a05a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ffffff;
}

.option-btn--photo {
  padding: 0.5rem 0.5rem 0.85rem;
  overflow: hidden;
}

.option-btn--photo img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.option-btn--photo span {
  font-size: 0.88rem;
}

.tile-swatch {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.tile-swatch-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.tile-swatch h3 {
  margin: 1rem 1rem 0.4rem;
  font-size: 1.05rem;
}

.tile-swatch p {
  margin: 0 1rem 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
}

.option-btn:hover,
.option-btn.selected {
  border-color: #c47a3a;
  background: #fef9f5;
  color: #c47a3a;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c47a3a;
}

.form-group input.error { border-color: #ef4444; }

.input-postcode {
  text-transform: uppercase;
}

.form-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

.form-error {
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.consent-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.consent-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: #c47a3a;
  cursor: pointer;
}

.consent-wrap label {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  cursor: pointer;
  font-weight: 400;
}

/* Invisible honeypot — keep out of tab order / screen readers via markup attrs */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thank-you-tip {
  text-align: left;
  margin-bottom: 1.5rem;
  animation: thank-you-tip-in 0.4s ease-out;
}

.thank-you-tip-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c47a3a;
  margin-bottom: 0.6rem;
}

.thank-you-tip-body {
  background: linear-gradient(135deg, #fef9f5, #fdf4ec);
  border: 1px solid #f0d5b8;
  border-left: 4px solid #c47a3a;
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  color: #7c4a1e;
  line-height: 1.65;
}

@keyframes thank-you-tip-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-back {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.btn-back:hover { color: #c47a3a; }

@media (max-width: 560px) {
  .form-wrap { padding: 1.5rem; }
  .option-grid { grid-template-columns: 1fr; }
}

/* ── Inline SVG Icons ─────────────────────────────────────── */
.icon { display: inline-block; vertical-align: middle; }

/* ── Utility: visually hidden ─────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Scroll reveal animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ── Location page specific ───────────────────────────────── */
.location-intro {
  max-width: 760px;
}

.nearby-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.nearby-tag {
  background: #f1f0ee;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

/* ── Blog/Guide page ──────────────────────────────────────── */
.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #4a5568;
}
.article-body li { margin-bottom: 0.4rem; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gallery-project {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-cell {
  position: relative;
  min-height: 220px;
  background: #f1f5f9;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 220px;
}

.gallery-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  color: #ffffff;
}

.gallery-label--before { background: #64748b; }
.gallery-label--after { background: #c47a3a; }

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 220px;
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.gallery-placeholder strong {
  color: #1e293b;
  font-size: 0.95rem;
}

.gallery-placeholder span {
  font-size: 0.88rem;
  max-width: 28ch;
  line-height: 1.45;
}

.gallery-caption {
  padding: 1.25rem 1.5rem 1.5rem;
}

.gallery-caption h2 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: #1e293b;
}

.gallery-location {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c47a3a;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
}

@media (max-width: 700px) {
  .gallery-pair { grid-template-columns: 1fr; }
}

/* ── Sticky mobile CTA bar ────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.sticky-cta .btn { flex: 1; max-width: 200px; padding: 0.75rem 1rem; font-size: 0.9rem; }

@media (max-width: 640px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}
