/*
Theme Name: Blocksy Child
Theme URI: https://contenedoresmyr.es
Description: Tema hijo personalizado para Contenedores MYR.
Author: Myrmex Solutions SLU
Template: blocksy
Version: 3.0.0
Text Domain: blocksy
*/


/* ==========================================================
   CONTENEDORES MYR — SISTEMA VISUAL
   ========================================================== */

:root {
    --myr-accent: #c08956;
    --myr-accent-dark: #a97242;
    --myr-accent-soft: #efe2d5;

    --myr-dark: #181817;
    --myr-text: #55514d;
    --myr-muted: #7f7973;

    --myr-white: #ffffff;

    --myr-soft: #f5f2ee;
    --myr-soft-light: #faf9f7;

    --myr-line: #e5e0da;

    --myr-width: 1240px;

    --myr-radius: 12px;
}


/* ==========================================================
   BASE
   ========================================================== */

body.home {
    background: var(--myr-white);
}

body.home .hero-section {
    display: none !important;
}

body.home #main,
body.home .site-main {
    padding: 0 !important;
    margin: 0 !important;
}

#myr-home {
    width: 100%;
    overflow: hidden;
    background: var(--myr-white);
    color: var(--myr-dark);
}

#myr-home *,
#myr-home *::before,
#myr-home *::after {
    box-sizing: border-box;
}

.myr-container {
    width: min(
        var(--myr-width),
        calc(100% - 64px)
    );

    margin-inline: auto;
}

.myr-section {
    padding: 120px 0;
}

.myr-eyebrow,
.myr-section-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--myr-accent);

    font-size: 11px;
    line-height: 1;
    font-weight: 750;

    letter-spacing: .15em;
    text-transform: uppercase;
}

html {
    scroll-behavior: smooth;
}

#soluciones,
#como-funciona {
    scroll-margin-top: 100px;
}

::selection {
    background: var(--myr-accent);
    color: #fff;
}


/* ==========================================================
   HEADER DEFINITIVO
   ========================================================== */

#header {
    position: relative;
    z-index: 100;

    background: rgba(255, 255, 255, .97);

    border-bottom:
        1px solid
        rgba(24, 24, 23, .065);
}

#header [data-row="middle"] {
    background: transparent !important;
}

#header [data-row="middle"] > div {
    min-height: 78px !important;
}


/* MARCA */

#header .site-branding {
    display: flex;
    align-items: center;
    gap: 13px;
}

#header .site-branding img {
    width: auto;
    max-height: 36px;
}

#header .site-title {
    margin: 0;

    font-size: 18px !important;
    line-height: 1;
    font-weight: 750;

    letter-spacing: -.025em;
}

#header .site-title a {
    color: var(--myr-dark) !important;
}


/* MENÚ */

#header .menu {
    align-items: center;
    gap: 3px;
}

#header .menu > li > a {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 0 11px !important;

    color: #292826 !important;

    font-size: 10px !important;
    font-weight: 750 !important;

    letter-spacing: .075em;
    text-transform: uppercase;

    transition:
        color .18s ease,
        opacity .18s ease;
}

/* Hover del menú */
#header .menu > li > a:hover {
    color: var(--myr-accent) !important;
}

/* Página/elemento activo: mantener negro */
#header .menu > .current-menu-item > a,
#header .menu > .current_page_item > a,
#header .menu > .current-menu-ancestor > a {
    color: #292826 !important;
}


/* ==========================================================
   CTA HEADER — SOLICITAR PRESUPUESTO
   ========================================================== */

/*
 * Funciona tanto si usamos el Button nativo de Blocksy
 * con clase "myr-header-cta" como por la URL del enlace.
 */

#header .myr-header-cta,
#header .myr-header-cta > a,
#header .myr-header-cta .ct-button,
#header a.myr-header-cta,
#header a[href*="solicitar-presupuesto"] {
    --theme-link-initial-color: #ffffff !important;
    --theme-link-hover-color: #ffffff !important;

    --theme-button-text-initial-color: #ffffff !important;
    --theme-button-text-hover-color: #ffffff !important;

    --theme-button-background-initial-color: #c08956 !important;
    --theme-button-background-hover-color: #a97242 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding-inline: 19px !important;

    border: 0 !important;
    border-radius: 6px;

    background: #c08956 !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 750 !important;

    letter-spacing: .075em;
    text-transform: uppercase;

    box-shadow:
        0 9px 24px
        rgba(192, 137, 86, .17);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* FUERZA BLANCO TAMBIÉN EN ELEMENTOS INTERNOS */

#header .myr-header-cta *,
#header a.myr-header-cta *,
#header a[href*="solicitar-presupuesto"] *,
#header a[href*="solicitar-presupuesto"] .ct-label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* HOVER CTA */

#header .myr-header-cta:hover,
#header .myr-header-cta > a:hover,
#header .myr-header-cta .ct-button:hover,
#header a.myr-header-cta:hover,
#header a[href*="solicitar-presupuesto"]:hover {
    --theme-link-initial-color: #ffffff !important;
    --theme-link-hover-color: #ffffff !important;

    --theme-button-text-initial-color: #ffffff !important;
    --theme-button-text-hover-color: #ffffff !important;

    background: var(--myr-accent-dark) !important;

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 13px 30px
        rgba(192, 137, 86, .23);
}


/* SEPARACIÓN CTA */

#header .myr-header-cta {
    margin-left: 14px;
}


/* SEARCH FUERA */

#header .ct-header-search {
    display: none !important;
}


/* ==========================================================
   BOTONES HOME
   ========================================================== */

.myr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 29px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.myr-button-primary {
    color: #fff !important;

    background: var(--myr-accent);

    box-shadow:
        0 12px 28px
        rgba(192, 137, 86, .19);
}

.myr-button-primary:hover {
    color: #fff !important;

    background: var(--myr-accent-dark);

    transform: translateY(-2px);

    box-shadow:
        0 18px 36px
        rgba(192, 137, 86, .25);
}

.myr-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--myr-dark) !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color .2s ease,
        gap .2s ease;
}

.myr-text-link span {
    color: var(--myr-accent);
    font-size: 18px;
}

.myr-text-link:hover {
    gap: 15px;
    color: var(--myr-accent) !important;
}


/* ==========================================================
   HERO
   ========================================================== */

.myr-hero {
    position: relative;

    padding:
        88px
        0
        100px;

    background:

        radial-gradient(
            circle at 90% 15%,
            rgba(192, 137, 86, .085),
            transparent 29%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfaf8 53%,
            #f6f2ed 100%
        );
}

.myr-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .88fr)
        minmax(0, 1.12fr);

    align-items: center;

    gap: 90px;
}

.myr-hero-copy h1 {
    max-width: 650px;

    margin: 0;

    color: var(--myr-dark);

    font-size:
        clamp(
            52px,
            5.2vw,
            78px
        );

    line-height: .99;

    font-weight: 720;

    letter-spacing: -.052em;
}

.myr-hero-copy h1 em {
    display: block;

    margin-top: 8px;

    color: var(--myr-accent);

    font-style: normal;
    font-weight: 510;
}

.myr-hero-description {
    max-width: 565px;

    margin: 30px 0 0;

    color: var(--myr-text);

    font-size: 17px;
    line-height: 1.75;
}

.myr-hero-actions {
    display: flex;
    align-items: center;

    gap: 31px;

    margin-top: 36px;
}

.myr-hero-meta {
    display: flex;

    gap: 50px;

    margin-top: 48px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--myr-line);
}

.myr-hero-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.myr-hero-meta strong {
    color: var(--myr-dark);
    font-size: 13px;
}

.myr-hero-meta span {
    color: var(--myr-muted);
    font-size: 11px;
}


/* HERO VISUAL */

.myr-hero-visual {
    position: relative;
}

.myr-hero-visual::before {
    content: "";

    position: absolute;

    left: -19px;
    bottom: -19px;

    width: 68%;
    height: 70%;

    border:
        1px solid
        rgba(192, 137, 86, .25);

    border-radius: 15px;
}

.myr-hero-visual img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 605px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow:
        0 28px 80px
        rgba(25, 22, 19, .09);
}

.myr-hero-card {
    position: absolute;
    z-index: 2;

    right: -21px;
    bottom: 30px;

    width: 230px;

    padding: 21px 23px;

    background:
        rgba(255, 255, 255, .94);

    border:
        1px solid
        rgba(255, 255, 255, .8);

    border-radius: 9px;

    box-shadow:
        0 18px 52px
        rgba(0, 0, 0, .11);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.myr-hero-card > span {
    display: block;

    margin-bottom: 7px;

    color: var(--myr-accent);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}

.myr-hero-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--myr-dark);

    font-size: 15px;
}

.myr-hero-card p {
    margin: 0;

    color: var(--myr-muted);

    font-size: 11px;
    line-height: 1.55;
}


/* ==========================================================
   TRUST BAR
   ========================================================== */

.myr-trust {
    background: #fff;

    border-top:
        1px solid
        var(--myr-line);

    border-bottom:
        1px solid
        var(--myr-line);
}

.myr-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.myr-trust-item {
    display: grid;

    grid-template-columns:
        30px
        1fr;

    gap: 14px;

    padding: 29px 27px;

    border-right:
        1px solid
        var(--myr-line);
}

.myr-trust-item:first-child {
    padding-left: 0;
}

.myr-trust-item:last-child {
    border-right: 0;
}

.myr-trust-item > span {
    color: var(--myr-accent);

    font-size: 10px;
    font-weight: 800;
}

.myr-trust-item strong {
    display: block;

    margin-bottom: 4px;

    color: var(--myr-dark);

    font-size: 13px;
}

.myr-trust-item p {
    margin: 0;

    color: var(--myr-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* ==========================================================
   CABECERAS SECCIONES
   ========================================================== */

.myr-section-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .55fr);

    align-items: end;

    gap: 90px;

    margin-bottom: 58px;
}

.myr-section-header h2,
.myr-choice-heading h2,
.myr-process-heading h2,
.myr-logistics-copy h2,
.myr-company-grid h2,
.myr-final h2 {
    margin: 0;

    color: var(--myr-dark);

    font-size:
        clamp(
            39px,
            4vw,
            58px
        );

    line-height: 1.04;

    font-weight: 690;

    letter-spacing: -.042em;
}

.myr-section-intro p {
    margin: 0 0 18px;

    color: var(--myr-text);

    font-size: 15px;
    line-height: 1.75;
}

.myr-section-intro a {
    color: var(--myr-accent);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* ==========================================================
   FAMILIAS DE SOLUCIÓN
   ========================================================== */

.myr-solutions {
    background: var(--myr-soft-light);

    border-bottom:
        1px solid
        var(--myr-line);
}

.myr-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.myr-solution-card {
    position: relative;

    overflow: hidden;

    min-height: 405px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 31px;

    border:
        1px solid
        var(--myr-line);

    border-radius: 12px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.myr-solution-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(192, 137, 86, .42);

    box-shadow:
        0 22px 55px
        rgba(23, 23, 23, .06);
}

.myr-solution-card-active {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbf8f4 100%
        );
}


/* DETALLE DECORATIVO */

.myr-solution-card::before {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    right: -105px;
    bottom: -105px;

    border:
        1px solid
        rgba(192, 137, 86, .11);

    border-radius: 50%;

    pointer-events: none;
}

.myr-solution-card::after {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -65px;
    bottom: -65px;

    border:
        1px solid
        rgba(192, 137, 86, .08);

    border-radius: 50%;

    pointer-events: none;
}

.myr-solution-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.myr-solution-top > span:first-child {
    color: var(--myr-accent);

    font-size: 10px;
    font-weight: 800;
}

.myr-solution-status {
    padding: 7px 9px;

    border:
        1px solid
        var(--myr-line);

    border-radius: 4px;

    background: var(--myr-soft-light);

    color: var(--myr-muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .12em;
}

.myr-solution-card-active
.myr-solution-status {
    border-color:
        rgba(192, 137, 86, .32);

    background:
        rgba(192, 137, 86, .06);

    color: var(--myr-accent);
}

.myr-solution-content {
    position: relative;
    z-index: 2;
}

.myr-solution-kicker {
    display: block;

    margin-bottom: 13px;

    color: var(--myr-accent);

    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: .13em;
}

.myr-solution-content h3 {
    max-width: 300px;

    margin: 0 0 17px;

    color: var(--myr-dark);

    font-size: 31px;
    line-height: 1.06;

    letter-spacing: -.035em;
}

.myr-solution-content p {
    max-width: 320px;

    margin: 0;

    color: var(--myr-text);

    font-size: 13px;
    line-height: 1.7;
}

.myr-solution-content > a {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 27px;

    color: var(--myr-dark);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.myr-solution-content > a span {
    color: var(--myr-accent);

    font-size: 17px;

    transition:
        transform .2s ease;
}

.myr-solution-content > a:hover span {
    transform: translate(2px, -2px);
}


/* ==========================================================
   PRODUCTOS
   ========================================================== */

.myr-products {
    background: #fff;
}

.myr-products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}

.myr-product-card {
    display: block;

    color: inherit !important;

    text-decoration: none;

    transition:
        transform .25s ease;
}

.myr-product-card:hover {
    transform: translateY(-4px);
}

.myr-product-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1.14 / 1;

    background: var(--myr-soft);

    border-radius: var(--myr-radius);

    box-shadow:
        inset 0 0 0 1px
        rgba(24, 24, 23, .025);
}

.myr-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        .55s
        cubic-bezier(.2, .7, .2, 1);
}

.myr-product-card:hover
.myr-product-image img {
    transform: scale(1.035);
}

.myr-product-tag {
    position: absolute;

    top: 17px;
    left: 17px;

    padding:
        8px
        11px;

    background:
        rgba(255, 255, 255, .94);

    color: var(--myr-accent);

    border-radius: 4px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .13em;
}

.myr-product-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;
}

.myr-product-title h3 {
    margin: 0;

    color: var(--myr-dark);

    font-size: 29px;
    line-height: 1.1;
    font-weight: 680;

    letter-spacing: -.025em;
}

.myr-product-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    border:
        1px solid
        var(--myr-line);

    border-radius: 50%;

    color: var(--myr-dark);

    font-size: 17px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.myr-product-card:hover
.myr-product-arrow {
    color: #fff;

    background: var(--myr-accent);

    border-color: var(--myr-accent);

    transform: translate(2px, -2px);
}

.myr-product-card > p {
    max-width: 355px;

    margin: 11px 0 0;

    color: var(--myr-muted);

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================
   NUEVO / USADO
   ========================================================== */

.myr-choice {
    background: var(--myr-soft);

    border-top:
        1px solid
        var(--myr-line);

    border-bottom:
        1px solid
        var(--myr-line);
}

.myr-choice-grid {
    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 120px;
}

.myr-choice-heading {
    max-width: 480px;
}

.myr-choice-heading > p {
    margin: 28px 0 0;

    color: var(--myr-text);

    font-size: 15px;
    line-height: 1.75;
}

.myr-choice-list article {
    display: grid;

    grid-template-columns:
        55px
        1fr;

    gap: 25px;

    padding: 36px 0;

    border-bottom:
        1px solid
        #dcd6cf;
}

.myr-choice-list article:first-child {
    padding-top: 0;
}

.myr-choice-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.myr-number {
    color: var(--myr-accent);

    font-size: 10px;
    font-weight: 800;
}

.myr-choice-list h3 {
    margin: 0 0 11px;

    color: var(--myr-dark);

    font-size: 25px;
    font-weight: 680;
}

.myr-choice-list p {
    max-width: 540px;

    margin: 0;

    color: var(--myr-text);

    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================
   CÓMO FUNCIONA
   ========================================================== */

.myr-process {
    background: #fff;
}

.myr-process-heading {
    margin-bottom: 60px;
}

.myr-process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid
        var(--myr-line);

    border-bottom:
        1px solid
        var(--myr-line);
}

.myr-process-grid article {
    min-height: 225px;

    padding: 31px 28px;

    border-right:
        1px solid
        var(--myr-line);

    transition:
        background .2s ease;
}

.myr-process-grid article:first-child {
    padding-left: 0;
}

.myr-process-grid article:last-child {
    border-right: 0;
}

.myr-process-grid article:hover {
    background: var(--myr-soft-light);
}

.myr-process-grid article > span {
    color: var(--myr-accent);

    font-size: 10px;
    font-weight: 800;
}

.myr-process-grid h3 {
    margin:
        62px
        0
        9px;

    color: var(--myr-dark);

    font-size: 20px;
    font-weight: 680;
}

.myr-process-grid p {
    margin: 0;

    color: var(--myr-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   LOGÍSTICA
   ========================================================== */

.myr-logistics {
    background: var(--myr-soft-light);
}

.myr-logistics-grid {
    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    align-items: center;

    gap: 110px;
}

.myr-logistics-copy {
    max-width: 530px;
}

.myr-logistics-copy > p {
    margin:
        27px
        0
        27px;

    color: var(--myr-text);

    font-size: 16px;
    line-height: 1.75;
}

.myr-logistics-list {
    border-top:
        1px solid
        var(--myr-line);
}

.myr-logistics-list > div {
    display: grid;

    grid-template-columns:
        45px
        130px
        1fr;

    gap: 20px;

    padding: 28px 0;

    border-bottom:
        1px solid
        var(--myr-line);
}

.myr-logistics-list span {
    color: var(--myr-accent);

    font-size: 10px;
    font-weight: 800;
}

.myr-logistics-list strong {
    color: var(--myr-dark);

    font-size: 14px;
}

.myr-logistics-list p {
    margin: 0;

    color: var(--myr-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   MYRMEX
   ========================================================== */

.myr-company {
    padding: 115px 0;

    background: #fff;
}

.myr-company-grid {
    display: grid;

    grid-template-columns:
        1fr
        .62fr;

    align-items: end;

    gap: 110px;
}

.myr-company-copy p {
    margin: 0 0 25px;

    color: var(--myr-text);

    font-size: 16px;
    line-height: 1.8;
}


/* ==========================================================
   CTA FINAL
   ========================================================== */

.myr-final {
    padding: 88px 0;

    background:
        linear-gradient(
            135deg,
            #ab7142 0%,
            var(--myr-accent) 50%,
            #cf9b6c 100%
        );
}

.myr-final-grid {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.myr-final-grid > div {
    max-width: 760px;
}

.myr-final-grid > div > span {
    display: block;

    margin-bottom: 17px;

    color:
        rgba(255, 255, 255, .72);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .15em;
}

.myr-final h2 {
    color: #fff;
}

.myr-final-actions {
    display: flex;
    align-items: center;

    gap: 27px;

    flex-shrink: 0;
}

.myr-final-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    min-width: 210px;
    min-height: 60px;

    padding: 0 23px;

    border-radius: 6px;

    background: #fff;

    color: var(--myr-dark) !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.myr-final-button span {
    margin-left: 30px;
    font-size: 20px;
}

.myr-final-button:hover {
    color: #fff !important;

    background: var(--myr-dark);

    transform: translateY(-2px);
}

.myr-final-secondary {
    padding-bottom: 3px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .45);

    color: #fff !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        border-color .2s ease;
}

.myr-final-secondary:hover {
    border-color: #fff;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .myr-container {
        width: calc(100% - 44px);
    }

    .myr-section {
        padding: 92px 0;
    }

    .myr-hero-grid {
        gap: 50px;
    }

    .myr-hero-visual img {
        height: 510px;
    }

    .myr-trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .myr-trust-item:nth-child(2) {
        border-right: 0;
    }

    .myr-trust-item:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--myr-line);
    }

    .myr-solutions-grid {
        grid-template-columns: 1fr;
    }

    .myr-solution-card {
        min-height: 300px;
    }

    .myr-products-grid {
        gap: 20px;
    }

    .myr-section-header,
    .myr-choice-grid,
    .myr-logistics-grid,
    .myr-company-grid {
        gap: 60px;
    }
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    .myr-container {
        width: calc(100% - 32px);
    }

    .myr-section {
        padding: 74px 0;
    }


    /* HEADER */

    #header [data-row="middle"] > div {
        min-height: 70px !important;
    }

    #header .site-branding img {
        max-height: 32px;
    }

    #header .site-title {
        font-size: 17px !important;
    }


    /* HERO */

    .myr-hero {
        padding: 52px 0 68px;
    }

    .myr-hero-grid,
    .myr-section-header,
    .myr-choice-grid,
    .myr-logistics-grid,
    .myr-company-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .myr-hero-copy h1 {
        font-size:
            clamp(
                43px,
                12vw,
                58px
            );
    }

    .myr-hero-description {
        font-size: 15px;
    }

    .myr-hero-actions {
        flex-wrap: wrap;

        gap: 22px;
    }

    .myr-hero-meta {
        gap: 24px;

        margin-top: 38px;
    }

    .myr-hero-visual img {
        height: auto;

        aspect-ratio: 1.05 / 1;
    }

    .myr-hero-visual::before {
        display: none;
    }

    .myr-hero-card {
        right: 12px;
        bottom: 12px;

        width: 190px;

        padding: 16px;
    }


    /* TRUST */

    .myr-trust-grid,
    .myr-products-grid,
    .myr-process-grid {
        grid-template-columns: 1fr;
    }

    .myr-trust-item,
    .myr-trust-item:first-child {
        padding: 22px 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--myr-line);
    }

    .myr-trust-item:last-child {
        border-bottom: 0;
    }


    /* CABECERAS */

    .myr-section-header {
        margin-bottom: 40px;
    }

    .myr-section-header h2,
    .myr-choice-heading h2,
    .myr-process-heading h2,
    .myr-logistics-copy h2,
    .myr-company-grid h2,
    .myr-final h2 {
        font-size:
            clamp(
                34px,
                10vw,
                47px
            );
    }


    /* SOLUCIONES */

    .myr-solution-card {
        min-height: 330px;

        padding: 25px;
    }

    .myr-solution-content h3 {
        font-size: 28px;
    }


    /* PRODUCTOS */

    .myr-products-grid {
        gap: 46px;
    }

    .myr-product-image {
        aspect-ratio: 1.18 / 1;
    }


    /* PROCESO */

    .myr-process-grid {
        border-bottom: 0;
    }

    .myr-process-grid article,
    .myr-process-grid article:first-child {
        min-height: auto;

        padding: 28px 0;

        border-right: 0;

        border-bottom:
            1px solid
            var(--myr-line);
    }

    .myr-process-grid h3 {
        margin-top: 31px;
    }


    /* LOGÍSTICA */

    .myr-logistics-list > div {
        grid-template-columns:
            36px
            1fr;
    }

    .myr-logistics-list p {
        grid-column: 2;
    }


    /* CTA */

    .myr-final {
        padding: 68px 0;
    }

    .myr-final-grid {
        display: block;
    }

    .myr-final-actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        margin-top: 32px;
    }

    .myr-final-button {
        margin-top: 0;
    }
}


/* ==========================================================
   MICROINTERACCIONES
   ========================================================== */

@media (prefers-reduced-motion: no-preference) {

    .myr-hero-copy,
    .myr-hero-visual,
    .myr-product-card {
        animation:
            myr-enter
            .65s
            cubic-bezier(.2, .7, .2, 1)
            both;
    }

    .myr-hero-visual {
        animation-delay: .06s;
    }

    .myr-product-card:nth-child(2) {
        animation-delay: .07s;
    }

    .myr-product-card:nth-child(3) {
        animation-delay: .14s;
    }

    @keyframes myr-enter {

        from {
            opacity: 0;
            transform: translateY(16px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}