/* FlashPoint Roofing — brand: #1d4b8e, #e67e34, white */

:root {
  --blue: #1d4b8e;
  --blue-dark: #153a6e;
  --orange: #e67e34;
  --orange-hover: #d46a1f;
  --white: #ffffff;
  --cream: #f4f6fa;
  --text: #1a2332;
  --text-muted: #4a5568;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(29, 75, 142, 0.12);
  --shadow-lg: 0 20px 50px rgba(29, 75, 142, 0.18);
  --header-h: 72px;
  --max: 1120px;
  --max-hero: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main.page-shell {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--orange);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top announcement bar */
.top-announcement {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-announcement__inner {
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
}

.top-announcement a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.top-announcement a:hover {
  color: #d8e7ff;
}

.top-announcement__sep {
  opacity: 0.65;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 75, 142, 0.08);
  overflow: visible;
  transition: box-shadow 0.35s ease;
}

body.is-loaded .site-header {
  box-shadow: 0 1px 0 rgba(29, 75, 142, 0.06);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  overflow: visible;
}

.nav-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 390;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 40, 72, 0.5);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open .nav-backdrop {
  display: block;
}

@media (min-width: 769px) {
  .nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-backdrop {
    display: none !important;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(48px, 10vw, 66px);
  width: auto;
  max-width: min(320px, 78vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover {
  color: var(--blue);
}

.nav-cta {
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(500px, 74vh, 760px);
  margin: 0;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4rem);
  overflow: hidden;
}

.hero > .container {
  width: min(100% - 2rem, var(--max-hero));
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0f2847;
  background-image:
    linear-gradient(
      135deg,
      rgba(29, 75, 142, 0.88) 0%,
      rgba(29, 75, 142, 0.55) 32%,
      rgba(230, 126, 52, 0.42) 68%,
      rgba(255, 255, 255, 0.22) 100%
    ),
    linear-gradient(
      90deg,
      rgba(21, 58, 110, 0.75) 0%,
      rgba(29, 75, 142, 0.25) 48%,
      rgba(230, 126, 52, 0.38) 100%
    ),
    radial-gradient(
      ellipse 100% 80% at 90% 0%,
      rgba(230, 126, 52, 0.55) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 70% at 0% 100%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 45%
    ),
    url("../img/roofing-pic.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 35%,
    rgba(13, 36, 66, 0.5) 100%
  );
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 20, 40, 0.55) 0%,
    transparent 38%
  );
  pointer-events: none;
}

.hero-brand-mark {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  top: clamp(1.5rem, 4vw, 3rem);
  width: clamp(170px, 28vw, 320px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.hero-brand-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  justify-self: start;
  width: 100%;
  max-width: 36rem;
  padding-top: 0;
  text-align: left;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(29, 75, 142, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(8, 22, 44, 0.45);
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.35rem;
}

.hero-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  max-width: 100%;
  text-align: left;
}

.hero-points li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(230, 126, 52, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.hero-quote-mobile {
  display: none;
}

.hero .btn-primary {
  box-shadow: 0 4px 24px rgba(230, 126, 52, 0.5);
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/* Hero quote form */
.hero-quote {
  position: relative;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 1.85rem);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.quote-card-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(29, 75, 142, 0.1);
}

.quote-card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin: 0 0 0.35rem;
}

.quote-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.quote-card-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quote-form {
  position: relative;
}

.quote-form .form-row {
  margin-bottom: 0.95rem;
}

.quote-form .form-row:last-of-type {
  margin-bottom: 1rem;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-field {
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.req {
  color: var(--orange);
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid rgba(29, 75, 142, 0.14);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder {
  color: #8892a0;
}

.form-input:hover {
  border-color: rgba(29, 75, 142, 0.28);
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29, 75, 142, 0.15);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d4b8e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
}

.quote-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-foot {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.form-foot a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.form-foot a:hover {
  color: var(--orange);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quote-success {
  padding: 2rem 1rem;
  text-align: center;
}

.quote-success-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.quote-success-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.quote-success-text a {
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.quote-success-text a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
}

.section-alt {
  background: var(--cream);
}

.home-facts {
  background:
    linear-gradient(180deg, #f6f8fc 0%, #edf3fb 100%);
  border-top: 1px solid rgba(29, 75, 142, 0.08);
  border-bottom: 1px solid rgba(29, 75, 142, 0.08);
}

.home-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-fact {
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.12);
  border-radius: 8px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 12px 26px rgba(18, 45, 84, 0.08);
  border-top: 4px solid var(--orange);
}

.home-fact h3 {
  margin: 0 0 0.35rem;
  font-family: "Outfit", sans-serif;
  color: var(--blue);
  font-size: 1rem;
}

.home-fact p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-fact__tag {
  margin: 0 0 0.4rem;
  font-size: 0.77rem;
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--orange);
  font-weight: 700;
}

.home-brand-story {
  background: #fff;
}

.home-brand-story__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.home-brand-story__copy .section-intro {
  max-width: 46rem;
  margin-bottom: 1rem;
}

.home-brand-story__art {
  text-align: center;
}

.home-brand-story__art img {
  width: min(100%, 360px);
  height: auto;
  opacity: 0.16;
}

.home-signature {
  position: relative;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
  border-top: 1px solid rgba(29, 75, 142, 0.08);
  border-bottom: 1px solid rgba(29, 75, 142, 0.1);
  overflow: hidden;
}

.home-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(29, 75, 142, 0.04) 0%, transparent 48%),
    linear-gradient(315deg, rgba(230, 126, 52, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.home-signature__head,
.home-signature__grid {
  position: relative;
  z-index: 1;
}

.home-signature__head {
  margin-bottom: 1rem;
}

.home-signature__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.signature-item {
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.12);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 14px 26px rgba(18, 45, 84, 0.08);
}

.signature-item__num {
  margin: 0 0 0.35rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.signature-item h3 {
  margin: 0 0 0.4rem;
  font-family: "Outfit", sans-serif;
  color: var(--blue);
  font-size: 1.08rem;
}

.signature-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.home-video {
  background: #fff;
}

.home-video__head {
  margin-bottom: 1rem;
}

.home-video__frame {
  background: #0f2847;
  border: 1px solid rgba(29, 75, 142, 0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(13, 34, 62, 0.16);
}

.home-video__frame video {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  background: #000;
}

.home-trust-blocks .section-title {
  margin-bottom: 1rem;
}

.trust-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-block {
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.12);
  border-radius: 8px;
  padding: 1rem;
}

.trust-block h3 {
  margin: 0 0 0.4rem;
  font-family: "Outfit", sans-serif;
  color: var(--blue);
  font-size: 1.06rem;
}

.trust-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.trust-block p + p {
  margin-top: 0.5rem;
}

.page-cta-links .section-title {
  margin-bottom: 0.9rem;
}

.page-cta-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.page-cta-links__grid a {
  display: block;
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.12);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.page-cta-links__grid a:hover {
  border-color: rgba(230, 126, 52, 0.5);
  color: var(--orange-hover);
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 560px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 75, 142, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  margin-bottom: 0.75rem;
  line-height: 0;
}

.card-icon svg {
  display: block;
}

.card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* Services page redesign */
.services-showcase {
  background: var(--white);
}

.services-showcase__intro {
  max-width: 42rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-panel {
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.14);
  border-radius: 10px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.service-panel h3 {
  margin: 0 0 0.55rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: var(--blue);
}

.service-panel p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.service-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.42rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(230, 126, 52, 0.2);
}

.service-panel__link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
}

.service-panel__link:hover {
  color: var(--orange-hover);
  text-decoration: underline;
}

.services-showcase__footnote {
  margin-top: 1.4rem;
  max-width: 44rem;
  color: var(--text-muted);
}

/* Split / highlight */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(230, 126, 52, 0.25);
}

.highlight-box {
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.highlight-stat {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.highlight-text {
  margin: 0;
  opacity: 0.92;
  font-size: 1rem;
}

/* Trust / Checkatrade */
.trust {
  background: var(--white);
}

.trust-inner {
  text-align: center;
}

.trust-copy .section-title,
.trust-copy .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.checkatrade-link {
  display: inline-block;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(29, 75, 142, 0.12);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkatrade-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.checkatrade-logo {
  width: min(220px, 70vw);
  height: auto;
  margin: 0 auto;
}

.trust-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}

/* Contact */
.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid rgba(29, 75, 142, 0.12);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-value {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--blue);
  word-break: break-word;
}

/* Footer */
.site-footer {
  position: relative;
  background: #102d55;
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem 0 0.95rem;
  border-top: 4px solid var(--orange);
}

.site-footer::before {
  content: none;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
  padding: 0;
  align-items: center;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-logo {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  opacity: 0.96;
}

.footer-brand {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  max-width: 28ch;
}

.footer-map {
  display: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-top: 0;
}

.footer-links::before,
.footer-sitemap::before {
  content: none;
}

.footer-links a,
.footer-sitemap a {
  position: relative;
}

.footer-links a::after,
.footer-sitemap a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--orange);
  transition: right 0.24s ease;
}

.footer-links a:hover::after,
.footer-sitemap a:hover::after {
  right: 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

/* Floating call button */
.fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 270;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(230, 126, 52, 0.5);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.fab:hover {
  background: var(--orange-hover);
  transform: scale(1.06);
  color: var(--white);
}

/* Mobile */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-brand-mark {
    width: clamp(130px, 36vw, 220px);
    top: 1rem;
    right: 1rem;
    opacity: 0.16;
  }

  .hero-quote {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .home-facts__grid {
    grid-template-columns: 1fr;
  }

  .trust-blocks,
  .page-cta-links__grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .form-row-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 420;
  }

  .logo {
    position: relative;
    z-index: 420;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    bottom: auto;
    z-index: 400;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(29, 75, 142, 0.1);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 40, 72, 0.2);
    flex-direction: column;
    padding: 0.55rem 1rem 1rem;
    gap: 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease,
      visibility 0.24s ease;
    align-items: stretch;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(29, 75, 142, 0.08);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }

  body.nav-open {
    overflow: visible;
  }

  .hero-quote {
    display: none;
  }

  .hero-quote-mobile {
    display: inline-flex;
    flex: 1 0 100%;
    max-width: 100%;
    order: -1;
    justify-content: center;
  }

  .hero-copy {
    justify-self: center;
    text-align: center;
    max-width: 32rem;
  }

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-points {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 769px) {
  .hero-quote-mobile {
    display: none !important;
  }
}

/* Active nav */
.nav-list a.nav-active {
  color: var(--blue);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--orange);
}

/* Page header (inner pages) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: linear-gradient(
    145deg,
    var(--cream) 0%,
    rgba(230, 126, 52, 0.08) 45%,
    var(--cream) 100%
  );
  border-bottom: 1px solid rgba(29, 75, 142, 0.08);
}

.page-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0 0 0.5rem;
}

.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Teaser / link cards */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(29, 75, 142, 0.1);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.25s ease;
}

.teaser-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 126, 52, 0.45);
}

.teaser-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.teaser-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
}

.teaser-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange);
}

.teaser-card:hover .teaser-more {
  color: var(--orange-hover);
}

/* Home testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  width: 100%;
  margin: 0;
  padding: 1.15rem 1.2rem;
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.1);
  border-radius: 10px;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(230, 126, 52, 0.35);
}

.testimonial-card__quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: normal;
}

.testimonial-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(29, 75, 142, 0.08);
}

.testimonial-card__name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
}

.testimonial-card__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-card__hint::before {
  content: "· ";
}

.testimonial-list-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Areas / local SEO */
.area-section {
  margin-bottom: 2.5rem;
}

.area-section h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.area-section p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.65;
}

.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.location-chips li {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.12);
  border-radius: 999px;
  color: var(--text);
}

.prose-wide {
  max-width: 48rem;
}

.prose-wide .section-intro {
  max-width: none;
}

/* Gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(29, 75, 142, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-img--fallback {
  filter: saturate(0.86) contrast(0.94);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.03);
}

/* Contact page layout */
.contact-form-aside {
  position: relative;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-hours {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(29, 75, 142, 0.1);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-hours strong {
  color: var(--blue);
}


/* Footer site map row */
.footer-sitemap {
  width: auto;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer-sitemap a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0;
  border: 0;
  background: transparent;
  transition: color 0.2s ease;
}

.footer-sitemap a:hover {
  color: var(--orange);
}

.footer-stack {
  display: block;
}

/* Loading screen */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  display: grid;
  place-content: center;
  gap: 0.7rem;
  text-align: center;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-loader__logo-wrap {
  position: relative;
  width: min(320px, 72vw);
  margin-inline: auto;
}

.site-loader__logo {
  width: 100%;
  height: auto;
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: loaderLogoFill 1.05s cubic-bezier(0.2, 0.9, 0.24, 1) forwards;
}

.site-loader__fill {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  background: rgba(29, 75, 142, 0.2);
  overflow: hidden;
}

.site-loader__fill::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--orange);
  animation: loaderBarFill 1.05s ease forwards;
}

.site-loader__text {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

/* Home hero entrance */
body.is-home.is-loaded .hero-copy > *,
body.is-home.is-loaded .hero-quote {
  opacity: 0;
  transform: translate(-26px, -20px);
  animation: heroCornerIn 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-home.is-loaded .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
body.is-home.is-loaded .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
body.is-home.is-loaded .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
body.is-home.is-loaded .hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
body.is-home.is-loaded .hero-copy > *:nth-child(5) { animation-delay: 0.40s; }
body.is-home.is-loaded .hero-quote { animation-delay: 0.22s; }

@keyframes heroCornerIn {
  from {
    opacity: 0;
    transform: translate(-26px, -20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes loaderLogoFill {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes loaderBarFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader {
    display: none;
  }

  body.is-home.is-loaded .hero-copy > *,
  body.is-home.is-loaded .hero-quote {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroChild {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body:not(.is-loaded) .page-shell {
  opacity: 0;
}

body.is-loaded .page-shell {
  animation: fadeIn 0.55s ease forwards;
}

.hero-copy > *,
.hero-quote {
  opacity: 1;
  animation: none;
}

.reveal,
.reveal-stagger > * {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .teasers {
    grid-template-columns: 1fr;
  }

  .home-signature__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .top-announcement__inner {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.35rem 0;
  }

  .top-announcement__sep {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: start;
  }

  .footer-sitemap,
  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }

  .home-brand-story__grid {
    grid-template-columns: 1fr;
  }

  .home-signature__grid {
    grid-template-columns: 1fr;
  }
}

