/* ============================================
   GLOBAL CONFIGURATIONS
   ============================================ */
:root {
    --primary-color: #124DDB;
    --primary-color-alternative: #0F3FB2;
    --primary-color-shadow: #00216E;
    --secondary-color: #ffffff;
    --secondary-color-alternative: #b3bdf7;
    --third-color: #000000;
    --common-scale-factor: 1.1;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --reveal-opacity: 0;
    --reveal-transform-distance: 20px;
    --reveal-transform-distance-variant-2: 300px;
    --reveal-duration: 700ms;
    --reveal-easing: cubic-bezier(.2, .9, .2, 1);
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--secondary-color);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.text-center {
    text-align: center;
}

.color-primary {
    color: var(--primary-color)
}

.color-primary-alternative {
    color: var(--primary-color-alternative)
}

.color-secondary {
    color: var(--secondary-color)
}

.bg-color-primary-alternative {
    background-color: var(--primary-color-alternative);
}

.blue-bg {
    background: var(--primary-color-alternative);
}

.font-60p {
    font-size: 60%;
}

.font-80p {
    font-size: 80%;
}

.font-100p {
    font-size: 100%;
}

.font-120p {
    font-size: 120%;
}

.font-140p {
    font-size: 140%;
}

.center-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.margin-0-auto {
    margin: 0 auto;
}

.margin-t3-auto {
    margin: 3% 0 0 0;
}

.stroke {
    -webkit-text-stroke: 0.1vh rgb(0, 0, 0);
}

.fw-600 {
    font-weight: 600;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5% 0;
}

.logo {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 300ms ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

.logo h1 {
    font-size: 2vw;
    color: var(--primary-color);
    margin: 0;
}

.logo img {
    height: 10vh;
}

.nav-menu a {
    display: inline-block;
    padding: 0.5vh 1.5vh 0.5vh 1.5vh;
    background: var(--primary-color);
    border-radius: 2vw;
    margin-left: 1vw;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 400;
    transition: transform 300ms ease-in-out;
}

.nav-menu a:hover {
    box-shadow: 0.1vw 0.1vw 0.5vw var(--third-color);
    transform: scale(var(--common-scale-factor));
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000000;
    padding: 12vh 3vh;
    text-align: center;
    height: 60vh;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.container-flex {
    display: flex;
    border: 1px #ffffff solid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: auto auto;
    color: #ffffff;
    position: relative;
    z-index: 1;

    p {
        font-size: 1vw;
        margin: 1vh;
    }
}

.container-flex h2 {
    color: #ffffff;
    font-size: 3vw;
    font-weight: bolder;
    margin: 1vh;
}

.container-flex button {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1bw;
    font-weight: bold;
    margin-top: 15px;
    transition: transform 300ms ease-in-out;
}

.container-flex button:hover {
    background-color: var(--primary-color-shadow);
    transform: scale(var(--common-scale-factor));
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    height: 100vh;
    margin: 0;
    padding: 30px 0;
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: xx-large;
}

.services-grid {
    width: 100%;
    height: 100vh;
}

.service-wrapper {
    height: 75%;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.service-wrapper.active-drag {
    cursor: grabbing;
    user-select: none;
}

.service-wrapper::-webkit-scrollbar {
    display: none;
}

.contenedor-blur-left {
    -webkit-mask-image:
        linear-gradient(to right,
            transparent,
            white 10%,
            white 95%,
            transparent);

    mask-image:
        linear-gradient(to left,
            transparent,
            white 10%,
            white 100%,
            transparent);
}

.card {
    user-select: none;
    list-style: none;
    width: 20vw;
    height: 80vh;
    flex-shrink: 0;
    margin: 0 1vh;
    border-radius: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card * {
    width: 80%;
}

.card h3 {
    font-size: 200%;
    font-weight: bold;
}

.card p {
    font-size: 150%;
    font-weight: 800;
}

#cnc,
#i3d,
#cla,
#mip,
#ct,
#cpc,
#msm,
#dt,
#otros {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#cnc {
    background-image: image-set(url('../img/servicios/cnc-400.avif') type('image/avif') 1x, url('../img/servicios/cnc-400.webp') type('image/webp') 1x, url('../img/servicios/cnc.jpg') 1x);
}

#i3d {
    background-image: image-set(url('../img/servicios/impresion_3d-400.avif') type('image/avif') 1x, url('../img/servicios/impresion_3d-400.webp') type('image/webp') 1x, url('../img/servicios/impresion_3d.jpg') 1x);
}

#cla {
    background-image: image-set(url('../img/servicios/corte_laser-400.avif') type('image/avif') 1x, url('../img/servicios/corte_laser-400.webp') type('image/webp') 1x, url('../img/servicios/corte_laser.jpg') 1x);
}

#mip {
    background-image: image-set(url('../img/servicios/MIM-400.avif') type('image/avif') 1x, url('../img/servicios/MIM-400.webp') type('image/webp') 1x, url('../img/servicios/MIM.jpg') 1x);
    background-position: left center;
}

#ct {
    background-image: image-set(url('../img/servicios/corte_tubo-400.avif') type('image/avif') 1x, url('../img/servicios/corte_tubo-400.webp') type('image/webp') 1x, url('../img/servicios/corte_tubo.jpg') 1x);
}

#cpc {
    background-image: image-set(url('../img/servicios/cpus-400.avif') type('image/avif') 1x, url('../img/servicios/cpus-400.webp') type('image/webp') 1x, url('../img/servicios/cpus.jpg') 1x);
}

#msm {
    background-image: image-set(url('../img/servicios/sheet_metal-400.avif') type('image/avif') 1x, url('../img/servicios/sheet_metal-400.webp') type('image/webp') 1x, url('../img/servicios/sheet_metal.jpg') 1x);
}

#dt {
    background-image: image-set(url('../img/servicios/doblado_tubo-400.avif') type('image/avif') 1x, url('../img/servicios/doblado_tubo-400.webp') type('image/webp') 1x, url('../img/servicios/doblado_tubo.jpg') 1x);
}

#otros {
    background-image: image-set(url('../img/servicios/otros-400.avif') type('image/avif') 1x, url('../img/servicios/otros-400.webp') type('image/webp') 1x, url('../img/servicios/otros.jpg') 1x);
    background-position: right center;
}

/* Tablet: mid-size */
@media (min-width: 641px) {
    #cnc {
        background-image: image-set(url('../img/servicios/cnc-800.avif') type('image/avif') 1x, url('../img/servicios/cnc-800.webp') type('image/webp') 1x, url('../img/servicios/cnc.jpg') 1x);
    }

    #i3d {
        background-image: image-set(url('../img/servicios/impresion_3d-800.avif') type('image/avif') 1x, url('../img/servicios/impresion_3d-800.webp') type('image/webp') 1x, url('../img/servicios/impresion_3d.jpg') 1x);
    }

    #cla {
        background-image: image-set(url('../img/servicios/corte_laser-800.avif') type('image/avif') 1x, url('../img/servicios/corte_laser-800.webp') type('image/webp') 1x, url('../img/servicios/corte_laser.jpg') 1x);
    }

    #mip {
        background-image: image-set(url('../img/servicios/MIM-800.avif') type('image/avif') 1x, url('../img/servicios/MIM-800.webp') type('image/webp') 1x, url('../img/servicios/MIM.jpg') 1x);
    }

    #ct {
        background-image: image-set(url('../img/servicios/corte_tubo-800.avif') type('image/avif') 1x, url('../img/servicios/corte_tubo-800.webp') type('image/webp') 1x, url('../img/servicios/corte_tubo.jpg') 1x);
    }

    #cpc {
        background-image: image-set(url('../img/servicios/cpus-800.avif') type('image/avif') 1x, url('../img/servicios/cpus-800.webp') type('image/webp') 1x, url('../img/servicios/cpus.jpg') 1x);
    }

    #msm {
        background-image: image-set(url('../img/servicios/sheet_metal-800.avif') type('image/avif') 1x, url('../img/servicios/sheet_metal-800.webp') type('image/webp') 1x, url('../img/servicios/sheet_metal.jpg') 1x);
    }

    #dt {
        background-image: image-set(url('../img/servicios/doblado_tubo-800.webp') type('image/webp') 1x, url('../img/servicios/doblado_tubo.jpg') 1x);
    }

    #otros {
        background-image: image-set(url('../img/servicios/otros-800.avif') type('image/avif') 1x, url('../img/servicios/otros-800.webp') type('image/webp') 1x, url('../img/servicios/otros.jpg') 1x);
    }
}

/* Desktop: large */
@media (min-width: 1025px) {
    #cnc {
        background-image: image-set(url('../img/servicios/cnc-1200.avif') type('image/avif') 1x, url('../img/servicios/cnc-1200.webp') type('image/webp') 1x, url('../img/servicios/cnc.jpg') 1x);
    }

    #i3d {
        background-image: image-set(url('../img/servicios/impresion_3d-1200.avif') type('image/avif') 1x, url('../img/servicios/impresion_3d-1200.webp') type('image/webp') 1x, url('../img/servicios/impresion_3d.jpg') 1x);
    }

    #cla {
        background-image: image-set(url('../img/servicios/corte_laser-1200.avif') type('image/avif') 1x, url('../img/servicios/corte_laser-1200.webp') type('image/webp') 1x, url('../img/servicios/corte_laser.jpg') 1x);
    }

    #mip {
        background-image: image-set(url('../img/servicios/MIM-1200.avif') type('image/avif') 1x, url('../img/servicios/MIM-1200.webp') type('image/webp') 1x, url('../img/servicios/MIM.jpg') 1x);
    }

    #ct {
        background-image: image-set(url('../img/servicios/corte_tubo-1200.avif') type('image/avif') 1x, url('../img/servicios/corte_tubo-1200.webp') type('image/webp') 1x, url('../img/servicios/corte_tubo.jpg') 1x);
    }

    #cpc {
        background-image: image-set(url('../img/servicios/cpus-1200.avif') type('image/avif') 1x, url('../img/servicios/cpus-1200.webp') type('image/webp') 1x, url('../img/servicios/cpus.jpg') 1x);
    }

    #msm {
        background-image: image-set(url('../img/servicios/sheet_metal-1200.avif') type('image/avif') 1x, url('../img/servicios/sheet_metal-1200.webp') type('image/webp') 1x, url('../img/servicios/sheet_metal.jpg') 1x);
    }

    #dt {
        background-image: image-set(url('../img/servicios/doblado_tubo-1200.webp') type('image/webp') 1x, url('../img/servicios/doblado_tubo.jpg') 1x);
    }

    #otros {
        background-image: image-set(url('../img/servicios/otros-1200.avif') type('image/avif') 1x, url('../img/servicios/otros-1200.webp') type('image/webp') 1x, url('../img/servicios/otros.jpg') 1x);
    }
}

.scale-text {
    text-align: center;
    font-style: italic;
    margin-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--secondary-color);
}

/* ============================================
   WHYS SECTION
   ============================================ */
.whys {
    height: 110vh;
}

.whys-grid {
    height: 100%;
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
}

.whys-feature-card {
    width: 100%;
    display: flex;
    flex: 0 0 100%;
    scroll-snap-align: start;
    box-sizing: border-box;
    overflow-x: unset;
}

.whys-text-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    background: var(--primary-color);
}

.whys-text-card p {
    color: var(--secondary-color);
    font-size: 1.8vw;
    width: 70%;
}

.whys-text-card p,
.whys-text-card .controlls-main {
    width: 50%;
}

.whys-text-card .controlls-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whys-text-card .controlls-main * {
    padding: 5%;
    color: var(--secondary-color);
    font-size: 1.5vw;
}

.img-card {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.img-card img {
    border-radius: 15px;
    width: 120%;
    position: relative;
    right: 40%;
}

.not-active {
    visibility: hidden;
    pointer-events: none;
    cursor: none;
}

.whys-feature-card .whys-text-card,
.whys-feature-card .img-card {
    transform: scale(1);
    opacity: 0.9;
    transition: all 3s ease-in-out;
}

.whys-feature-card:target .whys-text-card,
.whys-feature-card:target .img-card {
    transform: scale(1);
    opacity: 1;
}

.hidden-img-whys {
    display: none;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    width: 100%;
    height: 110vh;
    margin: 0.5% 0 3% 0;
    display: flex;
}

.feature-header {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.feature-header h2 {
    font-size: 2vw;
    color: var(--primary-color-shadow);
}

.features-gifs-container img {
    width: 80%;
    border-radius: 5%;
}

.features-grid {
    color: var(--secondary-color);
    font-size: 1vw;
    display: flex;
    flex-direction: column;
    align-self: baseline;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    border-radius: 10% 0 0 10%;
    padding-right: 6vw;
}

.features-grid * {
    width: 100%;
}

.feature-card {
    width: 70%;
}

.feature-card h4,
.feature-card p {
    color: #ffffff;
    margin: 3% 12%;
}

/* ============================================
   TIER SYSTEM SECTION
   ============================================ */
.tier-system {
    overflow: hidden;
}

.tier-header {
    background: var(--primary-color-alternative);
    color: var(--secondary-color);
    text-align: center;
    font-size: 130%;
}

.tier-header-text {
    color: var(--third-color);
    width: 60%;
    font-size: 120%;
    text-align: left;
    margin: auto auto;
}

.tier-responsibility {
    font-weight: 500;
}

.tier-card-header {
    margin: 3% 0 0 10%;
    font-size: 130%;
    padding: 0 1%;
    width: 50%;
    background: var(--primary-color-alternative);
    text-align: center;
}

.tier-card {
    width: 100%;
    height: 60vh;
    display: flex;
    margin: 0 0 1% 0;
}

.tier-card-text {
    line-height: 1.3;
    text-align: left;
    width: 60%;
    margin: 0 2% 0 0;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    h4 {
        font-size: 1.5vw;
    }
}

.tier-card-text .tier-text {
    width: 60%;
}

.tier-card-text .tier-text>ul>li {
    font-weight: 100;
    font-size: 1.2vw;
}

.tier-card-text-inverted {
    margin: 0 0 0 2%;
}

.tier-card-img {
    width: 50%;
}

.tier-card-img img {
    width: 100%;
    aspect-ratio: 6 / 4;
    height: 100%;
    object-fit: cover;
}

/* Tier cards animations */
.tier-card-text,
.tier-card-text-inverted,
.tier-card-img,
.img-tier-card {
    opacity: 0;
    will-change: transform, opacity;
    transition: transform var(--reveal-duration) var(--reveal-easing), opacity var(--reveal-duration) var(--reveal-easing);
}

/* Default off-screen offsets */
.tier-card-text {
    transform: translateX(calc(-1 * var(--reveal-transform-distance-variant-2)));
}

.tier-card-img {
    transform: translateX(var(--reveal-transform-distance-variant-2));
}

.tier-card-text-inverted {
    transform: translateX(var(--reveal-transform-distance-variant-2));
}

.img-tier-card {
    transform: translateX(calc(-1 * var(--reveal-transform-distance-variant-2)));
}

/* When in-view */
.tier-card.in-view .tier-card-text,
.tier-card-text.in-view {
    transform: translateX(0);
    opacity: 1;
}

.tier-card.in-view .tier-card-img,
.tier-card-img.in-view {
    transform: translateX(0);
    opacity: 1;
}

.tier-card.in-view .tier-card-text-inverted,
.tier-card-text-inverted.in-view {
    transform: translateX(0);
    opacity: 1;
}

.tier-card.in-view .img-tier-card,
.img-tier-card.in-view {
    transform: translateX(0);
    opacity: 1;
}

/* Hover tooltips for tier cards */
.hidden-text {
    display: none;
    font-family: var(--font);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200%;
    padding: 0 100% 0 100%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 8px var(--third-color);
    z-index: 10;
    line-height: 1.4;
    white-space: normal;

    h4,
    h5,
    ul>li {
        padding: 0;
        font-weight: 700;
        font-size: 1vw;
    }
}


.hover-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

.hover-container:hover .hidden-text {
    color: var(--third-color);
    display: block;
}

.hidden-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent transparent;
}

/* ============================================
   FOOTER SECTION
   ============================================ */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40vh;
    transition: transform 300ms ease-in-out;

    * {
        font-size: 1vw;
    }

    div {
        margin: 0 1%;
    }

    a {
        text-decoration: none;
        color: var(--secondary-color);
        /* transition: transform 2s ease-in-out; */
        display: inline-block;
        transition: transform 0.3s ease-in-out;
    }

    a:hover {
        transform: scale(1.1);
        text-decoration: underline;
    }

    ul {
        padding: 0;
        margin: 0;
    }

    ul>li {
        font-size: 100%;
        list-style: none;
        margin: 0 1%;
    }

    .footer-logo {
        width: 15%;

        img {
            width: 100%;
        }
    }


}

.footer-redes-sociales {
    width: 15%;
    display: flex;
    flex-direction: column;
}

.footer-contacto {
    width: 10%;
    display: flex;
    flex-direction: column;

    h5 {
        margin: 0 0 10% 0;
    }
}

.especialistas-list {
    display: flex;
    justify-content: center;
    align-items: left;

    h6 {
        text-align: left;
        width: 110%;
    }
}

@media screen and (min-width: 400px) and (max-width: 1199) {
    .footer {
        flex-direction: column;
    }

    .especialistas-list {
        margin: top 0;
        display: flex;
    }
}

/* ============================================
   ANIMATION UTILITIES & REVEAL CLASSES
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(var(--reveal-transform-distance));
    will-change: opacity, transform;
    transition: opacity var(--reveal-duration) var(--reveal-easing), transform var(--reveal-duration) var(--reveal-easing);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Animation variants */
.fade-up {
    transform: translateY(var(--reveal-transform-distance));
}

.fade-left {
    transform: translateX(calc(-1 * var(--reveal-transform-distance)));
}

.fade-right {
    transform: translateX(var(--reveal-transform-distance));
}

.zoom-in {
    transform: scale(.95);
}

.fade-up.in-view,
.fade-left.in-view,
.fade-right.in-view,
.zoom-in.in-view {
    transform: translateX(0) translateY(0) scale(1);
}

/* Small helper to stagger children */
[data-stagger]>* {
    transition-property: opacity, transform;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* No-op placeholder to satisfy patch format before appending responsive block */

/* ============================================
   MOBILE / SMALL-SCREEN ADJUSTMENTS
   Applied to improve layout and usability on devices <= 640px
   ============================================ */
@media (max-width: 640px) {
    :root {
        --common-scale-factor: 1.05;
    }

    html,
    body {
        font-size: 16px;
    }

    .container {
        width: 95%;
        padding: 12px 0;
    }

    /* Header: stack logo and menu */
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
    }

    .logo {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .logo h1 {
        font-size: 5.5vw;
        margin-left: 8px;
        color: var(--primary-color);
    }

    .logo img,
    .logo .logo-img {
        height: 7vh;
        width: auto;
    }

    .nav-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-menu a {
        display: inline-block;
        padding: 10px 12px;
        margin-left: 0;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.2;
    }

    /* Hero adjustments */
    .hero-section {
        padding: 10vh 3vh;
        height: auto;
        min-height: 56vh;
    }

    .container-flex h2 {
        font-size: 7.5vw;
    }

    .container-flex p {
        font-size: 4.5vw;
    }

    .container-flex button {
        padding: 10px 18px;
        margin-bottom: 60%;
        font-size: 15px;
    }

    /* Services: make cards larger and easier to scroll/tap */
    .services-grid {
        height: auto;
    }

    .services-section {
        height: auto;
        padding: 18px 0;
    }

    .service-wrapper {
        height: auto;
        display: flex;
        overflow-x: auto;
        padding: 8px 0 16px 0;
        -webkit-overflow-scrolling: touch;
    }

    .card {
        width: 80vw;
        height: 60vh;
        margin: 0 6px;
        border-radius: 12px;
        padding: 14px 8px;

        h3 {
            font-size: 7vw;
            font-weight: bold;
        }

        p {
            font-size: 5vw;
            font-weight: 800;
        }
    }

    .card * {
        width: 90%;
    }

    .whys {
        width: 100vw;
        height: 100vh;
    }
    .whys-grid {
        /* height: 100vw; */
        /* flex-direction: column; */
        scroll-snap-type: y mandatory;
    }

    .whys-feature-card {
        width: 100vw;
        height: 100vh;
        padding-top: 8vh;
        flex-direction: column;
    }

    .whys-text-card {
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding-bottom: 10vw;
    }
    
    .whys-text-card p {
        color: var(--secondary-color);
        font-size: 6vw;
    }

    .whys-text-card p,
    .whys-text-card .controlls-main {
        width: 60%;
    }

    .whys-text-card .controlls-main * {
        font-size: 4vw;
    }

    .img-card {
        width: 100vw;
        height:0vw ;
        /* width: 40vh; */
        flex: none;
        align-content: center;
        
        img{
            width: 60%;
            position: absolute;
            right: 20vw;
            bottom: 5vw;
        }
    }

    .hidden-img-whys{
        display: block;
        margin-top: -20vw;
        height: 12vh;
        opacity: 0.2;
    }

    /* Features sections */

.features-section {
    height: 100%;
    flex-direction: column;
}

.feature-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.feature-header h2 {
    font-size: 5vw;
    color: var(--primary-color-shadow);
}

.features-gifs-container img {
    width: 80%;
    border-radius: 5%;
}

.features-grid {
    color: var(--secondary-color);
    font-size: 4.5vw;
    width: 100%;
    padding: 0%;
    height: max-content;
    border-radius: 0;
}

.features-grid * {
    width: 100%;
}

.feature-card {
    margin: 1% 0;
    padding: 4% 0;
    width: 70%;
    text-align: justify;
}

.feature-card h4,
.feature-card p {
    color: #ffffff;
    margin: 2% 0;
}

.tier-card-text{
    width: 150%;
    h4 {
        font-size: 6vw;
    }
    .tier-text>ul>li {
        width: 100%;
        font-size: 4vw;}

}
    .footer {

    }
    .footer {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        /* gap: 100%; */

    * {
        font-size: 5vw;
    }

    div {
        margin: 2% 0;
    }

    a {
        text-decoration: none;
        color: var(--secondary-color);
        /* transition: transform 2s ease-in-out; */
        display: inline-block;
        transition: transform 0.3s ease-in-out;
    }

    a:hover {
        transform: scale(1.1);
        text-decoration: underline;
    }

    ul {
        padding: 0;
        margin: 0;
    }

    ul>li {
        font-size: 100%;
        list-style: none;
        margin: 0 1%;
    }

    .footer-logo {
        width: 50%;

        img {
            width: 100%;
        }
    }


}

.footer-redes-sociales {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.footer-contacto {
    width: 60%;
    display: flex;
    flex-direction: column;

    h5 {
        margin: 0 0 10% 0;
    }
}

.especialistas-list {
    flex-direction: column;

    li{
        margin: 5%;
    }

    h6 {
        text-align: left;
        width: 110%;
    }
}
}