﻿@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }


        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        .logo {
            color: #f47d20;
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .quote-bar {
            background-color: #f47d20;
            color: white;
            padding: 15px;
            border-radius: 5px;
            font-size: 1.2rem;
            text-align: center;
            margin-bottom: 30px;
        }

        .container {
            width: 70%;
            max-width: 1200px;
            position: relative;
        }
        @media (max-width: 768px) {
          .container {
            width: 100% !important; /* O incluso 100%, si preferís que ocupe todo el ancho */
          }
        }

        input[type=radio] {
            display: none;
        }

        .cards {
            position: relative;
            width: 80%;
            height: 400px;
            perspective: 1000px;
            transform-style: preserve-3d;
            margin: auto;
        }
        @media (max-width: 768px) {
  .cards {
    margin-left: 40px;
    margin-right: auto;
  }
}
.card {
    position: absolute;
    width: 40%;
    height: 105%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 14px 12px;
    text-align:justify;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    position: relative;
    border-radius: 6px 6px 0 0;
    
}
.small-break {
  display: block;
  margin: 0.5rem 0; /* Ajustá este valor a tu gusto */
  line-height: 0;
}
/* Línea decorativa sutil */
.card-header::after {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
}

/* Degradados adaptados de los botones */
#song-1 .card-header {
    background: linear-gradient(90deg, #f9ce34, #f8b500);
    color: #ffffff;
}

#song-2 .card-header {
    background: linear-gradient(90deg, #f78e2c, #e55b0e);
    color: #ffffff;
}

#song-3 .card-header {
    background: linear-gradient(90deg, #bdbdbd, #888888);
    color: #ffffff;
}


.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
    position: relative;
}

.card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background-color: #f0f0f0;
}

.price-info {
    text-align: center;
    margin: 10px 0 0px;
    padding: 10px;
    position: relative;
    
}

.payment-terms {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-bottom: 8px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #EF7925;
    position: relative;
    padding-bottom: 10px;
}

.price::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #f5f5f5;
    border-radius: 1px;
}

/* Eliminamos estilos que causan problemas */
/* .benefits {
    margin: 0 auto 20px;
    width: 90%;
} */

.benefit-item {
    text-align: center;
    color: #555;
    font-size: 0.9rem;
    position: relative;
    margin-top: -2px;

}

/* Simplificamos el check mark para evitar conflictos */
.benefit-item:before {
    content: "✓";
    color: #f47d20;
    margin-right: 8px;
    font-weight: bold;
}

.coverage-toggle {
    text-align: center;
    color: #777;
    margin: 15px 0;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    background-color: #fcfcfc;
    transition: background-color 0.3s;
}

.coverage-toggle:hover {
    background-color: #f8f8f8;
}

.coverage-toggle:after {
    content: "▼";
    margin-left: 8px;
    font-size: 0.8rem;
}

.request-btn {
    background-color: transparent; /* Cambiar a fondo transparente */
    color: #f47d20; /* Cambiar el color del texto */
    border: 2px solid #f47d20; /* Añadir un borde del mismo color */
    border-radius: 30px; /* Hacer bordes más redondeados */
    padding: 10px 20px; /* Ajustar el padding para un mejor aspecto */
    font-size: 0.875rem;
    font-weight: 600; /* Aumentar el peso de la fuente */
    cursor: pointer;
    display: block;
    margin: 12px auto 0; /* Mantener el centrado */
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease; /* Añadir transición para el color */
    width: fit-content;
}

/* Hover más atractivo */
.request-btn:hover {
    background-color: #f47d20; /* Cambiar a color de fondo al pasar el mouse */
    color: #fff; /* Cambiar el color del texto al pasar el mouse */
    transform: translateY(-2px); /* Aumentar el efecto de elevación */
}


/* Etiqueta recomendado para plan destacado */
#song-1::before {
    content: "RECOMENDADO";
    position: absolute;
    top: 20px;
    right: -30px;
    background: #f47d20;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 30px;
    transform: rotate(45deg);
    z-index: 1;
}

        /* Hide all cards by default */
        .card {
            transform: translatex(300%) scale(0);
            opacity: 0;
            transition: transform 0.5s ease, opacity 0.5s ease;
            z-index: 0;
        }
        
        /* Card positioning for each state */
        /* Current card (center) */
        #item-1:checked ~ .cards #song-1,
        #item-2:checked ~ .cards #song-2,
        #item-3:checked ~ .cards #song-3,
        #item-4:checked ~ .cards #song-4,
        #item-5:checked ~ .cards #song-5 {
            transform: translatex(0) scale(1);
            opacity: 1;
            z-index: 5;
        }
        
        /* Card to the left of current */
        #item-1:checked ~ .cards #song-5,
        #item-2:checked ~ .cards #song-1,
        #item-3:checked ~ .cards #song-2,
        #item-4:checked ~ .cards #song-3,
        #item-5:checked ~ .cards #song-4 {
            transform: translatex(-100%) scale(0.8);
            opacity: 0.4;
            z-index: 4;
        }
        
        /* Card to the right of current */
        #item-1:checked ~ .cards #song-2,
        #item-2:checked ~ .cards #song-3,
        #item-3:checked ~ .cards #song-4,
        #item-4:checked ~ .cards #song-5,
        #item-5:checked ~ .cards #song-1 {
            transform: translatex(100%) scale(0.8);
            opacity: 0.4;
            z-index: 4;
        }
        
        /* Card two positions to the left */
        #item-1:checked ~ .cards #song-4,
        #item-2:checked ~ .cards #song-5,
        #item-3:checked ~ .cards #song-1,
        #item-4:checked ~ .cards #song-2,
        #item-5:checked ~ .cards #song-3 {
            transform: translatex(-200%) scale(0.6);
            opacity: 0.2;
            z-index: 3;
        }
        
        /* Card two positions to the right */
        #item-1:checked ~ .cards #song-3,
        #item-2:checked ~ .cards #song-4,
        #item-3:checked ~ .cards #song-5,
        #item-4:checked ~ .cards #song-1,
        #item-5:checked ~ .cards #song-2 {
            transform: translatex(200%) scale(0.6);
            opacity: 0.2;
            z-index: 3;
        }

        .navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
        }

        .nav-btn {
            background-color: #f47d20;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            cursor: pointer;
            margin: 0 15px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .dots {
            display: flex;
            justify-content: center;
            margin: 0 10px;
        }
        
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #ccc;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .dot.active, .dot:hover {
            background-color: #f47d20;
        }

        .nav-btn:hover {
            background-color: #e06b10;
        }

        @media (max-width: 768px) {
            .card {
                width: 80%;
            }
            
            /* Adjust transforms for mobile */
            /* Card to the left of current */
            #item-1:checked ~ .cards #song-5,
            #item-2:checked ~ .cards #song-1,
            #item-3:checked ~ .cards #song-2,
            #item-4:checked ~ .cards #song-3,
            #item-5:checked ~ .cards #song-4 {
                transform: translatex(-80%) scale(0.6);
            }
            
            /* Card to the right of current */
            #item-1:checked ~ .cards #song-2,
            #item-2:checked ~ .cards #song-3,
            #item-3:checked ~ .cards #song-4,
            #item-4:checked ~ .cards #song-5,
            #item-5:checked ~ .cards #song-1 {
                transform: translatex(80%) scale(0.6);
            }
            
            /* Hide cards that are two positions away */
            #item-1:checked ~ .cards #song-3,
            #item-1:checked ~ .cards #song-4,
            #item-2:checked ~ .cards #song-4,
            #item-2:checked ~ .cards #song-5,
            #item-3:checked ~ .cards #song-5,
            #item-3:checked ~ .cards #song-1,
            #item-4:checked ~ .cards #song-1,
            #item-4:checked ~ .cards #song-2,
            #item-5:checked ~ .cards #song-2,
            #item-5:checked ~ .cards #song-3 {
                opacity: 0;
                transform: translatex(0) scale(0);
            }
        }
     
        /* Las otras columnas se distribuyen equitativamente */
.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  width: 21.67%;
}.table-container {
  width: 100%;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  padding: 0 15px;
  box-sizing: border-box;
}

.title-section {
  font-size: clamp(18px, 4vw, 22px);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FF7700;
}
.comparison-table {
  width: 97%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: white;
  table-layout: fixed;
  margin-left: 10px;
  margin-right:10px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
  word-wrap: break-word;
  hyphens: auto;
  height: 80px;
  box-sizing: border-box;
}

/* Header de la primera columna - alternativa con colores más claros */
.comparison-table th:first-child {
  background: linear-gradient(90deg, #e0e0e0, #b0b0b0);
  color: #333;
  text-align: left;
  font-weight: 600;
  width: 30%;
  position: sticky;
  left: 0;
  z-index: 30;
  border-right: 2px solid #ddd;
  height: 60px;
  font-size: 15px;
  line-height: 1.2;
  display: table-cell;
  vertical-align: middle;
  padding: 15px 12px;
  box-sizing: border-box;
}

/* Celdas de la primera columna */
.comparison-table td:first-child {
  background-color: #f8f8f8;
  color: #555;
  text-align: left;
  font-weight: 500;
  width: 100%;
  position: sticky;
  left: 0;
  z-index: 10;
  border-right: 2px solid #ddd;
  font-size: 12px;
  padding: 15px 12px;
  box-sizing: border-box;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-name {
  font-weight: 600;
  text-align: left;
  display: block;
  font-size: 12px;
  line-height: 1.3;
  word-break: break-word;
}

/* Headers style con altura fija */
.table-header-ultra {
  background: linear-gradient(90deg, #f9ce34, #f8b500);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  line-height: 1.2;
}

.table-header-max {
  background: linear-gradient(90deg, #f78e2c, #e55b0e);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  line-height: 1.2;
}

.table-header-basic {
  background: linear-gradient(90deg, #bdbdbd, #888888);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 60px;
  line-height: 1.2;
}

/* Indicador de scroll */
.scroll-indicator {
  display: none;
  text-align: center;
  padding: 10px 0;
  color: #666;
  font-size: 14px;
  font-style: italic;
  background: linear-gradient(90deg, transparent, rgba(255, 119, 0, 0.1), transparent);
  border-radius: 4px;
  margin-top: 10px;
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .table-container {
    margin: 30px auto;
    padding: 0 10px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
    font-size: 14px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 120px;
    max-width: 140px;
  }
}

/* Tablets pequeñas y móviles grandes (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
  .table-container {
    margin: 20px auto;
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 550px;
    table-layout: auto;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 110px;
    min-width: 110px;
    max-width: 120px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 6px;
    font-size: 13px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    font-size: 12px;
  }

  .comparison-table th:not(:first-child),
  .comparison-table td:not(:first-child) {
    min-width: 90px;
    max-width: 110px;
    width: auto;
  }

  .feature-name {
    font-size: 12px;
    line-height: 1.2;
  }

  .scroll-indicator {
    display: block;
  }

  .scroll-indicator::before {
    content: "👆 ";
  }

  .scroll-indicator::after {
    content: " Desliza horizontalmente para ver todos los planes";
  }
}

/* Móviles (320px - 480px) */
@media (max-width: 480px) {
  .table-container {
    margin: 15px auto;
    padding: 0 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .title-section {
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .comparison-table {
    min-width: 480px;
    font-size: 12px;
    table-layout: auto;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px 4px;
    font-size: 12px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 100px;
    min-width: 100px;
    max-width: 110px;
    padding: 8px 4px;
    font-size: 11px;
  }

  .comparison-table th:not(:first-child),
  .comparison-table td:not(:first-child) {
    min-width: 80px;
    max-width: 95px;
    padding: 8px 3px;
    width: auto;
  }

  .feature-name {
    font-size: 11px;
    line-height: 1.2;
  }

  .scroll-indicator {
    display: block;
    font-size: 13px;
    padding: 8px 0;
  }

  .scroll-indicator::before {
    content: "➡️ ";
  }

  .scroll-indicator::after {
    content: " Desliza para ver más";
  }
}

/* Móviles muy pequeños (menos de 320px) */
@media (max-width: 319px) {
  .table-container {
    padding: 0;
    margin: 10px auto;
  }

  .comparison-table {
    min-width: 400px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 6px 3px;
    font-size: 11px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 85px;
    max-width: 95px;
    font-size: 10px;
  }

  .comparison-table th:not(:first-child),
  .comparison-table td:not(:first-child) {
    min-width: 70px;
    max-width: 80px;
  }

  .feature-name {
    font-size: 10px;
    line-height: 1.1;
  }

  .title-section {
    margin-bottom: 10px;
    padding: 0 5px;
  }
}

/* Mejoras para accesibilidad y UX */
@media (hover: hover) {
  .comparison-table tbody tr:hover {
    background-color: rgba(255, 119, 0, 0.05);
  }
}

/* Modo landscape en móviles */
@media (max-width: 767px) and (orientation: landscape) {
  .comparison-table th,
  .comparison-table td {
    padding: 6px 4px;
    font-size: 12px;
  }
  
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 90px;
    font-size: 11px;
  }
}

/* Modo alto contraste */
@media (prefers-contrast: high) {
  .comparison-table {
    border: 2px solid #000;
  }
  
  .comparison-table th,
  .comparison-table td {
    border: 1px solid #000;
  }
}

/* Reducir animaciones si el usuario las prefiere reducidas */
@media (prefers-reduced-motion: reduce) {
  .table-container {
    -webkit-overflow-scrolling: auto;
  }
}

  
          .price-value {
            font-size: 24px;
            font-weight: bold;
            color: #333;
          }
          
          .price-period {
            font-size: 14px;
            color: #777;
          }
          
          .button-container {
            margin-top: 10px;
          }
          
          .btn-solicitar {
            background-color: #F77F00;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
          }
          
          .btn-solicitar:hover {
            background-color: #E67200;
          }


/* Clase específica para elementos que necesitan más espacio en mobile */
.container-mobile-full {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

/* Mobile - ocupa toda la pantalla */
@media (max-width: 767px) {
  .container-mobile-full {
    width: 100vw;
    max-width: 100vw;
    padding-right: 3px;
    padding-left: 3px;
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}

/* Tablet y desktop mantienen comportamiento normal */
@media (min-width: 768px) {
  .container-mobile-full {
    max-width: 70%;
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* Estilos específicos para el slider de cards en mobile */
@media (max-width: 767px) {
  .container .cards {
    padding: 0 2px;
  }
  
  .container .card {
    margin-left: 30px;
  }
  
  .container .navigation {
    padding: 0 5px;
  }
  
  /* Ajustes para la tabla de coberturas */
  .container .table-container {
    margin: 0;
    padding: 0 3px;
  }
  
  /* Lista de prestaciones - ajuste de padding */
  .container + div[style*="padding-left: 130px"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Versión alternativa más agresiva para mobile */
.container-full-mobile {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .container-full-mobile {
    width: 100vw;
    max-width: none;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }
  
  .container-full-mobile > * {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (min-width: 768px) {
  .container-full-mobile {
    max-width: 70%;
    padding-right: 30px;
    padding-left: 30px;
  }
}
.main-container {
  width: 100%;
  max-width: 1200px; /* Puedes ajustar este valor según tu diseño */
  margin: 0 auto;
  padding: 0 20px; /* Espacio horizontal interno */
  box-sizing: border-box;
}

.contenidocontainer {
  max-width: 1200px;     /* Controla el ancho máximo del contenedor */
  margin: 0 auto;        /* Centra el contenedor horizontalmente */
  padding: 1rem;         /* Espaciado interno para evitar que el contenido toque los bordes */
  box-sizing: border-box;
  position: relative;    /* Permite posicionar elementos hijos si es necesario */
  z-index: 1;            /* Asegura que esté encima si se usa superposición */

  /* Responsive behavior */
  width: 100%;
}

@media (max-width: 768px) {
  #contenido.container {
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    padding-left: 100px;
  }
}

#botonVolver {
  background-color: #EF7925;
  color: white;
  padding: 18px 48px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#botonVolver:hover {
  background-color: #d95e13;
  transform: translateY(-2px);
}

#botonVolver:active {
  transform: scale(0.98);
}

.botonVolver {
  background-color: #EF7925;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 50%;
  height: 10%;
  margin: auto;
}

.botonVolver:hover {
  background-color: #d95e13;
  transform: translateY(-2px);
}

.botonVolver:active {
  transform: scale(0.98);
}

.price-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.porMes {
  color: #EF7925;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  font-size: 14px;
  margin-top: -10px;
}