.header-logo {
    max-width: 2000px;  /* Reducido de 200px a 1px */
    height: 100px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-family: 'Montserrat', 'Roboto', 'Arial', sans-serif;
    padding: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.main-header {
    background-color: #ddeb9d;
    padding: 40px 0;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.main-content {
    padding: 40px 0;
    background-color: #fff;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.official-vok {
    background-color: #f8f9fa;
    border: 2px solid #e31837;
    border-radius: 8px;
    padding: 15px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.official-vok p {
    color: #e31837;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0;
    
    letter-spacing: 1px;
}

.official-vok i {
    color: #e31837;
    font-size: 1.2em;
}

.brands-section {
    text-align: center;
    margin-bottom: 40px;
}

.brands-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.services {
    margin-top: 20px;
}

.main-service {
    font-size: 1.5em;
    color: #666;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.service-list li {
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: #007bff;
}

.footer {
    background-color: #FAF6E9;
    color: #000000;
    padding: 20px 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FAF6E9;
    padding: 0 20px;
}

.footer-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-image {
    max-width: 500px;
    height: auto;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    margin: 0 0 10px 0;
    color: #000000;
}

.contact-info i {
    margin-right: 20px;
    color: #000000;
    width: 20px;
    text-align: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-info i {
    margin-right: 10px;
    color: #000000;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.official-service {
    text-align: center;
    margin-bottom: 40px;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.warning-box i {
    color: #856404;
    font-size: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.service-item i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Montserrat', 'Arial', sans-serif;
}
p {
    
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Montserrat', 'Arial', sans-serif;

}
.centered-list{
    font-size: 18px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    list-style: none;
    padding: 20px;
    margin: 0 auto;
    max-width: 800px;
    gap: 30px;
}

.additional-services-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.additional-services-list li {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}


.appliances {
    margin-bottom: 40px;
}

.appliances-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.appliances-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 0.9em;
}

.appliances-list i {
    color: #007bff;
}

.additional-services {
    margin-bottom: 40px;
    font-size: 1.1em;
    text-align: center;
}

.additional-services h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.additional-services ul {
    font-size: 0.95em;
}


.additional-services ul {
    list-style: none;
    padding: 0;
}

.additional-services li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.additional-services i {
    color: #28a745;
    margin-top: 4px;
}

.locations-list li {
    text-align: center;
    padding: 15px 20px;
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
    border-radius: 5px;
    width: 100%;
    max-width: 450px;
}

.location-title {
    display: inline;
    font-weight: bold;
    color: #007bff;
    margin-right: 5px;
    white-space: nowrap;
}

.location-places {
    display: inline;
    color: #333;
}

.locations-list i {
    color: #007bff;
    margin-right: 10px;
    font-size: 1em;
    vertical-align: middle;
}

.service-zones-title {
    text-align: center;
    margin: 30px 0 25px 0;
    color: #007bff;
    position: relative;
}

.service-zones-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.locations-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-zones-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 2px;
}

.brands-section {
    text-align: center;
    margin-bottom: 40px;
}

.brands-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #fff;
}

.brand-logo {
    max-width: 120px;
    height: auto;
    transition: filter 0.3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
}


/* Estilo de los campos poblacion y electrodomestico */
/* Estilo moderno y minimalista para el select de marca */
select[name="Marca"] {
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    padding: 10px 40px 10px 16px;
    box-shadow: 0 2px 6px rgba(0,123,255,0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    cursor: pointer;
    outline: none;
    position: relative;
}

select[name="Marca"]:focus {
    border-color: #72b1f0;
    box-shadow: 0 0 0 2px #72b1f0;
}

select[name="Marca"] option {
    background: #fff;
    color: #333;
    font-size: 15px;
}

.form-group select[name="Marca"] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px 20px;
}

/* Estilo moderno y minimalista para el select de electrodoméstico */
select[name="Electrodoméstico"] {
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    padding: 10px 40px 10px 16px;
    box-shadow: 0 2px 6px rgba(0,123,255,0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    cursor: pointer;
    outline: none;
    position: relative;
}

select[name="Electrodoméstico"]:focus {
    border-color: #72b1f0;
    box-shadow: 0 0 0 2px #72b1f0;
}

select[name="Electrodoméstico"] option {
    background: #fff;
    color: #333;
    font-size: 15px;
}

.form-group select[name="Electrodoméstico"] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px 20px;
}
/* Estilo moderno y minimalista para el select de población */
select[name="Población"] {
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    padding: 10px 40px 10px 16px;
    box-shadow: 0 2px 6px #007bff12;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    cursor: pointer;
    outline: none;
    position: relative;
}

select[name="Población"]:focus {
    border-color: #72b1f0;
    box-shadow: 0 0 0 2px #72b1f0;
}

select[name="Población"] option {
    background: #fff;
    color: #333;
    font-size: 15px;
}

.form-group select[name="Población"] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px 20px;
}
/* Fin Estilo de los campos poblacion y electrodomestico */



/* Formulario flotante */
.floating-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Selects de electrodoméstico y marca uno al lado del otro y más pequeños */
.form-row-selects {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.form-row-selects .form-group.half {
    flex: 1;
    min-width: 0;
}
.form-row-selects select {
    font-size: 14px !important;
    padding: 6px 30px 6px 10px !important;
    height: 36px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .form-row-selects {
        flex-direction: column;
        gap: 5px;
    }
    .form-row-selects select {
        font-size: 13px !important;
        padding: 6px 24px 6px 8px !important;
        height: 32px;
    }
}

.form-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.form-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;  /* Reducido de 30px a 15px */
    width: 100%;
    position: relative;
    font-size: 20px;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;  /* Aumentado de 20px a 24px */
    cursor: pointer;
    color: #666;
    padding: 0;
    margin: 0;
    position: absolute;
    right: -10px;
    top: -10px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    padding: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;  /* Reducido de 8px a 5px */
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 6px;  /* Reducido de 12px a 8px */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    margin: 0;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    padding: 5px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;  /* Reducido de 15px a 10px */
    width: 100%;
    padding: 0;
}

.form-group.half {
    flex: 1;
    min-width: 0;
    margin: 0 0 19px 0;  /* Reducido de 15px a 10px */
}

.submit-button {
    width: 100%;
    padding: 10px 0;
    background-color: #A0C878;
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px auto 0 auto;
    display: block;
}

.submit-button:hover {
    background-color: #DDEB9D;
}

/* Botón flotante del formulario */
.floating-form-button {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #A0C878;
    color: black;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
    overflow: hidden;
}

.floating-form-button i {
    font-size: 24px;
    color: #333;
    margin-right: 0;
    flex-shrink: 0;
    transition: margin 0.3s;
}

.floating-form-text {
    opacity: 0;
    width: 0;
    margin-left: 0;
    white-space: nowrap;
    font-size: 14px;
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: #333;
    transition: opacity 0.3s, width 0.3s, margin 0.3s;
    pointer-events: none;
    display: inline-block;
    overflow: hidden;
}

.floating-form-button:hover {
    background-color: #DDEB9D;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-form-button:hover .floating-form-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* Botón flotante de llamada */
.floating-call-button {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #A0C878;
    color: black;
    border-radius: 50%;
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-call-button:hover {
    background-color: #DDEB9D;
    transform: scale(1.05);
}

.floating-call-button i {
    font-size: 24px;
}

@media (max-width: 768px) {
    .floating-form-button {
        width: 50px;
        height: 50px;
        bottom: 140px;
        right: 15px;
    }

    .floating-form-button i {
        font-size: 20px;
    }

    .floating-call-button {
        display: flex !important; /* Solo visible en móvil */
        width: 50px;
        height: 50px;
        bottom: 50px;
        right: 15px;
    }

    .floating-call-button i {
        font-size: 20px;
    }

    .header-content {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
        margin: 10px 0;
    }

    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
        justify-items: center;
    }

    .brand-item{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .appliances-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .centered-list {
        flex-direction: column;
        padding: 10px;
    }

    .locations-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .centered-list li {
        width: 100%;
        margin: 5px 0;
    }

    .centered-list.locations-list li {
        text-align: center !important;
        padding: 0 5px !important;
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
        display: block !important;
        margin-left: -5px !important;
    }

    .centered-list.locations-list li i {
        display: inline !important;
        margin-right: 5px !important;
    }

    .centered-list.locations-list .location-title {
        display: inline !important;
        font-weight: bold !important;
    }

    .centered-list.locations-list .location-places {
        display: block !important;
        width: 100% !important;
        margin-left: 0px !important;
        text-align: center !important;
        padding-left: 0px !important;
        margin-top: 5px !important;
    }

    .centered-list.locations-list li:nth-child(1) .location-places {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin-left: 0px !important;
        padding-left: 0px !important;
        margin-top: 5px !important;
    }

    .centered-list.locations-list li:nth-child(2) .location-places {
        text-align: center !important;
    }

    .centered-list.locations-list li:nth-child(3) .location-places {
        text-align: center !important;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .floating-call-button {
        display: flex; /* Mostrar en móviles */
        align-items: center;
        gap: 10px;
    }

    .service-item {
        margin: 10px 0;
    }

    .warning-box {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
}

/* Estilos para términos y condiciones */
.terms-group {
    margin-top: 15px;
    margin-bottom: 20px;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px; 
    color: #666;
    cursor: pointer;
}

.terms-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.terms-link {
    color: #0040fe;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Estilos para el modal de términos y condiciones */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 15px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 20px auto;
    padding: 25px;
    width: 90%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    line-height: 1.5;
}

.modal-body h4 {
    color: #333;
    margin: 20px 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.modal-body p {
    color: #444;
    margin: 12px 0;
    text-align: left;
    font-size: 16px;  /* Cambiado de 15px a 16px */
    line-height: 1.5;
}

.modal-body ul {
    list-style-type: disc;
    margin: 12px 0;
    padding-left: 20px;
}

.modal-body li {
    color: #444;
    margin: 6px 0;
    text-align: left;
    font-size: 16px;  /* Cambiado de 19px a 16px */
    line-height: 1.5;
}

.modal-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

.accept-terms {
    background-color: #A0C878;
    color: black;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accept-terms:hover {
    background-color: #DDEB9D;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 15px auto;
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 22px;
    }

    .modal-body {
        max-height: 55vh;
        padding-right: 10px;
    }

    .modal-body h4 {
        font-size: 18px;
    }

    .modal-body p,
    .modal-body li {
        font-size: 14px;
    }

    .accept-terms {
        width: 100%;
        padding: 12px;
    }
}
