/* =================== Variables y base =================== */
:root {
  /* Paleta */
  --bg: #000000;
  --text: #ffffff;
  --text-muted: #cccccc;
  --gold: #d4af37;
  --pink: #e8a6b3;

  /* Layout */
  --maxw: 1100px;
  --r: 1rem;
  --br: 14px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 1rem;
}
.section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.section__title {
  font: 800 clamp(1.25rem, 4.5vw, 1.9rem) / 1.2 "Montserrat", sans-serif;
  margin: 0 0 0.25rem;
}
.section__subtitle {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease;
}
.btn--primary {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
}
.btn--outline {
  border-color: var(--gold);
  color: var(--text);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn--xl {
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.btn:active {
  transform: scale(0.98);
}

/* =================== Header =================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-height: 56px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand img {
  height: 28px;
  width: auto;
}

.nav__toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.nav__list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}
.nav__list a:hover {
  opacity: 1;
  color: var(--gold);
}

@media (max-width: 880px) {
  .nav__toggle {
    display: inline-grid;
  }
  .nav__list {
    position: absolute;
    right: 0.75rem;
    top: 56px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 220px;
  }
  .nav__list.is-open {
    display: flex;
  }
  #ctaHeader {
    display: none;
  } /* CTA largo se oculta en móvil (lo suple FAB) */
}

/* =================== HERO (fondo generado) =================== */
.hero {
  position: relative;
  min-height: 100svh; /* iOS/Android barras */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 5rem) 1rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      1200px 600px at 0% 0%,
      rgba(212, 175, 55, 0.15),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 100%,
      rgba(232, 166, 179, 0.14),
      transparent 60%
    ),
    linear-gradient(135deg, #000 0%, #121212 100%);
  animation: heroGradient 16s ease-in-out infinite alternate;
}
@keyframes heroGradient {
  0% {
    background-position: 0% 50%, 100% 50%, 0% 0%;
  }
  100% {
    background-position: 50% 0%, 50% 100%, 100% 100%;
  }
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  max-width: 600px;
}
.hero__content h1 {
  font: 800 clamp(1.8rem, 6vw, 3rem) / 1.1 "Montserrat", sans-serif;
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__content p {
  color: #cfcfcf;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin: 0 0 1.25rem;
}

/* FAB WhatsApp */
.fab-wa {
  position: fixed;
  right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 1001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
}

/* =================== Servicios =================== */
/* Controles carrusel */
.services__controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.srv-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0e0e0e;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.srv-btn:hover {
  transform: translateY(-2px);
  background: #141414;
}

/* Carrusel mobile-first */
.services__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.services__scroller::-webkit-scrollbar {
  height: 8px;
}
.services__scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

/* Grid en desktop */
@media (min-width: 720px) {
  .services__scroller {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services__scroller {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tarjeta: estructura uniforme */
.srv-card {
  scroll-snap-align: start;
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
}
/* Borde degradado fino */
.srv-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.6),
    rgba(232, 166, 179, 0.6)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.srv-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
.srv-card__desc {
  color: var(--text-muted);
  margin: 0;
}
.srv-card__bullets {
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.srv-card__bullets li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cfcfcf;
  font-size: 0.95rem;
}
.srv-card__bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--gold), var(--pink));
}
/* CTA al fondo */
.srv-card .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.7rem 1rem;
}

/* Tarjeta destacada (sin desproporción) */
.srv-card--featured {
  border: 1px solid transparent;
  background: linear-gradient(#0b0b0b, #0b0b0b) padding-box,
    linear-gradient(135deg, var(--gold), var(--pink)) border-box;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.22);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.srv-card--featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 166, 179, 0.28);
}
.srv-card--featured > .badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.btn--featured {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn--featured:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
@media (max-width: 720px) {
  .srv-card--featured {
    min-width: auto;
  }
}

/* =================== Galería =================== */
.gallery__controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}
.gal-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0e0e0e;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.gal-btn:hover {
  transform: translateY(-2px);
  background: #141414;
}

/* Carrusel móvil */
.gallery__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}
.gallery__scroller::-webkit-scrollbar {
  height: 6px;
}
.gallery__scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

/* Mosaico desktop */
@media (min-width: 720px) {
  .gallery__scroller {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
.gallery__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  isolation: isolate;
  background: #0b0b0b;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 90%);
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.95;
  letter-spacing: 0.2px;
  transition: opacity 0.3s ease;
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.12);
}
.gallery__item:hover figcaption {
  opacity: 1;
}

/* Lightbox robusto */
.gallery__lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.gallery__lightbox.is-open {
  display: flex;
  pointer-events: auto;
}
.gallery__lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery__lightbox.is-open img.is-ready {
  opacity: 1;
  transform: translateY(0);
}
.gallery__lightbox p {
  color: #ccc;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
}
.gallery__lightbox .close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.gallery__lightbox .close:hover {
  transform: scale(1.06);
  background: #181818;
}

/* =================== Ubicación =================== */
.contact {
  font-style: normal;
  color: var(--text-muted);
}
.map {
  margin-top: 1rem;
  border-radius: var(--br);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.map iframe {
  width: 100%;
  height: 300px;
  display: block;
}
@media (min-width: 720px) {
  .map iframe {
    height: 360px;
  }
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* =================== Formulario de reserva =================== */
.form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.form__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .form__grid {
    grid-template-columns: 1fr;
  }
}
.form__row {
  display: grid;
  gap: 0.35rem;
}
.form label {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0b0b;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

/* Botones del formulario */
.form__actions .btn[type="submit"] {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  font-weight: 700;
  border: none;
  box-shadow: 0 6px 20px rgba(232, 166, 179, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.form__actions .btn[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 166, 179, 0.4);
}
.form__actions .btn[type="submit"]:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* WhatsApp */
#btnReservaWA {
  background: linear-gradient(90deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
#btnReservaWA::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url("images/icons/wa.svg") center/contain no-repeat;
  filter: brightness(0) invert(1);
}
#btnReservaWA:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  opacity: 0.95;
}
#btnReservaWA:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.err {
  color: #ff9b9b;
  font-size: 0.8rem;
  min-height: 1em;
}
.form__help {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* =================== Sección de confianza =================== */
.trust {
  text-align: center;
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}
.trust__quote {
  font-style: italic;
  color: var(--text-muted);
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.7;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.15),
    rgba(232, 166, 179, 0.15)
  );
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.trust__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust .badge {
  /* badge SOLO para confianza */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.trust .badge svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
}
.trust .badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}
.trust__cta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.trust__cta .link-cta {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.3rem;
}
.trust__cta .link-cta:hover {
  color: var(--pink);
}

/* =================== Footer =================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  background: #050505;
}
.footer__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.social a {
  color: var(--text-muted);
  text-decoration: none;
}
.social a:hover {
  color: var(--gold);
}
/* === Glow sweep para la tarjeta destacada === */
/* Mueve lentamente el degradado del borde */
.srv-card--featured::before {
  background-size: 200% 200%;
  animation: borderShift 12s ease-in-out infinite;
}

/* Brillo que “barre” por encima de la card */
.srv-card--featured {
  overflow: hidden; /* oculta el brillo fuera del borde redondeado */
}
.srv-card--featured::after {
  content: "";
  position: absolute;
  inset: -2px; /* cubre borde + 1px para que no se corte */
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen; /* integra el brillo con el fondo */
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transform: translateX(-120%) rotate(0.001deg); /* evita subpixel blur raro en iOS */
  animation: sweep 10s ease-in-out infinite;
}

/* Keyframes */
@keyframes borderShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes sweep {
  0%,
  20% {
    transform: translateX(-120%) rotate(0.001deg);
  }
  40% {
    transform: translateX(120%) rotate(0.001deg);
  }
  100% {
    transform: translateX(120%) rotate(0.001deg);
  }
}

/* Respeto a accesibilidad: sin animaciones si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  .srv-card--featured::before,
  .srv-card--featured::after {
    animation: none;
  }
}
@media (max-width: 880px) {
  .header {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9),
      rgba(20, 20, 20, 0.9)
    );
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px) saturate(160%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: box-shadow 0.3s ease, background 0.3s ease;
  }
  body.scrolled .header {
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
  }
}
/* Filtros de galería (chips) */
.gallery__filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.25rem 0 0.75rem;
  padding-bottom: 0.25rem;
}
.gallery__filters::-webkit-scrollbar {
  display: none;
}
.gchip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.gchip:active {
  transform: scale(0.98);
}
.gchip.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
}

/* Destacado consistente con “Servicios” */
.gal-item--featured {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  background: linear-gradient(#0b0b0b, #0b0b0b) padding-box,
    linear-gradient(135deg, var(--gold), var(--pink)) border-box;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.22);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.gal-item--featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 166, 179, 0.28);
}
.gal-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

/* Hide genérico para filtros */
.gallery__item.is-hidden {
  display: none;
}

/* (Opcional) Glow sutil cuando es visible (match con destacado servicios) */
.gal-item--featured.is-visible::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  mix-blend-mode: screen;
  animation: galSweep 10s ease-in-out infinite;
}
@keyframes galSweep {
  0%,
  20% {
    transform: translateX(-120%);
  }
  40% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gal-item--featured.is-visible::before {
    animation: none;
  }
}
/* ===== Comparador antes/después ===== */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
.compare__before {
  filter: grayscale(0.3) brightness(0.9);
}
.compare__after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.2s ease-out;
}
.compare__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}
.compare__slider::-webkit-slider-thumb {
  appearance: none;
  width: 3px;
  height: 100%;
  background: linear-gradient(var(--gold), var(--pink));
  border: none;
  border-radius: 2px;
  cursor: ew-resize;
}
.compare__slider::-moz-range-thumb {
  width: 3px;
  height: 100%;
  border: none;
  background: linear-gradient(var(--gold), var(--pink));
  border-radius: 2px;
  cursor: ew-resize;
}
/* ===== Precios mobile-first ===== */

/* Píldora XL (solo para la card destacada) */
.srv-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.25rem 0 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.srv-price--xl {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(232, 166, 179, 0.25);
  font-weight: 800;
}
.srv-price .from {
  opacity: 0.85;
  font-size: 0.9rem;
}
.srv-price .amount {
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

/* Chips compactos para las demás tarjetas */
.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.5rem;
}
.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.price-chip strong {
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-chip--muted {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Desktop: alinea la píldora a la derecha si quieres */
@media (min-width: 1024px) {
  .srv-card--featured .srv-price--xl {
    margin-left: auto;
  }
}
/* Ajustes del ticket y ribbon */
.deal-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  overflow: hidden;
  isolation: isolate;
  padding-top: .5rem;
}

/* Corrige encimado del ribbon */
.deal-ribbon {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  color: #000;
  font-weight: 900;
  font-size: .9rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(232,166,179,.25);
  z-index: 2;
}

/* Mejora la disposición del header */
.deal-head {
  padding: 1.1rem .9rem .3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  position: relative;
  z-index: 1;
}
.deal-tag {
  font-size: .8rem;
  color: #000;
  background: rgba(255,255,255,.85);
  padding: .2rem .6rem;
  border-radius: 999px;
  font-weight: 700;
}

.deal-title {
  margin: 0;
  font: 800 1.05rem/1.2 "Montserrat", sans-serif;
  color: #fff;
}

/* Limpieza y equilibrio */
.deal-body { padding: .25rem .9rem 1rem; }
.deal-body p { color: var(--text-muted); margin: .25rem 0 .6rem; }
.deal-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.deal-actions .btn { padding: .7rem 1rem; font-weight: 700; }

.deal-more {
  background: transparent;
  border: none;
  color: var(--gold);
  font-weight: 700;
  margin-top: .4rem;
  cursor: pointer;
  transition: color .2s ease;
}
.deal-more:hover { color: var(--pink); }

.deal-terms {
  margin-top: .5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .5rem;
  color: var(--text-muted);
}
.deal-terms ul { margin: .25rem 0 0; padding-left: 1rem; }

.deal-bullets { list-style: none; padding: 0; margin: .25rem 0 .6rem; display: grid; gap: .25rem; color: #cfcfcf; }
.deal-bullets li::before { content: "• "; color: var(--gold); }
/* ===== Media en promo (carrusel snap + logo) ===== */
.deal-media{
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.deal-media__rail{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.deal-media__rail::-webkit-scrollbar{ height:6px }
.deal-media__rail::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.15); border-radius:6px }
.deal-media__item{
  margin: 0; position: relative; aspect-ratio: 16/9; scroll-snap-align: center;
}
.deal-media__item img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.03) saturate(1.03);
}

/* Sello con el logo */
.deal-brand{
  position: absolute; left: .75rem; top: .75rem; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,.95), rgba(255,255,255,.75));
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 0 2px rgba(0,0,0,.25) inset;
}
.deal-brand img{ width: 42px; height: 42px; object-fit: contain }

/* Dots de paginación */
.deal-dots{
  position:absolute; right:.75rem; bottom:.6rem; display:flex; gap:.35rem; z-index: 2;
  background: rgba(0,0,0,.35); padding:.25rem .4rem; border-radius:999px; backdrop-filter: blur(4px);
}
.deal-dots .dot{
  width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.5);
  transition: transform .2s ease, background .2s ease;
}
.deal-dots .dot.is-active{ background:linear-gradient(90deg,var(--gold),var(--pink)); transform: scale(1.2) }

/* ===== Footer base ===== */
.footer {
  background: #0e0f11;
  color: #e5e5e5;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

/* Contenedor interno */
.footer__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

@media (max-width: 640px) {
  .footer__wrap {
    flex-direction: column;
    text-align: center;
  }
}

/* Texto */
.footer p {
  margin: 0;
  opacity: 0.85;
}

/* ===== Enlace de marca profesional ===== */
.footer-brand-link {
  color: var(--footer-accent, #4c8dff);
  text-decoration: none;
  font-weight: 500;
}

.footer-brand-link:hover {
  color: #ffffff;
}

/* ===== Redes sociales (lista simple) ===== */
.social {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.social a {
  text-decoration: none;
  color: var(--footer-accent, #4c8dff);
  font-weight: 500;
}

.social a:hover {
  color: #ffffff;
}
