/* Variables de colores FEDELE */
:root {
    --fedele-rojo: #ec3444;
    --fedele-azul: #01236c;
    --fedele-fondo: #1c182e;
    --fedele-blanco: #ffffff;
    --fedele-gris: #dedede;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
}

h2 {
    font-size: 1.6rem;
}

h3, h4 {
    font-size: 1.2rem;
}

h3 {
    font-weight: 700;
}

p {
    line-height: 1.5em;
    margin-bottom: 15px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 50px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
}

.btn-primary {
    color: var(--fedele-blanco);
    background-color: var(--fedele-rojo);
    border-color: var(--fedele-rojo);
}

.btn-primary:hover {
    background-color: #001a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-accent {
    background-color: var(--fedele-rojo);
    color: white;
}

.btn-accent:hover {
    background-color: #d12a38;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-title {
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    color: var(--fedele-azul);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--fedele-rojo);
    margin: 0 auto 20px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-header {
    background-color: var(--fedele-rojo);
    color: white;
    padding: 20px;
}

.card-body {
    padding: 25px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefit-list li:before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free"; /* Muy importante */
    font-weight: 900; /* 900 para "solid", 400 para "regular" */
    position: absolute;
    left: 0;
    color: var(--fedele-azul);
}

.feature-icon {
    font-size: 36px;
    color: var(--fedele-rojo);
    margin-bottom: 15px;
}

.highlight-box {
    background: linear-gradient(to right, var(--fedele-rojo), #003399);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}


.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--fedele-rojo);
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 52, 68, 0.25);
}

footer {
    background-color: var(--fedele-fondo);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

footer p,
footer a {
    color: var(--fedele-blanco);
}

footer a:hover {
    color: var(--fedele-rojo);
}

.margin_15 {
    margin: 15px;
}

.text-bold {
    font-weight: bold;
}

.text-red {
    color: #a20000;
    font-weight: 700;
}

.text-corporativo {
    color: var(--fedele-rojo);
    font-weight: 700;
}

#boton-poliza {
    background-color: var(--fedele-fondo);
    text-decoration: none;
    font-weight: 700;
    border: 1px;
    color: var(--fedele-blanco);
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
}

a.text-corporativo {
    text-decoration: underline;
    font-weight: 700;
    color: var(--fedele-azul);
}

a.text-corporativo:hover,
button.text-corporativo:hover,
#boton-poliza:hover {
    background-color: var(--fedele-rojo);
    color: var(--fedele-blanco);
}

button.text-corporativo {
    background-color: var(--fedele-fondo);
    font-weight: 700;
    border: 1px;
    color: var(--fedele-blanco);
}

.espacio-ppal-text {
    line-height: 1.5;
}

.text-corporativo-rojo {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--fedele-rojo);
}

#icons-section p {
    padding-left: 50px;
    position: relative;
}

#icons-section p i {
    position: absolute;
    top: 3px;
    left: 0;
    color: var(--fedele-rojo);
}

.bg-corporativo {
    background-color: var(--fedele-rojo);
}

.list-unstyled li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

.list-unstyled li:hover {
    transform: translateX(5px);
}

.fa-check-circle {
    transition: transform 0.2s ease;
}

.fa-check-circle:hover {
    transform: scale(1.1);
}

.list-unstyled li:last-child {
    border-bottom: none;
}

.bg-light {
    background-color: rgba(236, 52, 68, 0.1) !important;
    border-left: 3px solid var(--fedele-rojo);
    padding: 15px;
    border-radius: 4px;
}

.btn-corporativo {
    background-color: var(--fedele-rojo);
    color: white;
    border: none;
    transition: all 0.3s ease;
    padding: 15px 30px;
    font-size: 18px;
}

.btn-corporativo:hover {
    background-color: var(--fedele-azul);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-control, .form-select {
    border-radius: 5px;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--fedele-rojo);
    box-shadow: 0 0 0 0.25rem rgba(236, 52, 68, 0.25);
}

.input-group {
    border-radius: 5px;
}

.input-group .form-select, .input-group .form-control {
    border-radius: 0;
}

.input-group .form-select:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.input-group .form-control:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.centrado {
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    padding: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(28, 24, 46, 0.85), rgba(28, 24, 46, 0.9)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3') no-repeat center center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: white;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.why-section {
    background-color: #f8f9fa;
}

.benefits-section {
    background-color: white;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    height: 100%;
}
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.logo-section img {
    max-height: 80px;
    /* Mejor combinación de filtros */
    filter:
            contrast(1.8)
            brightness(1.3)
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));

    /* Transición suave para efectos hover */
    transition: all 0.3s ease;
}

/* Efecto hover para mejor interacción */
.logo-section img:hover {
    filter:
            contrast(2.2)
            brightness(1.5)
            drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    transform: scale(1.05);
}

/* MEJORA: Distribución de las características */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas grandes */
    gap: 25px;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
    }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--fedele-rojo);
    margin-bottom: 10px;
}

.testimonial {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    position: relative;
}

.testimonial:before {
    content: "";
    font-family: Georgia, serif;
    font-size: 100px;
    position: absolute;
    top: -25px;
    left: 10px;
    color: rgba(1, 35, 108, 0.1);
}

.testimonial-author {
    font-weight: 700;
    margin-top: 20px;
    color: var(--fedele-rojo);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    background-color: var(--fedele-rojo);
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 0 0 4px 4px;
    display: none;
}

.contact-section {
    background-color: #f8f9fa;
}

/* MEJORA: Sistema de formularios con iconos */
.seguros-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.seguro-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.seguro-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    background-color: var(--fedele-rojo);
    color: white;
}

.seguro-option.active {
    background-color: var(--fedele-rojo);
    color: white;
}

.seguro-option i {
    font-size: 36px;
    margin-bottom: 10px;
}

.required-field::after {
    content: " *";
    color: var(--fedele-rojo);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    section {
        padding: 40px 0;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .seguros-list {
        gap: 10px;
    }

    .seguro-option {
        width: 120px;
        padding: 10px;
    }
}

/* Clases añadidas desde estilos inline */

.oculto {
    display: none !important;
}

.texto-azul {
    color: var(--fedele-azul) !important;
}
.icono-blanco {
    color: #fff;
    margin: 0 10px;
}
.altura-100 {
    height: 100px !important;
}
#mismo-tomador {

    accent-color: var(--fedele-rojo);

}
.tomador-form.active{
    margin-top: 10px;
    border: 1px solid var(--fedele-rojo);
}
select.form-control:not([size]):not([multiple]){
    height: calc(2.25rem + 10px);
}

.required-field::after {
    content: " *";
    color: var(--fedele-rojo);
}
/* Añadir al final del archivo CSS */

/* Estilos para secciones de formulario */
.form-section {
    border: 2px solid var(--fedele-rojo);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

/* Iconos en títulos de formulario */
.icono-azul {
    color: var(--fedele-rojo);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Mejorar espaciado en formularios */
.tomador-form, .seguro-form {
    margin-top: 20px;
}

.seguro-form {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.form-empresa
.seguro-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Estilo para campos de formulario */
/*#seccion-tomador,*/
/*#form-empresa,*/
/*#form-particular,*/
.form-control {
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--fedele-azul);
    box-shadow: 0 0 0 0.2rem rgba(1, 35, 108, 0.25);
}

/* Estilo para etiquetas */
label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

