/* Home service cards recovered from the original Checho concept */
.hero .hero-visual {
  background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 13, 0.72)), url("../img/hero/hero-logo-focus.jpg") center / cover no-repeat;
  background-color: #06080c;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 145;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 9px;
  color: #fff;
  background: #20b85a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.38), 0 8px 28px rgba(32, 184, 90, 0.3);
  transition: transform 180ms ease, background-color 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #159c49;
  transform: translateY(-4px);
}

.whatsapp-float strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #fff;
  color: #148c41;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.whatsapp-float strong img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.whatsapp-float span {
  display: grid;
  gap: 1px;
}

.whatsapp-float small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.76;
}

.whatsapp-float b {
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.category-strip a[data-category="cascos"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://dainese-cdn.thron.com/delivery/public/image/dainese/5f388d9a-72e3-4db8-bf68-eff852873b9c/8mi7mf/std/600x760/ridingstyle_agv_600x760_2024_urban?format=webp&quality=auto-medium");
}

.category-strip a[data-category="protecciones"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://static.ls2helmets.com/gallery/fortress-knee-protector/4C8401-8FE6F2-1725607649.jpg");
}

.category-strip a[data-category="repuestos"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://www.pontgrup.com/wp-content/uploads/2018/03/cadena-moto.jpg");
}

.category-strip a[data-category="accesorios"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://images.unsplash.com/photo-1552642824-17148a69ac2c?auto=format&fit=crop&w=900&q=80");
}

.category-strip a[data-category="llantas"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://www.revistaautocrash.com/wp-content/uploads/2019/05/Bridgestone_Battlax_A41-e1557354416361.jpg");
}

.category-strip a[data-category="lubricantes"]::before {
  background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9)), url("https://djrracing.com/wp-content/uploads/2025/08/SAE103OTPNG.png");
  background-color: #f1f3f7;
}

.home-services {
  position: relative;
  z-index: 2;
  padding: 34px 0 46px;
  background: #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-services-head h2 {
  margin: 5px 0 0;
  max-width: 760px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.service-poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-poster {
  position: relative;
  min-height: 154px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(145deg, #171c27, #0d1016);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-poster::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  background: #315cff;
  border-radius: 50%;
  opacity: 0.13;
  transition: transform 180ms ease, opacity 180ms ease;
}

.service-poster:hover,
.service-poster:focus-visible {
  transform: translateY(-4px);
  border-color: #315cff;
  background: linear-gradient(145deg, #1a2130, #0d1016);
}

.service-poster:hover::after,
.service-poster:focus-visible::after {
  transform: scale(1.35);
  opacity: 0.28;
}

.service-poster > span {
  display: block;
  margin-bottom: 26px;
  color: #7692ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-poster strong,
.service-poster small {
  position: relative;
  z-index: 1;
  display: block;
}

.service-poster strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.service-poster small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Enduro-led About page */
.enduro-hero {
  position: relative;
  background-image: linear-gradient(90deg, rgba(4, 6, 10, 0.96) 0%, rgba(4, 6, 10, 0.77) 45%, rgba(4, 6, 10, 0.2) 78%), url("../img/enduro/enduro-cultura-banner.jpg");
  background-position: center 42%;
  background-size: cover;
}

.enduro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 9, 13, 0.72), transparent 38%);
}

.enduro-hero .page-hero-grid {
  position: relative;
  z-index: 1;
}

.enduro-hero .page-hero-grid > div:first-child {
  max-width: 760px;
}

.enduro-hero h1 {
  max-width: 720px;
}

.enduro-hero p:not(.eyebrow) {
  max-width: 670px;
}

.culture-intro {
  padding-bottom: 48px;
}

.culture-intro .about-grid {
  gap: clamp(38px, 7vw, 100px);
}

.culture-intro .about-grid h2 {
  max-width: 640px;
}

.culture-intro .about-grid p + p {
  margin-top: 16px;
}

.enduro-banner-section {
  padding: 0;
  background: #0b0e14;
}

.enduro-banner-section > .container {
  width: 100%;
  max-width: none;
}

.enduro-banner {
  position: relative;
  display: flex;
  min-height: clamp(430px, 57vw, 650px);
  align-items: end;
  overflow: hidden;
  background: #15171b url("../img/hero/hero-opcion-1-servicios.png") center / cover no-repeat;
}

.enduro-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 8, 0.88) 0%, rgba(4, 6, 8, 0.48) 47%, rgba(4, 6, 8, 0.04) 78%), linear-gradient(0deg, rgba(4, 6, 8, 0.7), transparent 55%);
}

.enduro-banner-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 74%);
  padding: clamp(32px, 6vw, 72px);
  color: #fff;
}

.enduro-banner-copy h2 {
  margin: 8px 0 14px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 6.3rem);
  font-weight: 400;
  line-height: 0.84;
}

.enduro-banner-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.enduro-banner-copy .btn {
  margin-top: 24px;
}

.photo-credit {
  display: inline-block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
}

.photo-credit a {
  color: inherit;
}

.culture-values {
  padding: clamp(72px, 9vw, 120px) 0;
  background: #0b0e14;
}

.culture-values .section-head h2 {
  color: #fff;
}

.culture-values .section-head > p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.6);
}

.culture-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.culture-card {
  padding: clamp(26px, 4vw, 42px);
  background: #111620;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.culture-card span {
  color: #7692ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.culture-card h3 {
  margin: 42px 0 12px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
}

.culture-card p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.local-seo {
  padding: clamp(76px, 10vw, 130px) 0;
  background: #315cff;
  color: #fff;
}

.local-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.local-seo h2 {
  margin: 8px 0 20px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 400;
  line-height: 0.88;
}

.local-seo p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.83);
  line-height: 1.75;
}

.local-seo-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.local-seo-actions .btn {
  justify-content: space-between;
}

@media (max-width: 900px) {
  .service-poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .culture-card-grid {
    grid-template-columns: 1fr;
  }

  .culture-card h3 {
    margin-top: 24px;
  }

  .local-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    display: none;
  }

  .whatsapp-float strong {
    width: 40px;
    height: 40px;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .home-services {
    padding: 28px 0 36px;
  }

  .home-services-head {
    display: block;
  }

  .home-services-head .text-link {
    display: inline-block;
    margin-top: 16px;
  }

  .service-poster-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-poster {
    min-height: 132px;
    padding: 18px;
  }

  .service-poster > span {
    margin-bottom: 20px;
  }

  .enduro-hero {
    background-position: 61% center;
  }

  .enduro-banner {
    min-height: 520px;
    background-position: 58% center;
  }

  .enduro-banner::before {
    background: linear-gradient(0deg, rgba(4, 6, 8, 0.94) 0%, rgba(4, 6, 8, 0.58) 58%, rgba(4, 6, 8, 0.12) 100%);
  }

  .enduro-banner-copy {
    width: 100%;
    padding: 28px;
  }

  .enduro-banner-copy h2 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }
}
