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

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; }

/* ===== 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; }
  .hero-visual { height: 300px; order: -1; }
  .hero-visual .blob { width: 280px; height: 280px; }
  .hero-visual .mockup { max-height: 280px; }
  .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; }
}

/* 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-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;
}
.precio { color: var(--em-naranja); font-weight: 700; font-size: 1.35rem; }
.precio-antes { color: #98a2b3; text-decoration: line-through; font-size: .95rem; }
.badge-destacado {
  position: absolute; top: 12px; left: 12px;
  background: var(--em-naranja); color: #fff;
}

/* Pagina de producto */
.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; }

/* Contenido del editor (Quill 2 usa <ol> con data-list) */
.contenido ol { 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; }

/* 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;
}
#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); }
