/*
Theme Name: Trendline
Author: András
Description: Egyedi téma – Trendline Window Cleaning Ltd.
Version: 2.7.4
Text Domain: trendline
*/

/* ============================================
   1. TOKENEK
   ============================================ */
:root {
  --red:      #E50A15;
  --dark:     #0B0C0C;
  --white:    #FFFFFF;
  --text:     #4D4D4D;
  --bg-light: #FCF3F3;

  --font-heading: "Barlow", sans-serif;
  --font-body:    "Poppins", sans-serif;

  --container: 1280px;
  --gutter:    24px;
}

/* ============================================
   2. RESET / ALAP
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

/* ============================================
   3. LAYOUT SEGÉDEK
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-eyebrow {
  display: inline-block;
  position: relative;
  padding-top: 18px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: .3px;
  color: var(--dark);
}
.section-eyebrow::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 2px;
  background: var(--red);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--dark);
  margin-bottom: 44px;
}
.section-title .accent { color: var(--red); }

.eyebrow-left {
  display: block;
  border-left: 4px solid var(--red);
  padding-left: 12px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: .3px;
  line-height: 1.4;
  color: var(--dark);
}

/* ============================================
   4. GOMBOK
   ============================================ */
:root { --red-dark: #C0080F; }   /* hover-piros */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  padding: 18px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--red-dark);
  box-shadow: 0 8px 20px rgba(229,10,21,.3);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(229,10,21,.25); }

.btn--outline {
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--red); color: var(--white);
  box-shadow: 0 8px 20px rgba(229,10,21,.25);
  transform: translateY(-2px);
}

/* ============================================
   19. HEADER
   ============================================ */
.site-header { position: relative; z-index: 20; }

.header__top { background: var(--red); color: var(--white); }
.header__top-inner {
  display: flex; justify-content: flex-end; align-items: center; gap: 22px;
  padding-left: 236px; min-height: 44px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
}
.header__top a { color: var(--white); }
.header__top .ht-item { display: inline-flex; align-items: center; gap: 8px; }
.header__top .sep { width: 1px; height: 20px; background: rgba(255,255,255,.4); }

.ht-icon { flex: 0 0 auto; filter: brightness(0) invert(1); }
.ht-icon--mail  { width: 18px; height: 14px; }
.ht-icon--phone { width: 20px; height: 20px; object-fit: contain; }

.header__main { background: var(--white); }
.header__main-inner {
  display: flex; align-items: center; gap: 20px;
  padding-left: 236px; min-height: 80px;
}
.header__collapse { display: flex; align-items: center; gap: 26px; margin-left: auto; }

.header__logo {
  position: absolute; top: 0;
  left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  width: 210px; aspect-ratio: 226 / 196; z-index: 2; display: block;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
}
.header__logo-shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.header__logo-link { position: absolute; left: 7.5%; top: 19%; width: 85%; height: 52%; display: block; }
.header__logo-link img { width: 100%; height: 100%; object-fit: contain; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 400; font-size: 18px;
  color: var(--dark); padding: 14px 0; transition: color .15s ease;
}
.menu > li > a:hover,
.menu > li.is-active > a { color: var(--red); }
.menu .caret { width: 13px; height: 13px; transition: transform .2s ease; }

.submenu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease; z-index: 5;
}
@media (min-width: 993px) {
  .menu > li.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .menu > li.has-sub:hover .caret { transform: rotate(180deg); }
}
.submenu a { display: block; padding: 10px 22px; font-size: 15px; color: var(--dark); white-space: nowrap; }
.submenu a:hover { color: var(--red); background: #faf1f1; }

.header__cta { font-size: 17px; padding: 14px 26px; white-space: nowrap; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  margin-left: auto; padding: 8px; background: none; border: none;
}
.nav-burger span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--dark); transition: .25s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Reszponzív ---- */
@media (max-width: 992px) {
  .header__top-inner { padding-left: 150px; gap: 26px; }
  .header__top .ht-item span { display: none; }
  .ht-icon--mail  { width: 21px; height: 17px; }
  .ht-icon--phone { width: 23px; height: 23px; }

  .header__main-inner { padding-left: 150px; min-height: 66px; }
  .header__logo { width: 150px; }

  .nav-burger { display: flex; }

  /* Panel a sávhoz simul, belső padding ad felül levegőt (nincs üres rés) */
  .header__collapse {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,.14);
    padding: 22px 24px 24px; display: none;
  }
  .header__collapse.is-open { display: flex; }

  /* Középre igazított menü, nagyobb caret jobbra */
  .menu { flex-direction: column; align-items: center; gap: 0; }
  .menu > li { width: 100%; text-align: center; }
  .menu > li > a { justify-content: center; position: relative; font-size: 16px; padding: 13px 30px; border-bottom: 1px solid #eee; }
  .menu > li.has-sub > a .caret {
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%); width: 18px; height: 18px;
  }
  .menu > li.has-sub.is-open > a .caret { transform: translateY(-50%) rotate(180deg); }

  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 8px; min-width: 0; display: none;
  }
  .menu > li.has-sub.is-open > .submenu { display: block; }

  .header__cta { margin-top: 14px; text-align: center; }
}


/* ============================================
   5. HERO
   ============================================ */
.hero {
  position: relative;
  background-color: var(--dark);
  overflow: hidden;
}

.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("assets/img/hatter.webp");
  background-size: cover;
  background-position: left center;
}

/* Férfi + görbe – 8%-kal jobbra tolva (a jobb szélen a túllógást az overflow:hidden levágja) */
.hero__media {
  position: absolute; top: 0; bottom: 0; left: 0%; right: 0%; z-index: 2;
  pointer-events: none;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__inner {
  position: relative; z-index: 4;
  min-height: 700px;
  display: flex; align-items: center;
}
.hero__content { width: 68%; max-width: 900px; padding: 70px 0 190px; }

.hero__badge {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  color: var(--white); font-weight: 600; font-size: 17px;
}
.hero__badge .g-logo { width: 28px; height: 28px; }
.hero__badge .stars  { color: #FBBC04; letter-spacing: 2px; font-size: 26px; }

.hero .hero__title {
  color: var(--white);
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero .hero__title .accent { color: var(--red); }

.hero__subtitle {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700; font-size: 20px; line-height: 1.3;
  border-left: 4px solid var(--red); padding-left: 14px;
  margin-bottom: 34px;
}

.hero__usp {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.hero__usp li {
  display: flex; align-items: center; gap: 16px;
  color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 24px; line-height: 1.2;
}
.hero__usp .usp-icon {
  flex: 0 0 auto; width: 52px; height: 52px;
  border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
}
.hero__usp .usp-icon img { width: 26px; height: 26px; }

/* ============================================
   6. HERO – RESZPONZÍV
   ============================================ */
@media (max-width: 900px) {
  .hero__media { display: none; }   /* mobilon a hero-mobile-img.webp látszik helyette (23. blokk) */
  .hero__inner { min-height: 0; display: block; }
  .hero__content { width: 100%; max-width: none; padding: 40px 0 60px; }
}

/* ============================================
   6. HERO – RESZPONZÍV
   ============================================ */
@media (max-width: 900px) {
  .hero__media { display: none; }   /* IDEIGLENES: a fél-üres képsáv elrejtve, míg eldöntöd a mobil megjelenítést */
  .hero__inner { min-height: 0; display: block; }
  .hero__content { width: 100%; max-width: none; padding: 40px 0 60px; }
  .hero__wave svg { height: 70px; }
}

 /* ============================================
   7. QUOTE FORM
   ============================================ */
.quote {
  position: relative; z-index: 5;
  margin-top: -130px;
  padding-bottom: 50px;
}
.quote__box {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,.12);
  padding: 50px clamp(24px, 4vw, 60px);
}
.quote__title {
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.quote__title .accent { color: var(--red); }
.quote__subtitle {
  text-align: center;
  color: var(--text);
  font-size: 18px;
  margin: 0 auto 34px;
  max-width: 840px;
}

.qf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.qf-grid .qf-field { grid-column: span 2; }
.qf-grid .qf-field--address { grid-column: span 4; }

.qf-field { position: relative; }
.qf-field .wpcf7-form-control-wrap { display: block; width: 100%; }

.qf-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  padding: 16px 44px 16px 20px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: var(--white);
  outline: none;
  transition: border-color .15s ease;
}
.qf-field input::placeholder { color: #9aa0a6; }
.qf-field input:focus { border-color: var(--red); }

.qf-icon {
  position: absolute; top: 50%; right: 18px;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: #9aa0a6;
  pointer-events: none;
}
.qf-icon svg { width: 100%; height: 100%; display: block; }

.qf-submit { margin-top: 4px; }
.qf-submit .wpcf7-submit {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600; font-size: 22px;
  color: var(--white); background: var(--red);
  border: none; border-radius: 999px;
  padding: 18px 34px;
  cursor: pointer;
  transition: opacity .15s ease;
}
.qf-submit .wpcf7-submit:hover { opacity: .9; }

.wpcf7-response-output { margin: 18px 0 0 !important; border-radius: 10px; }
.wpcf7-spinner { margin: 8px auto 0; display: block; }

@media (max-width: 900px) {
  .qf-grid { grid-template-columns: repeat(2, 1fr); }
  .qf-grid .qf-field { grid-column: span 1; }
  .qf-grid .qf-field--address { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .qf-grid { grid-template-columns: 1fr; }
  .qf-grid .qf-field,
  .qf-grid .qf-field--address { grid-column: 1 / -1; }
}

/* ============================================
   8. TRUST BADGES + PARTNER
   ============================================ */
.trust { background: var(--white); padding: 6px 0 46px; }
.trust__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
}

/* Google + Licensed – magasságra méretezve, hogy optikailag egyformák legyenek */
.trust__badges {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
}
.trust__badge {
  flex: 0 0 auto;
  height: 84px; width: auto; max-width: none;
  object-fit: contain;
}

/* Elválasztó vonal – mindkettő ugyanaz az elem, azonos magasság */
.trust__sep {
  flex: 0 0 auto;
  width: 2px; height: 70px;
  border-radius: 2px;
  background: #cfcfcf;
}

.trust__partner {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 16px;
  transition: opacity .2s ease;
}
.trust__partner:hover { opacity: .8; }
.trust__partner-label {
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.3;
  color: #6b6b6b; max-width: 90px;
}
.trust__partner-logo { width: 100px; height: 100px; object-fit: contain; }

/* Tablet / mobil: a badge-sor kitölti a szélességet, alatta teljes szélességű vonal + partner */
@media (max-width: 860px) {
  .trust { padding: 4px 0 30px; }
  .trust__inner {
    flex-direction: column; align-items: stretch;
    gap: 20px; max-width: 480px;
  }

  /* A két badge magassága a szélességből jön: 2.93 + 2.1 képarány ≈ 5.1 */
  .trust__badges { gap: 18px; }
  .trust__badge  { height: min(72px, calc((100vw - 86px) / 5.1)); }
  .trust__badges .trust__sep { height: min(60px, calc((100vw - 86px) / 6.5)); }

  .trust__sep--main { width: 100%; height: 1px; background: #e6e6e6; }

  .trust__partner { justify-content: center; gap: 16px; }
  .trust__partner-label { max-width: none; }
  .trust__partner-logo { width: 80px; height: 80px; }
}

/* ============================================
   9. REVIEWS (Trustindex widget)
   ============================================ */
.reviews {
  background: var(--white);
  padding: 30px 0 80px;
  text-align: center;
}
.reviews__widget {
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;   /* a widget belső szövegei ne öröklődjenek középre */
}

/* ============================================
   10. ABOUT
   ============================================ */
.about { background: var(--bg-light); padding: 80px 0 40px; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__main { position: relative; margin-bottom: 16px; }
.about__main img {
  width: 100%; border-radius: 14px;
  aspect-ratio: 3 / 2; object-fit: cover;
  object-position: top;   /* felül ne vágjon, a fölösleget alulról */
}
.about__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__row img { width: 100%; border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; }

.about__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1;
  color: var(--dark); margin-bottom: 20px;
}
.about__title .accent { color: var(--red); }
.about__content p { font-size: 15px; line-height: 1.8; margin: 0 0 16px; }

.vmp { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.vmp li { display: flex; gap: 16px; align-items: flex-start; }
.vmp__icon {
  flex: 0 0 auto; width: 48px; height: 48px;
  border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center;
}
.vmp__icon svg { width: 24px; height: 24px; }
.vmp h3 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--dark); margin: 0 0 4px; }
.vmp p { font-size: 14px; line-height: 1.7; margin: 0; }

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   11. TEAM
   ============================================ */
.team    { position: relative; background: var(--bg-light); padding: 30px 0 170px; overflow: clip; }
.team__heading {
  display: flex; align-items: center; gap: 22px;
  max-width: 760px; margin: 0 auto 46px;
}
.team__heading::before,
.team__heading::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(229,10,21,.35);
}
.team__heading h2 {
  white-space: nowrap;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--dark);
}
.team__heading h2 .accent { color: var(--red); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.team-member { text-align: center; }
.team-member__photo {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  margin-bottom: 14px;
}
.team-member__photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.team-member__name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 18px; color: var(--dark); margin-bottom: 2px;
}
.team-member__role {
  position: relative;
  font-size: 13px; color: var(--text);
  padding-bottom: 12px;
}
.team-member__role::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 2px; border-radius: 2px;
  background: var(--red);
}

.team__cta {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

.team__wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 1; line-height: 0; pointer-events: none;
}
.team__wave svg { display: block; width: 100%; height: 130px; }

@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .team__wave svg { height: 80px; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   12. RELIABILITY
   ============================================ */
.reliability {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(rgba(11,12,12,.85), rgba(11,12,12,.9)), url("assets/img/reliability-background.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 70px 0 170px;
}
.reliability .container { position: relative; z-index: 2; }

.reliability__head { text-align: center; margin-bottom: 40px; }
.reliability .section-eyebrow { color: var(--white); }
.reliability .section-title { color: var(--white); margin-bottom: 0; }

.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  max-width: 1120px; margin: 0 auto;
}
.rel-card {
  position: relative;
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rel-card:nth-child(3n) { border-right: none; }
.rel-card:nth-child(n+4) { border-bottom: none; }

.rel-card__icon { width: 54px; height: 54px; margin-bottom: 16px; }
.rel-card__icon img { width: 100%; height: 100%; object-fit: contain; transition: filter .2s ease; }
.rel-card__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 19px; color: var(--white); margin-bottom: 10px; line-height: 1.25;
}
.rel-card__text {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,.72); margin: 0;
}

.rel-card:hover {
  background: var(--red);
  border-radius: 14px;
  border-color: transparent;
  z-index: 2;
  box-shadow: 0 20px 44px rgba(229,10,21,.35);
}
.rel-card:hover .rel-card__icon img { filter: brightness(0) invert(1); }
.rel-card:hover .rel-card__title,
.rel-card:hover .rel-card__text { color: var(--white); }

.reliability__cta { text-align: center; margin-top: 44px; position: relative; z-index: 2; }

.reliability__wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 1; line-height: 0; pointer-events: none;
}
.reliability__wave svg { display: block; width: 100%; height: 120px; }

@media (max-width: 900px) {
  .rel-grid { grid-template-columns: 1fr; }
  .rel-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .rel-card:last-child { border-bottom: none; }
  .reliability__wave svg { height: 70px; }
}

/* ============================================
   13. BEFORE / AFTER CSÚSZKA
   ============================================ */
.ba { background: var(--white); padding: 30px 0 80px; }
.ba__head { text-align: center; }

.ba__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1120px; margin: 0 auto;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  user-select: none;
  background: #e9ecef;
}

.ba-before,
.ba-after { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-before img,
.ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ba-after { clip-path: inset(0 50% 0 0); }

.ba-label {
  position: absolute; top: 12px; z-index: 3;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  padding: 5px 12px; border-radius: 6px; color: var(--white);
}
.ba-label--before { left: 12px; background: var(--red); }
.ba-label--after  { right: 12px; background: var(--dark); }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  transform: translateX(-50%);
  z-index: 4; pointer-events: none;
  box-shadow: 0 0 6px rgba(0,0,0,.25);
}
.ba-handle__btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--dark);
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.ba-handle__btn svg { width: 20px; height: 20px; }

.ba-range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}

@media (max-width: 760px) {
  .ba__grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ============================================
   14. SERVICES
   ============================================ */
.services {
  background: linear-gradient(to bottom, #FEF3F3 0%, #FEF3F3 65%, #ffffff 100%);
  padding: 90px 0 100px;
}
.services__head { text-align: center; }

.services__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 34px 24px;
  max-width: 1120px; margin: 0 auto;
}

.service-card {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex; flex-direction: column;
}

.service-card__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-card__body {
  position: relative;
  width: 88%;
  margin: -54px auto 0;
  background: var(--white);
  border-radius: 18px;
  padding: 44px 26px 28px;
  box-shadow: 0 -3.27px 39.9px rgba(0,0,0,.07);
  display: flex; flex-direction: column; flex: 1;
}

.service-card__icon {
  position: absolute; top: -26px; left: 26px;
  width: 52px; height: 52px;
  display: block;
  box-shadow: 0 8px 18px rgba(229,10,21,.3);
  border-radius: 50%;
}
.service-card__icon img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

.service-card__title {
  font-family: var(--font-body); font-weight: 600;
  font-size: 24px; line-height: 1.2; color: #051B32;
  margin-bottom: 14px;
}

.service-card__text {
  font-family: var(--font-body); font-weight: 400;
  font-size: 18px; line-height: 30px; color: #4D4D4D;
  margin: 0 0 18px; flex: 1;
}

.service-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  padding-top: 16px; border-top: 1px solid #ececec;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .4px; text-transform: uppercase; color: var(--red);
}
.service-card__more svg { width: 14px; height: 14px; }
.service-card__more:hover { text-decoration: underline; }

.services__cta { text-align: center; margin-top: 50px; }

@media (max-width: 900px) {
  .service-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 560px) {
  .service-card { flex-basis: 100%; }
}

/* ============================================
   15. PROCESS
   ============================================ */
.process { position: relative; background: var(--white); padding: 80px 0 160px; overflow: clip; }
.process__head { text-align: center; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1180px; margin: 0 auto;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 60px 22px 30px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 -3.27px 39.9px rgba(0,0,0,.07);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute; top: 50%; right: -16px; transform: translateY(-50%);
  width: 26px; height: 26px; z-index: 2;
  background: var(--red); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M9 6l6 6-6 6'/></svg>") center / 14px no-repeat, linear-gradient(#000,#000);
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M9 6l6 6-6 6'/></svg>") center / 14px no-repeat;
}

/* Körvonalas szám – feljebb, hogy ne lógjon az ikonra */
.step-card__num {
  position: absolute; top: -64px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading); font-weight: 800; font-size: 30px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  text-stroke: 1.5px var(--red);
  z-index: 3;
}

.step-card__icon {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px;
  border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(229,10,21,.3);
  z-index: 2;
}
.step-card__icon img { width: 30px; height: 30px; object-fit: contain; }

.step-card__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 20px; line-height: 1.25; color: #051B32;
  margin: 8px 0 12px;
}
.step-card__text {
  font-family: var(--font-body); font-weight: 400;
  font-size: 14px; line-height: 1.7; color: var(--text); margin: 0;
}

.step-card:hover {
  border-color: rgba(229,10,21,.4);
  box-shadow: 0 18px 44px rgba(229,10,21,.18);
  transform: translateY(-4px);
}

.process__cta { text-align: center; margin-top: 50px; }

.process__wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 1; line-height: 0; pointer-events: none;
}
.process__wave svg { display: block; width: 100%; height: 130px; }

@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(3, 1fr); }
  .step-card:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .process__grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* ============================================
   16. FAQ  (natív <details> – JS nélkül)
   ============================================ */
.faq {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(rgba(11,12,12,.82), rgba(11,12,12,.88)), url("assets/img/faq-image-window-cleaning-background.webp");
  background-size: cover; background-position: center;
  overflow: hidden;
  padding: 130px 0 180px;
}
.faq__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.8fr 1fr; gap: 56px;
  align-items: start;
}

.faq__eyebrow { color: var(--white); }

.faq__media { display: flex; flex-direction: column; gap: 20px; }
.faq__media img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.faq__media img:first-child { object-position: center calc(50% + 30px); }

.faq__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  color: var(--white); margin: 0 0 30px;
}
.faq__title .accent { color: var(--red); }

.faq__list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,.16); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.16); }

.faq-item__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 24px; line-height: 1.3;
  color: var(--white); transition: color .2s ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--red); }
.faq-item[open] .faq-item__q { color: var(--red); }

.faq-item__qtext { flex: 1; }

.faq-item__chevron {
  flex: 0 0 auto; width: 28px; height: 28px;
  border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center;
  transition: transform .25s ease;
}
.faq-item__chevron svg { width: 14px; height: 14px; display: block; }
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__a { padding: 0 0 4px; }
.faq-item__a p {
  margin: 0; padding: 0 0 22px;
  font-family: "Inter", sans-serif; font-weight: 400; font-size: 18px;
  line-height: 1.7; color: rgba(255,255,255,.72);
}

.faq__cta { margin-top: 34px; }

.faq__wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 1; line-height: 0; pointer-events: none;
}
.faq__wave svg { display: block; width: 100%; height: 110px; }

@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .faq-item__q { font-size: 20px; }
  .faq__cta { text-align: center; }
  .faq__wave svg { height: 70px; }
}

/* ============================================
   17. AREAS
   ============================================ */
.areas { position: relative; background: var(--white); padding: 80px 0 100px; }
.areas__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
}

.areas__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  color: var(--dark); margin: 0 0 30px;
}
.areas__title .accent { color: var(--red); }

.areas__list {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.areas__list a {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  color: var(--dark);
  transition: color .2s ease;
}
.areas__list a:hover { color: var(--red); }

.areas__pin {
  flex: 0 0 auto; width: 39px; height: 39px;
  border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
}
.areas__pin img { width: 15px; height: 19px; object-fit: contain; }

.areas__map {
  height: 100%; min-height: 460px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.1);
}
.areas__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; }

@media (max-width: 900px) {
  .areas__inner { grid-template-columns: 1fr; gap: 36px; }
  .areas__map { min-height: 340px; }
}
@media (max-width: 480px) {
  .areas__list { grid-template-columns: 1fr; }
}

/* ============================================
   18. FOOTER
   ============================================ */
.site-footer {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(rgba(11,12,12,.9), rgba(11,12,12,.94)), url("assets/img/hatter.webp");
  background-size: cover; background-position: center;
  overflow: hidden;
  padding-top: 160px;
}
.site-footer .container { position: relative; z-index: 2; }

/* Felső hullám */
.footer__wave {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 1; line-height: 0; pointer-events: none;
}
.footer__wave svg { display: block; width: 100%; height: 130px; }

/* CTA sáv */
.footer__cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; padding-bottom: 30px;
}
.footer__cta-title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.15;
  color: var(--white); margin: 0; max-width: 760px;
}
.footer__cta-title .accent { color: var(--red); }

.footer__divider { border: none; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }

/* Oszlopok */
.footer__cols {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 48px;
  padding: 50px 0;
}
.footer__col-title {
  position: relative;
  font-family: var(--font-heading); font-weight: 700; font-size: 20px;
  color: var(--white); margin: 0 0 26px; padding-bottom: 10px;
}
.footer__col-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; border-radius: 2px; background: var(--red);
}

.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,.8);
  transition: color .2s ease, padding-left .2s ease;
}
.footer__links a::before { content: "›"; color: var(--red); font-size: 18px; line-height: 1; }
.footer__links a:hover { color: var(--white); padding-left: 4px; }

/* Márka oszlop */
.footer__logo { width: 230px; max-width: 100%; height: auto; margin-bottom: 20px; }
.footer__about { font-family: var(--font-body); font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.7); margin: 0 0 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--dark);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer__social svg { width: 20px; height: 20px; }
.footer__social a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

/* Kapcsolat */
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer__cicon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); color: var(--white);
  display: grid; place-items: center;
}
.footer__cicon svg { width: 20px; height: 20px; }
.footer__cbody { display: flex; flex-direction: column; }
.footer__clabel { font-weight: 700; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.footer__cbody a, .footer__cvalue { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }
.footer__cbody a:hover { color: var(--red); }

/* Alsó sáv */
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 26px 0 46px;
}
.footer__bottom p { margin: 0 0 4px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer__bottom-right { display: flex; gap: 26px; }
.footer__bottom-right a { font-size: 13px; color: rgba(255,255,255,.75); }
.footer__bottom-right a:hover { color: var(--red); }

@media (max-width: 900px) {
  .footer__cta { flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  .footer__cta-title { text-align: center; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--brand { grid-column: 1 / -1; order: -1; }
  .site-footer { padding-top: 110px; }
  .footer__wave svg { height: 70px; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
/* ============================================
   20. HULLÁM DIVIDER (közös, inline SVG)
   ============================================ */
.divider {
  position: absolute; left: 0; right: 0; bottom: -1px;
  z-index: 3; line-height: 0; pointer-events: none;
  transform: scaleY(var(--divider-flip, 1));
  transform-origin: bottom;
}
.divider svg {
  display: block;
  width: calc(100% + 8px);
  margin-left: -4px;
  height: 120px;
}
.divider__shape { fill: var(--divider-fill, #fff); }
.divider__edge  { fill: var(--red); }

@media (max-width: 900px) {
  .divider svg { height: 70px; }
}

/* ============================================
   21. SERVICE PAGE
   ============================================ */

/* Hero */
.svc-hero {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(rgba(11,12,12,.7), rgba(11,12,12,.82)), url("assets/img/hatter.webp");
  background-size: cover; background-position: center;
  overflow: hidden;
  padding: 90px 0 150px;
  text-align: center;
}
.svc-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.svc-hero__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 58px); line-height: 1.1;
  color: var(--white); margin: 0 0 20px;
}
.svc-hero__desc {
  font-family: var(--font-body); font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,.85); margin: 0 auto 30px; max-width: 700px;
}

/* Tartalom + sticky form (70/30) */
.svc-content { background: var(--white); padding: 80px 0; }
.svc-content__inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 48px; align-items: start;
}

/* Bal: a szerkesztőből jövő tartalom tipográfiája */
.svc-content__body { font-family: var(--font-body); color: var(--text); font-size: 17px; line-height: 1.8; }
.svc-content__body h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); color: var(--dark); margin: 38px 0 16px; }
.svc-content__body h3 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: #051B32; margin: 30px 0 12px; }
.svc-content__body p { margin: 0 0 18px; }
.svc-content__body ul, .svc-content__body ol { margin: 0 0 18px; padding-left: 22px; }
.svc-content__body li { margin-bottom: 8px; }
.svc-content__body a { color: var(--red); text-decoration: underline; }

/* Egyedi FAQ (világos háttéren) */
.svc-faq { margin-top: 46px; }
.svc-faq__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); color: var(--dark); margin: 0 0 20px; }
.faq__list--light .faq-item { border-color: #e6e6e6; }
.faq__list--light .faq-item:first-child { border-top-color: #e6e6e6; }
.faq__list--light .faq-item__q { color: var(--dark); font-size: 20px; }
.faq__list--light .faq-item[open] .faq-item__q,
.faq__list--light .faq-item__q:hover { color: var(--red); }
.faq__list--light .faq-item__a p { color: var(--text); }

/* Jobb: sticky form doboz */
.svc-content__form { position: sticky; top: 24px; }
.svc-form-box {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.1);
  padding: 30px 26px;
}
.svc-form-box__title { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--dark); margin: 0 0 6px; text-align: center; }
.svc-form-box__title .accent { color: var(--red); }
.svc-form-box__sub { font-size: 14px; color: var(--text); text-align: center; margin: 0 0 20px; }
/* A form mezői egymás alatt a keskeny oszlopban */
.svc-form-box .qf-grid { grid-template-columns: 1fr; gap: 12px; }

@media (max-width: 992px) {
  .svc-content__inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-content__form { position: static; }   /* mobilon nincs sticky */
}
/* ============================================
   22. NEWS (gyűjtő + poszt)
   ============================================ */
.news { background: var(--white); padding: 80px 0 100px; }

.news__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 1120px; margin: 0 auto;
}

.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.12); }

.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, #f0e2e2, #e9ecef);
}

.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__date { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.post-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--red); }
.post-card__excerpt { font-size: 14px; line-height: 1.7; color: var(--text); margin: 0 0 16px; flex: 1; }
.post-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .4px; text-transform: uppercase; color: var(--red);
}
.post-card__more svg { width: 14px; height: 14px; }

.news__empty { text-align: center; font-size: 18px; color: var(--text); padding: 40px 0; }

.news__pagination { margin-top: 50px; text-align: center; }
.news__pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 3px;
  border-radius: 8px; color: var(--dark); font-weight: 600;
}
.news__pagination .page-numbers.current { background: var(--red); color: var(--white); }
.news__pagination a.page-numbers:hover { background: #faf1f1; color: var(--red); }

/* Poszt hero dátum + kiemelt kép */
.post-hero__date { display: block; color: rgba(255,255,255,.8); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.post-featured { margin-bottom: 30px; border-radius: 16px; overflow: hidden; }
.post-featured img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .news__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .news__grid { grid-template-columns: 1fr; }
}

/* ============================================
   23. 404 + CONTACT + HERO MOBIL-FÉRFI
   ============================================ */

/* --- 404 --- */
.error-404 { padding: 120px 0 150px; }
.error-404__code {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(80px, 14vw, 150px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  margin: 0 0 6px;
}

/* --- Contact kártyák --- */
.contact-cards { background: var(--white); padding: 80px 0 100px; text-align: center; }
.contact-cards__grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1120px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-card {
  background: var(--bg-light); border-radius: 16px; padding: 38px 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.1); }
.contact-card__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--dark); margin: 0 0 8px; }
.contact-card__value {
  display: inline-block; font-weight: 700; color: var(--red); margin-bottom: 10px;
  white-space: nowrap;                      /* soha nem törik */
  font-size: clamp(13px, 1.15vw, 16px);     /* szűkebb kártyán kisebb, hogy beférjen */
}
.contact-card__value:hover { text-decoration: underline; }
.contact-card__text { font-size: 14px; line-height: 1.7; color: var(--text); margin: 0; }

/* --- Hero mobil-férfi (desktopon rejtve) --- */
.hero__man-mobile { display: none; }

@media (max-width: 900px) {
  .contact-cards__grid { grid-template-columns: 1fr; max-width: 420px; }

  .hero__content { padding-bottom: 0; }
  .hero__man-mobile {
    display: block; width: 82%; max-width: 330px; height: auto;
    margin: 24px auto -122px;    /* a férfi alja belelóg a form alá */
    position: relative; z-index: 4;
  }
  .hero__wave, .hero .divider { z-index: 3; }
  .quote { margin-top: -50px; } /* a form ráúszik a férfi aljára */
}

/* ============================================
   24. JOIN THE TEAM
   ============================================ */
.join-why { background: var(--bg-light); padding: 70px 0 80px; }
.join-why__intro {
  max-width: 820px; margin: 0 auto 46px; text-align: center;
  font-size: 18px; line-height: 1.8; color: var(--text);
}

/* Kártyák – a Reliability kártyák világos változata */
.join-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1180px; margin: 0 auto 40px;
}
.join-card {
  background: var(--white); border: 1px solid #f0dede; border-radius: 16px;
  padding: 32px 26px; text-align: left;
  box-shadow: 0 -3.27px 39.9px rgba(0,0,0,.05);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.join-card__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: background .2s ease, color .2s ease;
}
.join-card__icon svg { width: 26px; height: 26px; }
.join-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--dark); margin: 0 0 10px; transition: color .2s ease; }
.join-card__text { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0; transition: color .2s ease; }

.join-card:hover {
  background: var(--red); border-color: transparent;
  transform: translateY(-4px); box-shadow: 0 20px 44px rgba(229,10,21,.3);
}
.join-card:hover .join-card__icon { background: var(--white); color: var(--red); }
.join-card:hover .join-card__title,
.join-card:hover .join-card__text { color: var(--white); }

/* Nyitott pozíciók */
.join-roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.join-roles__label { font-weight: 700; color: var(--dark); }
.join-roles__pill {
  background: var(--white); border: 2px solid var(--red); color: var(--red);
  font-weight: 600; font-size: 15px; padding: 8px 18px; border-radius: 999px;
}

/* Jelentkezési form */
.join-apply { background: var(--white); padding: 80px 0 100px; scroll-margin-top: 20px; }
.join-apply__box {
  max-width: 900px; margin: 0 auto;
  background: var(--white); border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,.12);
  padding: 50px clamp(24px, 4vw, 60px);
}

.jf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin-bottom: 24px; }
.jf-field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; color: var(--dark); }
.jf-field--full { grid-column: 1 / -1; }
.jf-field .wpcf7-form-control-wrap { display: block; }

.jf-field input[type="text"],
.jf-field input[type="tel"],
.jf-field input[type="email"],
.jf-field select,
.jf-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--dark);
  padding: 14px 20px; border: 1px solid #d9d9d9; border-radius: 14px;
  background: var(--white); outline: none; transition: border-color .15s ease;
}
.jf-field textarea { min-height: 130px; resize: vertical; }
.jf-field input:focus, .jf-field select:focus, .jf-field textarea:focus { border-color: var(--red); }

/* Yes/No – pill gombként */
.jf-field .wpcf7-radio { display: flex; gap: 10px; }
.jf-field .wpcf7-list-item { margin: 0; }
.jf-field .wpcf7-list-item label { cursor: pointer; }
.jf-field .wpcf7-list-item input { position: absolute; opacity: 0; }
.jf-field .wpcf7-list-item-label {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  border: 2px solid #d9d9d9; font-weight: 600; color: var(--dark);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.jf-field .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: var(--red); border-color: var(--red); color: var(--white); }
.jf-field .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label { border-color: var(--red); }

/* Fájlfeltöltés */
.jf-field input[type="file"] {
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  padding: 12px; border: 1px dashed #d9d9d9; border-radius: 14px; width: 100%;
}

.jf-small { text-align: center; font-size: 13px; color: #8a8a8a; margin: 14px 0 0; }

@media (max-width: 1024px) { .join-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .join-cards { grid-template-columns: 1fr; }
  .jf-grid { grid-template-columns: 1fr; }
}

/* ============================================
   25. SEO-CÍMSZERKEZET
   Az eyebrow-k lettek a H1/H2-k, a nagy címek <p>-k. Ezek a szabályok
   pontosan visszaadják a korábbi megjelenést:
   – a <p>-re váltott címek megkapják azt, amit eddig a h1–h4 alapszabály adott
     (:where → 0 specificitás, így a saját osztályuk minden értéke érvényes marad);
   – a <h2>-re váltott eyebrow a korábbi (örökölt) sormagasságot kapja.
   ============================================ */
:where(p.hero__title, p.section-title, p.about__title, p.faq__title, p.areas__title,
       p.quote__title, p.footer__cta-title, p.footer__col-title, p.svc-form-box__title) {
  margin-top: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}
h2.section-eyebrow { line-height: 1.7; }
/* A korábbi h2 nem kapta meg az „.about__content p” szabályt – a p-re váltott cím se kapja */
.about__content .about__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin: 0 0 20px; }

/* Footer: az Exterminet link pirossal */
.footer__credit a { color: var(--red); font-weight: 600; transition: color .15s ease; }
.footer__credit a:hover { color: var(--white); }

/* ============================================
   26. BLOGBEJEGYZÉS (single.php) + LISTA (home.php / index.php)
   Bal: kiemelt kép → meta + cím + bevezető → tartalomjegyzék → cikk → FAQ
   Jobb: csúszó form (mobilon a cikk alatt). Alul: kapcsolódó bejegyzések.
   A cikk tipográfiája a 21. blokk .svc-content__body szabályaiból jön,
   a kártyák a 22. blokk .post-card stílusát használják.
   ============================================ */
.tl-post { background: var(--white); padding: 110px 0 90px; }   /* a lelógó logó alatt kezdődik */
.tl-post__inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 48px; align-items: start;
}

.tl-post__featured { margin: 0 0 30px; border-radius: 16px; overflow: hidden; }
.tl-post__featured img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.tl-post__header { margin-bottom: 30px; }
.tl-post__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 12px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.tl-post__meta a { color: var(--red); }
.tl-post__title {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15;
  margin: 0 0 18px;
}
.tl-post__lead {
  margin: 0; padding-left: 14px; border-left: 4px solid var(--red);
  font-size: 19px; line-height: 1.6; font-weight: 600; color: var(--dark);
}

/* Tartalomjegyzék – natív <details>, JS nélkül */
.tl-toc { margin: 0 0 38px; background: var(--bg-light); border-radius: 16px; }
.tl-toc__title {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px;
  font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--dark);
}
.tl-toc__title::-webkit-details-marker { display: none; }
.tl-toc__title::after {
  content: ""; width: 0; height: 0; flex: 0 0 auto;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid var(--red);
  transition: transform .2s ease;
}
.tl-toc[open] .tl-toc__title::after { transform: rotate(180deg); }
.tl-toc__list { margin: 0; padding: 0 24px 20px 46px; }
.tl-toc__list li { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.tl-toc__list li::marker { color: var(--red); font-weight: 700; }
.tl-toc__list a { color: var(--dark); transition: color .15s ease; }
.tl-toc__list a:hover { color: var(--red); }

/* Horgonyra ugráskor a cím ne bújjon a (mobilon ragadó) header alá */
.tl-post__body h2 { scroll-margin-top: 120px; }

/* Csúszó form */
.tl-post__aside { position: sticky; top: 24px; scroll-margin-top: 90px; }

/* Mobil CTA a cikkben ([tl_cta]) – desktopon rejtve, mert ott a csúszó form látszik */
.tl-cta-inline { display: none; margin: 30px 0; text-align: center; }
.tl-cta-inline .btn { text-decoration: none; color: var(--white); }

/* Kapcsolódó bejegyzések + a News-rács fejléce */
.tl-related { background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-light) 75%, var(--white) 100%); }
.tl-related__head { text-align: center; }

@media (max-width: 992px) {
    .tl-post { padding: 60px 0 60px; }
  .tl-post__inner { grid-template-columns: 1fr; gap: 40px; }
  .tl-post__aside { position: static; }
  .tl-post__lead { font-size: 17px; }
  .tl-toc__title { padding: 16px 20px; font-size: 20px; }
  .tl-toc__list { padding: 0 20px 18px 40px; }
  .tl-cta-inline { display: block; }
}

/* ============================================
   27. WRITE FOR US – vendégcikk-szekció (template-parts/section-write-for-us.php)
   A blog-főoldalon a Reviews és a blog-rács között.
   ============================================ */
.tl-wfu { background: var(--bg-light); padding: 90px 0 100px; }

.tl-wfu__head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 70px; align-items: end; }
.tl-wfu__lead { margin: 0 0 14px; max-width: 660px; font-size: 17px; line-height: 1.75; color: var(--dark); }
.tl-wfu__text { margin: 0; max-width: 620px; font-size: 16px; line-height: 1.75; }

.tl-wfu__brief { margin: 0; border-top: 1px solid rgba(229,10,21,.25); }
.tl-wfu__brief-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid rgba(229,10,21,.25);
}
.tl-wfu__brief dt { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 32px; line-height: 1; color: var(--red); }
.tl-wfu__brief dd { margin: 0; text-align: right; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); }

/* Témakörök */
.tl-wfu__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 56px; }
.tl-wfu__topics-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); }
.tl-wfu__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tl-wfu__chips li {
  padding: 9px 20px; border: 1px solid rgba(229,10,21,.35); border-radius: 999px;
  background: var(--white); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--dark);
  transition: border-color .2s ease, color .2s ease;
}
.tl-wfu__chips li:hover { border-color: var(--red); color: var(--red); }
.tl-wfu__topics-more { font-size: 15px; font-style: italic; }

/* Elfogadjuk / nem fogadjuk el */
.tl-wfu__ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.tl-wfu__side { padding: 40px 40px 36px; border-radius: 18px; }
.tl-wfu__side--yes { background: var(--white); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.tl-wfu__side--no  { background: var(--dark); }
.tl-wfu__h3 { margin: 0 0 20px; font-size: 26px; line-height: 1.2; }
.tl-wfu__side--no .tl-wfu__h3 { color: var(--white); }
.tl-wfu__list { list-style: none; margin: 0; padding: 0; }
.tl-wfu__list li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 15px 0; border-top: 1px solid #eee;
  font-size: 16px; line-height: 1.6; color: var(--dark);
}
.tl-wfu__side--no .tl-wfu__list li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.tl-wfu__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); }
.tl-wfu__ico svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tl-wfu__side--no .tl-wfu__ico { background: transparent; border: 2px solid rgba(255,255,255,.35); }

/* Linkek */
.tl-wfu__links {
  margin-top: 28px; padding: 36px 40px;
  background: var(--white); border-left: 4px solid var(--red); border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
.tl-wfu__links .tl-wfu__h3 { margin-bottom: 10px; }
.tl-wfu__links p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.tl-wfu__note { margin: 0 !important; padding-top: 14px; border-top: 1px solid #eee; font-style: italic; }

/* Beküldés: lépések + form (sötét sáv) */
.tl-wfu__cta {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  margin-top: 56px; padding: 60px;
  border-radius: 22px; color: var(--white);
  background: linear-gradient(rgba(11,12,12,.82), rgba(11,12,12,.9)), url("assets/img/hatter.webp") center / cover no-repeat, var(--dark);
}
.tl-wfu__cta-title { margin: 0 0 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; text-transform: uppercase; color: var(--white); }
.tl-wfu__cta-title .accent { color: var(--red); }
.tl-wfu__cta-text { margin: 0 0 30px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.82); }

.tl-wfu__steps { list-style: none; margin: 0; padding: 0; }
.tl-wfu__steps li { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 18px; padding: 12px 0; }
.tl-wfu__steps li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 62px; bottom: -12px; width: 2px; background: rgba(255,255,255,.25); }
.tl-wfu__step-num {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--red); font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--white);
}
.tl-wfu__steps strong { display: block; margin: 2px 0; font-family: var(--font-heading); font-size: 20px; line-height: 1.3; color: var(--white); }
.tl-wfu__steps span:not(.tl-wfu__step-num) { display: block; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72); }

/* A form fehér kártyán, a Trendline form-mezőivel */
.tl-wfu__form { padding: 32px 28px; background: var(--white); border-radius: 22px; box-shadow: 0 25px 60px rgba(0,0,0,.3); }
.tl-wfu__form .qf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tl-wfu__form .qf-grid .qf-field { grid-column: auto; }
.tl-wfu__form .qf-grid .qf-field--full { grid-column: 1 / -1; }
.tl-wfu__form .qf-submit .wpcf7-submit { font-size: 18px; padding: 16px 30px; }
.qf-field textarea {
  display: block; width: 100%; min-height: 130px; margin: 0; resize: vertical;
  font-family: var(--font-body); font-size: 16px; color: var(--dark);
  padding: 16px 20px; border: 1px solid #d9d9d9; border-radius: 22px;
  background: var(--white); outline: none; transition: border-color .15s ease;
}
.qf-field textarea::placeholder { color: #9aa0a6; }
.qf-field textarea:focus { border-color: var(--red); }

@media (max-width: 1024px) {
  .tl-wfu__head { gap: 44px; }
  .tl-wfu__cta { gap: 40px; padding: 48px 40px; }
}
@media (max-width: 900px) {
  .tl-wfu { padding: 70px 0 80px; }
  .tl-wfu__head { grid-template-columns: 1fr; gap: 30px; }
  .tl-wfu__brief dt { font-size: 28px; }
  .tl-wfu__ledger { grid-template-columns: 1fr; gap: 20px; }
  .tl-wfu__side { padding: 30px 24px; }
  .tl-wfu__h3 { font-size: 22px; }
  .tl-wfu__links { padding: 28px 24px; }
  .tl-wfu__cta { grid-template-columns: 1fr; padding: 38px 22px; margin-top: 40px; }
  .tl-wfu__form { padding: 24px 18px; }
}
@media (max-width: 560px) {
  .tl-wfu__brief-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tl-wfu__brief dd { text-align: left; }
  .tl-wfu__form .qf-grid { grid-template-columns: 1fr; }
}
/* ============================================
   28. VENDÉGCIKK-FORM – FÁJLFELTÖLTÉS
   ============================================ */
.qf-file-label {
  display: block; margin: 0 0 8px; padding-left: 4px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--dark);
}
.qf-file-label span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: #8a8a8a; }
.qf-field input[type="file"] {
  padding: 10px; cursor: pointer;
  border: 1px dashed #d9d9d9; border-radius: 22px;
  font-size: 14px; color: var(--text);
}
.qf-field input[type="file"]:hover,
.qf-field input[type="file"]:focus { border-color: var(--red); }
.qf-field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 10px 20px; cursor: pointer;
  border: 0; border-radius: 999px; background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  transition: opacity .15s ease;
}
.qf-field input[type="file"]::file-selector-button:hover { opacity: .9; }
/* ============================================
   29. TARTALOM-TIPOGRÁFIA (Red Point-minta, Trendline-színekkel)
   Aloldalak egyedi tartalma + blogbejegyzések (.svc-content__body):
   tágabb sorköz, tagolt H2/H3, piros pipás felsorolás, számozott lépések,
   kártyás FAQ. A 21. blokk tipográfiai szabályait írja felül – ide, a fájl
   VÉGÉRE kerüljön.
   ============================================ */
.svc-content__body {
  font-family: var(--font-body); font-size: 17px; line-height: 30px;
  color: #2b2b2b;
}
.svc-content__body > *:first-child { margin-top: 0; }

.svc-content__body h2 {
  margin: 50px 0 18px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 34px; line-height: 1.2; color: var(--dark);
}
.svc-content__body h3 {
  margin: 32px 0 12px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 24px; line-height: 1.3; color: var(--dark);
}
.svc-content__body p { margin: 0 0 20px; }
.svc-content__body strong { font-weight: 700; color: var(--dark); }
.svc-content__body a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.svc-content__body a:not(.btn):hover { color: var(--dark); }

/* Felsorolás – piros körben fehér pipa */
.svc-content__body ul { list-style: none; margin: 0 0 26px; padding: 0; }
.svc-content__body ul li { position: relative; margin-bottom: 12px; padding-left: 38px; }
.svc-content__body ul li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 13px no-repeat;
}

/* Számozott lista – lépések piros körös sorszámmal, összekötő vonallal */
.svc-content__body ol { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: tl-step; }
.svc-content__body ol li {
  position: relative; counter-increment: tl-step;
  margin: 0; padding: 2px 0 18px 52px; min-height: 34px;
}
.svc-content__body ol li::before {
  content: counter(tl-step);
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white);
  font-family: var(--font-heading); font-size: 16px; font-weight: 700; line-height: 1;
}
.svc-content__body ol li:not(:last-child)::after {
  content: ""; position: absolute; left: 16px; top: 38px; bottom: 2px;
  width: 2px; background: rgba(229,10,21,.22);
}

/* Egyedi FAQ – kártyák a fehér oldalon */
.svc-faq { margin-top: 56px; }
.svc-content__body .svc-faq__title,
.svc-faq__title { margin: 0 0 22px; font-size: 34px; line-height: 1.2; }
.faq__list--light { display: flex; flex-direction: column; gap: 12px; }
.faq__list--light .faq-item,
.faq__list--light .faq-item:first-child {
  border: 1px solid #ececec; border-radius: 16px;
  background: var(--white); padding: 0 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: border-color .2s ease, background-color .2s ease;
}
.faq__list--light .faq-item[open] { border-color: rgba(229,10,21,.35); background: var(--bg-light); }
.faq__list--light .faq-item__q { padding: 20px 0; font-size: 19px; line-height: 1.35; color: var(--dark); }
.faq__list--light .faq-item__a p { padding: 0 0 20px; font-size: 16px; line-height: 1.75; color: var(--text); }
/* a cikkbe tett FAQ-ban a felsorolás-szabályok ne érvényesüljenek */
.svc-content__body .faq-item__a p { margin: 0; }

@media (max-width: 900px) {
  .svc-content__body { font-size: 16px; line-height: 28px; }
  .svc-content__body h2 { margin-top: 40px; font-size: 27px; }
  .svc-content__body h3 { font-size: 21px; }
  .svc-content__body .svc-faq__title,
  .svc-faq__title { font-size: 27px; }
  .faq__list--light .faq-item,
  .faq__list--light .faq-item:first-child { padding: 0 18px; }
  .faq__list--light .faq-item__q { font-size: 17px; }
}

/* ============================================
   30. SCROLL TO TOP
   ============================================ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: grid; place-items: center;
  width: 54px; height: 54px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--red); color: var(--white);
  box-shadow: 0 6px 16px rgba(229,10,21,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, visibility .25s ease, transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover,
.to-top:focus-visible { background: var(--red-dark); box-shadow: 0 8px 20px rgba(229,10,21,.3); transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }
@media (max-width: 900px) {
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .to-top svg { width: 20px; height: 20px; }
}

.footer__logo-link { display: inline-block; transition: opacity .2s ease; }
.footer__logo-link:hover { opacity: .85; }