* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

:root {
  --naranja-fuego: #FFA500;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
  from { top: -100px; }
  to { top: 0; }
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: var(--naranja-fuego);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  margin-right: 40px;
}

.nav-links a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s, transform 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--naranja-fuego);
  transform: translateY(-2px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: var(--naranja-fuego);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--naranja-fuego);
  white-space: nowrap;
  transition: transform 0.2s;
}

.menu-btn:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: black;
    height: 100vh;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 60px 20px;
    transition: right 0.4s ease-in-out;
  }

  .nav-links a {
    margin: 20px 0;
    font-size: 18px;
  }

  .menu-btn {
    display: block;
    font-size: 20px;
  }

  .nav-links.active {
    right: 0;
  }
}

/* Footer */
footer {
  background-color: #111;
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
  animation: fadeIn 1s ease-in;
}

footer .footer-logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--naranja-fuego);
}

footer .social-icons {
  margin: 20px 0;
}

footer .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: var(--naranja-fuego);
}

footer .footer-links {
  margin-top: 20px;
  font-size: 14px;
}

footer .footer-links a {
  color: #ccc;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--naranja-fuego);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.logo-img {
  height: 40px;
  width: auto;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}


.hero {
  background-image: url('assets/img/hero.png'); /* puedes usar tu propia imagen */
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* oscurece la imagen para mejor contraste */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #FFA500; /* naranja más claro */
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.hero-btn {
  background-color: #FFA500;
  color: black;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
  background-color: white;
  transform: scale(1.05);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}


/* ===== QUIÉNES SOMOS – versión compacta ===== */
:root{
  --lx-brand: #FFA500;     /* naranja más amarillo (branding) */
  --lx-ink: #111;
  --lx-muted: #555;
  --lx-bg-soft: #fffdf8;
  --lx-card: #fff;
  --lx-ring: rgba(255,165,0,.22);
}

.about-lx.compact{
  background: var(--lx-bg-soft);
  padding: clamp(32px, 5vw, 56px) 16px; /* compacto */
}

.about-lx__container{
  max-width: 1040px;       /* más estrecho = más ordenado */
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto; /* texto | imagen peque */
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}

.about-lx__title{
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--lx-ink);
  margin: 0 0 6px 0;
  position: relative;
}
.about-lx__title::after{
  content:"";
  display:block;
  width: 72px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
  border-radius: 999px;
}

.about-lx__lead{
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--lx-muted);
  margin: 8px 0 12px 0;
  max-width: 62ch;
}

.about-lx__chips{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-bottom: 14px;
}
.chip{
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,165,0,.10);
  color: var(--lx-ink);
  border: 1px solid rgba(255,165,0,.20);
}

.about-lx__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;                /* menos espacio entre cards */
  margin-top: 10px;
}

.about-card{
  background: var(--lx-card);
  border-radius: 12px;
  padding: 16px 14px;       /* padding compacto */
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.about-card::before{
  content:"";
  position:absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
}
.about-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,.08);
  border-color: var(--lx-ring);
}
.about-card__title{
  margin: 0 0 6px 0;
  font-size: 17px;
  color: var(--lx-ink);
}
.about-card p{ margin: 0 0 6px 0; color: var(--lx-muted); }
.about-card__list{
  margin: 6px 0 0 0; padding-left: 18px;
}
.about-card__list li{ margin: 4px 0; color: var(--lx-muted); }

.about-lx__footer-note{
  margin-top: 12px;
  color: var(--lx-muted);
  font-weight: 600;
  font-size: 14px;
}

/* Imagen pequeña y limpia */
.about-lx__media{
  align-self: start;
  justify-self: center;
}
.about-lx__figure{
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.about-lx__figure img{
  width: clamp(220px, 28vw, 320px); /* limita tamaño => pequeña */
  height: auto;
  display:block;
  transform: scale(1.01);
  transition: transform .6s ease;
}
.about-lx__figure:hover img{ transform: scale(1.04); }

/* Reveal sutil (usa IO en JS) */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: transform, opacity;
}
.reveal[data-reveal="left"]  { transform: translateX(-16px); }
.reveal[data-reveal="right"] { transform: translateX(16px);  }
.reveal.in{ opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 960px){
  .about-lx__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px){
  .about-lx__container{ grid-template-columns: 1fr; gap: 16px; }
  .about-lx__media{ order: -1; } /* imagen arriba en móvil */
  .about-lx.compact{ padding: 28px 14px; }
  .about-lx__grid{ grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; }
}


/* ===== ¿POR QUÉ ELEGIRNOS? (compacto + animado) ===== */
:root{
  --lx-brand: #FFA500;            /* naranja más amarillo */
  --lx-ink: #111;
  --lx-muted: #555;
  --lx-bg: #ffffff;
  --lx-soft: #fffdf6;             /* fondo suave corporativo */
  --lx-ring: rgba(255,165,0,.25);
}

.why-lx{
  background: linear-gradient(180deg, var(--lx-soft) 0%, var(--lx-bg) 100%);
  padding: clamp(32px, 6vw, 60px) 16px;
}

.why-lx__container{
  max-width: 1040px;
  margin-inline: auto;
}

.why-lx__title{
  margin: 0;
  color: var(--lx-ink);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  text-align: center;
  position: relative;
}
.why-lx__title::after{
  content:"";
  display:block;
  width: 88px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
  border-radius: 999px;
}

.why-lx__subtitle{
  text-align: center;
  color: var(--lx-muted);
  margin: 10px auto 18px;
  max-width: 70ch;
  font-size: clamp(14px, 1.6vw, 16px);
}

/* Grid compacto y sin huecos excesivos */
.why-lx__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px){
  .why-lx__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .why-lx__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 460px){
  .why-lx__grid{ grid-template-columns: 1fr; }
}

/* Card */
.why-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.why-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 60px at 0% 0%, rgba(255,165,0,.10), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.why-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
  border-color: var(--lx-ring);
}
.why-card:hover::before{ opacity: 1; }

.why-card__icon{
  width: 38px; height: 38px; line-height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lx-brand), #ffd774);
  color: #111;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(255,165,0,.35);
  transform: translateZ(0);
  transition: transform .3s ease;
  user-select: none;
}
.why-card:hover .why-card__icon{
  transform: translateY(-2px) scale(1.04);
}

.why-card__title{
  margin: 8px 0 4px 0;
  font-size: 16px;
  color: var(--lx-ink);
}
.why-card__text{
  margin: 0;
  color: var(--lx-muted);
  font-size: 14px;
}

/* Reveal (usa el IO del JS) */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: transform, opacity;
}
.reveal[data-reveal="right"]{ transform: translateX(16px); }
.reveal[data-reveal="up"]{ transform: translateY(12px); }
.reveal.in{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; }
}


/* ===== NUESTROS SERVICIOS (compacto + animado) ===== */
:root{
  --lx-brand: #FFA500;              /* naranja + amarillo (branding) */
  --lx-ink: #111;
  --lx-muted: #555;
  --lx-soft: #fffdf6;
  --lx-ring: rgba(255,165,0,.25);
}

.services-lx{
  background: linear-gradient(180deg, var(--lx-soft) 0%, #ffffff 100%);
  padding: clamp(32px, 6vw, 60px) 16px;
}

.services-lx__container{
  max-width: 1040px;
  margin-inline: auto;
}

.services-lx__title{
  margin: 0 0 14px 0;
  color: var(--lx-ink);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  text-align: center;
  position: relative;
}
.services-lx__title::after{
  content:"";
  display:block;
  width: 96px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
  border-radius: 999px;
}

/* Grid sin huecos excesivos */
.services-lx__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px){
  .services-lx__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .services-lx__grid{ grid-template-columns: 1fr; }
}

/* Card */
.svc-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.svc-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px 70px at 0% 0%, rgba(255,165,0,.10), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.svc-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
  border-color: var(--lx-ring);
}
.svc-card:hover::before{ opacity: 1; }

.svc-card__icon{
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lx-brand), #ffd774);
  color: #111; font-size: 20px;
  box-shadow: 0 6px 16px rgba(255,165,0,.35);
  transform: translateZ(0);
  transition: transform .3s ease;
}
.svc-card:hover .svc-card__icon{ transform: translateY(-2px) scale(1.04); }

.svc-card__title{
  margin: 0;
  font-size: 16px;
  color: var(--lx-ink);
}

/* Reveal (usa IO del JS global) */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: transform, opacity;
}
.reveal[data-reveal="right"]{ transform: translateX(16px); }
.reveal[data-reveal="up"]{ transform: translateY(12px); }
.reveal.in{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; }
}


/* ===== TESTIMONIOS (carrusel accesible y responsive) ===== */
:root{
  --lx-brand: #FFA500;         /* usará tu brand global si ya existe */
  --lx-ink: #111;
  --lx-muted: #555;
  --lx-soft: #fffdf6;
}

.testimonials-lx{
  background: linear-gradient(180deg, var(--lx-soft) 0%, #fff 100%);
  padding: clamp(32px, 6vw, 64px) 16px;
}
.testimonials-lx__container{
  max-width: 1040px; margin-inline: auto;
}
.testimonials-lx__title{
  margin: 0 0 12px 0; text-align:center;
  font-size: clamp(24px, 3.2vw, 34px); color: var(--lx-ink);
}
.testimonials-lx__title::after{
  content:""; display:block; width:96px; height:3px; margin:10px auto 0;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
  border-radius:999px;
}

/* Carousel core */
.t-carousel{
  position: relative; user-select: none;
}
.t-viewport{
  overflow: hidden; border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  background: #fff;
}
.t-track{
  display: flex; margin:0; padding:0; list-style:none;
  transition: transform .5s ease;
}
.t-slide{ min-width: 100%; padding: 0; }

.t-card{
  padding: clamp(16px, 3vw, 28px) clamp(14px, 3vw, 28px);
  display: grid; gap: 10px;
  position: relative;
}
.t-card::before{
  content: "“";
  position: absolute; top: 8px; left: 12px;
  font-size: 48px; line-height: 1; color: rgba(0,0,0,.06);
  pointer-events: none;
}
.t-card blockquote{
  margin: 8px 0 4px 0;
  color: var(--lx-ink);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.5;
}
.t-author{ font-weight: 700; color: var(--lx-ink); }
.t-meta{ color: var(--lx-muted); font-size: 14px; }

/* Botones */
.t-btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12); background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  display: grid; place-items: center; font-size: 24px; color: var(--lx-ink);
  transition: transform .24s ease, background .24s ease;
  z-index: 2;
}
.t-btn:hover{ transform: translateY(-50%) scale(1.06); background: #fafafa; }
.t-btn--prev{ left: -8px; }
.t-btn--next{ right: -8px; }
@media (max-width: 640px){
  .t-btn{ width: 36px; height: 36px; font-size: 20px; }
  .t-btn--prev{ left: 4px; } .t-btn--next{ right: 4px; }
}

/* Dots */
.t-dots{
  display: flex; justify-content: center; gap: 6px; margin-top: 10px;
}
.t-dots button{
  width: 9px; height: 9px; border-radius: 999px; border: none;
  background: rgba(0,0,0,.18); cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.t-dots button[aria-selected="true"]{
  background: var(--lx-brand); transform: scale(1.2);
}
.t-dots button:focus-visible{ outline: 2px solid var(--lx-brand); }

/* Dragging feedback */
.t-viewport.dragging .t-track{ transition: none; cursor: grabbing; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .t-track{ transition: none; }
}


/* ====== FOOTER Grupo LatinExpress (SCOPED) ====== */
.lx-footer{
  --lx-brand: #FFA500;        /* naranja/amarillo corporativo */
  --lx-bg: #0f0f10;
  --lx-ink: #eaeaea;
  --lx-muted: #a9a9a9;
  --lx-ring: rgba(255,165,0,.28);

  background: var(--lx-bg);
  color: var(--lx-ink);
  position: relative;
  overflow: clip;
  font-family: inherit;
}
.lx-footer *, .lx-footer *::before, .lx-footer *::after{
  box-sizing: border-box;   /* scoped */
}

.lx-footer::before{
  content:"";
  position:absolute; inset:0 auto auto 0; height:4px; width:100%;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774);
  animation: lx-footer-bar 8s linear infinite;
}
@keyframes lx-footer-bar{
  0%{ background-position: 0% 50%; }
  100%{ background-position: 200% 50%; }
}

.lx-footer__container{
  max-width: 1200px; margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 20px;
  display: grid; gap: 28px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width: 920px){ .lx-footer__container{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .lx-footer__container{ grid-template-columns: 1fr; } }

/* Brand */
.lx-footer__logo{
  width: clamp(120px, 16vw, 160px);
  height: auto; display:block; margin-bottom: 8px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
}
.lx-footer__title{ margin: 6px 0 6px 0; font-size: 20px; color:#fff; }
.lx-footer__desc{ margin: 0 0 10px 0; color: var(--lx-muted); }
.lx-footer__schedule{ margin: 0 0 10px 0; color: var(--lx-ink); }

.lx-footer__contact{ list-style: none; margin: 0 0 14px 0; padding: 0; }
.lx-footer__contact li{ margin: 6px 0; }
.lx-footer a{ color: var(--lx-ink); text-decoration: none; }
.lx-footer a:hover{
  color: #fff; text-decoration: underline; text-decoration-color: var(--lx-brand);
}

/* Enlaces */
.lx-footer__nav h4,
.lx-footer__legal h4{ margin: 6px 0 10px 0; font-size: 16px; color: #fff; }

.lx-footer__nav ul,
.lx-footer__legal ul{ list-style: none; margin: 0; padding: 0; }
.lx-footer__nav li,
.lx-footer__legal li{ margin: 8px 0; }

.lx-footer__nav a,
.lx-footer__legal a{
  color: var(--lx-muted);
  text-underline-offset: 2px; transition: color .2s, text-underline-offset .2s;
}
.lx-footer__nav a:hover,
.lx-footer__legal a:hover{
  color: #fff; text-decoration: underline; text-decoration-color: var(--lx-brand);
  text-underline-offset: 4px;
}

/* Redes sociales */
.lx-footer__socials{
  display: flex; gap: 10px; flex-wrap: wrap;
}
.lx-footer .social{
  width: 36px; height: 36px;
  display: inline-flex; align-items:center; justify-content:center;
  border-radius: 10px; background: #151517; color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
  text-decoration: none;
}
.lx-footer .social:hover{
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, var(--lx-brand), #ffd774);
  color: #111; border-color: var(--lx-ring);
}
.lx-footer__socials--inline .social{ width: 30px; height: 30px; border-radius: 8px; }

/* Bottom bar */
.lx-footer__bottom{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; text-align: center; flex-wrap: wrap;
}
.lx-footer__bottom p{ margin: 0; color: var(--lx-muted); }
.lx-footer__bottom-links{ display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lx-footer__bottom-links a{ color: var(--lx-muted); }
.lx-footer__bottom-links a:hover{
  color: #fff; text-decoration: underline; text-decoration-color: var(--lx-brand);
}

/* Accesibilidad */
.lx-footer a:focus-visible,
.lx-footer .social:focus-visible{
  outline: 2px solid var(--lx-brand);
  outline-offset: 2px;
}


/* ====== PRODUCTS (LX) ====== */
.products-lx{
  --lx-brand: #FFA500; /* hereda si ya existe */
  --lx-ink: #111; --lx-muted:#555; --lx-soft:#fffdf6; --lx-ring: rgba(255,165,0,.25);

  background: linear-gradient(180deg, var(--lx-soft) 0%, #fff 100%);
  padding: clamp(32px, 6vw, 64px) 16px;
}
.products-lx__container{ max-width: 1200px; margin-inline: auto; }
.products-lx__title{
  margin: 0; text-align: center; color: var(--lx-ink);
  font-size: clamp(24px, 3.2vw, 34px);
}
.products-lx__title::after{
  content:""; display:block; width:96px; height:3px; margin:10px auto 0;
  background: linear-gradient(90deg, var(--lx-brand), #ffd774); border-radius: 999px;
}
.products-lx__subtitle{
  text-align: center; color: var(--lx-muted);
  margin: 10px auto 18px; max-width: 72ch; font-size: clamp(14px, 1.6vw, 16px);
}

/* Grid */
.products-lx__grid{
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px){ .products-lx__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 580px){ .products-lx__grid{ grid-template-columns: 1fr; } }

/* Card */
.prod-card{
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex; flex-direction: column;
}
.prod-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); border-color: var(--lx-ring); }
.p-title{ margin: 10px 12px 0 12px; font-size: 16px; color: var(--lx-ink); }
.p-text{ margin: 6px 12px 12px 12px; font-size: 14px; color: var(--lx-muted); }

/* CTA */
.p-cta{
  align-self: start; margin: 0 12px 14px 12px;
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--lx-brand), #ffd774); color: #111;
  text-decoration: none; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 18px rgba(255,165,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.p-cta:hover{ transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 28px rgba(255,165,0,.38); filter: saturate(1.05); }

/* Media (vertical) */
.p-media{
  position: relative; background: #f4f4f4;
  aspect-ratio: 3 / 4; /* vertical */
  width: 100%;
}
.p-media > img, .p-slide{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Carousel (solo en primeros 3) */
.p-carousel{ isolation: isolate; }
.p-carousel .p-slides{ position: relative; width: 100%; height: 100%; }
.p-carousel .p-slide{
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
}
.p-carousel .p-slide.is-active{ opacity: 1; }

/* Nav */
.p-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12); background: rgba(255,255,255,.9);
  display: grid; place-items:center; font-size: 22px; color:#111;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  z-index: 2; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.p-prev{ left: 8px; } .p-next{ right: 8px; }
.p-nav:hover{ transform: translateY(-50%) scale(1.06); background:#fff; }

/* Dots */
.p-dots{
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.p-dots button{
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: rgba(0,0,0,.22); cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.p-dots button[aria-selected="true"]{ background: var(--lx-brand); transform: scale(1.2); }
.p-dots button:focus-visible{ outline: 2px solid var(--lx-brand); }

/* Reveal sutil (usa tu IO global) */
.reveal{ opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{ transition: none; opacity:1; transform:none; } }



/* ===== HERO PRODUCTOS (scopeado) ===== */
.hero-prod{
  /* Colores corporativos */
  --lx-brand: #FFA500;                /* naranja + amarillo */
  --lx-brand-2: #ffd774;              /* acento suave */
  --lx-ink: #ffffff;
  --lx-bg-1: #0f0f10;                 /* base oscura elegante */
  --lx-bg-2: #1a1a1f;

  position: relative;
  isolation: isolate;
  color: var(--lx-ink);
  padding: clamp(48px, 10vw, 100px) 20px;
  min-height: 44vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: clip;

  /* Fondo en capas con gradientes */
  background:
    radial-gradient(60% 60% at 15% 25%, rgba(255,165,0,.25), transparent 60%),
    radial-gradient(55% 55% at 85% 30%, rgba(255,215,116,.18), transparent 65%),
    linear-gradient(135deg, var(--lx-bg-1) 0%, var(--lx-bg-2) 50%, var(--lx-bg-1) 100%);
}

/* Brillo animado sutil (decoración) */
.hero-prod__decor{
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 120%;
  background: radial-gradient(45% 45% at 50% 50%, rgba(255,165,0,.18) 0%, rgba(255,165,0,0) 60%);
  filter: blur(40px);
  animation: hp-float 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes hp-float{
  from { transform: translateY(0); opacity: .9; }
  to   { transform: translateY(12px); opacity: .7; }
}

.hero-prod__inner{
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
}

.hero-prod__title{
  margin: 0;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: .2px;
  text-wrap: balance;
}
.hero-prod__title::after{
  content:"";
  display:block;
  width: 110px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--lx-brand), var(--lx-brand-2));
  border-radius: 999px;
}

.hero-prod__subtitle{
  margin: 12px auto 20px;
  font-size: clamp(14px, 2vw, 18px);
  opacity: .9;
  max-width: 70ch;
}

.hero-prod__cta{
  display: inline-block;
  margin-top: 6px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lx-brand), var(--lx-brand-2));
  color: #111;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255,165,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.hero-prod__cta:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(255,165,0,.40);
  filter: saturate(1.06);
}

/* Animación de entrada sutil */
.hero-prod .hero-prod__title,
.hero-prod .hero-prod__subtitle,
.hero-prod .hero-prod__cta{
  opacity: 0;
  transform: translateY(12px);
  animation: hp-reveal .6s ease forwards;
}
.hero-prod .hero-prod__subtitle{ animation-delay: .06s; }
.hero-prod .hero-prod__cta{ animation-delay: .12s; }
@keyframes hp-reveal{
  to { opacity: 1; transform: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero-prod__decor{ animation: none; }
  .hero-prod .hero-prod__title,
  .hero-prod .hero-prod__subtitle,
  .hero-prod .hero-prod__cta{ animation: none; opacity: 1; transform: none; }
}



/* ===== CONTACTO (scope: .contact-lx) ===== */
.contact-lx{
  --lx-brand: #FFA500; --lx-ink: #111; --lx-muted:#666; --lx-soft:#fffdf6; --lx-ring: rgba(255,165,0,.28);
  background: linear-gradient(180deg, #fff 0%, var(--lx-soft) 100%);
  padding: clamp(32px, 6vw, 64px) 16px;
}
.contact-lx__container{
  max-width: 1200px; margin-inline: auto;
  display: grid; gap: 20px;
  grid-template-columns: 1.2fr .8fr;
}
@media (max-width: 900px){ .contact-lx__container{ grid-template-columns: 1fr; } }

.contact-lx__title{
  margin: 0; font-size: clamp(24px, 3.2vw, 34px); color: var(--lx-ink);
}
.contact-lx__subtitle{ margin: 6px 0 16px 0; color: var(--lx-muted); }

.contact-lx__form{
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px; padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.contact-lx__form .grid{
  display: grid; gap: 12px; grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px){ .contact-lx__form .grid{ grid-template-columns: 1fr; } }

.contact-lx .field{ display: grid; gap: 6px; }
.contact-lx label{ font-size: 14px; color: var(--lx-ink); }
.contact-lx input, .contact-lx textarea{
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12); outline: none; font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.contact-lx input:focus, .contact-lx textarea:focus{
  border-color: var(--lx-ring); box-shadow: 0 0 0 3px rgba(255,165,0,.12);
}
.contact-lx .hp-field{ position: absolute; left: -9999px; opacity: 0; }

.contact-lx .btn-submit{
  display: inline-block; margin-top: 8px;
  padding: 12px 18px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--lx-brand), #ffd774); color: #111;
  font-weight: 800; box-shadow: 0 10px 24px rgba(255,165,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.contact-lx .btn-submit:hover{ transform: translateY(-2px) scale(1.01); box-shadow: 0 16px 32px rgba(255,165,0,.38); }

.contact-lx .form-note{ font-size: 12px; color: var(--lx-muted); margin: 6px 0 0 0; }

.contact-lx__aside{ display: grid; gap: 12px; }
.contact-lx .mini-card{
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px; padding: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.contact-lx .mini-card h3{ margin: 0 0 6px 0; }
.contact-lx .mini-card .info{ list-style: none; margin: 8px 0 0 0; padding: 0; }
.contact-lx .mini-card .info li{ margin: 4px 0; }

.contact-lx .map-wrap{
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.06); box-shadow: 0 10px 24px rgba(0,0,0,.06);
  aspect-ratio: 4 / 3; /* mapa pequeño */
}
.contact-lx .map-wrap iframe{ width: 100%; height: 100%; border: 0; display: block; }
.contact-lx .map-link{
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 999px;
  color: #111; text-decoration: none; font-weight: 700; font-size: 12px;
}

/* Reveal sutil (reutiliza tu IntersectionObserver) */
.contact-lx .reveal{ opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.contact-lx .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .contact-lx .reveal{ transition: none; opacity:1; transform:none; } }


/* ===== TESTIMONIOS CENTRADOS CON 5 ESTRELLAS ===== */
.tcenter{
  --tc-brand: #FFA500;   /* mantiene branding */
  --tc-ink: #111;
  --tc-soft: #fffdf6;
  --tc-star: #FFC107;    /* dorado estrellas */
  background: linear-gradient(180deg, var(--tc-soft) 0%, #fff 100%);
  padding: clamp(32px, 6vw, 64px) 16px;
}
.tcenter__wrap{ max-width: 820px; margin-inline: auto; text-align: center; }
.tcenter__title{
  margin: 0 0 10px 0; font-size: clamp(24px, 3.2vw, 34px); color: var(--tc-ink);
}
.tcenter__title::after{
  content:""; display:block; width: 96px; height: 3px; margin: 10px auto 0;
  background: linear-gradient(90deg, var(--tc-brand), #ffd774); border-radius: 999px;
}

/* Viewport + slides (crossfade centrado) */
.tcenter__viewport{ position: relative; margin-top: 8px; }
.tcenter__track{
  position: relative; margin:0; padding:0; list-style:none;
  min-height: 220px; /* asegura altura estable */
}
.tcenter__slide{
  position: absolute; inset: 0; opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .5s ease, transform .6s ease;
  display: grid; place-items: center;
}
.tcenter__slide.is-active{ opacity: 1; transform: none; }

/* Card centrada */
.tcenter__card{
  background: #fff; border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px; padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  max-width: 760px; margin-inline: auto;
}
.tcenter__stars{
  font-size: 20px; letter-spacing: 2px; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--tc-star), #ffd774);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tcenter blockquote{
  margin: 8px 0 6px 0; font-size: clamp(15px, 1.7vw, 18px); color: var(--tc-ink);
}
.tcenter__author{ font-weight: 700; color: var(--tc-ink); }
.tcenter__meta{ color: #666; font-size: 14px; }

/* Controles y dots */
.tcenter__btn{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12); background: #fff; color: var(--tc-ink);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  display: grid; place-items: center; font-size: 24px; cursor: pointer;
  transition: transform .24s ease, background .24s ease;
}
.tcenter__btn:hover{ transform: translateY(-50%) scale(1.06); background: #fafafa; }
.tcenter__btn--prev{ left: -8px; }
.tcenter__btn--next{ right: -8px; }
@media (max-width: 640px){
  .tcenter__btn{ width: 36px; height: 36px; font-size: 20px; }
  .tcenter__btn--prev{ left: 4px; } .tcenter__btn--next{ right: 4px; }
}

.tcenter__dots{ display:flex; justify-content:center; gap:6px; margin-top: 10px; }
.tcenter__dots button{
  width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(0,0,0,.2); transition: transform .2s ease, background .2s ease;
}
.tcenter__dots button[aria-selected="true"]{ background: var(--tc-brand); transform: scale(1.2); }
.tcenter__dots button:focus-visible{ outline: 2px solid var(--tc-brand); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .tcenter__slide{ transition: none; opacity: 1; transform: none; }
}


/* ===== NOSOTROS (scope: .about-lex) — versión con logo a la derecha ===== */
.about-lex{
  --lex-brand:#FFA500; --lex-ink:#111; --lex-muted:#555; --lex-soft:#fffdf6;
  background: linear-gradient(180deg, #fff 0%, var(--lex-soft) 100%);
  padding: clamp(32px, 6vw, 64px) 16px;
  position: relative; isolation: isolate;
}
.about-lex__container{ max-width: 1080px; margin-inline: auto; }

/* Texto justificado en toda la sección */
.about-lex p{ text-align: justify; }

/* Hero: texto + logo */
.about-lex__hero{
  display: grid; gap: 16px;
  grid-template-columns: 1fr auto; /* izquierda texto | derecha logo */
  align-items: start;
}
.about-lex__intro{ align-self: start; }
.about-lex__kicker{ margin: 0 0 6px; font-size: 13px; letter-spacing:.4px; color: var(--lex-muted); text-transform: uppercase; }
.about-lex__title{
  margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; color: var(--lex-ink);
}
.about-lex__title::after{
  content:""; display:block; width:88px; height:3px; margin:10px 0 0 0;
  background: linear-gradient(90deg, var(--lex-brand), #ffd774); border-radius:999px;
}
.about-lex__lead{ margin: 12px 0 0 0; color: var(--lex-muted); font-size: clamp(15px, 1.7vw, 17px); max-width: 75ch; }

/* Logo derecha + glow sutil */
.about-lex__media{ position: relative; justify-self: end; }
.about-lex__media::before{
  content:""; position:absolute; inset:-18% -18% -18% -18%;
  background: radial-gradient(40% 40% at 60% 40%, rgba(255,165,0,.18) 0%, transparent 70%);
  filter: blur(26px); z-index:-1; animation: lex-float 7s ease-in-out infinite alternate;
}
.about-lex__logo{
  width: clamp(160px, 22vw, 260px); height: auto; display:block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.20));
  transform: translateZ(0); animation: lex-breathe 6s ease-in-out infinite;
}
@keyframes lex-float{ from{ transform: translateY(0) } to{ transform: translateY(10px) } }
@keyframes lex-breathe{ 0%,100%{ transform: scale(1)} 50%{ transform: scale(1.03)} }

/* Grid Misión/Visión */
.about-lex__grid{
  display: grid; gap: 14px; margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 900px){
  .about-lex__hero{ grid-template-columns: 1fr; }
  .about-lex__media{ justify-self: center; }
  .about-lex__grid{ grid-template-columns: 1fr; }
}
.about-card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:16px 14px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative; overflow:hidden;
}
.about-card::before{
  content:""; position:absolute; inset: 0 0 auto 0; height:3px;
  background: linear-gradient(90deg, var(--lex-brand), #ffd774);
}
.about-card:hover{ transform: translateY(-4px); box-shadow:0 16px 32px rgba(0,0,0,.08); border-color: rgba(255,165,0,.25); }
.about-card__title{ margin:0 0 6px; font-size:18px; color:var(--lex-ink); }
.about-card__text{ margin:0; color:var(--lex-muted); font-size:15px; }

/* Reveal */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.reveal[data-reveal="left"]{ transform: translateX(-16px); }
.reveal[data-reveal="right"]{ transform: translateX(16px); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .about-lex__media::before, .about-lex__logo{ animation:none; }
  .reveal{ transition:none; opacity:1; transform:none; }
}


/* ===== Cookie Banner (scope: .lx-cookie) ===== */
.lx-cookie{
  --cookie-brand: #FFA500;
  --cookie-bg: #111;
  --cookie-ink: #fff;
  --cookie-muted: #cfcfcf;
  --cookie-shadow: 0 18px 50px rgba(0,0,0,.25);
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  pointer-events: none; /* activamos por hijos */
}
.lx-cookie *{ box-sizing: border-box; font-family: inherit; }
.lx-cookie a{ color: #ffd774; text-decoration: underline; text-underline-offset: 2px; }

/* Barra */
.lx-cookie__bar{
  pointer-events: auto;
  margin: 12px;
  padding: 14px;
  background: #1a1a1f;
  color: var(--cookie-ink);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: var(--cookie-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.lx-cookie__content h3{ margin: 0 0 6px 0; font-size: 16px; }
.lx-cookie__text{ margin: 0; color: var(--cookie-muted); font-size: 14px; }
.lx-cookie__actions{ display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lx-cookie__btn{
  appearance: none; border: none; cursor: pointer; font-weight: 800;
  padding: 10px 14px; border-radius: 999px; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.lx-cookie__btn--brand{
  background: linear-gradient(135deg, var(--cookie-brand), #ffd774); color: #111;
  box-shadow: 0 10px 26px rgba(255,165,0,.35);
}
.lx-cookie__btn--outline{
  background: transparent; color: var(--cookie-ink);
  border: 1px solid rgba(255,255,255,.16);
}
.lx-cookie__btn--ghost{
  background: #26262b; color: #fff; border: 1px solid transparent;
}
.lx-cookie__btn:hover{ transform: translateY(-1px); }
.lx-cookie__btn:focus-visible{ outline: 2px solid var(--cookie-brand); outline-offset: 2px; }

/* Modal preferencias */
.lx-cookie__overlay{
  pointer-events: auto;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
}
.lx-cookie__modal{
  pointer-events: auto;
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: #fff; color: #111; width: min(680px, 92vw);
  border-radius: 14px; box-shadow: var(--cookie-shadow);
  border: 1px solid rgba(0,0,0,.08);
  display: grid; grid-template-rows: auto 1fr auto;
}
.lx-cookie__modal-header{
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.lx-cookie__close{
  border: none; background: transparent; font-size: 24px; cursor: pointer; line-height: 1;
}
.lx-cookie__modal-body{
  padding: 12px 16px; display: grid; gap: 10px; max-height: 60vh; overflow:auto;
}
.cx-row{
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 10px; border: 1px solid rgba(0,0,0,.06); border-radius: 10px; background: #fafafa;
}
.cx-info p{ margin: 6px 0 0 0; color: #555; font-size: 14px; }
.lx-cookie__modal-actions{ padding: 12px 16px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid rgba(0,0,0,.08); }

/* Toggle */
.switch{ position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input{ opacity: 0; width: 0; height: 0; }
.slider{
  position: absolute; cursor: pointer; inset: 0; background: #d5d5d5; border-radius: 999px; transition: .25s;
}
.slider:before{
  content:""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: .25s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.switch input:checked + .slider{ background: linear-gradient(135deg, var(--cookie-brand), #ffd774); }
.switch input:checked + .slider:before{ transform: translateX(20px); }

/* Responsive */
@media (max-width: 720px){
  .lx-cookie__bar{ grid-template-columns: 1fr; }
  .lx-cookie__actions{ justify-content: stretch; }
  .lx-cookie__btn{ flex: 1 1 auto; text-align: center; }
}

/* Motion */
@media (prefers-reduced-motion: reduce){
  .lx-cookie__btn, .slider, .lx-cookie__modal, .lx-cookie__bar{ transition: none !important; }
}


/* ===== FAB WhatsApp (scope: .wa-fab) ===== */
.wa-fab{
  --wa-green: #25D366;          /* color oficial WhatsApp */
  --wa-green-light: #4EE58F;
  --wa-ink: #111;
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 9990;               /* por debajo de la barra de cookies (9999) */
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;        /* hace clic sólo en hijos */
  font-family: inherit;
}
.wa-fab__btn{
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-green-light));
  box-shadow: 0 14px 28px rgba(37,211,102,.4), 0 4px 10px rgba(0,0,0,.15);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  position: relative;
  outline: none;
}
.wa-fab__btn:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 34px rgba(37,211,102,.45), 0 6px 14px rgba(0,0,0,.18);
  filter: saturate(1.05);
}
.wa-fab__btn:focus-visible{
  outline: 3px solid #FFA500;   /* acento corporativo */
  outline-offset: 3px;
}
.wa-fab__btn::after{           /* pulso */
  content:"";
  position: absolute; inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,.35);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.35); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-fab__icon{ width: 26px; height: 26px; }

/* Label desplegable */
.wa-fab__label{
  pointer-events: auto;
  background: #fff;
  color: var(--wa-ink);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  transform: translateX(8px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  white-space: nowrap;
}
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-within .wa-fab__label{
  transform: translateX(0);
  opacity: 1;
}

/* Responsivo: botón más compacto en móviles */
@media (max-width: 640px){
  .wa-fab{ right: 12px; bottom: 14px; gap: 8px; }
  .wa-fab__btn{ width: 52px; height: 52px; }
  .wa-fab__icon{ width: 24px; height: 24px; }
  .wa-fab__label{ display: none; } /* opcional: ocultar etiqueta en mobile */
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .wa-fab__btn, .wa-fab__btn::after{ animation: none; transition: none; }
}
