:root {
  --em-naranja: #f79c1d; /* tono del logo (#faaf3b) oscurecido para contraste */
  --em-naranja-hover: #e08a10;
  --em-oscuro: #101418;
  --em-gris: #f2f4f7;
  --em-wa: #25d366;
}

html { scroll-behavior: smooth; }
body { background: #fff; color: #212529; }

/* Botones */
.btn-em {
  background: var(--em-naranja); color: #fff; border: 0;
}
.btn-em:hover { background: var(--em-naranja-hover); color: #fff; }
.btn-wa { background: var(--em-wa); color: #fff; border: 0; }
.btn-wa:hover { background: #1fb457; color: #fff; }
.site-search-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #e5e9f0;
  border-radius: 50%;
  background: #fff;
  color: var(--em-oscuro);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s ease;
}
.site-search-toggle:hover,
.site-search-toggle[aria-expanded="true"] {
  border-color: rgba(247,156,29,.45);
  background: #fff8ed;
  color: var(--em-naranja-hover);
}
.site-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1020;
  padding-top: 10px;
  pointer-events: none;
}
.site-search-panel[hidden] {
  display: none;
}
.site-search-box {
  max-width: 720px;
  margin-left: auto;
  background: rgba(255,255,255,.96);
  border: 1px solid #e4e8ef;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(16,20,24,.18);
  overflow: hidden;
  pointer-events: auto;
}
.site-search-field {
  display: grid;
  grid-template-columns: 22px 1fr 38px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #edf0f4;
}
.site-search-field .bi-search {
  color: var(--em-naranja);
}
.site-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 16px;
  color: var(--em-oscuro);
  background: transparent;
}
.site-search-field input::-webkit-search-decoration,
.site-search-field input::-webkit-search-cancel-button,
.site-search-field input::-webkit-search-results-button,
.site-search-field input::-webkit-search-results-decoration {
  display: none;
}
.site-search-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #566273;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-search-close:hover {
  background: #e9edf3;
  color: var(--em-oscuro);
}
.site-search-results {
  max-height: min(460px, 70vh);
  overflow: auto;
  padding: 8px;
}
.site-search-empty {
  padding: 18px;
  color: #667085;
  text-align: center;
}
.site-search-result {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--em-oscuro);
  text-decoration: none;
}
.site-search-result:hover {
  background: #f8f9fb;
  color: var(--em-oscuro);
}
.site-search-result-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff4e3;
  color: var(--em-naranja-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-search-result-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-search-result-copy strong,
.site-search-result-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-search-result-copy span {
  color: #667085;
  font-size: 14px;
}
.site-search-result-type {
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  padding: 4px 9px;
  color: #566273;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}
@media (max-width: 576px) {
  .site-search-panel {
    padding: 8px 10px 0;
  }
  .site-search-box {
    max-width: none;
    margin: 0;
    border-radius: 12px;
  }
  .site-search-result {
    grid-template-columns: 38px 1fr;
    align-items: start;
  }
  .site-search-result-icon {
    width: 38px;
    height: 38px;
  }
  .site-search-result-type {
    grid-column: 2;
    justify-self: start;
  }
}

/* ===== Hero slider (estilo miruta.app adaptado) ===== */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #FFF4E3 0%, #FDFBF8 55%, #FFEFD8 100%);
  overflow: hidden;
}
.hero-slider::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  top: -180px; right: -160px; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(247,156,29,.20), transparent 60%);
}
.hero-slider::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  bottom: -200px; left: -180px; z-index: 0;
  background: radial-gradient(circle at 70% 70%, rgba(16,20,24,.10), transparent 60%);
}
.hero-slide {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  max-width: 1200px; margin: 0 auto; box-sizing: border-box;
  padding: 56px 90px; min-height: 520px; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(247,156,29,.30); color: #8a5200;
  font-weight: 600; font-size: 12.5px; letter-spacing: .8px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--em-naranja);
  box-shadow: 0 0 0 4px rgba(247,156,29,.20);
  animation: hero-pulse 1.8s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(247,156,29,.20); }
  50% { box-shadow: 0 0 0 8px rgba(247,156,29,0); }
}
.hero-slide h1 {
  font-size: 48px; line-height: 1.08; letter-spacing: -1.2px;
  color: var(--em-oscuro); font-weight: 700; margin: 0 0 18px;
}
.hero-slide h1 .accent {
  background: linear-gradient(135deg, var(--em-naranja) 0%, #d97706 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  color: #4b5563; font-size: 17px; line-height: 1.6;
  margin: 0 0 26px; max-width: 540px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-visual {
  position: relative; height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .blob {
  position: absolute; width: 420px; height: 420px;
  border-radius: 42% 58% 56% 44% / 48% 42% 58% 52%;
  background: linear-gradient(135deg, rgba(247,156,29,.22), rgba(247,156,29,.05));
  filter: blur(2px); z-index: 0;
  animation: blob-float 8s ease-in-out infinite;
}
@keyframes blob-float {
  0%,100% { transform: translateY(-6px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(4deg); }
}
.hero-visual .mockup {
  position: relative; z-index: 1;
  max-height: 420px; max-width: 100%; height: auto;
  animation: mockup-float 5s ease-in-out infinite;
  filter: drop-shadow(0 25px 40px rgba(16,20,24,.20));
}
@keyframes mockup-float {
  0%,100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}
/* Controles del carrusel estilo vidrio */
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border: 1px solid rgba(11,27,43,.06); box-shadow: 0 6px 18px rgba(16,20,24,.10);
  top: 50%; transform: translateY(-50%); opacity: 1; z-index: 5;
  transition: all .2s ease;
}
.hero-slider .carousel-control-prev { left: 14px; }
.hero-slider .carousel-control-next { right: 14px; }
.hero-slider .carousel-control-prev:hover, .hero-slider .carousel-control-next:hover {
  background: var(--em-naranja);
}
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon {
  filter: invert(1) grayscale(100) brightness(.3); width: 22px; height: 22px;
}
.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon { filter: none; }
.hero-slider .carousel-indicators { bottom: 8px; gap: 4px; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 999px; border: 0;
  background: rgba(11,27,43,.18); opacity: 1; transition: all .25s ease;
}
.hero-slider .carousel-indicators .active { width: 28px; background: var(--em-naranja); }
@media (max-width: 992px) {
  .hero-slide { grid-template-columns: 1fr; padding: 40px 24px 64px; text-align: center; min-height: auto; gap: 12px; max-width: 100%; }
  .hero-visual { height: 300px; order: -1; }
  .hero-visual .blob { width: 280px; height: 280px; }
  .hero-visual .mockup { max-height: 280px; max-width: calc(100vw - 48px); }
  .hero-slide h1 { font-size: 30px; letter-spacing: -.5px; }
  .hero-lead { font-size: 15px; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
}
@media (max-width: 576px) {
  html, body { overflow-x: hidden; }
  .hero-slide { padding: 36px 16px 56px; }
  .hero-slide h1 { font-size: 28px; letter-spacing: 0; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 270px; }
}

/* Hero sin slider */
.hero {
  background: linear-gradient(135deg, var(--em-oscuro) 0%, #232c36 100%);
  color: #fff; padding: 64px 0;
}
.hero .destacar { color: var(--em-naranja); }

/* Tarjetas de producto */
.card-producto {
  border: 0; border-radius: 14px; box-shadow: 0 2px 10px rgba(16,20,24,.08);
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.card-producto:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(16,20,24,.14); }
.card-producto img.foto { height: 230px; object-fit: contain; padding: 14px; background: #fff; border-radius: 14px 14px 0 0; }
.servicio-card {
  overflow: hidden;
}
.servicio-card-moderado {
  background: #fff7df;
  border: 1px solid #ffd166;
}
.servicio-card-urgencia {
  background: #fff0f0;
  border: 1px solid #f3a6a6;
}
.servicio-card-moderado .card-body,
.servicio-card-urgencia .card-body {
  background: transparent;
}
.servicio-card-moderado .precio,
.servicio-card-moderado .precio-mensaje-servicio {
  color: #d68000;
}
.servicio-card-urgencia .precio,
.servicio-card-urgencia .precio-mensaje-servicio {
  color: #b42318;
}
.servicio-card-urgencia .servicio-bullets i {
  color: #d92d20;
}
.services-mobile-overview {
  margin-top: .75rem;
}
.services-mobile-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}
.service-quick-pill {
  min-height: 42px;
  border: 1px solid rgba(247,156,29,.28);
  border-radius: 10px;
  background: #fff8ed;
  color: var(--em-oscuro);
  box-shadow: 0 3px 10px rgba(16,20,24,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.15;
}
.service-quick-pill:hover {
  color: var(--em-oscuro);
}
.service-quick-pill-moderado {
  background: #fff7df;
  border-color: #ffd166;
}
.service-quick-pill-urgencia {
  background: #fff0f0;
  border-color: #f3a6a6;
  color: #971b13;
}
.services-mobile-stack {
  display: grid;
  gap: 16px;
}
.service-mobile-card {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 92px;
}
.service-mobile-media {
  display: block;
  background: #f8f9fb;
}
.service-mobile-media img,
.service-mobile-media-placeholder {
  width: 100%;
  height: 156px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}
.service-mobile-media-placeholder {
  color: #98a2b3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-carousel {
  position: relative;
  padding: 0;
}
.services-carousel-viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 14px 0 24px;
  margin: -14px 0 -24px;
  /* El gesto horizontal lo maneja el carrusel; el vertical sigue siendo scroll. */
  touch-action: pan-y;
  cursor: grab;
}
.services-carousel-viewport:active {
  cursor: grabbing;
}
.services-carousel-static .services-carousel-viewport {
  cursor: default;
}
/* Mientras se arrastra, las imagenes y textos no deben seleccionarse. */
.services-carousel-track {
  user-select: none;
  -webkit-user-select: none;
}
.services-carousel-track img {
  -webkit-user-drag: none;
  user-select: none;
}
.services-carousel:focus-visible {
  outline: 2px solid var(--em-naranja, #ff6b00);
  outline-offset: 6px;
  border-radius: 12px;
}
.services-carousel-viewport::-webkit-scrollbar {
  display: none;
}
.services-carousel-track {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.services-carousel-item {
  flex: 0 0 25%;
  min-width: 0;
  display: flex;
  box-sizing: border-box;
  padding: 0 12px;
  scroll-snap-align: start;
}
.services-carousel-item .card-producto {
  width: 100%;
}
.services-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  background: #fff;
  color: var(--em-oscuro);
  box-shadow: 0 8px 22px rgba(16,20,24,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.services-carousel-arrow:hover {
  background: var(--em-naranja);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255,153,0,.28);
  transform: translateY(-50%) scale(1.04);
}
.services-carousel-static .services-carousel-arrow {
  display: none;
}
.services-carousel-prev {
  left: -58px;
}
.services-carousel-next {
  right: -58px;
}
/* Indicadores de posicion */
.services-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  /* El viewport lleva margen inferior negativo (-24px) para recortar la
     sombra de las tarjetas, asi que aqui se compensa para que los puntos
     no queden pegados al borde de las tarjetas. */
  margin-top: 34px;
}
@media (max-width: 575.98px) {
  .services-carousel-dots {
    margin-top: 28px;
  }
}
.services-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d5dbe4;
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.services-carousel-dot:hover {
  background: #b6bfcc;
}
.services-carousel-dot.is-active {
  width: 26px;
  background: var(--em-naranja);
}
.services-carousel-dot:focus-visible {
  outline: 2px solid var(--em-naranja);
  outline-offset: 3px;
}
.services-carousel-static .services-carousel-dots {
  display: none;
}
/* Quien pidio menos animacion no ve desplazamientos automaticos. */
@media (prefers-reduced-motion: reduce) {
  .services-carousel-track {
    transition: none !important;
  }
  .services-carousel-dot {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .services-carousel {
    padding: 0;
  }
  .services-carousel-item {
    flex-basis: 50%;
    padding-left: 9px;
    padding-right: 9px;
  }
  .services-carousel-prev {
    left: -42px;
  }
  .services-carousel-next {
    right: -42px;
  }
}
@media (max-width: 575.98px) {
  .services-carousel {
    padding: 0 26px;
  }
  .services-carousel-item {
    flex-basis: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }
  .services-carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .services-carousel-prev {
    left: -2px;
  }
  .services-carousel-next {
    right: -2px;
  }
}
#servicios,
#productos,
#videos {
  scroll-margin-top: 96px;
}
.product-recommendations {
  border-top: 1px solid #edf0f4;
  padding-top: 34px;
}
.product-description-section {
  border-top: 1px solid #edf0f4;
  margin-top: 3rem;
  padding-top: 34px;
}
.product-info-tabs {
  border-bottom: 1px solid #e4e8ef;
  gap: 8px;
}
.product-info-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #566273;
  font-weight: 700;
  padding: 9px 16px;
}
.product-info-tabs .nav-link:hover {
  border-color: rgba(247,156,29,.35);
  color: var(--em-naranja-hover);
}
.product-info-tabs .nav-link.active {
  border-color: rgba(247,156,29,.45);
  background: #fff8ed;
  color: var(--em-naranja-hover);
}
.product-info-tab-content {
  padding-top: 4px;
}
.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 250px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 4px 4px 16px;
  scrollbar-width: thin;
}
.product-rail-card {
  scroll-snap-align: start;
  min-height: 100%;
}
.product-rail-card img.foto,
.product-rail-card .foto {
  height: 180px;
}
.product-rail-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rail-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.product-rail-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #dfe5ec;
  border-radius: 999px;
  background: #fff;
  color: #101418;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.product-rail-btn:hover {
  background: var(--em-naranja);
  border-color: var(--em-naranja);
  color: #fff;
}
.product-video-section {
  border-top: 1px solid #edf0f4;
  padding-top: 34px;
}
.servicio-bullets {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  color: #5b6472;
  font-size: .9rem;
  line-height: 1.35;
}
.servicio-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 7px;
}
.servicio-bullets i {
  color: var(--em-naranja);
  font-size: .98rem;
  line-height: 1.2;
  flex: 0 0 auto;
}
.servicio-bullets-detalle {
  font-size: 1rem;
  line-height: 1.45;
  margin: 10px 0 22px;
}
.servicio-detail-points {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #4b5563;
  font-size: .98rem;
  line-height: 1.45;
}
.servicio-detail-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 9px;
}
.servicio-detail-points i {
  color: var(--em-wa);
  font-size: 1rem;
  line-height: 1.35;
  flex: 0 0 auto;
}
.service-conditions {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff7df;
  border: 1px solid #ffd978;
  border-left: 5px solid var(--em-naranja);
  border-radius: 12px;
  color: #553b08;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(247,156,29,.12);
}
.service-conditions-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f59f00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.service-conditions h5 {
  color: #2a220f;
  font-weight: 800;
}
.service-conditions-compact {
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-left-width: 4px;
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.38;
  box-shadow: none;
}
.service-conditions-compact .service-conditions-icon {
  width: 26px;
  height: 26px;
  font-size: .82rem;
}
.service-conditions-compact h5 {
  font-size: .95rem;
}
.service-price-table-wrap {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16,20,24,.06);
}
.service-inline-prices-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.service-inline-prices-head h5 {
  margin: 0 0 2px;
  color: var(--em-oscuro);
  font-size: 1rem;
  font-weight: 800;
}
.service-inline-prices-head small {
  color: #667085;
}
.service-price-table-wrap-compact {
  border-radius: 10px;
  box-shadow: none;
}
.service-price-table {
  width: 100%;
  border-collapse: collapse;
}
.service-price-table th,
.service-price-table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid #e6e9ee;
}
.service-price-table tr:last-child td {
  border-bottom: 0;
}
.service-price-table th {
  background: #fbfcfe;
  color: var(--em-oscuro);
  font-weight: 800;
  font-size: 1rem;
}
.service-price-table td:last-child,
.service-price-table th:last-child {
  width: 36%;
}
.service-price-name {
  display: block;
  color: var(--em-oscuro);
  font-weight: normal;
}
.service-price-desc {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: .92rem;
  line-height: 1.35;
}
.service-price-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  cursor: pointer;
}
.service-price-choice input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--em-naranja);
  cursor: pointer;
}
.service-price-value {
  color: var(--em-oscuro);
  font-weight: 800;
  white-space: nowrap;
}
.service-price-wa {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9fbf1;
  color: var(--em-wa);
  text-decoration: none;
  vertical-align: middle;
}
.service-price-wa:hover {
  background: var(--em-wa);
  color: #fff;
}
.service-price-table-compact th,
.service-price-table-compact td {
  padding: 11px 12px;
}
.service-price-table-compact th {
  font-size: .82rem;
}
.service-price-table-compact td:last-child,
.service-price-table-compact th:last-child {
  width: 34%;
}
.service-price-table-compact .service-price-name,
.service-price-table-compact .service-price-value {
  font-size: .94rem;
}
.service-price-table-compact .service-price-desc {
  font-size: .82rem;
}
.service-option-grid {
  display: grid;
  gap: 14px;
}
.service-option-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(16,20,24,.06);
}
.service-option-copy h5 {
  margin-bottom: 6px;
  font-weight: 800;
  color: var(--em-oscuro);
}
.service-option-copy p {
  margin: 0;
  color: #566273;
}
.service-option-action {
  min-width: 190px;
  text-align: right;
}
.service-option-action .precio {
  margin-bottom: 10px;
  font-size: 1.45rem;
}
.precio {
  color: var(--em-naranja);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.12;
}
.precio-servicio-card {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .34rem;
}
.precio-etiqueta {
  font-size: .72em;
  font-weight: 800;
  line-height: 1.1;
}
.precio-mensaje-servicio {
  color: var(--em-naranja);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.25;
}
.precio-antes { color: #98a2b3; text-decoration: line-through; font-size: .95rem; }
.product-save-badge {
  background: #e8f7ee;
  color: #198754;
  border: 1px solid #bfe8cf;
  font-weight: 700;
}
.badge-destacado {
  position: absolute; top: 12px; left: 12px;
  background: var(--em-naranja); color: #fff;
}

/* Pagina de producto */
.product-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  padding: 10px 12px;
  max-width: 180px;
}
.product-brand-logo img {
  display: block;
  max-width: 150px;
  max-height: 64px;
  object-fit: contain;
}
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-weight: 700;
}
.product-stock i {
  font-size: 1rem;
}
.product-stock small {
  width: 100%;
  color: #667085;
  font-weight: 500;
  padding-left: 23px;
}
.product-stock.is-available {
  color: #16803a;
}
.product-stock.is-empty {
  color: #b42318;
}
.product-details-title {
  color: #4b5563;
  font-weight: 700;
  margin-bottom: 6px;
}
.product-details-list ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #4b5563;
  line-height: 1.55;
}
.product-support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #4b5563;
  font-size: .92rem;
  line-height: 1.45;
}
.product-support-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.product-support-list i {
  color: #0f9f63;
  flex: 0 0 auto;
}
.product-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.product-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  order: 2;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
}
.product-thumb {
  position: relative;
  width: 76px;
  flex: 0 0 76px;
  aspect-ratio: 1;
  border: 2px solid #e1e6ee;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--em-naranja);
  box-shadow: 0 4px 14px rgba(247,156,29,.18);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  background: rgba(16,20,24,.34);
}
.product-gallery-stage {
  order: 1;
  min-height: 520px;
  border: 1px solid #e1e6ee;
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.product-gallery-zoom {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 520px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}
.product-gallery-image {
  width: 100%;
  height: 520px;
  object-fit: contain;
  padding: 18px;
}
.product-gallery-caption {
  width: calc(100% - 36px);
  min-height: 58px;
  margin: 0 18px 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f9fb;
  border: 1px solid #edf0f4;
  color: #344054;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}
.product-gallery-caption.is-empty {
  color: transparent;
  background: transparent;
  border-color: transparent;
}
.product-gallery-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,20,24,.76);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .85rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}
.product-gallery-zoom:hover .product-gallery-zoom-hint,
.product-gallery-zoom:focus-visible .product-gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.product-gallery-video {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: #000;
  border: 0;
  display: block;
  flex: 0 0 auto;
}
.product-gallery-empty {
  min-height: 420px;
  border: 1px solid #e1e6ee;
  border-radius: 14px;
  background: #fff;
  color: #98a2b3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,10,12,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.product-image-modal[hidden] { display: none; }
.product-image-modal img {
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
}
.product-image-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #101418;
  font-size: 2rem;
  line-height: 1;
}
body.modal-open { overflow: hidden; }
.galeria-principal {
  width: 100%; height: 420px; object-fit: contain; background: #fff;
  border-radius: 14px; border: 1px solid #e9ecf1;
}
.galeria-thumb {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px;
  border: 2px solid #e9ecf1; cursor: pointer;
}
.galeria-thumb.activa { border-color: var(--em-naranja); }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 992px) {
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .product-gallery-thumbs {
    max-height: none;
  }
  .product-gallery-stage {
    min-height: 360px;
  }
  .product-gallery-zoom {
    min-height: 360px;
  }
  .product-gallery-image {
    height: 360px;
  }
  .product-gallery-video {
    height: 360px;
  }
  .product-rail {
    grid-auto-columns: minmax(210px, 72vw);
  }
  .product-rail-controls {
    display: none;
  }
}

/* Contenido del editor (Quill 2 usa <ol> con data-list) */
.contenido ol { padding-left: 1.4rem; }
.contenido ul { padding-left: 1.4rem; }
.contenido li[data-list="bullet"] { list-style-type: disc; }
.contenido li[data-list="ordered"] { list-style-type: decimal; }
.contenido img { max-width: 100%; height: auto; }
.contenido table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  display: block;
  overflow-x: auto;
}
.contenido th,
.contenido td {
  border: 1px solid #dfe4ec;
  padding: 10px 12px;
  vertical-align: top;
}
.contenido th {
  background: #f8f9fb;
  font-weight: 700;
}
.contenido tr:nth-child(even) td {
  background: #fbfcfe;
}
.contenido h2, .contenido h3, .contenido h4 { font-weight: 700; margin: 1.5rem 0 .75rem; }
.contenido blockquote {
  border-left: 4px solid var(--em-naranja);
  background: #fff8ed;
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-radius: 0 10px 10px 0;
  color: #3f4752;
}
.contenido iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}
.contenido .ql-align-center { text-align: center; }
.contenido .ql-align-right { text-align: right; }
.contenido .ql-align-justify { text-align: justify; }
.contenido .ql-size-small { font-size: .85em; }
.contenido .ql-size-large { font-size: 1.25em; }
.contenido .ql-size-huge { font-size: 1.6em; }

/* Secciones */
.seccion-titulo { font-weight: 700; }
.seccion-titulo::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--em-naranja); border-radius: 2px; margin-top: 8px;
}
  .section-description {
    font-size: 1.05rem;
    line-height: 1.38;
  }
  .section-description p {
    margin: 0 0 .28rem;
  }
  #servicios .section-description,
  #productos .section-description {
    margin-bottom: 1rem !important;
  }
.section-description > :last-child {
  margin-bottom: 0;
}
.section-description ul,
.section-description ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}
.section-description .ql-align-center { text-align: center; }
.section-description .ql-align-right { text-align: right; }
.section-description .ql-align-justify { text-align: justify; }
.section-description .ql-size-small { font-size: .85em; }
.section-description .ql-size-large { font-size: 1.25em; }
.section-description .ql-size-huge { font-size: 1.6em; }
#info { background: var(--em-gris); }

/* Footer */
.footer { background: var(--em-oscuro); color: #cfd6dd; }
.logo-footer { filter: brightness(0) invert(1); opacity: .9; }

/* Redes sociales footer */
.red-social {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1c232b; color: #cfd6dd; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .15s;
}
.red-social:hover { background: var(--em-naranja); color: #fff; }

/* Boton flotante WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--em-wa); color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); text-decoration: none;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }

.mobile-section-nav {
  display: none;
}

@media (max-width: 767.98px) {
  body.has-mobile-section-nav {
    padding-bottom: 74px;
  }

  #servicios,
  #productos,
  #videos {
    scroll-margin-top: 78px;
  }

  .seccion-titulo {
    text-align: center;
  }

  .seccion-titulo::after {
    margin-left: auto;
    margin-right: auto;
  }

  .section-description,
  .section-description p,
  .section-description .ql-align-right,
  .section-description .ql-align-justify {
    text-align: center;
  }

  .section-description ul,
  .section-description ol {
    list-style-position: inside;
    padding-left: 0;
  }

  #servicios .row > [class*="col-"],
  #productos .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-producto {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .card-producto .card-body {
    padding: 1.1rem;
  }

  .card-producto h6 {
    font-size: 1.15rem;
    line-height: 1.24;
  }

  #servicios .card-producto img,
  #servicios .card-producto > a > div {
    height: 218px !important;
  }

  #servicios .service-mobile-media img,
  #servicios .service-mobile-media-placeholder {
    height: 156px !important;
  }

  #productos .card-producto img.foto,
  #productos .card-producto .foto {
    height: 218px;
  }

  #servicios .servicio-bullets {
    gap: 10px;
    margin-top: 14px;
  }

  #servicios .servicio-bullets li {
    font-size: 1rem;
    line-height: 1.35;
  }

  .card-producto .precio {
    font-size: 1.5rem;
  }

  .card-producto .btn-sm {
    font-size: 1rem;
    padding: .62rem .8rem;
  }

  .service-conditions {
    padding: 15px;
    gap: 11px;
  }

  .service-option-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .service-option-action {
    min-width: 0;
    text-align: left;
  }

  .service-option-action .btn {
    width: 100%;
  }

  .service-price-table-wrap {
    border-radius: 10px;
  }

  .service-price-table,
  .service-price-table tbody,
  .service-price-table tr,
  .service-price-table td {
    display: block;
    width: 100%;
  }

  .service-price-table thead {
    display: none;
  }

  .service-price-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid #e6e9ee;
  }

  .service-price-table tr:last-child {
    border-bottom: 0;
  }

  .service-price-table td {
    padding: 0;
    border: 0;
  }

  .service-price-table td:last-child,
  .service-price-table th:last-child,
  .service-price-table-compact td:last-child,
  .service-price-table-compact th:last-child {
    width: 100%;
  }

  .service-price-table td + td {
    margin-top: 12px;
  }

  .service-price-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #667085;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
  }

  .service-price-table td[data-label="Mano de obra"]::before {
    white-space: nowrap;
  }

  .service-price-table td[data-label="Mano de obra"] .service-price-value {
    display: block;
    width: 100%;
    white-space: nowrap;
  }

  .mobile-section-nav {
    position: fixed;
    left: 12px;
    right: 92px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(16,20,24,.9);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(16,20,24,.24);
    backdrop-filter: blur(10px);
  }

  .mobile-section-nav a {
    min-width: 0;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
  }

  .mobile-section-nav a.active {
    background: var(--em-naranja);
    color: #fff;
  }

  .mobile-section-nav i {
    font-size: 14px;
  }

  .wa-float {
    right: 18px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 380px) {
  .mobile-section-nav {
    right: 86px;
  }

  .mobile-section-nav a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11px;
  }
}

/* ---------------------------------------------------------------------------
   Negocio local: boton de llamar, zonas de cobertura y valoracion de Google
   --------------------------------------------------------------------------- */
.btn-llamar {
  background: #1f2833;
  color: #fff;
  border: 0;
}
.btn-llamar:hover,
.btn-llamar:focus {
  background: var(--em-naranja);
  color: #fff;
}
.cobertura-footer .zona-chip {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: #1f2833;
  border: 1px solid #2a333d;
  color: #cfd6dd;
  font-size: .8rem;
  line-height: 1.4;
}
.cobertura-footer .zona-chip-nota {
  border-style: dashed;
  color: #9aa4b0;
  cursor: help;
}
/* Valoracion de Google reutilizable */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e1e6ee;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.google-rating:hover {
  border-color: var(--em-naranja);
}
.google-rating .estrellas {
  color: #fbbc04;
  letter-spacing: 1px;
}
.google-rating .nota {
  font-weight: 700;
}
.google-rating .cuenta {
  color: #6c757d;
  font-size: .85rem;
}
@media (max-width: 575.98px) {
  .cobertura-footer .zona-chip {
    font-size: .75rem;
    padding: 3px 9px;
  }
}

/* Opiniones de clientes */
.resena-card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(16,20,24,.06);
  display: flex;
  flex-direction: column;
}
.resena-card .estrellas {
  color: #fbbc04;
  letter-spacing: 2px;
  font-size: 1.05rem;
}
.resena-card .resena-texto {
  color: #46505c;
  font-size: .94rem;
  line-height: 1.55;
}

/* Zonas agrupadas por forma de cobro */
.cobertura-footer .zona-grupo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.cobertura-footer .zona-grupo-titulo {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  margin-right: 4px;
}
.cobertura-footer .zona-sin_recargo    { background: rgba(37,211,102,.16);  color: #7ee2a8; }
.cobertura-footer .zona-recargo        { background: rgba(247,156,29,.16);  color: #f5b662; }
.cobertura-footer .zona-gasolina_peajes{ background: rgba(13,202,240,.14);  color: #7fd6ec; }
.cobertura-footer .zona-consultar      { background: rgba(255,255,255,.08); color: #9aa4b0; }
