/* Keep the existing visual identity; only interaction states change. */
a {
    transition: color 180ms ease, opacity 180ms ease;
}

.social .redes {
    display: inline-block;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.btn-submit {
    transition: opacity 180ms ease, transform 180ms ease;
}

.input,
.textarea {
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input:focus,
.textarea:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* A visible keyboard focus ring without affecting mouse interactions. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.products a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.scroll-reveal:focus-within {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (hover: hover) and (pointer: fine) {
    .social .redes:hover {
        opacity: 0.85;
        transform: translateY(-2px);
    }

    .btn-submit:not(:disabled):hover {
        opacity: 1;
        transform: translateY(-1px);
    }
}

.btn-submit:not(:disabled):active {
    transform: translateY(1px);
}

.btn-submit:disabled {
    cursor: wait;
    opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .slides > li {
        transition-duration: 0ms !important;
    }

    a,
    .social .redes,
    .btn-submit,
    .input,
    .textarea {
        transition: none;
    }

    .social .redes:hover,
    .btn-submit:not(:disabled):hover,
    .btn-submit:not(:disabled):active {
        transform: none;
    }
}
/* Reserve the actual fixed header height for native focus and anchor scrolling. */
html {
    scroll-padding-top: calc(var(--sodio-header-height, 150px) + 24px);
}

.contact-left-col input,
.contact-left-col textarea,
.contact-left-col button,
.accordion-trigger {
    scroll-margin-top: 24px;
    scroll-margin-bottom: 98px;
}

/* Native buttons inherit the existing heading and product-logo appearance. */
.accordion-title .accordion-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: left;
    text-transform: inherit;
    cursor: pointer;
    appearance: none;
}

.accordion-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

.accordion-content[hidden] {
    display: none !important;
}

/* Size the map itself, rather than cropping a fixed-width map. */
.contact-right-col,
.contact-right-col .map {
    min-width: 0;
}

.contact-right-col .map {
    width: 100%;
    max-width: 400px;
    overflow: visible;
}

.map .map_size {
    width: 100%;
    max-width: 100%;
    height: 350px;
}

/* The site's generic mobile image rule must not stretch Google Maps controls. */
.map .map_size img {
    width: auto;
    max-width: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-box .contact-right-col {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
        column-gap: 24px;
        align-items: start;
    }

    .contact-right-col.clearfix::before,
    .contact-right-col.clearfix::after {
        display: none;
    }

    .contact-right-col .contact-info,
    .contact-right-col .map {
        float: none;
    }
}

@media (max-width: 767px) {
    .header_sodio > .box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .header_sodio .logo {
        flex: 0 1 101px;
        min-width: 76px;
        width: auto;
        margin: 0;
        padding: 0;
        float: none;
    }

    .header_sodio .logo a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
    }

    .header_sodio .logo img {
        width: 100%;
        height: auto !important;
        max-height: 60px;
    }

    .header_sodio .header-right {
        flex: 0 0 auto;
        width: auto;
        padding-top: 0;
        float: none;
        position: relative;
        top: 6px;
    }

    .header_sodio .social ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 4px;
    }

    .header_sodio .social li {
        float: none;
        margin: 0;
    }

    .header_sodio .social .redes {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .header_sodio .redes img {
        width: auto;
        max-width: 28px;
        height: 26px !important;
    }
}

/* Product logos: 80% of their desktop dimensions on mobile. */
@media (max-width: 767px) {
    .products .accordion-title img[src="images/img_products.svg"] {
        width: 60px !important;
    }

    .products .accordion-title img[src="images/img_products2.svg"] {
        width: 148px !important;
    }

    .products .accordion-title img[src="images/img_products7.svg"],
    .products .accordion-title img[src="images/img_products9.svg"],
    .products .accordion-title img[src="images/img_products10.svg"] {
        width: 168px !important;
    }

    .products .accordion-title img[src="images/inmona.svg"] {
        width: 128px !important;
        height: 32px !important;
    }

    .products .accordion-title img[src="images/img_products6.svg"] {
        width: 140px !important;
    }
}
/* Turnstile uses its compact layout when the available width is below 300px. */
.contact-turnstile {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
    scroll-margin-top: calc(var(--sodio-header-height, 150px) + 24px);
}

/* Keep location details close to the contact form on mobile. */
@media (max-width: 767px) {
    .contact-box .contact-left-col form {
        display: flow-root;
    }

    .contact-box .contact-left-col {
        margin-bottom: 0;
    }

    .contact-box .contact-right-col {
        margin-top: 32px;
        padding-top: 0;
    }

    .contact-box .contact-right-col .contact-info {
        padding-top: 0;
    }
}
/* Give every slide a separate title row on the narrowest phones. */
@media (max-width: 374px) {
    .hero-slider .hero-caption {
        position: relative;
        top: auto;
        left: auto;
        min-height: 60px;
        margin-bottom: 16px;
    }

    .hero-slider .slides > li > img {
        display: block;
        margin-left: 0;
    }
}
