@charset "utf-8";
/* CSS Document */


/* =====================================================
   CABECERA
   ===================================================== */

.logo-header {
    width: 240px;
    max-width: 100%;
    margin: 0;
}

.hero-logo {
    width: 340px;
    max-width: 90%;
    margin-bottom: 30px;
}


/* Páginas interiores */

#header {
    padding: 3rem 0 2rem 0;
    text-align: center;
}

#header .logo {
    border: 0;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: inline-block;
}

#header {
    min-height: auto !important;
    height: auto !important;
}

#header .logo {
    height: auto !important;
    line-height: normal !important;
}


/* =====================================================
   CATEGORÍAS
   ===================================================== */

.categories {
    padding: 4rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 20px;
    text-align: center;
    text-decoration: none;
    color: #222;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.category-card .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
}

.category-card h3 {
    margin: 0;
    color: #003b80;
    font-size: 1.2rem;
}


/* =====================================================
   MARCAS
   ===================================================== */

.brands {
    padding: 4rem 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}


/* -----------------------------------------------------
   MARCAS DEL INDEX
   Diseño original: pequeñas y solo nombre
   ----------------------------------------------------- */

.brand-card {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 120px;
    padding: 20px;

    background: #ffffff;
    border-radius: 15px;

    text-decoration: none;
    color: #003b80;

    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;

    box-shadow: 0 8px 20px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.brand-card:hover {
    transform: translateY(-6px);

    background: #005cb9;
    color: #ffffff;

    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}


/* -----------------------------------------------------
   MARCAS.HTML
   Diseño específico con logos
   ----------------------------------------------------- */

.brands-page .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.brands-page .brand-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 330px;
    padding: 30px 25px;

    background: #ffffff;
    border-radius: 16px;

    text-decoration: none;
    color: #333333;

    box-shadow: 0 8px 25px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* Logo solamente en marcas.html */

.brands-page .brand-card img {
    width: 115px;
    height: 75px;

    object-fit: contain;

    display: block;

    margin: 0 auto 20px auto;
}


/* Nombre */

.brands-page .brand-card h3 {
    margin: 0 0 15px 0;

    color: #003b80;

    font-size: 1.25rem;
    font-weight: 700;

    letter-spacing: 1px;

    text-align: center;
}


/* Descripción */

.brands-page .brand-card p {
    margin: 0 0 25px 0;

    max-width: 430px;

    color: #666666;

    font-size: .95rem;
    font-weight: 400;

    line-height: 1.6;

    text-align: center;
}


/* Botón */

.brands-page .brand-card .brand-button {
    display: inline-block;

    padding: 10px 22px;

    border-radius: 6px;

    background: #005cb9;
    color: #ffffff;

    font-size: .85rem;
    font-weight: 700;

    letter-spacing: .5px;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* Hover */

.brands-page .brand-card:hover {
    transform: translateY(-6px);

    background: #ffffff;
    color: #333333;

    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.brands-page .brand-card:hover .brand-button {
    background: #003b80;
    transform: translateY(-1px);
}


/* -----------------------------------------------------
   MÓVIL - MARCAS
   ----------------------------------------------------- */

@media screen and (max-width: 736px) {

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 120px;
        padding: 20px;
    }

    .brands-page .brand-card {
        min-height: 300px;
        padding: 25px 20px;
    }

    .brands-page .brand-card img {
        width: 105px;
        height: 65px;
    }

}


/* =====================================================
   TARJETAS DE FABRICANTES
   Compatibilidad con marca-fabricante
   ===================================================== */

.marca-fabricante {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 330px;
    padding: 30px 25px;

    background: #ffffff;
    border-radius: 16px;

    text-decoration: none;

    color: #333333;

    box-shadow: 0 8px 25px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* Logo */

.marca-fabricante img {
    width: 115px;
    height: 75px;

    object-fit: contain;

    display: block;

    margin-bottom: 20px;
}


/* Nombre */

.marca-fabricante h3 {
    margin: 0 0 15px 0;

    color: #003b80;

    font-size: 1.25rem;
    font-weight: 700;

    letter-spacing: 1px;

    text-align: center;
}


/* Descripción */

.marca-fabricante p {
    margin: 0 0 25px 0;

    max-width: 430px;

    color: #666666;

    font-size: .95rem;
    font-weight: 400;

    line-height: 1.6;

    text-align: center;
}


/* Botón */

.marca-fabricante .marca-boton {
    display: inline-block;

    padding: 10px 22px;

    border-radius: 6px;

    background: #005cb9;
    color: #ffffff;

    font-size: .85rem;
    font-weight: 700;

    letter-spacing: .5px;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* Hover */

.marca-fabricante:hover {
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.marca-fabricante:hover .marca-boton {
    background: #003b80;

    transform: translateY(-1px);
}


/* Móvil */

@media screen and (max-width: 736px) {

    .marca-fabricante {
        min-height: 300px;
        padding: 25px 20px;
    }

    .marca-fabricante img {
        width: 105px;
        height: 65px;
    }

}


/* =====================================================
   VENTAJAS
   ===================================================== */

.advantages {
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .25s;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.advantage-icon {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    color: #003b80;
    margin-bottom: 15px;
}

.advantage-card p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* =====================================================
   LLAMADA A LA ACCIÓN
   ===================================================== */

.cta {
    margin: 4rem 0;
    padding: 4rem 2rem;
    background: linear-gradient(135deg,#005cb9,#003b80);
    border-radius: 18px;
    text-align: center;
    color: #fff;
}

.cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255,255,255,.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta .button {
    background: #fff;
    color: #003b80 !important;
    border: none;
}

.cta .button:hover {
    background: #e9f3ff;
}


/* =====================================================
   PAGOS Y TRANSPORTES
   ===================================================== */

.info-shop {
    margin: 5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 35px;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    text-align: center;
}

.info-card h3 {
    margin-bottom: 25px;
    color: #003b80;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.logo-grid img {
    height: 45px;
    max-width: 140px;
    object-fit: contain;
    transition: .25s;
}

.logo-grid img:hover {
    transform: scale(1.08);
}


/* =====================================================
   FOOTER
   ===================================================== */

#footer {
    margin-top: 80px;
}

#footer h3 {
    color: #003b80;
}

#footer a {
    text-decoration: none;
}

#footer a:hover {
    color: #005cb9;
}

#copyright {
    background: #003b80;
    color: #fff;
}

#copyright a {
    color: #fff;
}

#copyright a:hover {
    color: #d9ecff;
}


/* =====================================================
   PRODUCTOS
   ===================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    text-align: center;
}

.product-card > img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-card h3 {
    margin-bottom: .8rem;
}

.product-card ul {
    text-align: left;
    margin: 1rem 0;
}


/* =====================================================
   PRECIO
   ===================================================== */

.product-card .price {
    display: inline-block;
    align-self: center;

    margin: 1rem auto 0.8rem auto;
    padding: 8px 22px;

    background: #f0f6fc;
    border: 1px solid #d6e6f5;
    border-radius: 8px;

    font-size: 1.35rem;
    font-weight: 700;
    color: #003b80;

    line-height: 1.4;

    box-shadow: 0 3px 8px rgba(0, 59, 128, 0.08);

    transition: all 0.25s ease;
}

.product-card .price:hover {
    background: #e6f1fb;
    border-color: #b9d5ed;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 59, 128, 0.12);
}


/* =====================================================
   ESTRUCTURA PRODUCTOS
   ===================================================== */

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card .descripcion {
    text-align: left;
    flex: 1;
}

.product-card .especificaciones {
    margin-top: auto;
    margin-bottom: 15px;
    padding: 12px 15px;

    background: #f5f5f5;
    border-left: 4px solid #0878c9;

    text-align: left;

    min-height: 58px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.product-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.product-card .ficha-tecnica {
    min-height: 48px;
	gap: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.product-card .ficha-tecnica .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 1 auto;
    width: auto !important;
    min-width: 0;
    max-width: none;

    height: 48px;
    padding: 0 0.7rem !important;

    font-size: 0.65rem !important;
    line-height: 1 !important;

    white-space: nowrap;
    box-sizing: border-box;
    margin: 0 !important;
}

@media screen and (max-width: 736px) {

    .product-card .ficha-tecnica {
        gap: 0.25rem;
    }

    .product-card .ficha-tecnica .button {
        padding: 0.35rem 0.45rem !important;
        font-size: 0.6rem !important;
    }

}


/* =====================================================
   ESTADO PRODUCTO
   ===================================================== */

.product-card .estado-producto {
    display: block;
    width: 100%;

    text-align: center;

    font-size: 0.85em;
    font-weight: 600;

    margin: 10px 0 15px 0;

    line-height: 1.4;
}

.product-card .estado-producto::before {
    content: "";

    display: inline-block;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    margin-right: 7px;

    vertical-align: middle;
}


/* En stock */

.product-card .estado-producto.stock {
    color: #2e7d32 !important;
}

.product-card .estado-producto.stock::before {
    background-color: #2e7d32 !important;
}


/* Bajo pedido */

.product-card .estado-producto.pedido {
    color: #1565c0 !important;
}

.product-card .estado-producto.pedido::before {
    background-color: #1565c0 !important;
}


/* Oferta */

.product-card .estado-producto.oferta {
    color: #c62828 !important;
}

.product-card .estado-producto.oferta::before {
    background-color: #c62828 !important;
}


/* =====================================================
   COMPRA CON TOTAL CONFIANZA
   ===================================================== */

.info-shop {
    background: #ffffff;
    color: #333333;
}

.info-shop .major h2,
.info-shop .major p {
    color: #333333;
}

.info-shop h3 {
    color: #333333;
}


/* =====================================================
   IMÁGENES DE PRODUCTOS
   ===================================================== */

.product-image {
    width: 100%;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.product-image img.zoomable-image {
    width: 100%;
    height: 260px;

    object-fit: contain;

    display: block;

    cursor: zoom-in;

    transition: transform 0.3s ease;
}

.product-image img.zoomable-image:hover {
    transform: scale(1.03);
}


/* =====================================================
   ZOOM
   ===================================================== */

#zoom-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.88);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    z-index: 99999;

    cursor: zoom-out;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* Zoom abierto */

#zoom-overlay.zoom-visible {
    opacity: 1;
    visibility: visible;
}


/* Imagen ampliada */

#zoom-image {
    display: block;

    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    cursor: zoom-out;

    transform: scale(0.85);

    transition: transform 0.35s ease;
}


/* Animación */

#zoom-overlay.zoom-visible #zoom-image {
    transform: scale(1);
}


/* X */

#zoom-close {
    position: absolute;

    top: 25px;
    right: 35px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;
    line-height: 1;

    color: #ffffff;

    cursor: pointer;

    z-index: 100000;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

#zoom-close:hover {
    transform: scale(1.15);
    opacity: 0.8;
}


/* =====================================================
   MÓVIL - PRODUCTOS Y ZOOM
   ===================================================== */

@media screen and (max-width: 736px) {

    .product-image {
        height: 220px;
    }

    .product-image img.zoomable-image {
        height: 220px;
    }

    #zoom-image {
        max-width: 94vw;
        max-height: 85vh;
    }

    #zoom-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

}


/* =====================================================
   CONTACTO - INTRODUCCIÓN
   ===================================================== */

.contact-intro {
    display: block !important;
    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto 3rem auto !important;
    padding: 0 !important;

    text-align: center !important;
	
	/*MARGEN SUPERIOR TEXTO*/
	padding-top:50px !important;
}

.contact-intro .major {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 0 !important;

    text-align: center !important;
}

.contact-intro .major h2 {
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.contact-intro .major p {
    max-width: 750px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}


/* =====================================================
   CONTACTO - CAMPO ASUNTO
   ===================================================== */

.contact-form .form-group select {
    height: 48px !important;
    min-height: 48px !important;

    line-height: 1.4 !important;

    padding: 10px 14px !important;

    box-sizing: border-box;

    vertical-align: middle;
}


/* =====================================================
   GRID CONTACTO
   ===================================================== */

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    margin-bottom: 4rem;
}


/* =====================================================
   TARJETAS
   ===================================================== */

.contact-card {
    background: #ffffff;

    padding: 35px 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.contact-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);
}

.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #003b80;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}


/* =====================================================
   BOTÓN WHATSAPP
   ===================================================== */

.contact-button {
    display: inline-block;

    margin-top: 15px;

    padding: 12px 25px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    transition: .25s ease;
}

.whatsapp-button {
    background: #25D366;
    color: #ffffff !important;
}

.whatsapp-button:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}


/* =====================================================
   HORARIO
   ===================================================== */

.contact-hours {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 20px;

    color: #555;
}

.contact-hours strong {
    margin-top: 8px;
    color: #003b80;
}


/* =====================================================
   FORMULARIO
   ===================================================== */

.contact-form-section {
    display: block !important;

    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.contact-form-section .major {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto 2rem auto !important;
    padding: 0 !important;

    text-align: center !important;
	
	/*MARGEN SUPERIOR TEXTO FORMULARIO*/
	padding-top:50PX !important;
}

.contact-form {
    display: block !important;

    width: 100% !important;
    max-width: 850px !important;

    margin: 0 auto !important;

    box-sizing: border-box !important;

    background: #ffffff;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}

.contact-form {
    background: #ffffff;

    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #003b80;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d9e2ec;

    border-radius: 8px;

    background: #f8fafc;

    padding: 12px 14px;

    font-family: inherit;

    font-size: .95rem;

    color: #333;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    background: #ffffff;

    border-color: #005cb9;

    box-shadow:
        0 0 0 3px rgba(0,92,185,.10);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}


/* =====================================================
   BOTÓN ENVIAR
   ===================================================== */

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.contact-submit {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    height: auto !important;

    min-height: 48px;

    padding: 12px 32px !important;

    line-height: 1.2 !important;

    vertical-align: middle;

    box-sizing: border-box;

    text-align: center;

    border: none;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #005cb9,
            #003b80
        );

    color: #ffffff !important;

    font-size: .95rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0,59,128,.20);
}


/* =====================================================
   CONTACTO - CAMPOS DEL FORMULARIO
   ===================================================== */

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d9e2ec;

    border-radius: 8px;

    background: #f8fafc;

    padding: 11px 14px;

    font-family: inherit;

    font-size: .95rem;

    line-height: 1.4;

    color: #333;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.contact-form .form-group input,
.contact-form .form-group select {
    height: 48px;
}

.contact-form .form-group textarea {
    min-height: 150px;
    height: auto;
    resize: vertical;
}

.form-privacy {
    margin: 20px auto 0;

    max-width: 650px;

    text-align: center;

    color: #888;

    font-size: .75rem;

    line-height: 1.5;
}


/* =====================================================
   MÓVIL - CONTACTO
   ===================================================== */

@media screen and (max-width: 736px) {

    .contact-intro {
        margin-bottom: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 22px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-submit {
        width: 100%;
    }

}


/* =====================================================
   =====================================================
   PÁGINA GRACIAS
   =====================================================
   =====================================================

   IMPORTANTE:
   Estas reglas SOLO afectan a:
   
       <body class="pagina-gracias">

   No modifican Inicio, Marcas, Productos ni Contacto.
   ===================================================== */


/* =====================================================
   FONDO GENERAL
   ===================================================== */

body.pagina-gracias {
    background: #f4f7fa !important;
    color: #333333 !important;
}


/* =====================================================
   CABECERA - PÁGINA GRACIAS
   ===================================================== */

body.pagina-gracias #header {
    width: 100% !important;

    margin: 0 !important;

    padding: 40px 20px 30px 20px !important;

    background: #ffffff !important;

    color: #333333 !important;

    text-align: center !important;

    box-sizing: border-box !important;
}

body.pagina-gracias #header .inner {
    width: 100% !important;

    max-width: 1100px !important;

    margin: 0 auto !important;

    padding: 0 !important;

    background: transparent !important;
}

body.pagina-gracias #header .logo {
    display: inline-block !important;

    height: auto !important;

    line-height: normal !important;

    border: 0 !important;

    text-decoration: none !important;
}

body.pagina-gracias #header .hero-logo {
    display: block !important;

    width: 280px !important;

    max-width: 80vw !important;

    height: auto !important;

    margin: 0 auto !important;
}


/* =====================================================
   CONTENEDOR PRINCIPAL
   ===================================================== */

body.pagina-gracias .gracias-contacto {
    width: 100% !important;

    margin: 0 !important;

    padding: 60px 20px 70px 20px !important;

    box-sizing: border-box !important;

    background: #f4f7fa !important;

    color: #333333 !important;

    text-align: center !important;
}


/* =====================================================
   CAJA BLANCA
   ===================================================== */

body.pagina-gracias .gracias-box {
    display: block !important;

    width: 100% !important;

    max-width: 720px !important;

    margin: 0 auto !important;

    padding: 50px 45px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    color: #333333 !important;

    border: 1px solid #e1e7ee !important;

    border-radius: 18px !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.10) !important;

    text-align: center !important;
}


/* =====================================================
   ICONO
   ===================================================== */

body.pagina-gracias .gracias-icono {
    display: flex !important;

    width: 70px !important;
    height: 70px !important;

    margin: 0 auto 25px auto !important;

    padding: 0 !important;

    box-sizing: border-box !important;

    align-items: center !important;
    justify-content: center !important;

    background: #005cb9 !important;

    color: #ffffff !important;

    border-radius: 50% !important;

    font-size: 38px !important;

    font-weight: 700 !important;

    line-height: 1 !important;
}


/* =====================================================
   TÍTULO
   ===================================================== */

body.pagina-gracias .gracias-box h1 {
    display: block !important;

    margin: 0 0 25px 0 !important;

    padding: 0 !important;

    background: transparent !important;

    color: #003b80 !important;

    font-size: 32px !important;

    font-weight: 700 !important;

    line-height: 1.3 !important;

    text-align: center !important;
}


/* =====================================================
   TEXTOS
   ===================================================== */

body.pagina-gracias .gracias-box p {
    display: block !important;

    max-width: 600px !important;

    margin: 0 auto 18px auto !important;

    padding: 0 !important;

    background: transparent !important;

    color: #333333 !important;

    font-size: 16px !important;

    font-weight: 400 !important;

    line-height: 1.7 !important;

    text-align: center !important;
}

body.pagina-gracias .gracias-box p strong {
    color: #003b80 !important;
}


/* =====================================================
   AVISO REDIRECCIÓN
   ===================================================== */

body.pagina-gracias .gracias-redireccion {
    display: block !important;

    width: 100% !important;

    max-width: 520px !important;

    margin: 30px auto 0 auto !important;

    padding: 16px 20px !important;

    box-sizing: border-box !important;

    background: #f0f6fc !important;

    color: #333333 !important;

    border: 1px solid #d6e6f5 !important;

    border-left: 4px solid #005cb9 !important;

    border-radius: 8px !important;

    font-size: 15px !important;

    line-height: 1.5 !important;

    text-align: center !important;
}

body.pagina-gracias .gracias-redireccion strong {
    color: #003b80 !important;
}


/* =====================================================
   BOTÓN VOLVER
   ===================================================== */

body.pagina-gracias .gracias-volver {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 48px !important;

    margin: 25px auto 0 auto !important;

    padding: 12px 25px !important;

    box-sizing: border-box !important;

    background: #005cb9 !important;

    color: #ffffff !important;

    border: 0 !important;

    border-radius: 8px !important;

    text-decoration: none !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    line-height: 1.2 !important;

    text-align: center !important;

    transition:
        background .2s ease,
        transform .2s ease;
}

body.pagina-gracias .gracias-volver:hover {
    background: #003b80 !important;

    color: #ffffff !important;

    transform: translateY(-2px);
}


/* =====================================================
   FOOTER - PÁGINA GRACIAS
   ===================================================== */

body.pagina-gracias #footer {
    margin: 0 !important;

    background: #ffffff !important;

    color: #333333 !important;
}

body.pagina-gracias #footer .inner {
    max-width: 1100px !important;

    margin: 0 auto !important;
}

body.pagina-gracias #footer h3 {
    color: #003b80 !important;
}

body.pagina-gracias #footer p {
    color: #666666 !important;
}


/* =====================================================
   COPYRIGHT - PÁGINA GRACIAS
   ===================================================== */

body.pagina-gracias #copyright {
    margin: 0 !important;

    background: #003b80 !important;

    color: #ffffff !important;
}

body.pagina-gracias #copyright * {
    color: #ffffff !important;
}


/* =====================================================
   MÓVIL - PÁGINA GRACIAS
   ===================================================== */

@media screen and (max-width: 736px) {

    body.pagina-gracias #header {
        padding: 25px 15px 20px 15px !important;
    }

    body.pagina-gracias #header .hero-logo {
        width: 230px !important;

        max-width: 75vw !important;
    }

    body.pagina-gracias .gracias-contacto {
        padding: 35px 15px 45px 15px !important;
    }

    body.pagina-gracias .gracias-box {
        width: 100% !important;

        padding: 35px 20px !important;

        border-radius: 14px !important;
    }

    body.pagina-gracias .gracias-icono {
        width: 60px !important;
        height: 60px !important;

        font-size: 32px !important;

        margin-bottom: 20px !important;
    }

    body.pagina-gracias .gracias-box h1 {
        font-size: 26px !important;

        margin-bottom: 20px !important;
    }

    body.pagina-gracias .gracias-box p {
        font-size: 15px !important;
    }

    body.pagina-gracias .gracias-redireccion {
        font-size: 14px !important;
    }

    body.pagina-gracias .gracias-volver {
        width: 100% !important;

        max-width: 250px !important;
    }
}

/* =========================
   CONTACTO FOOTER
========================= */

.contacto-icono {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.contacto-icono img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border: 0;
    margin: 0;
}

/* =========================================
   IMAGEN DEL EMAIL
========================================= */

.email-imagen {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    display: inline-block !important;
    object-fit: contain;
    vertical-align: middle;
}