:root {
  --navy: #285aa2;
  --navy-dark: #1a3d72;
  --navy-deeper: #0d1f47;
  --orange: #f07d00;
  --silver: #bdbec0;
  --white: #fff;
  --bg: #f8f9fc;
  --text: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f9fbff 0%, #f4f8fc 100%);
  background-attachment: fixed;
  color: #0d1a2e;
  overflow-x: hidden; /* solo en body */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.08) }
}

@keyframes float {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-10px) }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -20px, 0) scale(1.05);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: .8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-120%) rotate(12deg);
  }
  100% {
    transform: translateX(220%) rotate(12deg);
  }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5) }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0) }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.delay-15 { transition-delay: .15s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .85);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: .3px;
}

.topbar b {
  color: var(--orange);
  font-weight: 700;
}

nav {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  border-bottom: 1px solid rgba(40, 90, 162, .08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(40, 90, 162, .06);
  transition: all .3s;
  gap: 16px;
}

nav.scrolled {
  height: 60px;
  box-shadow: 0 4px 30px rgba(40, 90, 162, .12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo img {
  height: 46px;
  object-fit: contain;
  transition: .3s;
}

nav.scrolled .nav-logo img {
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  color: #4a5568;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: .2s;
  text-transform: uppercase;
  letter-spacing: .6px;
  text-decoration: none;
  display: block;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(40, 90, 162, .06);
}

.nav-links a.nav-current {
  color: var(--navy);
  background: rgba(40, 90, 162, .1);
  position: relative;
}

.nav-links a.nav-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--navy);
  border-radius: 99px;
  animation: navCurrentIn .35s cubic-bezier(.23,1,.32,1) both;
}

@keyframes navCurrentIn {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

@keyframes navCurrentInV {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: rgba(40, 90, 162, .08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 99px;
  transition: .25s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn-cta {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  nav {
    padding: 0 5%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Panel flotante con fondo propio: evita el bug de sticky+altura dinámica
     que pintaba el menú encima del hero en vez de empujarlo */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 5% 20px;
    background: #fff;
    border-top: 1px solid rgba(40, 90, 162, .08);
    box-shadow: 0 16px 32px rgba(13, 31, 71, .14);
    max-height: calc(100svh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 8px;
  }

  .nav-links a.nav-current {
    padding-left: 17px;
  }

  .nav-links a.nav-current::after {
    content: none;
  }

  .nav-links a.nav-current::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    background: var(--navy);
    border-radius: 99px;
    animation: navCurrentInV .3s cubic-bezier(.23,1,.32,1) both;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--navy-deeper);
  padding: 120px 5% 80px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-left-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-left-glow {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(40, 90, 162, .3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInLeft .8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40, 90, 162, .25);
  border: 1px solid rgba(40, 90, 162, .5);
  color: #90b8e8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #90b8e8;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 82px;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 .l1 {
  color: #fff;
  display: block;
  animation: fadeInUp .6s .1s ease both;
}

.hero h1 .l2 {
  color: rgba(255, 255, 255, .15);
  display: block;
  animation: fadeInUp .6s .2s ease both;
}

.hero h1 .l3 {
  color: var(--navy);
  display: block;
  animation: fadeInUp .6s .3s ease both;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
  font-weight: 300;
  animation: fadeInUp .6s .4s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 52px;
  animation: fadeInUp .6s .5s ease both;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 90, 162, .35);
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, .7);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.btn-wa-outline {
  color: #25d366;
  border-color: rgba(37,211,102,.5);
}

.btn-wa-outline:hover {
  color: #fff;
  background: #25d366;
  border-color: #25d366;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 32px;
  animation: fadeInUp .6s .6s ease both;
}

.hstat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.hstat:first-child { padding-left: 0; }
.hstat:last-child { border-right: none; }

.hstat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.hstat-num span { color: #90b8e8; }

.hstat-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right-img {
  position: absolute;
  inset: 0;
}

.hero-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-deeper) 0%, transparent 40%);
}

.hero-right-overlay2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 71, .8) 0%, transparent 50%);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .25);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(rgba(255, 255, 255, .3), transparent);
  animation: float 2s ease-in-out infinite;
}

.brands {
  background: var(--navy-dark);
  padding: 22px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brands-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.brand-chip {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 24px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: .3s;
}

.brand-chip:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transform: translateY(-2px);
}

.sec-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}

.cats-header-eyebrow { justify-content: center; }

.tray-img-placeholder {
  background: #f0f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tray-img-placeholder-icon {
  font-size: 48px;
  color: var(--navy);
  opacity: .3;
}

.badge-navy { background: var(--navy); }
.badge-green { background: #1a6b38; }

.map-frame { border: 0; }

.footer-logo-img { filter: brightness(0) invert(1); }

.tray {
  padding: 110px 6%;
  background: #fff;
}

.tray-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.tray h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: .95;
  margin-bottom: 18px;
}

.tray p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 300;
}

.tray-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 480px;
}

.tray-img {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.tray-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.tray-img:hover img { transform: scale(1.04); }

.tray-img.main { grid-row: span 2; }

.tray-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 31, 71, .8));
  padding: 20px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
}

.cats {
  background: var(--bg);
  padding: 110px 6%;
}

.cats-header { text-align: center; margin-bottom: 60px; }

.cats-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 12px;
}

.cats-header p {
  font-size: 15px;
  color: #6b7280;
  font-weight: 300;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.cat-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(40, 90, 162, .08);
  transition: .3s;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(40, 90, 162, .12);
  border-color: rgba(40, 90, 162, .2);
}

.cat-card-img {
  height: 230px;
  background: var(--navy-deeper);
  overflow: hidden;
  position: relative;
}

.cat-card-img::before {
  content: '';
  position: absolute;
  inset: -12px;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(.5) saturate(1.3);
  transform: scale(1.15);
}

.cat-card-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

.cat-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.cat-card-badge.badge-right {
  left: auto;
  right: 14px;
}

.cat-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.cat-card-body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
  margin-top: auto;
  width: fit-content;
}

.cat-link:hover { gap: 12px; color: var(--navy-dark); }
.cat-card:hover .cat-link { gap: 12px; }

.cat-bottom-line {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-dark));
  margin-top: 0;
  transform: scaleX(0);
  transition: .4s;
  transform-origin: left;
}

.cat-card:hover .cat-bottom-line { transform: scaleX(1); }

.feats {
  padding: 110px 6%;
  background: #fff;
}

.feats-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.feats-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
}

.feats-header p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.85;
  font-weight: 300;
}

.feats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feat-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: .3s;
}

.feat-card:hover {
  background: var(--navy-dark);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 61, 114, .3);
}

.feat-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.feat-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, .1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: .3s;
}

.feat-card:hover .feat-icon { background: rgba(255, 255, 255, .2); }

.feat-icon i {
  font-size: 24px;
  color: rgba(255, 255, 255, .9);
}

.feat-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feat-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
  font-weight: 300;
}

.feat-num {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: rgba(255, 255, 255, .04);
  line-height: 1;
}

.stats {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 90px 6%;
  position: relative;
  overflow: hidden;
}

.stats-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 90px;
  font-weight: 900;
  color: #fff;
  line-height: .85;
  letter-spacing: -3px;
}

.stat-plus { color: rgba(255, 255, 255, .5); }

.stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-top: 14px;
  font-weight: 300;
}

.stihl {
  padding: 110px 6%;
  background: linear-gradient(rgba(13, 31, 71, .9), rgba(13, 31, 71, .92)), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80') center/cover no-repeat;
}

.stihl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.stihl-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 255, 255, .05);
  line-height: .8;
  letter-spacing: 6px;
  margin-bottom: -20px;
}

.stihl-badge {
  display: inline-block;
  background: rgba(240, 125, 0, .15);
  border: 1px solid rgba(240, 125, 0, .4);
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.stihl h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
}

.stihl-p {
  font-size: 14px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 300;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-orange:hover {
  background: #d96d00;
  transform: translateY(-2px);
}

.stihl-feats { display: flex; flex-direction: column; gap: 14px; }

.stihl-feat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  transition: .3s;
}

.stihl-feat:hover {
  background: rgba(40, 90, 162, .15);
  border-color: rgba(40, 90, 162, .3);
  transform: translateX(6px);
}

.stihl-feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(240, 125, 0, .18);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stihl-feat-icon i { font-size: 20px; color: var(--orange); }

.stihl-feat b {
  display: block;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 3px;
}

.stihl-feat span {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  font-weight: 300;
}

.sedes {
  background: #fff;
  padding: 110px 6%;
}

.sedes-header { text-align: center; margin-bottom: 56px; }

.sedes-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.sedes-header p {
  font-size: 15px;
  color: #6b7280;
  font-weight: 300;
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.sede-card {
  border: 1px solid rgba(40, 90, 162, .1);
  border-radius: 18px;
  padding: 32px;
  transition: .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sede-card:hover {
  border-color: var(--navy);
  box-shadow: 0 12px 40px rgba(40, 90, 162, .1);
  transform: translateY(-4px);
}

.sede-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-dark));
  transform: scaleX(0);
  transition: .3s;
  transform-origin: left;
}

.sede-card:hover::after { transform: scaleX(1); }

.sede-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: rgba(40, 90, 162, .07);
  position: absolute;
  top: 14px;
  right: 20px;
  line-height: 1;
}

.sede-icon {
  width: 48px;
  height: 48px;
  background: rgba(40, 90, 162, .08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sede-icon i { font-size: 22px; color: var(--navy); }

.sede-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.sede-card p {
  font-size: 13px;
  color: #6b7280;
  font-weight: 300;
  line-height: 1.6;
}

.contact {
  padding: 110px 6%;
  background: linear-gradient(135deg, #f6faff 0%, #eef4fb 100%);
  position: relative;
  overflow: hidden;
}

.contact::before,
.contact::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.contact::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(40, 90, 162, .18) 0%, transparent 72%);
  top: -120px;
  right: -80px;
}

.contact::after {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(240, 125, 0, .12) 0%, transparent 72%);
  bottom: -110px;
  left: -80px;
}

.contact-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.contact-panel {
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(40, 90, 162, .1);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(13, 31, 71, .08);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 90, 162, .04), transparent 42%);
  pointer-events: none;
}

.contact-panel h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: .95;
  margin-bottom: 16px;
}

.contact-panel p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}

.contact-list { display: grid; gap: 14px; margin-bottom: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(40, 90, 162, .08);
  transition: .3s;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 90, 162, .2);
  box-shadow: 0 10px 28px rgba(40, 90, 162, .08);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

.contact-item b {
  display: block;
  font-size: 13px;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 13px;
  color: #5b6472;
  text-decoration: none;
  line-height: 1.6;
}

.contact-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.contact-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(40, 90, 162, .08);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.contact-form { display: grid; gap: 14px; }

.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 125, 0, .12);
  color: var(--orange);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: grid; gap: 7px; }

.field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #64748b;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(40, 90, 162, .12);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--navy-dark);
  background: #fbfdff;
  transition: .25s;
  resize: vertical;
  min-height: 46px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(40, 90, 162, .12);
  background: #fff;
}

.field textarea { min-height: 120px; }

.contact-submit { width: fit-content; margin-top: 4px; }

.contact-mini {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 90, 162, .08), rgba(240, 125, 0, .08));
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-mini i { font-size: 20px; color: var(--navy); }

.contact-mini b {
  display: block;
  font-size: 13px;
  color: var(--navy-dark);
  margin-bottom: 2px;
}

.contact-mini p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

footer {
  background: #060d1f;
  padding: 80px 6% 28px;
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 56px;
}

.f-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.f-logo img { height: 40px; object-fit: contain; }

.f-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.9;
  margin-bottom: 22px;
  font-weight: 300;
}

.f-socials { display: flex; gap: 8px; }

.fsoc {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}

.fsoc:hover { background: var(--navy); border-color: var(--navy); }
.fsoc i { font-size: 15px; color: rgba(255, 255, 255, .4); }

.f-col h4 {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, .2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.f-col ul { list-style: none; }
.f-col li { margin-bottom: 10px; }
.f-col a {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
  font-weight: 300;
  display: block;
}

.f-col a:hover { color: #fff; padding-left: 4px; }

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.f-bottom p { font-size: 11px; color: rgba(255, 255, 255, .2); }
.f-bottom-links { display: flex; gap: 24px; }
.f-bottom-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, .2);
  text-decoration: none;
  cursor: pointer;
}

.f-bottom-links a:hover { color: rgba(255, 255, 255, .5); }

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  animation: waPulse 2s infinite;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
}

.wa-float:hover { transform: scale(1.12); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: .3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 24px 40px;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(40, 90, 162, .08);
  transition: color .2s;
}

.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--navy); }

.nav-mobile-menu .btn-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 64px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .feats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .feats-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .stihl-big { font-size: 80px; }
}

@media (max-width: 768px) {
  nav { padding: 0 5%; height: 60px; }
  nav.scrolled { height: 60px; }
  .topbar { font-size: 10px; padding: 6px 12px; }
  /* Hero mobile: imagen como fondo full-screen */
  .hero {
    display: block;
    position: relative;
    min-height: calc(100svh - 118px);
    overflow: hidden;
  }
  .hero-right {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    z-index: 0;
  }
  .hero-right-img img { opacity: .7; }
  .hero-right-overlay {
    background: linear-gradient(150deg, rgba(13,31,71,.92) 0%, rgba(13,31,71,.65) 55%, rgba(13,31,71,.2) 100%);
  }
  .hero-left {
    position: relative;
    z-index: 1;
    background: transparent;
    min-height: calc(100svh - 118px);
    padding: 48px 6% 56px;
    justify-content: center;
    overflow: hidden;
  }
  /* Barra de progreso: en móvil va al borde inferior para no tapar el nav */
  #scrollProgress {
    top: auto;
    bottom: 0;
  }
  .hero h1 { font-size: 52px; letter-spacing: -1px; }
  .hero-sub { font-size: 13px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .btn-navy, .btn-ghost-white { width: 100%; justify-content: center; padding: 13px 20px; }
  .hero-stats { flex-wrap: wrap; }
  .hstat { flex: 1 1 45%; padding: 14px 10px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .hstat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .hstat-num { font-size: 28px; }
  .brands { gap: 14px; padding: 16px 5%; }
  .brands-lbl { width: 100%; text-align: center; }
  .tray { padding: 70px 6%; }
  .tray-inner { grid-template-columns: 1fr; gap: 40px; }
  .tray h2 { font-size: 40px; }
  .tray-imgs { height: 320px; }
  .cats { padding: 70px 6%; }
  .cats-header h2 { font-size: 40px; }
  .cats-grid { grid-template-columns: 1fr; }
  .feats { padding: 70px 6%; }
  .feats-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .feats-header h2 { font-size: 40px; }
  .feats-grid { grid-template-columns: 1fr; }
  .stats { padding: 60px 6%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 24px 12px; }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 60px; letter-spacing: -2px; }
  .stihl { padding: 70px 6%; }
  .stihl-inner { grid-template-columns: 1fr; gap: 40px; }
  .stihl h2 { font-size: 40px; }
  .stihl-big { font-size: 60px; }
  .sedes { padding: 70px 6%; }
  .sedes-header h2 { font-size: 38px; }
  .sedes-grid { grid-template-columns: 1fr; }
  footer { padding: 60px 6% 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
  .f-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .f-bottom-links { flex-wrap: wrap; gap: 12px; }
  .wa-float { bottom: 18px; right: 18px; width: 50px; height: 50px; font-size: 22px; }
  /* reveal-right en móvil: animación vertical evita overflow horizontal */
  .reveal-right { transform: translateY(30px); }
  /* Contener overflow horizontal en todas las secciones */
  .tray, .cats, .feats, .stihl, .marcas-section { overflow-x: hidden; }
  /* Nav scrolled en móvil: fondo sólido, sin depender de backdrop-filter */
  nav.scrolled {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .09);
    border-bottom: 1px solid rgba(40, 90, 162, .07);
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .hero-left { padding: 40px 6% 48px; }
  .tray h2, .cats-header h2, .feats-header h2, .stihl h2, .sedes-header h2 { font-size: 34px; }
  .hstat { flex: 1 1 100%; border-right: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-chip { font-size: 11px; padding: 5px 12px; }
  .sede-card { padding: 24px; }
  .cat-card-body { padding: 20px; }
  .contact { padding: 80px 6%; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Contact page refinements */
body {
  background: linear-gradient(180deg, #f9fbff 0%, #f4f8fc 100%);
}

.reveal {
  will-change: transform, opacity;
}

.hero-contact {
  position: relative;
  background: linear-gradient(135deg, rgba(13,31,71,.98), rgba(40,90,162,.92) 45%, rgba(7,17,42,.97));
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
}

.hero-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .4;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.hero-contact::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(240,125,0,.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-contact-content {
  gap: 40px;
}

.hero-contact-copy {
  position: relative;
  z-index: 1;
}

.hero-contact-copy::before {
  content: '';
  position: absolute;
  right: -18px;
  top: -16px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: pulseGlow 7s ease-in-out infinite;
}

.hero-contact-copy h1 {
  text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.hero-contact-copy p {
  text-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.hero-contact-badge {
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.hero-contact-actions .btn-contact {
  position: relative;
  overflow: hidden;
}

.hero-contact-actions .btn-contact::before {
  content: '';
  position: absolute;
  inset: -110% -10% auto auto;
  width: 70%;
  height: 220%;
  background: linear-gradient(120deg, transparent 10%, rgba(255,255,255,.28), transparent 85%);
  transform: rotate(16deg);
  transition: transform .8s ease;
}

.hero-contact-actions .btn-contact:hover::before {
  transform: translateX(240%) rotate(16deg);
}

.hero-contact-cards {
  gap: 16px;
}

.info-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(40,90,162,.08) 40%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(9,20,48,.2);
}

.info-card:hover::after {
  transform: translateX(120%);
}

.info-card .icon {
  box-shadow: 0 12px 30px rgba(40,90,162,.25);
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(40,90,162,.08), transparent 70%);
  pointer-events: none;
}

.contact-section-title {
  position: relative;
  z-index: 1;
}

.sedes-grid-contact {
  position: relative;
  z-index: 1;
}

.sede-card-contact {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.sede-card-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(40,90,162,.12), transparent 40%, rgba(240,125,0,.08));
  transform: translateY(100%);
  transition: transform .5s ease;
  pointer-events: none;
}

.sede-card-contact:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(40,90,162,.24);
  box-shadow: 0 28px 56px rgba(13,31,71,.12);
}

.sede-card-contact:hover::before {
  transform: translateY(0);
}

.sede-card-contact .map-frame {
  transition: transform .45s ease, filter .45s ease;
}

.sede-card-contact:hover .map-frame {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.sede-body-contact {
  position: relative;
  z-index: 1;
}

.sede-link-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sede-link-contact i {
  transition: transform .3s ease;
}

.sede-link-contact:hover i {
  transform: translateX(4px);
}

.footer-contact {
  position: relative;
  overflow: hidden;
}

.footer-contact::before {
  content: '';
  position: absolute;
  left: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(240,125,0,.15), transparent 70%);
  pointer-events: none;
}

.footer-contact-col a {
  transition: color .25s ease, transform .25s ease;
}

.footer-contact-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.wa-float-contact {
  box-shadow: 0 14px 36px rgba(37,211,102,.24);
  transition: transform .3s ease, box-shadow .3s ease;
}

.wa-float-contact:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 18px 42px rgba(37,211,102,.3);
}

@media (max-width: 1024px) {
  .hero-contact-content { grid-template-columns: 1fr; }
  .sedes-grid-contact { grid-template-columns: 1fr 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-contact { padding: 70px 6% 60px; }
  .hero-contact-copy h1 { font-size: 46px; }
  .hero-contact-actions { flex-direction: column; }
  .contact-section { padding: 72px 6%; }
  .contact-section-title h2 { font-size: 34px; }
  .sedes-grid-contact { grid-template-columns: 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr; }
  .footer-contact-bottom { flex-direction: column; }
}

/* Contact page specific styles */
.hero-contact {
  min-height: 92vh;
  padding: 90px 6% 70px;
  background: linear-gradient(120deg, rgba(13,31,71,.95), rgba(40,90,162,.86)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .4;
  pointer-events: none;
}

.hero-contact-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-contact-copy h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: .9;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
  animation: fadeUp .8s ease both;
}

.hero-contact-copy p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 24px;
  animation: fadeUp .8s .12s ease both;
}

.hero-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  color: #dfefff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: fadeUp .8s .06s ease both;
}

.hero-contact-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  animation: float 2.2s infinite;
}

.hero-contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  animation: fadeUp .8s .18s ease both;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.btn-contact-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(240,125,0,.25);
}

.btn-contact-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(240,125,0,.3);
}

.btn-contact-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.btn-contact-ghost:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.hero-contact-cards {
  display: grid;
  gap: 14px;
}

.info-card {
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(9,20,48,.15);
  border: 1px solid rgba(40,90,162,.09);
  animation: fadeUp .9s ease both;
}

.info-card:nth-child(2) { animation-delay: .12s; }
.info-card:nth-child(3) { animation-delay: .2s; }

.info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  animation: float 2.8s infinite;
}

.info-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.info-card .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
  word-break: break-word;
}

.info-card .meta {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.contact-section {
  padding: 90px 6%;
  background: var(--bg);
}

.contact-section-title {
  text-align: center;
  margin-bottom: 42px;
}

.contact-section-title .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-section-title .eyebrow::before,
.contact-section-title .eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

.contact-section-title h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1;
}

.contact-section-title p {
  color: #64748b;
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.sedes-grid-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.sede-card-contact {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(40,90,162,.08);
  box-shadow: 0 18px 45px rgba(13,31,71,.05);
  overflow: hidden;
  transition: .3s;
}

.sede-card-contact:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(13,31,71,.09);
}

.sede-card-contact .map-frame {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.sede-body-contact {
  padding: 24px;
}

.sede-body-contact h3 {
  font-size: 20px;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.sede-body-contact p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
}

.sede-link-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.sede-link-contact:hover { color: var(--navy-dark); }

.footer-contact {
  background: #060d1f;
  padding: 70px 6% 28px;
  color: rgba(255,255,255,.7);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto 40px;
}

.footer-contact-col h4 {
  color: rgba(255,255,255,.24);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-contact-col p,
.footer-contact-col a {
  color: rgba(255,255,255,.42);
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-contact-col a:hover { color: #fff; }
.footer-contact-col ul { list-style: none; display: grid; gap: 8px; }

.footer-contact-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.28);
}

.wa-float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.25);
  text-decoration: none;
  z-index: 999;
  animation: float 2.4s infinite;
}

@media (max-width: 1024px) {
  .hero-contact-content { grid-template-columns: 1fr; }
  .sedes-grid-contact { grid-template-columns: 1fr 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-contact { padding: 70px 6% 60px; }
  .hero-contact-copy h1 { font-size: 46px; }
  .hero-contact-actions { flex-direction: column; }
  .contact-section { padding: 72px 6%; }
  .contact-section-title h2 { font-size: 34px; }
  .sedes-grid-contact { grid-template-columns: 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr; }
  .footer-contact-bottom { flex-direction: column; }
}

.marcas-section {
    padding: 64px 40px 72px;
    background: #fafafa;
    text-align: center;
    width: 100%;
  }
 
  .marcas-title h2 {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
    font-size: 2.7rem;
    font-weight: 800;
    color: #14213d;
    margin: 0 0 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
  }

  .marcas-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 72%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2661e0, transparent);
    border-radius: 999px;
  }
 
  .marcas-title .divider {
    width: 92px;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    margin: 0 auto 48px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  }
 
  .marcas-carousel {
    --gap: 70px;
    --item-w: 420px;
    --page-count: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
  }
 
  .marcas-viewport {
    overflow: hidden;
    width: 100%;
  }
 
  .marcas-track {
    display: flex;
    width: calc(100% * var(--page-count));
    transition: transform 0.7s cubic-bezier(.65, 0, .35, 1);
    will-change: transform;
  }
 
  .marcas-page {
    flex: 0 0 calc(100% / var(--page-count));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: var(--gap);
    padding: 0 4px;
  }
 
  .marca-item {
    width: min(100%, var(--item-w));
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
  }
 
  .marca-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
 
  .marca-fallback {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #c9c9c9;
    border-radius: 12px;
    background: #f1f1f1;
    color: #888;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }
 
  .marcas-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 44px;
  }
 
  .marcas-dots button {
    width: 34px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d8d8d8;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
  }
 
  .marcas-dots button.active {
    width: 46px;
    background: #1d4ed8;
  }
 
  .marcas-dots button:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
  }
 
  @media (max-width: 900px) {
    .marcas-carousel { --item-w: 220px; --gap: 28px; }
    .marcas-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marca-item { height: 120px; }
    .marca-fallback { height: 90px; font-size: 1.1rem; }
  }
 
  @media (max-width: 600px) {
    .marcas-section { padding: 48px 20px 56px; }
    .marcas-carousel { --item-w: 100%; --gap: 16px; }
    .marcas-page { grid-template-columns: 1fr; }
    .marca-item { height: 92px; max-width: 220px; }
    .marca-fallback { height: 64px; font-size: 0.85rem; }
    .marcas-dots { margin-top: 30px; }
    .marcas-title h2 { font-size: 1.8rem; }
  }

/* ================================================================
   MOTORES FUERA DE BORDA PAGE  (motores.html)
   ================================================================ */
/* ===== PAGE HERO ===== */
    .mfb-hero {
      position: relative;
      height: 480px;
      overflow: hidden;
      margin-top: 0;
    }
    .mfb-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.04);
      animation: heroZoom 8s ease forwards;
    }
    @keyframes heroZoom {
      to { transform: scale(1); }
    }
    .mfb-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(13,31,71,0.82) 0%, rgba(13,31,71,0.3) 70%, transparent 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 7vw;
    }
    .mfb-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(74,144,226,0.2);
      border: 1px solid rgba(74,144,226,0.55);
      color: #90c2f5;
      font-family: 'Inter', sans-serif;
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 100px;
      width: fit-content;
      margin-bottom: 18px;
      animation: fadeInLeft .7s ease both;
    }
    .mfb-hero-badge span.dot {
      width: 7px; height: 7px;
      background: #5aabff;
      border-radius: 50%;
      animation: pulse 1.6s ease infinite;
    }
    .mfb-hero h1 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 900;
      color: #fff;
      line-height: 1;
      text-transform: uppercase;
      animation: fadeInLeft .8s .1s ease both;
    }
    .mfb-hero h1 em {
      color: #5aabff;
      font-style: normal;
    }
    .mfb-hero p {
      margin-top: 14px;
      color: rgba(255,255,255,.78);
      font-size: 1rem;
      font-family: 'Inter', sans-serif;
      max-width: 420px;
      animation: fadeInLeft .9s .2s ease both;
    }
    .mfb-hero-btns {
      display: flex;
      gap: 12px;
      margin-top: 28px;
      flex-wrap: wrap;
      animation: fadeInLeft 1s .3s ease both;
    }
    .btn-scroll-cat {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 8px;
      font-family: 'Inter', sans-serif;
      font-size: .88rem;
      font-weight: 600;
      cursor: pointer;
      border: none;
      transition: transform .2s, box-shadow .2s;
    }
    .btn-scroll-cat:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
    .btn-scroll-cat.primary { background: #2563eb; color: #fff; }
    .btn-scroll-cat.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }

    /* ===== CATEGORY TABS ===== */
    .category-tabs-wrap {
      position: sticky;
      top: 60px;
      z-index: 90;
      background: #0d1f47;
      box-shadow: 0 2px 16px rgba(0,0,0,.25);
    }
    .category-tabs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 0 20px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .category-tabs::-webkit-scrollbar { display: none; }
    .cat-tab {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 15px 20px;
      color: rgba(255,255,255,.55);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      text-decoration: none;
      border-bottom: 3px solid transparent;
      white-space: nowrap;
      transition: color .2s, border-color .2s;
    }
    .cat-tab:hover { color: #fff; border-color: rgba(255,255,255,.5); }
    .cat-tab.active { color: #fff; border-color: #fff; }
    .cat-tab .hp-num {
      background: #fff;
      color: #0d1f47;
      font-size: .72rem;
      font-family: 'Inter', sans-serif;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 100px;
    }

    /* ===== MOTOR SECTION ===== */
    .motor-section {
      padding: 0 0 80px;
    }
    .motor-section-banner {
      position: relative;
      height: 360px;
      overflow: hidden;
      margin-bottom: 60px;
    }
    .motor-section-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 6s ease;
    }
    .motor-section:hover .motor-section-banner img {
      transform: scale(1.03);
    }
    .motor-section-banner-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(13,31,71,0.75) 0%, rgba(13,31,71,0.2) 60%, transparent 100%);
      display: flex;
      align-items: center;
      padding: 0 7vw;
    }
    .motor-section-title {
      color: #fff;
    }
    .motor-section-title .tiempos-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(40,90,162,0.35);
      border: 1px solid rgba(74,144,226,0.6);
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .15em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 100px;
      margin-bottom: 12px;
    }
    .motor-section-title h2 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.8rem, 5vw, 5rem);
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: -.01em;
    }
    .motor-section-title h2 .hp-accent {
      color: #5aabff;
    }

    /* ===== MOTOR GRID ===== */
    .motor-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
    }
    @media (max-width: 700px) {
      .motor-grid { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
    }

    /* ===== MOTOR CARD ===== */
    .motor-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 4px 24px rgba(13,31,71,.09);
      border: 1.5px solid rgba(40,90,162,.08);
      overflow: hidden;
      transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
      display: flex;
      flex-direction: column;
    }
    .motor-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(13,31,71,.18);
      border-color: rgba(40,90,162,.25);
    }
    .motor-card-header {
      background: linear-gradient(135deg, #0d1f47 0%, #285aa2 100%);
      padding: 20px 24px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .motor-card-header h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.9rem;
      font-weight: 900;
      color: #fff;
      letter-spacing: .02em;
      text-transform: uppercase;
    }
    .motor-card-header .model-badge {
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.35);
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 100px;
    }
    .motor-card-img {
      background: #f4f6fb;
      aspect-ratio: 1086 / 1448;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .motor-card-img img {
      width: 100%;
      height: 100%;
      display: block;
      transition: transform .4s ease;
      object-fit: contain;
    }
    .motor-card:hover .motor-card-img img {
      transform: scale(1.03);
    }
    .motor-card-img img.edge-crop {
      transform: scale(1.05);
    }
    .motor-card:hover .motor-card-img img.edge-crop {
      transform: scale(1.08);
    }
    .motor-card-specs {
      padding: 20px 24px;
      flex: 1;
    }
    .specs-table {
      width: 100%;
      border-collapse: collapse;
      font-family: 'Inter', sans-serif;
      font-size: .82rem;
    }
    .specs-table tr {
      border-bottom: 1px solid rgba(40,90,162,.07);
      transition: background .15s;
    }
    .specs-table tr:last-child { border-bottom: none; }
    .specs-table tr:hover { background: rgba(40,90,162,.04); }
    .specs-table td {
      padding: 7px 4px;
      color: #334155;
    }
    .specs-table td:first-child {
      color: #64748b;
      font-weight: 500;
      width: 58%;
    }
    .specs-table td:last-child {
      font-weight: 700;
      color: #0d1f47;
      text-align: right;
    }
    .specs-table tr.spec-highlight td:last-child {
      color: #f07d00;
    }
    .motor-card-cta {
      padding: 16px 24px 24px;
      margin-top: auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .btn-despiece {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 100%;
      padding: 12px 20px;
      border: 1.5px solid rgba(13,31,71,.25);
      border-radius: 10px;
      background: transparent;
      color: #0d1f47;
      font-family: 'Inter', sans-serif;
      font-size: .85rem;
      font-weight: 600;
      cursor: pointer;
      transition: background .2s, border-color .2s;
    }
    .btn-despiece:hover {
      background: rgba(13,31,71,.06);
      border-color: rgba(13,31,71,.4);
    }
    .btn-wa {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 100%;
      padding: 13px 20px;
      border: none;
      border-radius: 10px;
      background: #0d1f47;
      color: #fff;
      font-family: 'Inter', sans-serif;
      font-size: .9rem;
      font-weight: 600;
      cursor: pointer;
      transition: background .2s, transform .2s, box-shadow .2s;
    }
    .btn-wa:hover {
      background: #25D366;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(37,211,102,.3);
    }
    .btn-wa i { font-size: 1.1rem; }

    /* ===== SINGLE-CARD SECTION (Motor 3) ===== */
    .motor-grid.single {
      grid-template-columns: minmax(280px, 520px);
      justify-content: center;
    }

    /* ===== SECTION DIVIDER ===== */
    .section-divider {
      height: 6px;
      background: linear-gradient(90deg, #0d1f47, #285aa2, #5aabff, #285aa2, #0d1f47);
      background-size: 200% 100%;
      animation: shimmer 4s linear infinite;
    }
    @keyframes shimmer {
      0% { background-position: 0% 0%; }
      100% { background-position: 200% 0%; }
    }

    /* ===== REVEAL delays for motor cards (animations use global .reveal rules) ===== */
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-4 { transition-delay: .4s; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      .motor-section-banner { height: 240px; }
      .category-tabs-wrap { top: 56px; }
      .motor-grid { padding: 0 16px; gap: 20px; }
    }

    @media (max-width: 768px) {
      /* Hero mobile: imagen centrada como fondo, altura fija para evitar colapso */
      .mfb-hero {
        position: relative;
        height: 400px;
        overflow: hidden;
      }
      .mfb-hero > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        animation: none;
        transform: none;
      }
      .mfb-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(13,31,71,.92) 0%, rgba(13,31,71,.6) 55%, rgba(13,31,71,.18) 100%);
        padding: 40px 6% 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .mfb-hero h1 { font-size: 2.4rem; line-height: .95; }
      .mfb-hero p { font-size: .88rem; max-width: 260px; margin-top: 10px; }
      .mfb-hero-badge { margin-bottom: 14px; }
      .mfb-hero-btns { gap: 10px; margin-top: 20px; flex-direction: column; align-items: stretch; }
      .btn-scroll-cat { padding: 13px 20px; font-size: .9rem; width: 100%; justify-content: center; }

      /* Category tabs: centradas y sticky justo bajo el nav */
      .category-tabs-wrap { position: sticky; top: 60px; }
      .category-tabs { justify-content: center; padding: 0 4px; gap: 0; }
      .cat-tab { padding: 13px 14px; font-size: .85rem; }
      .cat-tab .hp-num { font-size: .62rem; padding: 2px 6px; }

      /* Section banners */
      .motor-section-banner { height: 190px; margin-bottom: 28px; }
      .motor-section-title h2 { font-size: 2.2rem; }
      .motor-section-title .tiempos-badge { font-size: .62rem; }
      .motor-section { padding-bottom: 48px; }

      /* Grid */
      .motor-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; max-width: 480px; }
      .motor-grid.single { grid-template-columns: 1fr; }

      /* Card */
      .motor-card-header { padding: 14px 18px 12px; }
      .motor-card-header h3 { font-size: 1.5rem; }
      .motor-card-cta { padding: 12px 18px 18px; }
      .btn-wa { padding: 12px 16px; font-size: .85rem; }
    }

    @media (max-width: 480px) {
      .mfb-hero-overlay { padding: 24px 5vw 28px; min-height: 260px; }
      .mfb-hero h1 { font-size: 1.7rem; }
      .mfb-hero-badge { font-size: .65rem; padding: 5px 10px; }
      .mfb-hero p { font-size: .82rem; }

      .category-tabs { gap: 0; }
      .cat-tab { padding: 11px 8px; font-size: .76rem; letter-spacing: 0; }

      .motor-section-banner { height: 160px; }
      .motor-section-title h2 { font-size: 1.8rem; }
      .motor-grid { padding: 0 12px; }
      .motor-card-header h3 { font-size: 1.3rem; }
    }

/* ====================================================
   STIHL PAGE
   ==================================================== */
.st-hero {
  position: relative;
  min-height: 90vh;
  background-image: url('img/Colombiano_campesino.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.1) 100%);
}
.st-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 6%;
}
.st-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff8200;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 7px 18px;
  margin-bottom: 24px;
}
.st-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}
.st-hero h1 .brand-highlight {
  color: #ff8200;
  display: block;
}
.st-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 38px;
}
.st-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-st-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: #ff8200;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255,130,0,.3);
}
.btn-st-orange:hover {
  background: #e67300;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255,130,0,.45);
  color: #fff;
  text-decoration: none;
}
.btn-st-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 2px solid rgba(255,255,255,.65);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
  text-decoration: none;
}
.btn-st-outline:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}

/* Features */
.st-features {
  background: #111;
  padding: 80px 6%;
}
.st-features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.st-feat-card {
  text-align: center;
  padding: 44px 24px;
  transition: transform .35s cubic-bezier(.165,.84,.44,1);
}
.st-feat-card:hover { transform: translateY(-10px); }
.st-feat-card:hover .st-feat-icon { background: #ff8200; color: #fff; }
.st-feat-icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,.06);
  color: #ff8200;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  transition: background .35s, color .35s;
}
.st-feat-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.st-feat-card p {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: #999;
  line-height: 1.6;
}

/* Product sections */
.st-product {
  padding: 100px 6%;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.st-product.bg-light { background: #f4f4f4; }
.st-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15vw;
  font-weight: 900;
  color: rgba(0,0,0,.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.02em;
}
.st-product-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.st-product-img-wrap { position: relative; }
.st-product-img-wrap::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 3px solid #ff8200;
  opacity: .18;
  pointer-events: none;
}
.st-product-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
  transition: transform .4s cubic-bezier(.165,.84,.44,1);
  position: relative;
  z-index: 1;
}
.st-product-img-wrap:hover img { transform: scale(1.02); }
.st-product-copy { padding: 16px 0; }
.st-product-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  color: #ff8200;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.st-product-copy h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 18px;
}
.st-product-copy h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 5px;
  background: #ff8200;
  border-radius: 3px;
}
.st-product-copy p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* CTA */
.st-cta {
  padding: 100px 6%;
  background: linear-gradient(rgba(17,17,17,.88), rgba(17,17,17,.88)),
    url('img/maquinaria.png') center/cover no-repeat;
  text-align: center;
}
.st-cta-inner { max-width: 720px; margin: 0 auto; }
.st-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.st-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  line-height: 1.6;
}
.btn-st-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 42px;
  background: #25d366;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
}
.btn-st-wa i { font-size: 1.3rem; }
.btn-st-wa:hover {
  background: #1ebe57;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37,211,102,.35);
  color: #fff;
  text-decoration: none;
}

/* STIHL responsive */
@media (max-width: 900px) {
  .st-features-grid { grid-template-columns: 1fr; }
  .st-feat-card { padding: 32px 20px; }
  .st-product-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .st-product-copy h2::after { left: 50%; transform: translateX(-50%); }
  .st-product-img-wrap::after { display: none; }
  .st-product { padding: 60px 6%; }
  .st-product-inner .st-product-img-wrap { order: -1; }
}
@media (max-width: 600px) {
  .st-hero { min-height: 75vh; }
  .st-hero h1 { font-size: 2.6rem; }
  .st-hero p { font-size: .95rem; max-width: 100%; }
  .st-hero-btns { flex-direction: column; }
  .btn-st-orange, .btn-st-outline { width: 100%; justify-content: center; }
  .st-bg-text { font-size: 20vw; }
  .st-cta { padding: 70px 6%; }
  .st-cta h2 { font-size: 2rem; }
  .st-cta p { font-size: 1rem; }
}

/* ============================================================
   REPUESTOS PAGE (repuestos.html)
   ============================================================ */

/* .rp-grid / .rp-suggestions / .rp-pagination / .rp-search-clear all set
   their own `display`, which ties with the browser's [hidden]{display:none}
   on specificity — these overrides make [hidden] win so JS-toggled
   visibility actually works. */
.rp-grid[hidden],
.rp-suggestions[hidden],
.rp-pagination[hidden],
.rp-search-clear[hidden] {
  display: none;
}

@keyframes rpShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ── Hero + buscador ── */
.rp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 6% 52px;
  text-align: center;
}

.rp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.06);
}

.rp-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,71,.96), rgba(40,90,162,.9) 45%, rgba(7,17,42,.96));
}

.rp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .4;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.rp-hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(240,125,0,.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.rp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.rp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #cfe0f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.rp-hero-badge .fa-fan {
  color: #5aabff;
  font-size: 12px;
  animation: rpFanSpin 3s linear infinite;
}

@keyframes rpFanSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.rp-hero h1 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: .5px;
  line-height: 1.05;
  text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.rp-hero h1 em { font-style: normal; color: #5aabff; }

.rp-hero p {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

.rp-search {
  position: relative;
  max-width: 640px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 45px -18px rgba(0,0,0,.45);
}

.rp-search i.fa-magnifying-glass {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: #93a7bd;
  font-size: 15px;
  pointer-events: none;
}

.rp-search input {
  width: 100%;
  padding: 16px 52px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1c2f47;
  background: transparent;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.rp-search input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(40,90,162,.15);
  border-radius: 14px;
}

.rp-search-clear {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #edf3fa;
  color: #52708f;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.rp-search-clear:hover { background: var(--navy); color: #fff; }

.rp-suggestions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rp-suggestions > span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.rp-suggestions-list { display: flex; flex-wrap: wrap; gap: 8px; }

.rp-clear-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.rp-clear-all-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }

.rp-chip {
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #e3ecf9;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}

.rp-chip:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.16); transform: translateY(-1px); }

/* ── Layout: filtros + resultados ── */
.rp-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 6% 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
}

.rp-filters {
  flex: 1 1 260px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #e4ecf5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(16,44,84,.35);
  align-self: flex-start;
  position: sticky;
  top: 90px;
}

.rp-filters-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
}

.rp-filters-clear {
  margin-left: auto;
  border: none;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s;
}

.rp-filters-clear:hover { background: rgba(255,255,255,.32); }

.rp-filters-loading { padding: 20px 18px; font-size: 13px; color: #93a7bd; }

.rp-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background .2s;
}

.rp-filter-row:hover { background: #eef4fb; }
.rp-filter-row.active { background: #e8f1fb; }

.rp-filter-row-label { flex: 1; font-size: 13.5px; font-weight: 600; color: #24405f; }
.rp-filter-row.active .rp-filter-row-label { color: #174f9c; }
.rp-filter-row-count { font-size: 11.5px; color: #93a7bd; font-weight: 600; }

.rp-cat-dot {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #b9cade;
  transition: border .2s;
}

.rp-filter-row.active .rp-cat-dot,
.rp-cat-row.active .rp-cat-dot { border: 5px solid var(--navy); }

.rp-group { border-top: 1px solid #edf2f8; }

.rp-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  cursor: pointer;
  transition: background .2s;
}

.rp-group-header:hover { background: #f6f9fd; }
.rp-group-header-label { flex: 1; font-size: 13px; font-weight: 700; color: #24405f; letter-spacing: .3px; }
.rp-group-header-count { font-size: 11.5px; color: #93a7bd; font-weight: 600; }

.rp-group-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid #7d93ad;
  border-bottom: 2px solid #7d93ad;
  transform: rotate(45deg);
  transition: transform .25s;
  margin-top: -3px;
}

.rp-group-chevron.open { transform: rotate(225deg); }

.rp-group-cats { padding: 0 10px 12px; }

.rp-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s;
}

.rp-cat-row:hover { background: #eef4fb; }
.rp-cat-row.active { background: #e8f1fb; }
.rp-cat-row .rp-cat-dot { width: 15px; height: 15px; }
.rp-cat-label { flex: 1; font-size: 12.5px; line-height: 1.35; color: #44586f; font-weight: 500; }
.rp-cat-row.active .rp-cat-label { color: #174f9c; font-weight: 600; }
.rp-cat-count { font-size: 11px; color: #a3b5c9; font-weight: 500; }

.rp-filters-help {
  border-top: 1px solid #edf2f8;
  padding: 16px 18px 18px;
  background: #f6fbf7;
}

.rp-filters-help h4 { margin: 0; font-size: 13px; font-weight: 700; color: #24405f; }
.rp-filters-help p { margin: 4px 0 0; font-size: 12px; color: var(--text); line-height: 1.55; }

.rp-filters-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  background: #22b358;
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 10px;
  transition: background .2s, transform .2s;
}

.rp-filters-wa:hover { background: #1a9448; transform: translateY(-1px); }

/* ── Resultados ── */
.rp-results { flex: 999 1 520px; min-width: 0; }

.rp-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.rp-results-count { font-size: 13.5px; color: var(--text); }
.rp-results-count strong { color: #1c2f47; font-weight: 700; }

.rp-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.rp-chip-remove {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: #e8f1fb;
  color: #174f9c;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s;
}

.rp-chip-remove:hover { background: #d8e8fa; }
.rp-chip-remove.query { background: #eef2f7; color: #44586f; }
.rp-chip-remove.query:hover { background: #e2e9f2; }

.rp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.rp-card {
  background: #fff;
  border: 1px solid #e4ecf5;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeUp .5s ease both;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -20px rgba(19,63,124,.3);
  border-color: #bcd4ef;
}

.rp-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: repeating-linear-gradient(45deg, #f2f6fb 0px, #f2f6fb 16px, #ecf2f9 16px, #ecf2f9 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}

.rp-card:hover .rp-card-img img { transform: scale(1.06); }

.rp-card-img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a9bbd0;
}

.rp-card-img-fallback i { font-size: 26px; }
.rp-card-img-fallback span { font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }

.rp-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: 86%;
  background: rgba(232,241,251,.95);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rp-card-body {
  padding: 13px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.rp-card-body h3 {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #1c2f47;
  line-height: 1.4;
}

.rp-card-ref {
  margin-top: auto;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 11.5px;
  color: #7d92aa;
  letter-spacing: .4px;
}

/* ── Estado de carga (skeleton) ── */
.rp-skeleton-grid .rp-skel-card {
  background: #fff;
  border: 1px solid #e4ecf5;
  border-radius: 16px;
  overflow: hidden;
}

.rp-skel-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, #eef3f9 25%, #e3ebf4 37%, #eef3f9 63%);
  background-size: 400% 100%;
  animation: rpShimmer 1.4s infinite;
}

.rp-skel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }

.rp-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef3f9 25%, #e3ebf4 37%, #eef3f9 63%);
  background-size: 400% 100%;
  animation: rpShimmer 1.4s infinite;
}

.rp-skel-line.short { width: 60%; }
.rp-skel-line.tiny { width: 40%; height: 10px; margin-top: 4px; }

/* ── Estado vacío / error ── */
.rp-empty {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #ccdaeb;
  border-radius: 18px;
  padding: 66px 24px;
  text-align: center;
  animation: fadeUp .4s ease both;
}

.rp-empty i { font-size: 32px; color: #b7cbe2; }
.rp-empty h3 { font-size: 17px; font-weight: 700; color: #1c2f47; margin: 14px 0 6px; }
.rp-empty p { font-size: 13.5px; color: var(--text); margin: 0; line-height: 1.6; }
.rp-empty .btn-cta { margin-top: 18px; display: inline-flex; }

/* ── Paginación ── */
.rp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.rp-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 11px;
  border: 1.5px solid #d5e1ef;
  background: #fff;
  color: #3d5470;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.rp-page-btn:hover:not(:disabled):not(.active) { border-color: var(--navy); color: var(--navy); }
.rp-page-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.rp-page-btn:disabled { opacity: .45; cursor: default; }
.rp-page-ellipsis { min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: #93a7bd; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .rp-filters { position: static; max-width: none; flex: 1 1 100%; }
}

@media (max-width: 600px) {
  .rp-hero { padding: 48px 6% 36px; }
  .rp-hero h1 { font-size: 2.1rem; }
  .rp-hero p { font-size: 14px; }
  .rp-search input { padding: 14px 46px; font-size: 14px; }
  .rp-shell { padding: 28px 5% 60px; gap: 18px; }
  .rp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .rp-card-body h3 { font-size: 13.5px; }
}

/* ============================================================
   CARRITO DE REPUESTOS (repuestos.html)
   ============================================================ */

.rp-card-add {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .15s;
}
.rp-card-add:hover { background: var(--navy-dark); transform: translateY(-1px); }
.rp-card-add.is-added { background: #16a34a; }

/* ── Botón flotante ── */
.cart-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 998;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(40, 90, 162, .4);
  transition: transform .2s;
}
.cart-float:hover { transform: scale(1.1); }

.cart-float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.cart-float-badge[hidden] {
  display: none;
}

/* ── Overlay ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 71, .5);
  opacity: 0;
  z-index: 1199;
  transition: opacity .3s ease;
}
.cart-overlay.open { opacity: 1; }

/* ── Panel del carrito ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s ease;
  box-shadow: -10px 0 40px rgba(13, 31, 71, .25);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid #e4ecf5;
}

.cart-drawer-head h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deeper);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-drawer-head h3 i { color: var(--navy); }

.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.cart-close:hover { background: #e2e8f0; color: var(--navy-deeper); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  margin: auto;
  text-align: center;
  color: #94a3b8;
  padding: 30px 10px;
}
.cart-empty i { font-size: 36px; color: #cbd5e1; }
.cart-empty p { font-size: 15px; font-weight: 700; color: #475569; margin: 14px 0 6px; }
.cart-empty span { font-size: 13px; line-height: 1.6; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e4ecf5;
  border-radius: 12px;
}

.cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
  background: #f2f6fb;
  border: 1px solid #e4ecf5;
  flex-shrink: 0;
}
.cart-item-img-empty { background: #f2f6fb; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1c2f47;
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-ref {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-size: 10.5px;
  color: #7d92aa;
}

.cart-item-qty {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 4px 6px;
}
.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d5e1ef;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.qty-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.qty-value { font-size: 13px; font-weight: 700; color: #1c2f47; min-width: 16px; text-align: center; }

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #fef2f2;
  color: #b91c1c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.cart-item-remove:hover { background: #fee2e2; }

.cart-drawer-footer {
  padding: 16px 18px 20px;
  border-top: 1px solid #e4ecf5;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cart-drawer-footer.is-disabled .cart-send-btn {
  opacity: .5;
  pointer-events: none;
}

.cart-footer-hint {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
  text-align: center;
}

.cart-send-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 9px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .15s, box-shadow .15s;
}
.cart-send-btn:hover { transform: translateY(-1px); }
.cart-send-asesor {
  background: #25d366;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
}
.cart-send-viviana,
.cart-send-yeison {
  background: #25d366;
  opacity: .62;
}
.cart-send-viviana:hover,
.cart-send-yeison:hover {
  opacity: 1;
}

body.cart-open-lock { overflow: hidden; }

/* ── Carrito en móvil: hoja inferior ── */
@media (max-width: 640px) {
  .cart-drawer {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 85vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }
  .cart-drawer.open { transform: translateY(0); }

  .cart-float { bottom: 92px; right: 18px; width: 50px; height: 50px; font-size: 20px; }
}

/* ============================================================
   MAQUINARIA AGRÍCOLA PAGE (maquinaria-agricola.html)
   ============================================================ */

/* ── Hero ── */
.ma-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 6% 64px;
  text-align: center;
}

.ma-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(1.1);
  transform: scale(1.06);
}

.ma-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,31,71,.96), rgba(40,90,162,.9) 45%, rgba(7,17,42,.96));
}

.ma-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .4;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite;
}

.ma-hero::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  left: -90px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(240,125,0,.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.ma-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.ma-hero h1 {
  margin: 18px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: .5px;
  line-height: 1.05;
  text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.ma-hero h1 em { font-style: normal; color: #5aabff; }

.ma-hero p {
  margin: 16px auto 0;
  max-width: 600px;
  font-size: 15.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

.ma-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.ma-hero-feats {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.ma-hero-feat { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.7); }
.ma-hero-feat i { color: #5aabff; font-size: 14px; }

/* ── Intro ── */
.ma-intro { background: #fff; padding: 80px 6% 64px; text-align: center; }

.sec-eyebrow.centered { justify-content: center; }
.sec-eyebrow.centered::after { content: ''; display: block; width: 28px; height: 2px; background: var(--navy); flex-shrink: 0; }

.ma-intro h2 {
  margin: 14px auto 0;
  max-width: 760px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1.05;
  text-transform: uppercase;
}

.ma-intro p { margin: 18px auto 0; max-width: 640px; font-size: 14.5px; color: var(--text); line-height: 1.8; font-weight: 300; }

.ma-intro-pill {
  display: inline-block;
  margin-top: 22px;
  background: rgba(40,90,162,.08);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
}

/* ── Secciones de categoría ── */
.ma-cat { padding: 76px 6%; background: #fff; scroll-margin-top: 130px; }
.ma-cat.alt { background: var(--bg); }

.ma-cat-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ma-media {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(40,90,162,.12);
  border-radius: 20px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 45px -28px rgba(13,31,71,.22);
}

.ma-media-num {
  position: absolute;
  top: 0;
  right: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 96px;
  font-weight: 900;
  color: rgba(40,90,162,.06);
  line-height: 1;
  pointer-events: none;
}

.ma-media-placeholder { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; color: #93a7bd; }
.ma-media-placeholder i { font-size: 44px; color: rgba(40,90,162,.35); }
.ma-media-placeholder span { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.ma-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  box-sizing: border-box;
}

.ma-copy h2 {
  margin: 12px 0 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
  text-transform: uppercase;
}

.ma-copy p { font-size: 14px; font-weight: 300; color: #64748b; line-height: 1.8; max-width: 460px; }
.ma-cat-btns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(40,90,162,.35);
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.btn-outline:hover { background: rgba(40,90,162,.07); border-color: var(--navy); }

/* ── Franja de marcas ── */
.ma-brands { background: var(--navy-dark); padding: 24px 6%; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ma-brands-lbl { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-right: 6px; }

.ma-brand-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 24px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: .2s;
}

.ma-brand-chip:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }

/* ── CTA final ── */
.ma-cta { position: relative; overflow: hidden; background: var(--navy-deeper); padding: 90px 6%; text-align: center; }

.ma-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ma-cta-glow-a {
  position: absolute; top: -110px; right: -90px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(240,125,0,.16) 0%, transparent 70%); pointer-events: none;
}

.ma-cta-glow-b {
  position: absolute; bottom: -120px; left: -90px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(40,90,162,.3) 0%, transparent 70%); pointer-events: none;
}

.ma-cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.ma-cta-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ma-cta h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  text-transform: uppercase;
}

.ma-cta p { margin: 18px auto 0; max-width: 640px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.8; }

.btn-wa-lg {
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: .3s;
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
  margin-top: 32px;
}

.btn-wa-lg:hover { background: #1ebe57; transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .ma-cat-inner { grid-template-columns: 1fr; gap: 32px; }
  .ma-cat-inner .ma-media { order: -1; height: 280px; }
}

@media (max-width: 600px) {
  .ma-hero { padding: 64px 6% 44px; }
  .ma-hero h1 { font-size: 2.1rem; }
  .ma-hero p { font-size: 14px; }
  .ma-hero-feats { gap: 16px 22px; }
  .ma-intro { padding: 60px 6% 48px; }
  .ma-cat { padding: 56px 6%; }
  .ma-media { height: 220px; }
  .ma-media-num { font-size: 72px; }
  .ma-cta { padding: 64px 6%; }
}

/* ══════════════════ MOTOBOMBAS PAGE ══════════════════ */
.mb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 32px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.mb-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(13,31,71,.09);
  border: 1.5px solid rgba(40,90,162,.08);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.mb-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(13,31,71,.18); border-color: rgba(40,90,162,.25); }
.mb-card img { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .mb-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ══════════════════ STIHL PAGE: acento naranja en el nav ══════════════════
   El resto de la página (hero, tarjetas, botones) ya usa naranja (#ff8200).
   Solo el nav compartido quedaba en azul navy. El footer se deja intacto. */
body.page-stihl .nav-links a:hover {
  color: #ff8200;
  background: rgba(255, 130, 0, .08);
}

body.page-stihl .nav-links a.nav-current {
  color: #ff8200;
  background: rgba(255, 130, 0, .12);
}

body.page-stihl .nav-links a.nav-current::after {
  background: #ff8200;
}

body.page-stihl .nav-links a.nav-current::before {
  background: #ff8200;
}

body.page-stihl .btn-cta {
  background: #ff8200;
}

body.page-stihl .btn-cta:hover {
  background: #e67300;
}

body.page-stihl .nav-toggle {
  background: rgba(255, 130, 0, .1);
}

body.page-stihl .nav-toggle span {
  background: #ff8200;
}

body.page-stihl .nav-logo {
  position: relative;
}

body.page-stihl .nav-logo::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 130, 0, .3), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .25s;
  z-index: -1;
}

body.page-stihl .nav-logo:hover::before {
  opacity: 1;
}

body.page-stihl .topbar {
  background: #ff8200;
}

body.page-stihl .topbar b {
  color: #fff;
}