/* Parametros en general para todo el sitio */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body {
    background-color: #f5f5f5;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

#menu_cabecera {
    border-bottom: solid 4px #ff914d;
    font-size: 18px;
    font-weight: bold;
}

.pulse {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.carousel-inner {
    background-color: azure;
    max-height: 90vh;
}

.contenedor-central {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 50px 30px;
}

.contenedor-columnas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Sección de tarifas con el color de Vodafone */
.tarifas-section {
    background: linear-gradient(135deg, #e60000, #ff0000, #cc0000);
    padding: 20px 0;
    color: white;
    width: 90%;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tarifas-section .container {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
}

.tarifas-section h2,
.tarifas-section p {
    color: #ffffff;
    text-align: left;
    margin-left: 0;
}

.tarifas-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tarifas-section p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

article {
    background: #ffffff !important;
    color: #e60000 !important;
    border-radius: 1cap;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    position: relative;
}

article .images {
    height: 150px;
    background-color: transparent;
    background-image: url(images/o2_logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom-left-radius: 1cap;
    border-bottom-right-radius: 1cap;
}

article .images2 {
    height: 100%;
    background-color: #ffffff;
    justify-content: center;
    align-content: center;
    background-image: url(images/cascos.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom-left-radius: 1cap;
    border-bottom-right-radius: 1cap;
    border: 0.5px solid #9fa0a1;
}

article .images3 {
    height: 100%;
    justify-content: center;
    align-content: center;
    background-image: url(images/cascos.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-bottom-left-radius: 1cap;
    border-bottom-right-radius: 1cap;
    border: 0.5px solid #9fa0a1;
}

article .redonded {
    margin: 5px;
    padding: 4px;
    border: solid #e60000;
    border-radius: 1cap;
    background-color: white;
    color: #e60000;
    font-weight: bold;
}

article .title {
    margin: 5px 0px 0px 5px;
    color: #e60000;
}

.offer {
    position: relative;
}

.offer:nth-child(2)::after {
    content: "NUEVO";
    position: absolute;
    top: -18px;
    right: -10px;
    background-color: #e60000;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1px;
    font-weight: bold;
}

:root {
    --gap: 0rem;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #e60000;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 0.25rem;
    flex: 1;
    min-height: 200px;
}

.flex-item {
    box-sizing: border-box;
    flex: 1 1 calc((100% - (2 * 0.5rem)) / 3);
    min-width: 120px;
    padding: 0.5rem;
    text-align: center;
    border-radius: 8px;
    background-color: rgba(230, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.flex-item.spacing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.span-2 {
    flex: 2 1 calc(((100% - (2 * 0.5rem)) / 3) * 2 + 0.5rem);
    min-width: 240px;
}

.color-acento {
    color: #ffffff !important;
    font-weight: bolder;
    font-size: 2em;
    background-color: #e60000 !important;
    border-radius: 0.5cap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-acento2 {
    color: #e60000 !important;
    font-weight: 600;
    font-size: 1.1em;
}

.color-acento3 {
    color: #e60000 !important;
    font-weight: 600;
    font-size: 1em;
}

.color-acento4 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.8em;
    background-color: #e60000 !important;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
}

.grande {
    font-size: 1.8em;
    font-weight: 700;
    color: #e60000;
    line-height: 1;
}

.pequeño {
    font-size: 0.6em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

#tarjetas {
    background: #e60000 !important;
    background: linear-gradient(180deg, #e60000 0%, #ff0000 50%, #cc0000 100%) !important;
}

#tarjetas_otros {
    background: #e60000 !important;
}

.card {
    box-shadow: 0 0 10px 0 rgba(48, 47, 47, 0.9);
    transform: translateZ(0);
    background: #ffffff !important;
    border: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 1.25rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-title {
    color: #e60000;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.3;
}

.card-img-botton {
    width: 100%;
    height: auto;
    min-height: 80px;
    max-height: 120px;
    object-fit: contain;
    padding: 0.5rem;
    background-color: #ffffff;
}

.card-footer {
    background-color: transparent;
    border-top: none;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.card-footer .btn {
    width: 50%;
    padding: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
}

/* Ajustes para el texto 5G+ */
[style*="font-style:oblique"] {
    font-size: 0.9em;
    font-weight: 500;
}

/* Ajustes para el texto M+ NF */
[style*="color: rgb(8, 8, 8)"],
[style*="color: rgb(214, 8, 8)"] {
    font-size: 1.2em !important;
    font-weight: 600;
}

footer {
    background-color: #202020;
    border-top: solid 4px #ff914d;
    border-bottom: solid 4px #ff914d;
    color: #ffffff;
}

.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: #5e5957;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: #5e5957;
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, #5e5957, transparent 20%);
    color: white;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

@media (width > 1024px) {
    article {
        max-width: 400px;
    }
}

@media (max-width: 1024px) {
    .tarifas-section {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .tarifas-section {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .tarifas-section {
        width: 100%;
    }
}

/* Estilos para los botones de navegación */
.btn-danger {
    background-color: #e60000 !important;
    border-color: #e60000 !important;
    color: white !important;
    transition: all 0.3s ease;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(230, 0, 0, 0.2);
}

.btn-danger:hover {
    background-color: #cc0000 !important;
    border-color: #cc0000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230, 0, 0, 0.3);
}

.btn-danger i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.btn-danger:hover i {
    transform: translateY(2px);
}

/* Animación para las nuevas tarjetas */
.col {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.caracteristica-texto {
    font-size: 0.9em;
    margin-bottom: 0.5rem;
    color: #e60000;
    font-weight: 600;
    line-height: 1.2;
}

.caracteristica-valor {
    font-size: 1.2em;
    color: #e60000;
    line-height: 1.2;
}

.hero-section {
    padding: 40px 0 !important;
    margin-top: 0 !important;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .container {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos para las pestañas */
.nav-tabs {
    border-bottom: 2px solid #e60000;
    margin: 100px 0 2rem 0;
}

.nav-tabs .nav-link {
    color: #666;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #e60000;
    border: none;
}

.nav-tabs .nav-link.active {
    color: #e60000;
    background: none;
    border: none;
    border-bottom: 3px solid #e60000;
}

.tab-content {
    padding: 1rem 0;
}

/* Estilos para la sección FAQ */
.faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    color: #e60000;
    margin-bottom: 1rem;
}

.faq-section .lead {
    color: #666;
    margin-bottom: 3rem;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: #fff;
    color: #333;
    font-weight: 600;
    padding: 1.25rem;
    border: none;
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #e60000;
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(230, 0, 0, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem;
    background-color: #fff;
    color: #666;
    line-height: 1.6;
} 