@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --celeste: #00eff2;
    --roboto: "Roboto", sans-serif;
    --blue: #00358d;
}


img{ vertical-align: bottom;}

.txt-white {
    color: #ffffff;
}
.txt-blue {
    color: var(--blue);
}

.txt-general {
    font-family: var(--roboto);
    font-size: 14px;
    font-weight: 400;
}

.txt-md {
    font-family: var(--roboto);
    font-size: 22px;
    font-weight: 400;
}

.bg-blue {
    background-color: #55abdd;
}

.bg-blue-deep {
    background-color: #000066;
}

.bg-blue-light {
    background-color: #487af7;
}

.bg-celeste {
    background-color: var(--celeste);
}

.footer-content {
    position: relative;
    z-index: 50;
}

.resp-menu-box {
    position: fixed;
    width: 100vw;
    height: 100vh;
    height: 100dvh;

    z-index: 100;
    top: 0px;
    left: 0px;
    display: none;
}

.resp-menu-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.resp-menu-buttons {
    position: relative;
    z-index: 250;
}



.menu-link-resp {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--roboto);
    font-weight: 300;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: clamp(35px, 4vw, 55px);
    text-transform: uppercase;
    opacity: 0;
    transition: all ease 1s;
}

.menu-link-resp:hover {
    color: var(--celeste);
}

.credits-responsive {
    position: absolute;
    width: 100%;
    bottom: 35px;
    text-align: center;
    color: #ffffff;
    font-family: var(--roboto);
    font-weight: 300;
    z-index: 300;
}

.deco-resp-menu {
    width: 250% !important;
    bottom: -50% !important;
    opacity: 0;
    top: auto !important;
    transform: none !important;
    right: auto !important;
}

.resp-pivot {
    position: fixed;
    right: 0;
    top: 0;
    height: 100dvh;
    /* better than vh on mobile */
    width: 120vmax;
    /* always big enough in any orientation */
    background: #010037;
    transform-origin: 0% 50%;
    transform: translateX(100%);
    /* off-canvas */
}

.resp-button {
    width: 60px;
    height: 60px;
    background-color: #000066;
    z-index: 200;
    top: 40px;
    right: 40px;
    position: fixed;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 30px;
    transition: all ease .5s;
}

.resp-button:hover {
    background-color: #00eff2;

}

.close-button {
    z-index: 250;
    display: none;
}

.circle-deco-box {
    width: 90%;
    aspect-ratio: 1 / 1;
    background-color: #010037;
    position: relative;
    overflow: hidden;
    position: absolute;
    right: -50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.circle-back {
    width: 100%;
    height: 100%;
    background-image: url('../assets/layout/circle.svg');
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 50% 50%;
    opacity: 1;
}

.footer-menu {
    background-color: #010037;
    position: relative;
    overflow: hidden;
}

.newsletter-box {
    position: relative;
}

.newsletter-content {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}

.newsletter {
    transform: translateY(30%);
}

.social-icons {
    color: var(--celeste);
    font-size: 30px;
    text-decoration: none;
    margin: 5px;
}

.logo-footer {
    max-width: 180px;
}

.footer-menu-content {
    padding-top: 35%;
    padding-bottom: 10%;
}

.footer-vertical-logo {
    max-width: 180px;
    width: 80%;
}

.vertical-logo-box {
    border-top-right-radius: 70px;
    text-align: center;
    padding: 4rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--roboto);
    font-weight: 400;
    display: inline-block;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 13px;
    text-transform: uppercase;
}

.newsletter-form-box {
    width: 80%;
    padding-top: 10%;
    padding-bottom: 10%;
}

.footer-link.hvr-underline-reveal:before,
.menu-link.hvr-underline-reveal:before {
    height: 4px !important;
    background: var(--celeste);
}

.newsletter-button {
    height: 100%;
    border-radius: 0px;
    font-family: var(--roboto);
}

.field-newsletter {
    border-radius: 0px;
    font-family: var(--roboto);
    font-size: 14px;


}

.tittle-lg {
    font-family: var(--roboto);
    font-weight: 800;
    font-size: clamp(25px, 3vw, 45px);
}

.tittle-xl {
    font-family: var(--roboto);
    font-weight: 800;
    font-size: clamp(35px, 5vw, 55px);
    line-height: clamp(35px, 5vw, 55px);
}


.newsletter-border {
    border-bottom-left-radius: 70px;
}

.shadow-menu {
    width: 100%;
    height: 350px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 10;
}

.main-menu {
    position: absolute;
    top: 80px;
    left: 0px;
    z-index: 20;
    width: 100%;
}

.main-logo {
    width: 90%;
    max-width: 400px;
}

.menu-link {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--roboto);
    font-weight: 300;
    display: inline-block;
    padding-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 16px;
    text-transform: uppercase;
}

/* Underline Reveal */
.hvr-underline-reveal {
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}

.hvr-underline-reveal:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2098D1;
    height: 4px;
    transform: translateY(4px);
    transition-property: transform;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.hvr-underline-reveal:hover:before,
.hvr-underline-reveal:focus:before,
.hvr-underline-reveal:active:before {
    transform: translateY(0);
}

.img-resp{
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.section-content{
    overflow: hidden;
}

.round-header{
    border-top-left-radius: 100px;
}

@media (max-width: 575.98px) {}

@media (max-width: 767.98px) {

    .main-menu {
        top: 50px;
        left: 0px;
        width: 75%;
    }

    .shadow-menu {
        height: 400px !important;
    }

    .newsletter-content {
    position: relative;
}

.newsletter {
    transform: translateY(0%);
}

.newsletter-border {
    border-bottom-left-radius: 0px;
}

}

@media (max-width: 991.98px) {

    .shadow-menu {
        height: 550px;
    }

}

@media (max-width: 1199.98px) {}

@media (max-width: 1399.98px) {}

/* ==========================================================
   HOME — Hero, secciones y decoración
   ========================================================== */

.txt-celeste {
    color: var(--celeste);
}

/* ---------- HERO ---------- */

.hero-box {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    -o-object-fit: cover;
       object-fit: cover;
}

/* Sombra sobre la imagen para que el texto blanco sea legible */
.hero-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 15;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 20;
}

.hero-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(480px, 90%);
    z-index: 20;
}

/* Dots del carrusel sobre la imagen */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.hero-carousel .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.6);
}

.hero-carousel .owl-dots .owl-dot.active span,
.hero-carousel .owl-dots .owl-dot:hover span {
    background: var(--celeste);
}

/* ---------- Decoración de rombos ---------- */

.deco-diamonds {
    position: absolute;
    top: -55px;
    left: 6%;
    z-index: 30;
}

.diamond {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    transform: rotate(45deg);
}

.diamond-1 {
    background-color: var(--celeste);
    margin-top: -80px;
    margin-left: 30px;
}

.diamond-2 {
    background-color: rgba(0, 239, 242, 0.4);
}

/* ---------- Secciones de contenido ---------- */

.section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-inner {
    max-width: 480px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* En pantallas md+ la imagen ocupa la mitad y el texto se centra a su altura */
.img-half {
    height: 100%;
    min-height: 350px;
    -o-object-fit: cover;
       object-fit: cover;
}

/* ---------- Lista "Que hacemos" ---------- */

.list-iamtec {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-family: var(--roboto);
    font-size: 14px;
    font-weight: 400;
}

.list-iamtec li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
}

.list-iamtec li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #55abdd;
}

/* ---------- Misión / Visión ---------- */

.panel-mv {
    padding: clamp(3rem, 8vw, 7rem);
}

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {

    .hero-img {
        height: 70vh;
        min-height: 420px;
    }

    .hero-overlay {
        top: auto;
        bottom: 200px;
        transform: none;
    }

    .hero-card {
        position: relative;
        width: 100%;
        border-top-left-radius: 60px;
    }

    .hero-box::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
    }

    .section-pad {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ==========================================================
   SOLUCIONES — Intro, features y bloques de servicio
   ========================================================== */

/* ---------- Intro gris ---------- */

.page-intro {
    padding: 9rem 1rem 5rem;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: hsla(0, 0%, 0%, 0.40);
}

/* ---------- Franja de features ---------- */

.feature-strip {
    background-color: #000000;
    padding: 4rem 0;
}

.feature-item {
    padding: 2rem 2.5rem;
    color: #ffffff;
}

.feature-icon {
    font-size: 55px;
    color: #55abdd;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-family: var(--roboto);
    font-weight: 700;
    font-size: 22px;
    color: #606060;
    margin-bottom: 0px;

}

.feature-text {
    color: #606060
}

.icons-features{
    width: 40%;
    max-height: 100px;
}

/* ---------- Bloques de servicio ---------- */

.service-block {
    position: relative;

    background-color: #0a1030; /* respaldo mientras no exista la imagen */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0 0 0;
}

.service-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-right .service-overlay {
    background: linear-gradient(90deg, rgba(1, 0, 55, 0) 30%, rgb(0 0 0 / 74%) 100%);
}

.service-left .service-overlay {
    background: linear-gradient(270deg, rgba(1, 0, 55, 0) 30%, rgba(1, 0, 55, 0.75) 100%);
}

.service-content {
    position: relative;
    z-index: 20;
}

.service-feats {
    margin-top: 4rem;
}

.feat-title {
    font-family: var(--roboto);
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    text-transform: none;
    margin-bottom: 0.5rem;
}

/* ---------- Hexágonos ---------- */

.hex-outer {
    width: 130px;
    height: 130px;
/*
    width: 130px;
    aspect-ratio: 1 / 1.1;
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: rgba(0, 239, 242, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
*/
}

.hex-inner {
    width: 90%;
    height: 90%;
/*
    width: 40%;
    aspect-ratio: 1 / 1.1;

    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
            clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: rgba(0, 239, 242, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #010037;
    font-size: 38px;
*/
}


/* ---------- Responsive soluciones ---------- */

@media (max-width: 767.98px) {

    .page-intro {
        padding-top: 12rem; /* deja espacio al menú absoluto */
    }

    .service-block {
        min-height: auto;
        padding: 4rem 0;
    }

    .service-right .service-overlay,
    .service-left .service-overlay {
        background: rgba(1, 0, 55, 0.65);
    }

    .service-feats {
        margin-top: 2rem;
    }

    .hex-outer {
        width: 100px;
    }

    .hex-inner {
        font-size: 30px;
    }
}
