/* Cornwall Floorcare — 2026 site */
:root {
  --navy: #0c2d5a;
  --navy-deep: #071c38;
  --navy-mid: #163f73;
  --green: #93d041;
  --green-deep: #6fa824;
  --green-soft: #eef8dc;
  --sand: #e9eef4;
  --mist: #f4f7fa;
  --ink: #142033;
  --muted: #5a6b7d;
  --white: #ffffff;
  --line: rgba(12, 45, 90, 0.12);
  --shadow-soft: 0 18px 50px rgba(7, 28, 56, 0.18);
  --radius: 14px;
  --header-h: 92px;
  --font-display: "Sora", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a[aria-disabled="true"] {
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.brand img {
  height: 58px;
  width: auto;
  max-width: min(100%, 200px);
  object-fit: contain;
}

.brand-text {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 489px) {
  .header-call {
    display: none;
  }

  .brand img {
    height: 48px;
    max-width: min(100%, 168px);
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn-cta {
    padding: 0.65rem 0.95rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 979px) {
  .header-actions .btn-cta {
    box-shadow: none;
  }

  .header-actions .btn-cta i,
  .header-actions .btn-cta svg {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--green);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: #a4db5a;
}

.btn-cta {
  position: relative;
  padding-inline: 1.35rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  box-shadow: none;
  overflow: hidden;
}

.btn-cta:hover {
  color: var(--white);
}

.btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}

.btn-cta:hover::after {
  transform: translateX(120%);
}

.btn-cta i,
.btn-cta svg {
  transition: transform 0.25s var(--ease);
}

.btn-cta:hover i,
.btn-cta:hover svg {
  transform: translateX(3px);
}

.btn-cta-lg {
  padding: 1rem 1.55rem;
  font-size: 1.05rem;
}

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

.btn-secondary:hover {
  background: var(--navy-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(12, 45, 90, 0.22);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
}

.btn i,
.btn svg,
.nav-link i,
.nav-link svg {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 45, 90, 0.18);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn i,
.icon-btn svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: inline-flex;
  position: relative;
}

.nav-toggle .hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.nav-toggle .hamburger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease), opacity 0.2s ease;
}

.nav-toggle .hamburger span:nth-child(1) {
  top: 0;
}

.nav-toggle .hamburger span:nth-child(2) {
  top: 6px;
}

.nav-toggle .hamburger span:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1.25rem 1.25rem;
  max-height: min(78vh, 720px);
  overflow: auto;
}

.site-nav.open {
  display: block;
}

.nav-link,
.nav-drop > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
}

.nav-drop > .nav-link {
  justify-content: space-between;
}

.nav-link[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.mega-panel {
  display: none;
  padding: 0.35rem 0 0.85rem;
}

.nav-drop.open .mega-panel {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.mega-item {
  display: grid;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  border-bottom: 1px solid var(--line);
}

.mega-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
    gap: 0.15rem 1.65rem;
    margin: 0 auto;
    align-items: stretch;
    align-self: stretch;
    max-height: none;
    overflow: visible;
    justify-content: center;
  }

  .nav-link,
  .nav-drop > .nav-link {
    display: inline-flex;
    width: auto;
    border: 0;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: var(--muted);
    justify-content: flex-start;
  }

  .nav-link:hover,
  .nav-drop > .nav-link:hover,
  .nav-link[aria-current="page"] {
    color: var(--navy);
  }

  .nav-drop {
    position: static;
    display: flex;
    align-items: center;
  }

  .nav-drop > .nav-link {
    padding: 1.35rem 0;
  }

  .mega-panel {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(6px);
    top: 100%;
    width: min(1080px, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    z-index: 120;
    transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0.18s;
  }

  /* Keep pointer hover alive while moving from label into panel */
  .mega-panel::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: -48px;
    height: 48px;
  }

  .nav-drop:hover .mega-panel,
  .nav-drop:focus-within .mega-panel,
  .nav-drop.open .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mega-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }

  .mega-item {
    border: 0;
    background: transparent;
    padding: 0.35rem;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  }

  .mega-item:hover {
    background: var(--mist);
    transform: translateY(-2px);
  }

  .header-inner {
    gap: 1.5rem;
    padding: 1.1rem 1.5rem;
  }

  .brand {
    flex: 1 1 0;
    min-width: 0;
  }

  .brand img {
    height: 64px;
  }

  .header-actions {
    flex: 1 1 0;
    margin-left: 0;
    justify-content: flex-end;
  }
}

/* Hero — one composition, full-bleed */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 28, 56, 0.35) 0%, rgba(7, 28, 56, 0.55) 42%, rgba(7, 28, 56, 0.88) 100%),
    radial-gradient(ellipse at 20% 10%, rgba(147, 208, 65, 0.18), transparent 45%);
}

.hero-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: auto;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: calc(100% - 1.5rem);
  pointer-events: none;
}

.hero-badge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-review {
  width: auto;
  height: 52px;
  max-width: min(160px, 42vw);
  border-radius: 10px;
  display: block;
  object-fit: contain;
}

@media (min-width: 600px) {
  .hero-badges {
    top: 1rem;
    left: 1rem;
    gap: 0.65rem;
  }

  .hero-badge {
    width: 96px;
    height: 96px;
  }

  .hero-review {
    height: 68px;
    max-width: 200px;
  }
}

@media (min-width: 980px) {
  .hero-badges {
    top: 2rem;
    right: 2.25rem;
    left: auto;
    flex-direction: column;
    align-items: center;
    width: 150px;
    max-width: none;
    gap: 0.85rem;
  }

  .hero-badge {
    width: 100%;
    height: auto;
  }

  .hero-review {
    width: 100%;
    height: auto;
    max-width: none;
  }
}

@media (min-width: 1100px) {
  .hero-badges {
    top: 2.25rem;
    right: 2.75rem;
    width: 150px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.15rem 2.4rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  line-height: 1.05;
}

.hero-brand em {
  font-style: normal;
  color: var(--green);
}

.hero-accent {
  color: var(--green);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.6vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  max-width: 28ch;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-ctas .btn-primary {
  box-shadow: none;
}

.hero-ctas .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-ctas .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 880px) {
  .hero-content {
    padding: 5rem 1.5rem 3.5rem;
  }

  .hero h1 {
    max-width: 32ch;
  }
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Sections */
.section {
  padding: 3.5rem 1.15rem;
}

.section-tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 38rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.55rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.bg-white {
  background: var(--white);
}

.bg-navy {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(147, 208, 65, 0.16), transparent 40%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.bg-navy .section-head h2 {
  color: var(--white);
}

.bg-navy .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.trust-item {
  padding: 1rem 0.95rem;
  border-top: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.06);
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

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

/* Gallery — visual proof, no card chrome */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sand);
  aspect-ratio: 4 / 5;
}

.gallery figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(7, 28, 56, 0.78));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .gallery figure {
    aspect-ratio: 1;
  }
}

/* Services — thumbnail grid matching live catalogue */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.service-link {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  border: 0;
  color: var(--navy);
  transition: transform 0.25s var(--ease);
}

.service-link:hover {
  transform: translateY(-3px);
}

.service-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.service-link h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding: 0 0.15rem;
}

.service-link p,
.service-link .arrow {
  display: none;
}

@media (min-width: 720px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .service-link h3 {
    font-size: 1rem;
  }
}

@media (min-width: 980px) {
  .service-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* FAQs */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  padding: 0.95rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Areas */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.areas span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mid CTA */
.cta-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
  }
}

/* Quote form — native, clean */
.page-hero {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(147, 208, 65, 0.2), transparent 40%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 2.8rem 1.15rem 2.4rem;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  line-height: 1.12;
}

.page-hero p {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.quote-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 880px) {
  .quote-layout {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: start;
  }
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

@media (min-width: 620px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid rgba(12, 45, 90, 0.16);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: var(--mist);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--navy-deep);
  font-weight: 600;
}

.form-status.show {
  display: block;
}

.aside-panel {
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.aside-panel h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.aside-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-panel li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.aside-panel li:last-child {
  border-bottom: 0;
}

.aside-panel a {
  color: var(--navy);
  font-weight: 700;
}

/* Content pages */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.65rem;
}

.prose p {
  color: var(--muted);
}

.prose ul {
  color: var(--muted);
  padding-left: 1.15rem;
}

.service-hero-media {
  margin: 1.5rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.15rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.footer-cols {
  display: grid;
  gap: 1.4rem;
}

.footer-cols h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-cols a,
.footer-cols p {
  display: block;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-cols a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

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

/* Sticky mobile quote bar */
.mobile-quote-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
}

.mobile-quote-bar .btn {
  flex: 1;
}

body.has-mobile-bar {
  padding-bottom: 4.25rem;
}

@media (max-width: 979px) {
  .hero {
    min-height: calc(100svh - var(--header-h) - 4.25rem);
  }

  @supports (height: 100dvh) {
    .hero {
      min-height: calc(100dvh - var(--header-h) - 4.25rem);
    }
  }
}

@media (min-width: 980px) {
  .mobile-quote-bar {
    display: none;
  }

  body.has-mobile-bar {
    padding-bottom: 0;
  }
}
