/* BlueLine Handyman Demo
   Blue + cream, warmer craftsmanship vibe.
*/

@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --bg: #f3f1e7;
  --bg2: #ece6d6;
  --text: #1a1c24;
  --muted: rgba(26, 28, 36, 0.68);
  --line: rgba(26, 28, 36, 0.14);

  --blue: #1f2f59;
  --blue2: #2b3e73;
  --blue3: #f0d58a;
  --cream: #f7f2e6;
  --sand: #e6ddc8;
  --brown: #8a7a54;

  --shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
  --shadow2: 0 6px 18px rgba(2, 6, 23, 0.08);

  --r: 18px;
  --r2: 24px;

  --max: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  padding-top: 44px;
  background:
    radial-gradient(
      900px 520px at 10% -10%,
      rgba(31, 47, 89, 0.18),
      transparent 55%
    ),
    radial-gradient(
      1100px 620px at 85% 0%,
      rgba(240, 213, 138, 0.2),
      transparent 60%
    ),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 700;
}
h1 {
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.05;
}
h2 {
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.15;
}
h3 {
  font-size: 18px;
  line-height: 1.25;
}
.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 56ch;
}
.muted {
  color: var(--muted);
}
.big {
  font-size: 18px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.card[id] {
  scroll-margin-top: 140px;
}

.dot {
  opacity: 0.5;
  padding: 0 8px;
}

/* Topbar */
.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 230, 0.98);
  backdrop-filter: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateZ(0);
  z-index: 80;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  gap: 12px;
  flex-wrap: nowrap;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.topbar__text {
  color: var(--muted);
  font-size: 13px;
}
.topbar__link {
  font-size: 13px;
  color: rgba(31, 47, 89, 0.95);
}
.topbar__link:hover {
  text-decoration: underline;
}
.topbar__btn {
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Header */
.header {
  position: relative;
  top: auto;
  left: 0;
  right: 0;
  z-index: 70;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-weight: 750;
  font-size: 17px;
  color: var(--blue);
}
.brand__tag {
  font-size: 12.5px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a {
  font-size: 14px;
  color: rgba(31, 47, 89, 0.86);
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
  transition: transform 0.15s ease, color 0.15s ease;
}
.nav a:hover {
  color: rgba(31, 47, 89, 0.98);
  transform: translateY(-1px);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue2), transparent);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav a:hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}
.nav__cta {
  margin-left: 6px;
}
.nav__cta.btn {
  color: #fff;
  border-radius: 999px;
}

@media (min-width: 861px) {
  .nav {
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(247, 242, 230, 0.7);
    box-shadow: 0 10px 26px rgba(31, 47, 89, 0.08);
  }
  .nav a {
    padding: 8px 12px;
  }
}

/* Mobile nav button */
.iconbtn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(248, 243, 234, 0.92);
  border-radius: 14px;
  cursor: pointer;
}
.iconbtn__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: rgba(26, 28, 36, 0.7);
  border-radius: 99px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}
.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
}
.btn--full {
  width: 100%;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 10px 20px rgba(31, 47, 89, 0.22);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(31, 47, 89, 0.26);
}
.btn--ghost {
  background: rgba(31, 47, 89, 0.12);
  border-color: rgba(31, 47, 89, 0.22);
  color: rgba(31, 47, 89, 0.98);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(31, 47, 89, 0.16);
}

.link {
  color: rgba(31, 47, 89, 0.95);
}
.link:hover {
  text-decoration: underline;
}

/* Pills/chips */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}
.pill--soft {
  background: rgba(31, 47, 89, 0.12);
  border-color: rgba(31, 47, 89, 0.2);
  color: rgba(31, 47, 89, 0.98);
}
.pill--blue {
  background: linear-gradient(
    135deg,
    rgba(31, 47, 89, 0.18),
    rgba(240, 213, 138, 0.3)
  );
  border-color: rgba(31, 47, 89, 0.22);
  color: rgba(31, 47, 89, 0.98);
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 650;
  font-size: 13px;
}
.chip.is-active {
  border-color: rgba(31, 47, 89, 0.3);
  background: rgba(31, 47, 89, 0.14);
  color: rgba(31, 47, 89, 0.98);
}

/* Cards / sections */
.section {
  padding: 64px 0;
}
.section--navy {
  background: rgba(31, 47, 89, 0.06);
  color: var(--text);
}
.section--navy .muted {
  color: var(--muted);
}
.section--navy .card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}
.section--navy .card .muted {
  color: var(--muted);
}

/* Carousel */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 0 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__item {
  scroll-snap-align: start;
  min-width: calc(50% - 7px);
  flex: 0 0 auto;
}
.carousel__item.card {
  min-height: 150px;
  border-color: rgba(31, 47, 89, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(246, 242, 230, 0.96)
  );
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.12);
}

@media (max-width: 860px) {
  .carousel__track {
    padding: 8px 16px 14px;
    scroll-padding: 16px;
  }
  .carousel__item {
    min-width: calc(100% - 32px);
    scroll-snap-align: center;
  }
  .carousel__item.card {
    border-radius: 18px;
    padding: 16px;
  }
}

@media (min-width: 861px) {
  .header {
    position: relative;
    top: auto;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }
  .header__inner {
    padding-top: 18px;
    padding-bottom: 8px;
    justify-content: center;
  }
  .brand {
    display: none;
  }
}
.carousel__nav {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  gap: 8px;
}
.carousel__btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-weight: 800;
  color: rgba(31, 47, 89, 0.9);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.carousel__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}
.section--alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  margin-bottom: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card--hover {
  position: relative;
  overflow: hidden;
}
.card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 47, 89, 0.2);
}
.card--hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(31, 47, 89, 0.1),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}
.card--hover:hover::before {
  opacity: 1;
}
.card--hover .card__chev {
  position: absolute;
  right: 16px;
  top: 16px;
  opacity: 0.65;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

.grid {
  display: grid;
  gap: 14px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid--list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 54px;
  overflow: hidden;
  min-height: 520px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/handyman/assets/img/hero/hero-image.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.05);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 500px at 10% 0%,
    rgba(31, 47, 89, 0.14),
    transparent 55%
  );
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.proof {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}
.proof__num {
  font-weight: 800;
  font-size: 18px;
}
.proof__text {
  font-size: 13px;
  color: var(--muted);
}

.hero__proof .proof:nth-child(1) {
  transform: translateY(0);
}
.hero__proof .proof:nth-child(2) {
  transform: translateY(0);
}
.hero__proof .proof:nth-child(3) {
  transform: translateY(0);
}
.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* no negative overlap */
  height: 64px; /* smaller fade */
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(242, 234, 219, 0.8)
  );
  pointer-events: none;
}

/* Forms */
.formcard {
  padding: 18px;
}
.formcard__head {
  margin-bottom: 10px;
}
.formcard__alt {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(31, 47, 89, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 47, 89, 0.2);
}
.fineprint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.form-status {
  margin: 0;
  font-size: 13px;
  color: rgba(31, 47, 89, 0.95);
}

/* Gallery */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery__item {
  border-radius: var(--r2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow2);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(31, 47, 89, 0.22);
}

.gallery__meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(26, 28, 36, 0.86);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.is-hidden {
  display: none !important;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow2);
}
.step__num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: rgba(31, 47, 89, 0.98);
  background: rgba(240, 213, 138, 0.3);
  border: 1px solid rgba(240, 213, 138, 0.45);
}

/* CTA slabs */
.cta-slab {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(31, 47, 89, 0.92);
}
.cta-slab h3 {
  color: #f8fbff;
}
.cta-slab .muted {
  color: rgba(248, 251, 255, 0.8);
}

/* Areas */
.areas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Bullets + price */
.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.price {
  margin-top: 10px;
  font-weight: 800;
  color: rgba(31, 47, 89, 0.98);
}

/* Footer CTA */
.footer-cta {
  padding: 54px 0;
  border-top: 1px solid var(--line);
  background: rgba(31, 47, 89, 0.94);
}
.footer-cta__inner {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: space-between;
}
.footer-cta h2 {
  color: #f8fbff;
}
.footer-cta .muted {
  color: rgba(248, 251, 255, 0.78);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c2238;
  color: #e8eef9;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr;
  align-items: start;
  gap: 20px;
  padding: 26px 0;
}
.footer__brand {
  display: grid;
  gap: 6px;
}
.footer__brand strong {
  font-size: 17px;
  letter-spacing: 0.01em;
}
.footer__col {
  display: grid;
  gap: 8px;
  align-content: start;
}
.footer__head {
  font-weight: 700;
  color: rgba(232, 238, 249, 0.9);
}
.footer .muted {
  color: rgba(232, 238, 249, 0.72);
}
.footer .link {
  color: #f1e3b7;
}
.footer .link:hover {
  color: #ffffff;
}
.footer__col .link {
  width: fit-content;
}
.footer .footer-accent {
  color: var(--blue3);
  font-weight: 700;
}
.footer .footer-accent:hover {
  color: #ffffff;
}
.footer .dot {
  opacity: 0.35;
}

/* Sticky mobile CTA */
.sticky {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(var(--sticky-offset, 0px));
  bottom: 14px;
  width: min(520px, calc(100% - 32px));
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(240, 213, 138, 0.18);
  background: rgba(18, 26, 48, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(7, 12, 24, 0.4);
  z-index: 50;
  opacity: var(--sticky-opacity, 1);
  filter: blur(var(--sticky-blur, 0px));
  will-change: opacity, transform, filter;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease,
    visibility 0s linear 0s;
  visibility: visible;
}
.sticky.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  filter: blur(12px);
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease,
    visibility 0s linear 0.2s;
}
.sticky__btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 32, 0.85);
  font-weight: 800;
  font-size: 13px;
  color: #f8fbff;
}
.sticky__btn--primary {
  border-color: rgba(240, 213, 138, 0.35);
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #ffffff;
}

/* Page */
.page .section:first-child {
  padding-top: 140px;
}
body.services-page .page .section:first-child {
  padding-top: 104px;
}
body.services-page .filters {
  margin-top: 12px;
}
.h1 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.notice {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(31, 47, 89, 0.92);
}
.notice strong {
  color: #f8fbff;
}
.notice .muted {
  color: rgba(248, 251, 255, 0.8);
}
.notice .btn {
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    min-height: 460px;
    padding-top: 120px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__badges {
    justify-content: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__actions .btn {
    justify-content: center;
  }
  .hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }
  .proof {
    text-align: center;
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--list {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 30px;
  }
  .lead {
    font-size: 15px;
  }
  .hero {
    min-height: auto;
    padding-top: 132px;
  }
  .hero::before {
    background-position: 50% 20%;
  }
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(31, 47, 89, 0.18),
      rgba(243, 241, 231, 0.9)
    );
  }
  .hero__badges .pill {
    font-size: 11.5px;
    padding: 5px 9px;
  }
  .hero__copy {
    background: rgba(247, 242, 230, 0.88);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow2);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__proof {
    grid-template-columns: 1fr;
  }
  .hero__bg {
    height: 48px;
  }
  .formcard {
    padding: 16px;
  }
  .card {
    padding: 16px;
  }
  .carousel__item.card {
    min-height: auto;
  }
  .grid--3,
  .grid--2,
  .grid--cards {
    grid-template-columns: 1fr;
  }
  .grid,
  .grid--3,
  .grid--2,
  .grid--cards,
  .grid--list,
  .timeline,
  .gallery {
    justify-items: stretch;
  }
}

@media (max-width: 420px) {
  .topbar__inner {
    gap: 8px;
  }
  .topbar__btn {
    font-size: 11.5px;
    padding: 6px 10px;
  }
  .pill {
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max), calc(100% - 24px));
    border: 1px solid rgba(240, 213, 138, 0.2);
    background:
      radial-gradient(
        240px 140px at 12% -10%,
        rgba(240, 213, 138, 0.18),
        transparent 70%
      ),
      linear-gradient(160deg, rgba(31, 47, 89, 0.98), rgba(16, 24, 46, 0.98));
    backdrop-filter: blur(14px);
    border-radius: 18px;
    box-shadow:
      0 18px 40px rgba(7, 12, 24, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 60;
  }
  .nav a:not(.btn) {
    padding: 12px 12px;
    border-radius: 12px;
    color: #f8fbff;
    background: rgba(255, 255, 255, 0.06);
  }
  .nav a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .nav.is-open {
    display: flex;
  }
  .nav__cta {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }
  .iconbtn {
    display: inline-block;
    background: rgba(31, 47, 89, 0.92);
    border-color: rgba(240, 213, 138, 0.28);
    box-shadow: var(--shadow2);
  }
  .iconbtn__bar {
    background: rgba(248, 251, 255, 0.9);
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .hero__proof {
    grid-template-columns: 1fr;
  }
  .grid--3,
  .grid--2,
  .grid--cards {
    grid-template-columns: 1fr;
  }
  .sticky {
    display: flex;
  }
  .footer-cta__inner {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.review {
  padding: 18px;
}
.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.stars {
  letter-spacing: 1px;
  font-weight: 900;
  color: rgba(240, 213, 138, 0.95);
  font-size: 14px;
}
.review__meta {
  font-size: 12.5px;
  color: var(--muted);
}
.review__text {
  color: var(--muted);
  line-height: 1.55;
}
.review__name {
  margin-top: 12px;
  font-weight: 800;
  color: rgba(26, 28, 36, 0.86);
}

.photo-slab {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(26, 36, 68, 0.92), rgba(33, 46, 86, 0.86)),
    url("/handyman/assets/img/hero/slab.jpg");
  background-size: cover;
  background-position: center;
}
.photo-slab h2 {
  color: #f8fbff;
}
.photo-slab .muted {
  color: rgba(248, 251, 255, 0.8);
}

body.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.page-shell main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.page-shell main .footer-cta {
  margin-top: auto;
}
.photo-slab__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Anchors */
.anchor {
  scroll-margin-top: 140px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .reveal,
  html:not(.force-motion) .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Service pricing cards */
.service-card {
  display: grid;
  gap: 10px;
}
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  color: rgba(31, 47, 89, 0.98);
}
.price-tag span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.service-meta {
  font-size: 12.5px;
  color: rgba(29, 27, 22, 0.68);
}

/* Map */
.map-card {
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow2);
}
.map-frame {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
.map-meta {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid var(--line);
}

/* Page load */
main {
  animation: pageIn 0.45s ease both;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) main {
    animation: none;
  }
}

/* FAQ - upgraded */
.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  padding: 14px 16px;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px;
}

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

.faq__q {
  font-weight: 850;
  letter-spacing: -0.01em;
}

.faq__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(31, 47, 89, 0.22);
  background: rgba(31, 47, 89, 0.12);
  position: relative;
  flex: 0 0 auto;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: rgba(31, 47, 89, 0.95);
  transform: translate(-50%, -50%);
  border-radius: 99px;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.15s ease;
}

.faq__item[open] .faq__icon {
  background: rgba(31, 47, 89, 0.18);
  border-color: rgba(31, 47, 89, 0.32);
  transform: rotate(180deg);
}
.faq__item[open] .faq__icon::after {
  opacity: 0; /* turns plus into minus */
}

.faq__a {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.faq__a p {
  margin: 0 0 10px;
}
.faq__a p:last-child {
  margin-bottom: 0;
}

/* Hero foreground image */
.hero-media {
  margin: 14px 0 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.12);
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 47, 89, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 220px; /* main size */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Slightly smaller on medium screens */
@media (max-width: 980px) {
  .hero-media img {
    height: 200px;
  }
}

/* On very small screens, reduce height */
@media (max-width: 520px) {
  .hero-media img {
    height: 170px;
  }
}
