/* ============================================================
   PUTZFEE — Design Tokens
   ============================================================ */
:root {
  --c-bg:          #FEF4F0;
  --c-primary:     #E34A35;
  --c-primary-dark:#c93d2a;
  --c-pink:        #F3B3CD;
  --c-beige-dark:  #F1C4A5;
  --c-beige-light: #F7DDCE;
  --c-red-light:   #F8B3B8;
  --c-white:       #FFFFFF;
  --c-text:        #1A1A1A;
  --c-text-muted:  #6B6B6B;

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  --container-max: 1200px;
  --header-h:      76px;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--ff); background: var(--c-bg); color: var(--c-text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--ff); }

.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--c-primary); color: white; padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); z-index: 999;
}
.skip-link:focus { left: 1rem; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 1.5rem;
}
.section-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 700; color: var(--c-text);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 2rem; border-radius: 9999px;
  font-size: var(--fs-base); font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: var(--fs-sm); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 300;   /* above nav drawer (200) + overlay (150) so ☰ always toggles */
  height: var(--header-h); overflow: visible;
  background: rgba(247, 221, 206, 0.75);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(227, 74, 53, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.site-header > .container { height: 100%; }
.nav {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}
.nav-logo { align-self: flex-start; position: relative; z-index: 101; }
.nav-logo img { height: 114px; width: auto; display: block; margin-top: 4px; }
.nav-links {
  display: flex; align-items: center;
  gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--c-text); font-weight: 500; font-size: var(--fs-base);
  transition: color 0.2s; padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: flex; align-items: center; font-size: var(--fs-sm); }
.lang-toggle a { padding: 0.25rem 0.4rem; color: var(--c-text-muted); font-weight: 500; transition: color 0.2s; }
.lang-toggle a.active { color: var(--c-primary); font-weight: 700; }
.lang-toggle a:hover:not(.active) { color: var(--c-text); }
.lang-toggle a + a::before { content: '|'; margin-right: 0.4rem; color: rgba(0,0,0,0.2); }
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--c-text);
  align-items: center;
}
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,0.4);
}
.nav-overlay.visible { display: block; }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    /* Closed = display:none so the panel adds NO width to the page.
       The old `right: -100%` parked an off-screen box that extended the
       page's scroll width → horizontal overflow (menu peeking, zoomed-out
       look) which in turn broke the reveal's position:sticky. */
    display: none;
    /* open below the header so the ☰ button stays uncovered and can close it */
    position: fixed; top: var(--header-h); right: 0; width: 80%; max-width: 320px;
    height: calc(100vh - var(--header-h)); background: rgba(247, 221, 206, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: 2rem;
    padding: 2rem; z-index: 200;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; animation: navSlideIn 0.3s ease; }
  .nav-links a { font-size: var(--fs-xl); }
  .nav-right .btn { display: none; }
  .nav-right { gap: 0.5rem; }
}
/* menu slide-in (only while open — closed panel is display:none, no overflow) */
@keyframes navSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 67vh; min-height: 480px;
  background: var(--c-beige-dark) center bottom / cover no-repeat;
  display: flex; align-items: center; overflow: hidden;
}
/* Background video layer (desktop). Hidden on mobile + reduced-motion, where
   the .hero background-image poster shows through instead. */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  pointer-events: none;
}
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.22) 45%, rgba(0,0,0,0) 75%); }
.hero__content { position: relative; z-index: 2; max-width: 600px; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ── Hero sparkles (twinkling dots + 4-point stars over the spray zone) ── */
.hero__sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__spark {
  position: absolute;
  width: var(--sz, 6px); height: var(--sz, 6px);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
/* round glowing dot */
.hero__spark--dot {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px 1px rgba(255,255,255,0.8), 0 0 9px 3px rgba(255,255,255,0.35);
  animation: hero-twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes hero-twinkle {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.6); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__spark { animation: none !important; opacity: 0.7; }
}
.hero__label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--c-primary); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700;
  color: white; line-height: 1.15; margin-bottom: 1rem;
  white-space: nowrap;
}
.hero__sub {
  font-size: var(--fs-lg); color: rgba(255,255,255,0.85);
  margin-bottom: 2rem; max-width: 480px;
}

/* ============================================================
   STATS MARQUEE (horizontal scroll strip, directly below hero)
   Background = header tone (--c-beige-light); text = brand red.
   ============================================================ */
.pf-marquee {
  background: var(--c-beige-light);
  color: var(--c-primary);
  padding: 0.85rem 0;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  user-select: none;
}
.pf-marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: pf-marquee 95s linear infinite;
}
/* padding-right == internal gap so copy1→copy2 join is seamless at translateX(-50%) */
.pf-marquee-copy {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}
.pf-marquee-copy span { display: inline-flex; align-items: center; }
.pf-marquee-copy .dot { color: var(--c-primary); opacity: 0.4; }
@keyframes pf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-marquee-track { animation: none; }
}

/* ============================================================
   BEFORE / AFTER SCROLL REVEAL
   Two pixel-aligned photos; scrolling sweeps an invisible vertical
   line left→right, revealing the clean house over the messy one.
   --p (0..1) is driven by JS from the section's scroll progress.
   ============================================================ */
.reveal {
  position: relative;
  height: 210vh;            /* extra scroll height drives the sweep */
  --p: 0;                    /* 0 = fully messy, 1 = fully clean */
}
.reveal__sticky {
  position: sticky; top: var(--header-h);   /* pin just below the sticky header */
  height: calc(100vh - var(--header-h));     /* fill the viewport below the header */
  overflow: hidden;
}
.reveal__stage { position: absolute; inset: 0; }
.reveal picture { display: contents; }   /* wrapper transparent → img fills .reveal__stage */
.reveal__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;   /* crop comes off the bottom, not the top */
  user-select: none; -webkit-user-drag: none;
}
.reveal__img--messy { z-index: 1; }
/* clean sits on top, clipped from the right edge; at --p=0 nothing shows,
   at --p=1 the whole clean image is revealed (left → right wipe) */
.reveal__img--clean {
  z-index: 2;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}

/* text overlay — scrim keeps it readable over both photos */
.reveal__overlay {
  position: absolute; z-index: 3;
  left: 0; right: 0; top: 0;
  padding: clamp(1.5rem, 5vw, 4rem) 1.25rem 3.5rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.reveal__eyebrow {
  color: #fff; font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9;
  margin-bottom: 0.6rem;
}
.reveal__title {
  color: #fff; font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  margin-bottom: 0.6rem;
}
.reveal__sub {
  color: rgba(255,255,255,0.92); font-size: var(--fs-lg);
  max-width: 620px; margin: 0 auto;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}

/* Mobile: keep the pinned full-screen behaviour (fills the screen, cleans in
   place). The wide photo crops at the sides on narrow phones — accepted trade-off
   so the reveal stays visible while it wipes. */
@media (max-width: 768px) {
  .reveal__title { font-size: clamp(1.3rem, 6vw, 2rem); }
}

/* Mobile before/after: same scroll-triggered wipe as desktop, but with
   portrait photos (swapped in via <picture>) so the phone shows the whole
   house instead of a cropped slice. A slightly shorter scrub feels snappier
   on a phone. The <picture> wrapper must not break the absolute-fill layout. */
@media (max-width: 768px) {
  .reveal { height: 180vh; }               /* a touch shorter than desktop's 210vh */
}

/* ============================================================
   SERVICES PEEK CAROUSEL (homepage)
   5 cards on desktop: middle 3 full, edge 2 half-cropped by the
   screen. Tall image cards, title over the photo, auto-advancing.
   Slot width = 25% of viewport → V = 4·(card+gap) gives the half-peek.
   ============================================================ */
.svc-carousel-section { padding: 5rem 0; background: var(--c-bg); overflow: hidden; }
.svc-carousel-section .section-title { margin-bottom: 0; }

.svc-carousel-wrap { position: relative; }
.svc-carousel { width: 100%; overflow: hidden; cursor: grab; }
.svc-carousel.is-dragging { cursor: grabbing; }

.svc-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  touch-action: pan-y;
}
.svc-track.no-anim { transition: none; }         /* silent reset for infinite loop */

.svc-card {
  flex: 0 0 calc(25% - 1.25rem);                 /* desktop: 5 visible w/ half edges */
  position: relative;
  aspect-ratio: 3 / 4;                           /* tall cards */
  margin: 0; border-radius: 18px; overflow: hidden;
  background: var(--c-beige-light);
  box-shadow: var(--shadow-md);
  transform: scale(0.96);
  transition: transform 0.4s ease;
  user-select: none;
}
.svc-card.is-active { transform: scale(1); }     /* subtle lift for the centred card */
.svc-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  -webkit-user-drag: none;
}
/* shade so the title reads on any photo */
.svc-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 24%, rgba(0,0,0,0) 52%);
}
.svc-card__name {
  position: absolute; z-index: 1; left: 1.1rem; right: 1.1rem; bottom: 1.1rem;
  color: #fff; font-weight: 700; line-height: 1.2;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.svc-carousel__actions { text-align: center; margin-top: 2.5rem; }

@media (max-width: 1024px) {
  .svc-card { flex: 0 0 calc(38% - 1.25rem); }   /* ~3 visible */
}
@media (max-width: 768px) {
  .svc-carousel-section { padding: 3.5rem 0; }
  .svc-card { flex: 0 0 calc(66% - 1rem); aspect-ratio: 3 / 4.2; }  /* 3 visible: center + 2 peeks */
  .svc-track { gap: 1rem; }
  .svc-card__name { font-size: 1.1rem; }
}

/* ============================================================
   SERVICES SECTION (full-list grid — services page)
   ============================================================ */
.services-section { padding: 5rem 0; background: var(--c-bg); }
.services-section .section-title { text-align: center; margin-bottom: 3rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--c-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__img-wrap {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
}
.service-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease; display: block;
}
.service-card:hover .service-card__img-wrap img { transform: scale(1.05); }
.service-card__body { padding: 1.25rem 1.25rem 1.5rem; }
.service-card__name { font-size: var(--fs-base); font-weight: 700; margin-bottom: 0.4rem; color: var(--c-text); }
.service-card__desc { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.5; }

@media (max-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
/* Phones keep the 2-up grid — tighter gap and card padding so the pair fits. */
@media (max-width: 480px) {
  .services-grid { gap: 0.75rem; }
  .service-card__body { padding: 0.9rem 0.9rem 1.1rem; }
  /* German compound names ("Haushaltsreinigung") are wider than a half-width
     card — hyphenate rather than clip. */
  .service-card__name { font-size: var(--fs-sm); hyphens: auto; overflow-wrap: break-word; }
  .service-card__desc { font-size: 0.8rem; }
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail { padding: 2.5rem 0 4rem; }
.breadcrumb {
  font-size: var(--fs-sm); color: var(--c-text-muted);
  display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb__current { color: var(--c-text); }
/* Fixed-ratio hero so every service image renders at the same size,
   whether the source is landscape or portrait. */
.service-detail__hero {
  width: 100%; max-width: 900px; margin: 0 auto 2rem;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--c-beige-light);
}
.service-detail__hero img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.service-detail__title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); font-weight: 700;
  color: var(--c-text); text-align: center; margin-bottom: 0.75rem;
}
.service-detail__lead {
  font-size: var(--fs-lg); color: var(--c-text-muted);
  text-align: center; max-width: 720px; margin: 0 auto 2.5rem;
}
.service-detail__body { max-width: 760px; margin: 0 auto; }
.service-detail__body p { font-size: var(--fs-base); color: var(--c-text); line-height: 1.75; margin-bottom: 1.25rem; }
.service-detail__body h2 { font-size: var(--fs-xl); font-weight: 700; color: var(--c-text); margin: 2rem 0 1rem; }
.service-detail__list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.service-detail__list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.6rem; color: var(--c-text); line-height: 1.5; }
.service-detail__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }
.service-detail__cta { margin: 2.5rem 0 1rem; text-align: center; }
.service-detail__cta p { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 1rem; }
.service-detail__faq-title { margin-top: 2.5rem; }
.service-detail__more { margin-top: 4rem; }
.service-detail__more > h2 { font-size: var(--fs-2xl); font-weight: 700; text-align: center; margin-bottom: 2rem; }
/* PHP renders 4 suggestion cards; the desktop grid is 3-wide, so the 4th
   would sit alone on a second row — hide it there. Mobile's 2-up grid shows
   all 4 as a full 2x2. */
@media (min-width: 769px) {
  .service-detail__more .services-grid .service-card:nth-child(4) { display: none; }
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews-section { padding: 5rem 0; overflow: hidden; background: var(--c-bg); }
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
}
.carousel-controls { display: flex; align-items: center; gap: 0.75rem; }
.show-all-link { font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary); white-space: nowrap; transition: opacity 0.2s; }
.show-all-link:hover { opacity: 0.75; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--c-primary); background: var(--c-white); color: var(--c-primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.carousel-btn:hover { background: var(--c-primary); color: white; }
.reviews-track-wrapper { overflow: hidden; }
.reviews-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.4s ease;
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 3rem) / 3.5);
  background: var(--c-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.review-photo {
  position: relative; height: 220px; overflow: hidden; background: var(--c-beige-light);
}
.review-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity 0.6s ease;
}
.review-photo img.hidden { opacity: 0; pointer-events: none; }
.review-photo__label {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.55); color: white;
  padding: 0.2rem 0.6rem; border-radius: 20px;
  font-size: var(--fs-xs); font-weight: 600; z-index: 2;
}
.review-photo__arrows {
  position: absolute; inset: 0; display: flex;
  justify-content: space-between; align-items: center;
  padding: 0 0.75rem; z-index: 2;
}
.photo-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text); transition: background 0.2s; flex-shrink: 0;
}
.photo-arrow:hover { background: var(--c-white); }
.review-body { padding: 1.25rem; }.review-text {
  font-size: var(--fs-sm); color: var(--c-text); line-height: 1.6;
  margin-bottom: 0.75rem; font-style: italic;
}
.review-name { font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary); }

@media (max-width: 768px) {
  .review-card { flex: 0 0 85%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-beige-light); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-col__logo { height: 36px; margin-bottom: 0.75rem; }
.footer-col__tagline { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 1rem; }
.footer-col__phone { font-size: var(--fs-lg); font-weight: 600; color: var(--c-primary); }
.footer-col__title {
  font-size: var(--fs-sm); font-weight: 700; color: var(--c-text);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: var(--fs-sm); color: var(--c-text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--c-primary); }
.footer-contact-info { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact-info span { font-size: var(--fs-sm); color: var(--c-text-muted); }
.footer-bar {
  border-top: 1px solid rgba(0,0,0,0.08); padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: var(--c-text-muted);
}
.footer-bar-links { display: flex; gap: 1.5rem; }
.footer-bar-links a { color: var(--c-text-muted); transition: color 0.2s; }
.footer-bar-links a:hover { color: var(--c-primary); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  background: transparent; padding: 3rem 0 1rem; text-align: center;
}
.page-banner h1 {
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 700; color: var(--c-primary); margin-bottom: 0.5rem;
}
.page-banner__sub { font-size: var(--fs-lg); color: var(--c-primary); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--c-beige-dark); padding: 4rem 0; text-align: center;
}
.cta-strip h2 {
  font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
  font-weight: 700; margin-bottom: 1.5rem;
}

/* ============================================================
   SERVICES PAGE (extended cards)
   ============================================================ */
.services-page { padding: 4rem 0; }
.services-page-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.service-card-lg {
  background: var(--c-white); border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border-left-color 0.2s;
}
.service-card-lg:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-left-color: var(--c-primary);
}
.service-card-lg__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card-lg__name { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 0.75rem; }
.service-card-lg__desc { font-size: var(--fs-base); color: var(--c-text-muted); line-height: 1.7; }

@media (max-width: 1024px) { .services-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .services-page-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: 5rem 0; }
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-split__img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--c-beige-light);
}
.about-split__img img { width: 100%; height: 100%; object-fit: cover; }
.about-split__text h2 {
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 700; margin-bottom: 1.5rem;
}
.about-split__text p { font-size: var(--fs-lg); color: var(--c-text-muted); line-height: 1.8; margin-bottom: 1rem; }
.trust-badges {
  display: flex; gap: 2rem; padding: 3rem 0 5rem;
  flex-wrap: wrap; justify-content: center;
}
.trust-badge {
  background: var(--c-white); border-radius: var(--radius-md);
  padding: 1.5rem 2rem; text-align: center; box-shadow: var(--shadow-sm);
  flex: 1; min-width: 180px; max-width: 260px;
}
.trust-badge__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-badge__text { font-size: var(--fs-base); font-weight: 600; }

@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 5rem 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--c-text); margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.14); border-radius: var(--radius-sm);
  font-family: var(--ff); font-size: var(--fs-base);
  background: var(--c-white); color: var(--c-text); transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--c-primary); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-message {
  padding: 1rem; border-radius: var(--radius-sm);
  margin-top: 1rem; font-size: var(--fs-sm);
}
.form-message.success { background: #d1fae5; color: #065f46; }
.form-message.error   { background: #fee2e2; color: #991b1b; }
.contact-info-panel {
  background: var(--c-white); border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.contact-info-panel h3 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-info-item__icon { color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-item__label { font-size: var(--fs-xs); color: var(--c-text-muted); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-item__value { font-size: var(--fs-base); font-weight: 500; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG LISTING
   ============================================================ */
.blog-section { padding: 4rem 0; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.blog-card {
  background: var(--c-white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img { height: 200px; background: var(--c-beige-light); overflow: hidden; flex-shrink: 0; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat {
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-primary);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.blog-card__title { font-size: var(--fs-lg); font-weight: 600; margin-bottom: 0.5rem; flex: 1; }
.blog-card__date { font-size: var(--fs-xs); color: var(--c-text-muted); margin-top: auto; }

/* Phones: 2-up blog grid, same treatment as the services listing —
   tighter gap, shorter image, smaller hyphenated titles. */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .blog-card__img { height: 120px; }
  .blog-card__body { padding: 0.9rem; }
  .blog-card__title { font-size: var(--fs-sm); hyphens: auto; overflow-wrap: break-word; }
}

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.blog-detail { padding: 4rem 0; }
.blog-detail__content { max-width: 740px; margin: 0 auto; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--c-primary); font-weight: 600; margin-bottom: 2rem;
  font-size: var(--fs-base);
}
.back-link:hover { text-decoration: underline; }
.blog-detail__content h2 { font-size: var(--fs-2xl); font-weight: 700; margin: 2rem 0 1rem; }
.blog-detail__content p { font-size: var(--fs-lg); color: var(--c-text); line-height: 1.8; margin-bottom: 1.5rem; }
.blog-detail__content img { width: 100%; border-radius: var(--radius-md); margin: 2rem 0; }
.related-posts { padding: 4rem 0; border-top: 1px solid rgba(0,0,0,0.08); }
.related-posts h3 { font-size: var(--fs-2xl); font-weight: 700; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
/* Phones: exactly 2 suggestions side by side — the 3rd rendered card is
   desktop-only (3-wide row there). */
@media (max-width: 768px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .related-grid .blog-card:nth-child(3) { display: none; }
}

/* ============================================================
   MOBILE EXTRAS
   ============================================================ */
@media (max-width: 768px) {
  /* portrait hero photo (glove + spray + sparkles baked in) */
  .hero {
    background-image: url('../images/hero-mobile.webp') !important;
    background-position: center top;
    height: 78vh; min-height: 520px;
    align-items: flex-end;          /* push copy + button toward the bottom */
    padding-bottom: 2.5rem;
  }
  /* headline may wrap now — the desktop nowrap clipped it off-screen */
  .hero h1 { white-space: normal; font-size: clamp(2rem, 8vw, 2.75rem); }
  /* the mobile photo already contains sparkles → hide the CSS overlay */
  .hero__sparkles { display: none; }
  /* landscape video looks wrong on portrait phones + wastes data → show the
     dedicated portrait poster (hero-mobile.webp) instead */
  .hero__video { display: none; }
  /* logo (114px) overflows the 76px header on phones — scale it down */
  .nav-logo img { height: 84px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: var(--fs-base); }
  .hero .btn { width: 100%; justify-content: center; }
  .section-title { font-size: var(--fs-2xl); }
  .trust-badges { flex-direction: column; align-items: center; }
}
