* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0f0f0f;
  color: #ffffff;
  line-height: 1.6;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("img/hero.jpg") center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.hero-content {
  position: relative;
  height: 100%;
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  color: #bdbdbd;
}

/* BOTONES */
.btn {
  margin-top: 30px;
  padding: 14px 32px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ffffff;
  color: #0f0f0f;
}

/* SECCIONES */
section {
  padding: 90px 10%;
}

/* ABOUT */

.about-section {
  padding: 120px 8%;
}

/* TEXTO */
.about-content {
  color: white;
}

/* CONTENEDOR DE IMAGEN */
.about-image {
  max-height: 420px;
  overflow: hidden;
  border-radius: 16px;
}

/* IMAGEN */
.about-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(10px);
  transition:
    opacity 1s ease,
    transform 1s ease,
    filter 1s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* NAV FLECHAS */

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.nav.prev {
  left: 20px;
}

.nav.next {
  right: 20px;
}

/* SERVICIOS */
.services {
  background: #1a1a1a;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}


.service {
  background: #0f0f0f;
  padding: 35px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
}

.service h3 {
  margin-bottom: 10px;
}

.service p {
  color: #9e9e9e;
  font-size: 0.95rem;
}

.service span {
  display: block;
  margin-top: 15px;
  color: #ffffff;
  font-weight: 500;
}

.service-card {
  background: #111;
  border-radius: 16px;
  padding: 28px;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

/* ===== INTERACCIÓN HOVER SERVICIOS ===== */

/* cuando el mouse entra al grid */
.service-grid:hover .service-card {
  opacity: 0.6;
}

/* la card activa */
.service-grid:hover .service-card:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 18px 40px rgba(0,0,0,0.6);
}

.service-card:hover h3 {
  text-decoration-color: rgba(255,255,255,0.25);
}

/* ===== FIN INTERACCIÓN HOVER SERVICIOS ===== */

.service-summary {
  color: #bbb;
  margin-bottom: 16px;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.service-card.open {
  min-height: auto;
}

.service-card.open .service-details {
  max-height: 800px;
  opacity: 1;
}

.service-block {
  margin-bottom: 24px;
}

.service-block h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}

.service-block ul {
  padding-left: 18px;
  color: #ccc;
  font-size: 14px;
}

.service-block.price strong {
  font-size: 20px;
}

.service-card.recommended {
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05),
              0 12px 30px rgba(0,0,0,0.6);
  position: relative;
    opacity: 1;
}

.service-card.recommended::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.service-grid:hover .service-card.recommended {
  opacity: 0.85;
}

.service-grid:hover .service-card.recommended:hover {
  opacity: 1;
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 22px 50px rgba(0,0,0,0.7);
}

.service-eyebrow {
  display: block;
  font-size: 12px;
  color: #bbb;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.bundle-saving {
  font-size: 13px;
  color: #cfcfcf;
  margin-top: 6px;
}

.small {
  font-size: 12px;
  color: #aaa;
}

.very-small {
  font-size: 11px;
  color: #aaa;
}

.toggle-details {
  margin-top: 16px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.8;
}

.toggle-details:hover {
  opacity: 1;
}

/* ===== MÉTODOS DE PAGO ===== */

.payments {
  background: #0f0f0f;
  text-align: center;
  padding: 70px 10%;
  border-top: 1px solid #222;
}

.payments h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.payments-subtitle {
  font-size: 14px;
  color: #9e9e9e;
  margin-bottom: 30px;
}

.payments-methods {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cfcfcf;
}

.payments-methods span {
  padding: 10px 16px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}



/* CONTACTO */
.contact {
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact p {
  color: #9e9e9e;
  margin-bottom: 30px;
}

.contact-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 14px 30px;
  border-radius: 30px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-buttons a:hover {
  background: #ffffff;
  color: #0f0f0f;
}

.featured {
  padding: 80px 5%;
  background: #fff;
  color: #000;
}

.featured h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hint {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.hint.center {
  text-align: center;
}


/* ===== COVERFLOW BASE ===== */
.coverflow {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  height: 100%;
}

/* ===== SLIDE BASE ===== */
.cover-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-media {
  position: relative;
  width: 100%;
}

.slide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}
/* Hover en covers laterales */
.cover-slide:not(.active) {
  opacity: 0.65;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.cover-slide:not(.active):hover {
  opacity: 1;
  filter: blur(1px);
}

/* Micro lift al hover */
.cover-slide:not(.active):hover img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

.cover-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

/* ===== ACTIVO (CENTRO) ===== */
.cover-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: none;
  z-index: 6;
  pointer-events: auto;
  position: relative;
}


/* ===== IZQUIERDA (APILADAS) ===== */
.cover-slide.left-1 {
  transform: translate(-95%, -50%) scale(0.85);
  opacity: 0.85;
  filter: blur(2px);
  z-index: 5;
}

.cover-slide.left-2 {
  transform: translate(-115%, -50%) scale(0.75);
  opacity: 0.6;
  filter: blur(4px);
  z-index: 4;
}

.cover-slide.left-3 {
  transform: translate(-135%, -50%) scale(0.65);
  opacity: 0.35;
  filter: blur(6px);
  z-index: 3;
}

/* ===== DERECHA (APILADAS) ===== */
.cover-slide.right-1 {
  transform: translate(-5%, -50%) scale(0.85);
  opacity: 0.85;
  filter: blur(2px);
  z-index: 5;
}

.cover-slide.right-2 {
  transform: translate(15%, -50%) scale(0.75);
  opacity: 0.6;
  filter: blur(4px);
  z-index: 4;
}

.cover-slide.right-3 {
  transform: translate(35%, -50%) scale(0.65);
  opacity: 0.35;
  filter: blur(6px);
  z-index: 3;
}

/* ===== INFO ===== */
.slide-info {
  text-align: center;
  margin-top: 14px;
  padding: 0;
  width: 100%;
  transition: opacity 0.3s ease;
}

.slide-info h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.slide-info .role {
  font-size: 13px;
  color: #777;
}

.slide-info .highlight {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  line-height: 1.4;
  opacity: 0.85;
  text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

.slide-info p {
  font-size: 13px;
  color: #777;
}

.cover-slide:not(.active) .slide-info {
  opacity: 0;
  pointer-events: none;
}

/* ========================= */
/* FIX RESPONSIVE DEFINITIVO */
/* ========================= */

@media (max-width: 900px) {

  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-height: 280px;
  }
    .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  section {
    padding: 60px 6%;
  }

  .featured {
    position: relative;
  }

  /* HERO */

  .hero {
    height: 75vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .mobile-only {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 12px;
  }
   /* SCROLL REVEAL EN TEXTO */
    .about-content.scroll-reveal {
  transition-delay: 0.15s;
}

  /* SERVICES */
  .service-grid {
    grid-template-columns: 1fr;
  }

  /* CONTENEDOR */
.coverflow {
  position: relative;
  height: 320px;        /* ❌ no fijo */
  overflow: hidden;
}

  .coverflow-track {
    position: relative;
    height: 100%;
  }

.cover-slide {
  position: absolute;
  top: 50%;               /* ✅ */
  left: 50%;
  width: 75%;
  max-width: 280px;

  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  filter: blur(2px);

  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-media {
  width: 100%;
  max-height: 170px;
  overflow: hidden;
}

.slide-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
}

  .cover-slide:focus {
  outline: none;
}

  /* ACTIVO */
.cover-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: none;
  z-index: 5;
}

    .cover-slide.active img {
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }

  /* LATERAL IZQUIERDA */
.cover-slide.left-1 {
  transform: translate(-135%, -50%) scale(0.82);
  opacity: 0.18;
    filter: blur(4px);
}


  /* LATERAL DERECHA */
.cover-slide.right-1 {
  transform: translate(35%, -50%) scale(0.82);
  opacity: 0.18;
    filter: blur(4px);
}

.slide-info {
  text-align: center;
  margin-top: 10px;   /* antes estaba muy separado */
  padding: 0;
}

.slide-info h3 {
  font-size: 14px;
  margin-bottom: 2px;
}

.slide-info p {
  font-size: 12px;
}

/* 🔥 LIMPIEZA TOTAL DE SLIDES EN MOBILE */

/* Por defecto, TODOS invisibles */
.coverflow .cover-slide {
  opacity: 0;
  pointer-events: none;
}

/* Solo estos existen visualmente */
.coverflow .cover-slide.active,
.coverflow .cover-slide.left-1,
.coverflow .cover-slide.right-1 {
  pointer-events: auto;
}

/* Ajustes individuales */
.coverflow .cover-slide.active {
  opacity: 1;
  z-index: 5;
}

.coverflow .cover-slide.left-1,
.coverflow .cover-slide.right-1 {
  opacity: 0.18;
  z-index: 3;
}

  /* IMAGEN */
  .cover-slide img {
    width: 100%;
    border-radius: 16px;
  }

  /* TEXTO SOLO EN ACTIVO */
  .cover-slide:not(.active) .slide-info {
    display: none;
  }

  /* FLECHAS */
  .nav {
    display: none;
  }
}


@media (max-width: 600px) {

  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 50px 6%;
  }
  }

  @media (min-width: 769px) {
  .mobile-only {
    display: none;
  }

    .payments {
    padding: 60px 6%;
  }

  .payments-methods {
    gap: 12px;
  }
}
