:root {
    --hec-font-header: "Glacial Indifference", Arial, sans-serif;
    --hec-font-body: "Aeonik", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
    font-family: var(--hec-font-body);
}

body,
button,
input,
select,
textarea {
    font-family: var(--hec-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span {
    font-family: inherit;
}

body {
    font-weight: 400;
}

h1 {
    font-weight: 900;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 700;
}

h4,
h5,
h6 {
    font-weight: 500;
}

strong,
b {
    font-weight: 700;
}

.hec-header,
.hec-footer__title,
.hec-footer__tagline,
.hec-newsletter__eyebrow,
.hec-header__contact,
.hec-header__whatsapp,
.hec-newsletter button[type="submit"].wpforms-submit {
    font-family: var(--hec-font-header);
    font-weight: 700;
}

.elementor-widget-text-editor,
.elementor-widget-heading,
.elementor-button {
    font-family: var(--hec-font-body);
}

.elementor-button {
    font-family: var(--hec-font-header);
    font-weight: 700;
}

.hec-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;
    padding: 10px 14px;
    background: #fff;
    color: #111;
    transform: translateY(-200%);
}

.hec-skip-link:focus {
    transform: translateY(0);
}

.padding-content {
    padding: 30px 15px;
}

.hec-btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 16px 42px;

    border: 2px solid var(--hec-header-accent) !important;
    border-radius: 999px !important;

    background-color: var(--hec-header-accent) !important;
    color: #fff;

    font-family: var(--hec-font-header);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

a.hec-btn-white.e-button-base,
button.hec-btn-white.e-button-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 28px;

    border: 2px solid #fff;
    border-radius: 999px;

    background-color: #fff;
    color: var(--hec-header-accent);

    font-family: var(--hec-font-header);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* =========================================================
   IMAGE CARD
   ========================================================= */

.hec-image-card {
    position: relative;
    overflow: hidden;

    border-radius: 18px;

    background-size: 100% auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    transition:
        background-size 0.6s cubic-bezier(.2, .7, .2, 1),
        transform 0.4s cubic-bezier(.2, .7, .2, 1),
        box-shadow 0.4s ease;
}


/* Overlay */

.hec-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: rgba(0, 0, 0, 0);

    pointer-events: none;

    transition: background-color 0.4s ease;
}


/* Contenido siempre encima */

.hec-image-card>* {
    position: relative;
    z-index: 1;
}


@media (hover: hover) and (pointer: fine) {
    .hec-btn-primary:hover {
        background-color: #fff;
        border-color: var(--hec-header-accent);
        color: var(--hec-header-accent);

        transform: translateY(-3px);

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        color: #fff;
        background-color: #b92d13 !important;
    }

    a.hec-btn-white.e-button-base:hover {
        background-color: transparent;
        border-color: #fff;
        color: #fff;

        transform: translateY(-3px);

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    }

    .hec-image-card:hover {
        background-size: 106% auto !important;

        transform: translateY(-4px);

        box-shadow:
            0 16px 35px rgba(0, 0, 0, 0.14);
    }

    .hec-image-card:hover::before {
        background-color: rgba(0, 0, 0, 0.08);
    }
}

.hec-btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.hec-btn-primary:focus-visible {
    outline: 3px solid rgba(207, 52, 23, 0.3);
    outline-offset: 4px;
}

a.hec-btn-white.e-button-base:active,
button.hec-btn-white.e-button-base {
    transform: translateY(0) scale(0.97);
}

/* Keyboard */
a.hec-btn-white.e-button-base:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.4);
    outline-offset: 4px;
}

@media (max-width: 767px) {

    .hec-btn-primary,
    a.hec-btn-white.e-button-base,
    button.hec-btn-white.e-button-base {
        min-height: 52px;
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .hec-image-card {
        transition: none;
    }

    .hec-image-card:hover {
        transform: none;
    }
}