/* ==========================================================================
   JURSA – malířství / lakýrnictví / rekonstrukce
   Light, airy, colorful, professional
   ========================================================================== */

/* --------------------------------------------------------------------------
   0) Project palette
   -------------------------------------------------------------------------- */

:root {
  --project: #f08a24;
  --project-1: #d82f8b;
  --project-2: #2f9be7;
  --project-3: #63b946;
  --project-4: #f6c431;

  --accent-orange: #f08a24;
  --accent-pink: #d82f8b;
  --accent-blue: #2f9be7;
  --accent-green: #63b946;
  --accent-yellow: #f6c431;
  --accent-purple: #8c3bd9;

  --bg-body: #fffaf3;
  --bg-soft: #fff6ec;
  --bg-card: rgba(255,255,255,.88);

  --text-body: #221f20;
  --text-muted: #6f6862;
  --border-base: rgba(34,31,32,.10);

  --shadow-soft: 0 18px 55px rgba(88,64,37,.10);
  --shadow-card: 0 16px 45px rgba(88,64,37,.12);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --header-height: 92px;
}

/* Restore Bootstrap-like containers after default theme */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bs-gutter-x, .75rem);
  padding-right: var(--bs-gutter-x, .75rem);
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}
/* --------------------------------------------------------------------------
   1) Base
   -------------------------------------------------------------------------- */

html,
body {
  background: var(--bg-body);
  color: var(--text-body);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:hover {
  color: var(--project);
}

img {
  max-width: 100%;
}

.text-muted {
  color: var(--text-muted) !important;
}

h1,
h2,
h3,
h4 {
  color: var(--text-body);
  letter-spacing: -0.035em;
}

.section,
.home-section {
  position: relative;
  padding: 5.5rem 0;
}

.section--soft,
.home-section--soft {
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(216,47,139,.06), transparent 62%),
    radial-gradient(900px 420px at 88% 12%, rgba(240,138,36,.08), transparent 62%),
    var(--bg-soft);
}

/* --------------------------------------------------------------------------
   2) Header / navigation
   -------------------------------------------------------------------------- */

#site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: transparent;
  border: 0;
}

.site-nav,
#site-header .navbar {
  min-height: var(--header-height);
  background: transparent !important;
}

.navbar-brand img {
  max-height: 62px;
  width: auto;
}

.nav-link {
  position: relative;
  color: var(--text-body) !important;
  font-weight: 700;
  font-size: .95rem;
  padding-inline: .85rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--text-body) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink), var(--accent-blue));
}

.navbar-toggler {
  border-color: rgba(34,31,32,.16);
  background: rgba(255,255,255,.72);
  border-radius: 14px;
}

.header-phone {
  font-weight: 700;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   3) Buttons
   -------------------------------------------------------------------------- */

.btn {
  border-radius: 999px;
  font-weight: 800;
}

.btn-project,
.bg-project {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange)) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(216,47,139,.22);
}

.btn-project:hover,
.bg-project:hover {
  color: #fff !important;
  filter: brightness(.97);
  transform: translateY(-1px);
}

.hero-btn-light,
.btn-outline-secondary {
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(34,31,32,.14) !important;
  color: var(--text-body) !important;
  box-shadow: none;
}

.hero-btn-light:hover,
.btn-outline-secondary:hover {
  background: #fff !important;
  color: var(--text-body) !important;
}

/* --------------------------------------------------------------------------
   4) Hero
   -------------------------------------------------------------------------- */

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--bg-body);
  border-bottom: 1px solid rgba(34,31,32,.06);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider .hero-slide {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  animation: heroFade 18s infinite;
  will-change: opacity;
}

.hero-slider .slide-1 { animation-delay: 0s; }
.hero-slider .slide-2 { animation-delay: 6s; }
.hero-slider .slide-3 { animation-delay: 12s; }

.hero-slider .slide-1 {
  opacity: 1;
}

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  30%  { opacity: 1; }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,250,243,.82) 0%,
      rgba(255,250,243,.66) 32%,
      rgba(255,250,243,.32) 56%,
      rgba(255,250,243,.08) 73%,
      rgba(255,250,243,0) 86%
    ),
    radial-gradient(
      760px 520px at 8% 24%,
      rgba(255,255,255,.72),
      transparent 66%
    );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-content .container {
  width: 100%;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 5rem);
  padding-right: clamp(1.25rem, 3.5vw, 5rem);
}

.hero-content .row {
  --bs-gutter-x: 0;
}

.hero-copy {
  max-width: min(760px, 100%);
  padding-right: 0;
  transform: none !important;
}

.hero-title {
  max-width: 10ch;
  overflow-wrap: normal;
  margin: 0;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.hero-title span {
  display: block;
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--accent-orange),
    var(--accent-pink),
    var(--accent-blue),
    var(--accent-green)
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text {
  max-width: 42rem;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-btn-main,
.hero-btn-light {
  min-height: 58px;
  padding-inline: 1.45rem;
}

/* Hero features */

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 28px;
  max-width: 740px;
  margin-top: 2.2rem;
}

.hero-features > span {
  --feature-color: var(--text-muted);

  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--feature-color);
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 600;
}

/* barvy jednotlivých benefitů */
.hero-features > span:nth-child(1) { --feature-color: var(--accent-purple); }
.hero-features > span:nth-child(2) { --feature-color: var(--accent-blue); }
.hero-features > span:nth-child(3) { --feature-color: var(--accent-orange); }
.hero-features > span:nth-child(4) { --feature-color: var(--accent-blue); }

.hero-feature-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--feature-color);
  flex: 0 0 auto;
}

.hero-feature-icon svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature-text {
  display: block;
  color: var(--feature-color);
}

.hero-features strong {
  display: block;
  color: var(--text-body);
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: .15rem;
}

/* mobile */

@media (max-width: 991.98px) {
  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-top: 1.6rem;
  }

  .hero-features > span {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    font-size: .8rem;
  }

  .hero-feature-icon {
    width: 28px;
    height: 28px;
  }

  .hero-feature-icon svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 575.98px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* Brush overlay */

.hero-brush {
  position: absolute;
  z-index: 4;
  right: -2vw;
  top: 0;
  width: min(34vw, 520px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   5) Homepage services
   -------------------------------------------------------------------------- */

.home-services {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(820px 360px at 12% 18%, rgba(216,47,139,.045), transparent 62%),
    radial-gradient(720px 340px at 86% 0%, rgba(240,138,36,.06), transparent 62%),
    var(--bg-body);
}

#site-header  > .container, #site-footer .footer-cta  > .container, #site-footer .footer-bottom  > .container, .home-services  > .container {
  max-width: 1320px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 4rem;
  align-items: start;
}

.services-intro {
  padding-top: .6rem;
}

.section-kicker,
.kicker {
  color: var(--accent-pink);
  font-size: .95rem;
  font-weight: 800;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: .45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-orange));
}

.services-intro .section-kicker {
  margin: 0 0 .85rem;
}

.services-intro h2 {
  margin: 0 0 1.45rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.services-intro p {
  max-width: 280px;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.services-intro .btn {
  min-height: 54px;
  padding: .85rem 1.35rem;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  --service-color: var(--accent-orange);

  position: relative;
  min-height: 300px;
  padding: 2.1rem 1.65rem 1.55rem;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(34,31,32,.065);
  box-shadow: 0 18px 50px rgba(88,64,37,.095);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(88,64,37,.14);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--service-color);
}

.service-icon {
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--service-color);
  font-size: 3rem;
  line-height: 1;
  font-weight: 300;
}

.service-card h3 {
  margin: 0 0 .8rem;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0 0 1.7rem;
  color: #4d4844;
  font-size: .95rem;
  line-height: 1.65;
}

.service-card a {
  position: absolute;
  left: 1.65rem;
  bottom: 1.55rem;
  color: var(--text-body);
  font-size: .9rem;
  font-weight: 800;
}

.service-card a:hover {
  color: var(--service-color);
}

.service-card--violet { --service-color: var(--accent-purple); }
.service-card--blue   { --service-color: var(--accent-blue); }
.service-card--green  { --service-color: var(--accent-green); }
.service-card--orange { --service-color: #f05a28; }

/* Benefits strip */

.services-layout,
.services-benefits {
  width: 100%;
}

.services-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 2.4rem;
  border-radius: 10px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 16px 50px rgba(88,64,37,.055);
  border: 1px solid rgba(34,31,32,.045);
}

.benefit {
  --benefit-color: var(--accent-orange);

  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .9rem;
  align-items: start;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  color: var(--benefit-color);
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}

.benefit strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--text-body);
  font-size: .98rem;
  font-weight: 900;
}

.benefit span {
  display: block;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.benefit--violet { --benefit-color: var(--accent-purple); }
.benefit--blue   { --benefit-color: var(--accent-blue); }
.benefit--green  { --benefit-color: var(--accent-green); }
.benefit--orange { --benefit-color: var(--accent-orange); }

/* --------------------------------------------------------------------------
   6) Section titles / common cards
   -------------------------------------------------------------------------- */
/*
.card,
.feature-tile {
  border: 1px solid rgba(34,31,32,.08);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.feature-tile {
  padding: 1.15rem 1.25rem;
}

.feature-tile .title {
  font-weight: 900;
}

.feature-tile .title::before {
  content: "";
  display: inline-block;
  width: .7em;
  height: .7em;
  margin-right: .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  box-shadow: 0 0 0 5px rgba(240,138,36,.12);
}
*/
.h2-underline,
.section-title {
  position: relative;
  display: inline-block;
}

.h2-underline::after,
.section-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent-pink),
    var(--accent-orange),
    var(--accent-yellow),
    var(--accent-green),
    var(--accent-blue)
  );
}

/* --------------------------------------------------------------------------
   7) Gallery / realizace
   -------------------------------------------------------------------------- */

.gallery-card,
.realization-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.gallery-card img,
.realization-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card::after,
.realization-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 8px;
  border-radius: 0 999px 0 0;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-orange));
}

/* --------------------------------------------------------------------------
   8) CTA / contact panels
   -------------------------------------------------------------------------- */

.cta-band,
.contact-panel {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 260px at 12% 16%, rgba(216,47,139,.08), transparent 62%),
    radial-gradient(620px 280px at 90% 12%, rgba(240,138,36,.10), transparent 62%),
    rgba(255,255,255,.82);
  border: 1px solid rgba(34,31,32,.08);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   9) Footer / bottom CTA
   -------------------------------------------------------------------------- */
   
   .site-footer-jursa {
     position: relative;
     background:
       radial-gradient(720px 300px at 0% 70%, rgba(47,155,231,.10), transparent 62%),
       radial-gradient(720px 300px at 100% 10%, rgba(240,138,36,.10), transparent 62%),
       var(--bg-body);
     color: var(--text-body);
     border-top: 1px solid rgba(34,31,32,.06);
     overflow: hidden;
   }
   
   /* jemné barevné šmouhy po stranách */
   .site-footer-jursa::before,
   .site-footer-jursa::after {
     content: "";
     position: absolute;
     width: 240px;
     height: 420px;
     pointer-events: none;
     opacity: .28;
     background-repeat: no-repeat;
     background-size: contain;
     z-index: 0;
   }
   
   .site-footer-jursa::before {
     left: -120px;
     bottom: 40px;
     background:
       linear-gradient(135deg, transparent 25%, rgba(47,155,231,.22), rgba(140,59,217,.18), transparent 70%);
     transform: rotate(-12deg);
   }
   
   .site-footer-jursa::after {
     right: -90px;
     top: 10px;
     background:
       linear-gradient(135deg, transparent 18%, rgba(240,138,36,.25), rgba(216,47,139,.16), transparent 72%);
     transform: rotate(14deg);
   }
   
   .footer-cta,
   .footer-bottom {
     position: relative;
     z-index: 1;
   }
   
   .footer-cta {
     padding: 4.5rem 0 2.25rem;
   }
   
   .footer-cta-grid {
     display: grid;
     grid-template-columns: 1fr 1.35fr .95fr;
     gap: 2.4rem;
     align-items: stretch;
   }
   
   .footer-card {
     min-height: 220px;
   }
   
   .footer-card h2 {
     margin: 0 0 1rem;
     font-size: 1.35rem;
     font-weight: 900;
     letter-spacing: -0.035em;
   }
   
   .footer-about h2 {
     color: var(--accent-orange);
   }
   
   .footer-colors h2 {
     color: var(--accent-purple);
   }
   
   .footer-card p {
     max-width: 360px;
     margin: 0 0 1.35rem;
     color: var(--text-muted);
     font-size: .98rem;
     line-height: 1.7;
   }
   
   .footer-link-btn {
     display: inline-flex;
     align-items: center;
     gap: .45rem;
     min-height: 46px;
     padding: .65rem 1.1rem;
     border-radius: 999px;
     border: 1px solid rgba(34,31,32,.16);
     background: rgba(255,255,255,.72);
     color: var(--text-body);
     font-size: .92rem;
     font-weight: 800;
   }
   
   .footer-link-btn:hover {
     background: #fff;
     color: var(--accent-orange);
   }
   
   /* prostřední blok */
   
   .footer-colors {
     display: grid;
     grid-template-columns: minmax(220px, .9fr) 1fr;
     gap: 1.6rem;
     align-items: center;
     padding-left: 2rem;
     border-left: 1px solid rgba(34,31,32,.08);
     border-right: 1px solid rgba(34,31,32,.08);
   }
   
   .footer-colors img {
     width: 100%;
     max-width: 420px;
     justify-self: center;
     filter: drop-shadow(0 20px 35px rgba(88,64,37,.12));
   }
   
   /* kontakt */
   
   .footer-contact ul {
     display: grid;
     gap: .85rem;
     margin: 0 0 1.45rem;
     padding: 0;
     list-style: none;
   }
   
   .footer-contact li {
     display: grid;
     grid-template-columns: 26px 1fr;
     gap: .6rem;
     align-items: start;
     color: var(--text-body);
     font-size: .95rem;
   }
   
   .footer-contact li > span:first-child {
     color: var(--text-body);
     opacity: .82;
   }
   
   .footer-contact a:hover {
     color: var(--accent-orange);
   }
   
   .footer-main-btn {
     min-height: 54px;
     padding-inline: 1.25rem;
   }
   
   /* spodní patička */
   
   .footer-bottom {
     padding: 1.45rem 0 2rem;
     background: rgba(255,255,255,.58);
     border-top: 1px solid rgba(34,31,32,.06);
   }
   
   .footer-bottom-grid {
     display: grid;
     grid-template-columns: 180px 1fr auto;
     gap: 2rem;
     align-items: center;
   }
   
   .footer-logo img {
     max-width: 148px;
     height: auto;
     display: block;
   }
   
   .footer-nav {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 1.7rem;
   }
   
   .footer-nav a {
     font-size: .9rem;
     font-weight: 800;
     color: var(--text-body);
   }
   
   .footer-nav a:hover {
     color: var(--accent-orange);
   }
   
   .footer-socials {
     display: flex;
     gap: .75rem;
     align-items: center;
   }
   
   .footer-socials a {
     display: grid;
     place-items: center;
     width: 38px;
     height: 38px;
     border-radius: 999px;
     background: var(--bg-card);
     color: #fff;
     font-size: 1.1rem;
     font-weight: 900;
   }
   
   .footer-socials a:hover {
     background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
     color: #fff;
   }
   
   .footer-copy {
     margin: .75rem 0 0;
     text-align: center;
     color: var(--text-muted);
     font-size: .85rem;
   }
   
   /* responsive */
   
   @media (max-width: 1199.98px) {
     .footer-cta-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
     }
   
     .footer-colors {
       padding-left: 0;
       border-left: 0;
       border-right: 0;
       grid-template-columns: 1fr 1fr;
     }
   }
   
   @media (max-width: 767.98px) {
     .footer-cta {
       padding: 3.25rem 0 1.75rem;
     }
   
     .footer-colors {
       grid-template-columns: 1fr;
     }
   
     .footer-colors img {
       max-width: 320px;
       justify-self: start;
     }
   
     .footer-bottom-grid {
       grid-template-columns: 1fr;
       text-align: center;
       gap: 1.25rem;
     }
   
     .footer-logo img {
       margin-inline: auto;
     }
   
     .footer-nav {
       gap: 1rem 1.25rem;
     }
   
     .footer-socials {
       justify-content: center;
     }
   }
   
/* --------------------------------------------------------------------------
   10) CMS content
   -------------------------------------------------------------------------- */

.cms-content {
  max-width: 780px;
  line-height: 1.7;
  color: var(--text-body);
}

.cms-content > * + * {
  margin-top: 1.2em;
}

.cms-content h2,
.cms-content h3 {
  margin-top: 1.8em;
  font-weight: 900;
}

.cms-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.cms-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   11) Responsive
   -------------------------------------------------------------------------- */
   @media (min-width: 1200px) {
     .container {
       max-width: 1140px;
     }
   }
   @media (min-width: 1400px) 
     .container {
       max-width: 1320px;
     }
   }


/* posun textového bloku výrazně doleva jen na větším desktopu */
   @media (min-width: 1200px) {
     .hero-copy {
       transform: none;
     }
   }
   @media (min-width: 1600px) {
     .hero-copy {
       transform: none;
     }
   }
   /* na menších displejích bez násilného posunu */
   @media (max-width: 1199.98px) {
     .hero-copy {
       transform: none;
     }
   }

@media (max-width: 1199.98px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-intro {
    max-width: 640px;
  }

  .services-intro p {
    max-width: 520px;
  }

  .services-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 82px;
  }

  #site-header {
    background: rgba(255,250,243,.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(34,31,32,.06);
  }

  .navbar-brand img {
    max-height: 52px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-stage {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero-slider {
    position: relative;
    height: clamp(360px, 74vw, 560px);
  }

  .hero-content {
    position: relative;
    inset: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
    background: var(--bg-body);
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(255,250,243,.18) 0%,
        rgba(255,250,243,.36) 72%,
        rgba(255,250,243,.92) 100%
      );
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
    line-height: .96;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-top: 1.6rem;
  }

  .hero-features span {
    padding-left: 38px;
    font-size: .8rem;
  }

  .hero-features span::before {
    width: 28px;
    height: 28px;
  }

  .hero-brush {
    width: 52vw;
    right: -14vw;
    top: 70px;
  }

  .section,
  .home-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .home-services {
    padding: 3.5rem 0;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .services-benefits {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   12) Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .hero-slider .hero-slide {
    animation: none;
    opacity: 0;
  }

  .hero-slider .slide-1 {
    opacity: 1;
  }

  .service-card {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   13) Cookie/preferences button
   -------------------------------------------------------------------------- */

#open_preferences_center {
  position: fixed;
  right: 0;
  bottom: 75px;
  z-index: 1001;
  width: 70px;
  height: 62px;
  padding-top: 2px;
  border-radius: 30px 0 0 30px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  box-shadow: 0 10px 30px rgba(216,47,139,.24);
}

#open_preferences_center:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: #fff;
}