
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');

/* --- Estilos del Contenedor Principal (CENTRADO) --- */
.pricing-section-container {
    background-color: #0f0f0f;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    padding: 50px 20px;
    text-align: center; /* Todo centrado por defecto */
    box-sizing: border-box;
}

/* Título Principal */
.pricing-main-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.pricing-main-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background-color: #ff002b;
    margin: 10px auto 0; /* Línea centrada */
}

/* Grid de Tarjetas (CENTRADO) */
.pricing-grid {
    display: flex;
    justify-content: center; /* Tarjetas centradas en la pantalla */
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1360px;
    margin: 0 auto;
}

/* --- Estilo de cada Tarjeta --- */
.pricing-card {
    background: transparent;
    border: 1px solid #ff002b;
    border-radius: 15px;
    padding: 40px 20px;
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    
    /* AJUSTE VERTICAL: Empieza arriba (no centrado verticalmente) */
    justify-content: flex-start; 
    align-items: center; /* Centra los elementos hijos (título y botón) horizontalmente */
    gap: 20px; /* Espacio uniforme entre elementos */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* Títulos de Paquetes (Centrados por el align-items del padre) */
.card-title {
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    width: 100%; /* Asegura que ocupe el ancho para centrarse */
}

.card-title span {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5px;
}

/* --- AQUÍ ESTÁ EL CAMBIO IMPORTANTE --- */
/* Detalles del servicio (<p>): Alineados a la IZQUIERDA */
.card-details {
    width: 100%; /* Ocupa todo el ancho disponible */
    text-align: left; /* Texto a la izquierda */
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 300;
    padding: 0 10px; /* Un pequeño margen interno para que no pegue al borde */
    box-sizing: border-box;
}

.card-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

/* Opcional: Añade un pequeño ícono o guion antes del texto para que se vea mejor a la izquierda */
.card-details p::before {
    content: '•';
    color: #ff002b;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Botón (Centrado) */
.pricing-btn-wrapper {
    width: 100%;
    margin-top: auto; /* Empuja el botón hacia abajo si quieres que queden alineados, o quítalo si quieres que suba */
}

.pricing-btn {
    display: inline-block;
    background: linear-gradient(90deg, #860101, #ff002b);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #ff002b;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 21, 0.5);
}

.pricing-btn:hover {
    background: transparent;
    color: #ffffff;
    box-shadow: 0 0 20px rgb(190, 0, 0);
}

/* Cinta "POPULAR" */
.ribbon-popular {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: #ff002b;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 10;
}

/* Ajustes para Móvil (Responsivo) */
@media (max-width: 768px) {
    .pricing-main-title {
        font-size: 1.8rem;
    }
    .pricing-grid {
       /*  flex-direction: column;  */
        align-items: center;
    }
    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
}

    .incluye-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #1a1a1a;
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
}

.incluye-img {
  flex: 1;
  min-width: 280px;
  text-align: center;
  position: relative;
}

.incluye-img img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
}

.incluye-badge {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1d55fd;
  color: rgb(255, 255, 255);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
}

.incluye-text {
  flex: 1;
  min-width: 300px;
  padding: 20px 30px;
}

.incluye-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.incluye-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.incluye-text ul li {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.incluye-text ul li::before {
  content: '•';
  color: #ff0040;
  font-weight: bold;
  position: absolute;
  left: 0;
}


    :root{
      --max-width: 1100px;
      --height: 650px;
      --polaroid-bg: #fff;
      --shadow: 0 18px 30px rgba(0,0,0,0.35);
      --shadow-hover: 0 30px 50px rgba(0,0,0,0.45);
    }

    .collage-wrap{
      width: 100%;
      max-width: var(--max-width);
      height: var(--height);
      position: relative;
      margin: 60px auto;
      user-select: none;
    }

    /* Cada "polaroid" */
    .photo{
      position: absolute;
      width: 210px;               /* ancho base de cada foto */
      height: 260px;              /* alto base de cada foto */
      background: var(--polaroid-bg);
      padding: 10px 10px 22px 10px; /* espacio abajo tipo borde polaroid */
      box-sizing: border-box;
      border-radius: 6px;
      box-shadow: var(--shadow);
      transform-origin: center center;
      transition: transform 250ms cubic-bezier(.2,.9,.25,1), box-shadow 250ms, z-index 0ms;
      cursor: pointer;
      overflow: hidden;
      outline: none; /* para focus manejar con focus-visible abajo */
    }

    /* Imagen dentro del polaroid */
    .photo img{
      width: 100%;
      height: calc(100% - 12px);
      object-fit: cover;
      display: block;
      border-radius: 4px;
    }

    /* Etiqueta inferior tipo polaroid (pequeña línea blanca) */
    .caption{
      position: absolute;
      bottom: 8px;
      left: 12px;
      right: 12px;
      font-size: 12px;
      color: #666;
      text-align: center;
      pointer-events: none;
    }

    /* Hover / focus: traer al frente y aumentar */
    .photo:hover,
    .photo:focus,
    .photo:focus-visible {
      z-index: 9999; /* se pone arriba */
      transform: scale(1.18) translateY(-6px);
      box-shadow: var(--shadow-hover);
    }

    /* Para que la transición de z-index no haga salto, al hacerlo volver a normal ponemos z-index base */
    .photo { z-index: 1; }

    /* Ejemplo de posiciones/desplazamientos variados para simular collage. 
       Ajusta o añade más rules para más imágenes (nth-child(13), etc.) */
    .photo:nth-child(1)  { left: 6%;  top: 6%;  transform: rotate(-8deg); }
    .photo:nth-child(2)  { left: 24%; top: 3%;  transform: rotate(6deg);  width: 230px; height: 280px; }
    .photo:nth-child(3)  { left: 44%; top: 8%;  transform: rotate(-4deg); }
    .photo:nth-child(4)  { left: 62%; top: 2%;  transform: rotate(8deg);  width: 200px; height: 250px; }
    .photo:nth-child(5)  { left: 78%; top: 10%; transform: rotate(-6deg); }
    .photo:nth-child(6)  { left: 10%; top: 40%; transform: rotate(10deg);  width: 230px; height: 270px; }
    .photo:nth-child(7)  { left: 28%; top: 38%; transform: rotate(-10deg); }
    .photo:nth-child(8)  { left: 46%; top: 44%; transform: rotate(4deg);  width: 240px; height: 290px; }
    .photo:nth-child(9)  { left: 66%; top: 48%; transform: rotate(-8deg); }
    .photo:nth-child(10) { left: 82%; top: 40%; transform: rotate(6deg);  width: 200px; height: 240px; }
    .photo:nth-child(11) { left: 18%; top: 70%; transform: rotate(-6deg); }
    .photo:nth-child(12) { left: 40%; top: 66%; transform: rotate(8deg);  width: 230px; height: 270px; }

    /* Responsive: reduce tamaño y reajusta altura */
    @media (max-width: 900px){
      :root { --max-width: 760px; --height: 600px; }
      .photo { width: 170px; height: 210px; padding-bottom: 18px; }
    }
    @media (max-width: 520px){
      :root { --max-width: 360px; --height: 700px; }
      .collage-wrap { height: 700px; }
      .photo { width: 150px; height: 190px; }
      /* posiciones más centradas */
      .photo:nth-child(1){ left: 6%; top: 6%; }
      .photo:nth-child(2){ left: 36%; top: 6%; }
      .photo:nth-child(3){ left: 6%; top: 28%; }
      .photo:nth-child(4){ left: 36%; top: 28%; }
      .photo:nth-child(5){ left: 6%; top: 50%; }
      .photo:nth-child(6){ left: 36%; top: 50%; }
      .photo:nth-child(7){ left: 6%; top: 72%; }
      .photo:nth-child(8){ left: 36%; top: 72%; }
    }