*{
    font-family: "Google Sans Flex", sans-serif;

}
@media (min-width: 1400px) {
    .container {
        max-width: 1500px !important;
    }
}

.my-lg{
    margin: 160px auto !important;
}
body {
    padding-top: 80px;
}

.alcast-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
}

.alcast-nav-link{
    padding: 0px 22px !important;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px !important;
}
.alcast-hero{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
}

.alcast-hero h1{
    color: white;
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
}
@media (max-width: 768px) {
    .alcast-hero h1 {
        font-size: 2.4rem;
    }
}
.alcast-hero h6{
    color: white;
    font-weight: 300;
    font-size: 18px;
}
.alcast-hero-overlay{
    width: 100%;
    height: 1080px;
    background: linear-gradient(0deg, #00174b 0%, #00174b21 52%);
    display: flex;
    align-items: end;
    padding: 8% 0;
    color: white;
}
@media (max-width: 768px) {
    .alcast-hero-overlay {
        height: 880px;
        padding: 10% 5%;
    }
}
.btn-alcast-white{
    background-color: white !important;
    color: #00174b !important;
    border-radius: 6px !important;
    border: 2px solid white !important;
    padding: 8px 22px !important;
}
.btn-alcast-white:hover{
    background-color: #00174b !important;
    color: white !important;
    border: 2px solid white !important;
}
.btn-alcast-outline{
    background-color: transparent !important;
    color: white !important;
    border-radius: 6px !important;
    border: 2px solid white !important;
    padding: 8px 22px !important;
}
.btn-alcast-outline:hover{
    background-color: white !important;
    color: #00174b !important;
    border: 2px solid #00174b;
}
.alcast-card-highlight{
    width: 100%;
    height: 240px;
    border-radius: 24px;
    padding: 10%;
    background-color: #f4f5f7;
    flex-direction: column;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.alcast-card-highlight h2{
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .alcast-card-highlight p{
        font-size: 14px;
    }
}
.alcast-service {
    display: grid;
    grid-template-columns: 337px 1fr 50px;
    align-items: center;
    gap: 40px;

    min-height: 178px;
    padding: 24px 24px 24px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.alcast-service img {
    width: 340px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
}

.alcast-service-content h3 {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 500;
    color: #061d4d;
}

.alcast-service-content p {
    margin: 0;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.35;
}

.alcast-service-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #061d4d;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}
@media (max-width: 767px) {

    .alcast-service {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;

        min-height: auto;
        padding: 20px 0;
    }

    .alcast-service img {
        grid-column: 1 / -1;

        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 16px;
    }

    .alcast-service-content {
        grid-column: 1;
    }

    .alcast-service-content h2 {
        margin: 0 0 8px;
        font-size: 22px;
        line-height: 1.15;
    }

    .alcast-service-content p {
        font-size: 13px;
        line-height: 1.4;
    }

    .alcast-service-arrow {
        grid-column: 2;
        align-self: center;

        width: 34px;
        height: 34px;
    }
}


.alcast-precision {
    width: 100% !important;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 40px;
}

.alcast-precision-title {
    margin: 0 0 50px;
    text-align: center;
    color: #071d50;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
}

.alcast-precision-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 376px 376px;

    gap: 16px;
}

.precision-card {
    position: relative;
    overflow: hidden;

    border-radius: 24px;

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
}
.precision-experience {
    grid-column: 1;
    grid-row: 1;

    color: white;

    background:
        linear-gradient(
            135deg,
            #000 20%,
            #00051c 60%,
            #05005c
        );
}
.precision-iso {
    grid-column: 2;
    grid-row: 1;

    color: white;

    background:
        linear-gradient(
            120deg,
            #dce7f32d,
            #aab9cb00
        ),
        url("../img/lines.jpg");
}

.precision-global {
    grid-column: 1 / 3;
    grid-row: 2;

    color: #071d50;
    

    background:
        linear-gradient(
            120deg,
            #ffffff00,
            #f4f4f400
        ),
        url("../img/map.jpg");
        
}
.precision-global{
    background-size: contain !important;
}
.precision-global .precision-icon{
    background-color: #00174b;
}
.precision-global p{
    color: #000;
}
.precision-solution .precision-icon{
    background-color: #00174b;
}
.precision-solution {
    grid-column: 3;
    grid-row: 1 / 3;

    color: white;

    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 20, 50, 0) 40%,
            rgba(0, 20, 50, .75) 100%
        ),
        url("../img/process.jpg");
}
.precision-icon {
    position: absolute;

    top: 38px;
    left: 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    color: #071d50;

    border-radius: 7px;

    font-size: 18px;
}
.precision-content {
    position: absolute;

    left: 38px;
    right: 30px;
    bottom: 45px;
}
.precision-content h3 {
    margin: 0 0 6px;

    font-size: 38px;
    font-weight: 600;
    line-height: 1.05;
}
.precision-content p {
    margin: 0;

    font-size: 16px;
    line-height: 1.4;
}
@media (max-width: 767px) {

    .alcast-precision {
        padding: 0 16px 30px;
    }

    .alcast-precision-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .alcast-precision-grid {

        /* Una sola columna */
        grid-template-columns: 1fr;

        /* Quitamos las filas de desktop */
        grid-template-rows: auto;

        gap: 12px;
    }

    /*
     * Todas las tarjetas vuelven
     * a ocupar una posición normal.
     */
    .precision-experience,
    .precision-iso,
    .precision-global,
    .precision-solution {
        grid-column: auto;
        grid-row: auto;

        width: 100%;
        height: 280px;
    }

    .precision-icon {
        top: 20px;
        left: 20px;

        width: 36px;
        height: 36px;
    }

    .precision-content {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .precision-content h3 {
        font-size: 28px;
        line-height: 1.1;
    }

    .precision-content p {
        font-size: 13px;
    }
}


.video-container{
    width: 100% !important;
    height: 660px;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
}
@media (max-width: 768px) {
    .video-container {
       width: 94% !important;
       margin: auto;
    }
}
.video-container video{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.video-container {
    width: 100%;
    height: 660px;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botón Play / Pause */
.video-control {
    position: absolute;
    left: 32px;
    bottom: 24px;

    width: 58px;
    height: 32px;

    border: none;
    border-radius: 6px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(252, 252, 252, 0.24);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;

    cursor: pointer;


    transition: all 0.4s ease;
}

.video-control:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
    transition: all 0.2s ease-out;
}


.contact-section {
    padding: 64px 0;
    width: 100%;
}
@media (max-width: 768px) {
    .contact-section {
        width: 94% !important;
        margin: auto;
    }
}
.contact-wrapper {
    
    border-radius: 24px;
    overflow: hidden;
}

/* FORMULARIO */
.contact-form {
    background: #f8f8f8;
    padding: 70px 90px;
    height: 100%;
}
@media (max-width: 768px) {
    .contact-form {
       padding: 60px 30px;
    }
}
.contact-form h2 {
     color: #071d50;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 50px;
}

.contact-form .form-control {
    background: #f1f1f1;
    border: 0;
    border-radius: 9px;
    min-height: 46px;
    padding: 12px 21px;
    font-size: 16px;
    color: #222;
    box-shadow: none;
}

.contact-form .form-control::placeholder {
    color: #222;
    opacity: 1;
}

.contact-form textarea.form-control {
    min-height: 88px;
    resize: vertical;
}

/* BOTÓN */
.btn-alcast-blue {
    width: 189px;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: #00174b;
    color: white;
    font-weight: 300;
    transition: .2s ease;
}

.btn-alcast-blue:hover {
    background: #012068;
}

/* IMAGEN */
.contact-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* TELÉFONO */
.phone-box {
    position: absolute;
    right: 45px;
    bottom: 42px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 18px 30px;
    border-radius: 40px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: #ffffff;
    color: #080858;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.phone-icon {
    color: #080858;
    font-size: 20px;
}


.alcast-footer{
    width: 100%;
    height: 770px;
    background: linear-gradient(0deg, #00174b 0%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;

}
@media (max-width: 768px) {
    .alcast-footer {
        height: 550px;
    }
}
.alcast-footer img{
    width: 530px;

}
@media (max-width: 768px) {
    .alcast-footer img{
       width: 320px;
    }
}
.nav-link .nav-footer{
    padding: 0px 22px !important;
}
.nav-footer{
    color: rgb(194, 194, 194) !important;
    font-size: 12px !important;
    letter-spacing: 1.5px;
    font-weight: 100;
    padding: 0 0;
}
@media (max-width: 768px) {
    .nav-footer{
       font-size: 11px !important;
    }
}

.alcast-about-hero{
    width: 100%;
    height: auto;
    padding: 0;
     background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.alcast-about-hero-overlay{
    width: 100%;
    height: 490px;
   
    background: linear-gradient(0deg, #00174b 0%, #00174b21 52%);
    display: flex;
    align-items: end;
    padding: 4% 0;

}
.alcast-about-hero-overlay h2{
    color: white;
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
}
.alcast-about-content {
    padding-top: 60px;
    padding-bottom: 80px;
}

.alcast-about-content h2 {
    max-width: 1100px;
    margin: 0 auto;

    text-align: center;
    color: #071d50;

    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
}

.alcast-about-img {
    width: 100%;
    height: 640px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: 24px;
    position: relative;
}

.about-phone-box {
    position: absolute;
    left: 45px;
    bottom: 42px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 18px 30px;
    border-radius: 40px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    background: #f3f3f3;
    color: #080858;

    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;

    transition: all .25s ease;
}

.about-phone-box:hover {
    background: #f3f3f3;
    color: #080858;
}

.about-phone-icon {
    color: #080858;
    font-size: 20px;
}

.alcast-timeline {
    width: 90%;
    margin-left: auto;
}
@media (max-width: 768px) {
    .alcast-timeline {
       width: 100%;
    }
}
.alcast-timeline-item {
    min-height: 125px;

    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;

    border-bottom: 1px solid #e5e5e5;
}

.alcast-timeline-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.alcast-year {
    padding-left: 5px;

    color: #071d50;

    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.alcast-timeline-text {
    max-width: 650px;

    padding: 45px 20px 45px 30px;

    color: #171717;

    font-size: 16px;
    line-height: 1.2;
}


.alcast-section-title {
    text-align: center;
    color: #071d50;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}
.alcast-facilities {
    padding: 70px 0 100px;
}

.alcast-section-description {
    max-width: 560px;
    margin: 22px auto 0;

    color: #171717;
    font-size: 16px;
    line-height: 1.15;
}


/* =========================
   TARJETA AZUL
========================= */

.alcast-facilities-card {
    height: 514px;

    padding: 50px 60px;

    background: #071d50;
    border-radius: 24px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alcast-facilities-card h3 {
    margin: 0;

    color: #fff;

    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}



.alcast-facilities-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alcast-facilities-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
    text-decoration: none;

    font-size: 23px;
    line-height: 1.15;

    transition: opacity .2s ease;
}

.alcast-facilities-links a:hover {
    opacity: .7;
}

.alcast-facilities-links i {
    font-size: 14px;
    margin-left: 20px;
}


/* =========================
   IMAGEN
========================= */

.alcast-facilities-image {
    width: 100%;
    height: 514px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: 24px;
}
@media (max-width: 991.98px) {

    .alcast-facilities {
        padding: 50px 0 70px;
    }

    .alcast-section-title {
        font-size: 44px;
    }

    .alcast-facilities-card {
        height: 420px;
        padding: 40px 45px;
        border-radius: 30px;
    }

    .alcast-facilities-card h3 {
        font-size: 36px;
    }

    .alcast-facilities-links a {
        font-size: 20px;
    }

    .alcast-facilities-image {
        height: 420px;
        border-radius: 30px;
    }
}
@media (max-width: 575.98px) {
    .alcast-facilities {
        padding: 40px 0 60px;
    }
    .alcast-section-title {
        font-size: 36px;
        line-height: 1.08;
    }
    .alcast-section-description {
        max-width: 100%;
        margin-top: 18px;

        padding: 0 10px;

        font-size: 14px;
        line-height: 1.35;
    }
    .alcast-facilities-card {
        height: 330px;

        padding: 30px 28px;

        border-radius: 24px;
    }
    .alcast-facilities-card h3 {
        font-size: 32px;
        line-height: 1.05;
    }
    .alcast-facilities-links {
        gap: 10px;
    }
    .alcast-facilities-links a {
        font-size: 17px;
    }
    .alcast-facilities-links i {
        font-size: 12px;
    }
    .alcast-facilities-image {
        height: 300px;
        border-radius: 24px;
    }
}
.alcast-section-title {
    text-align: center;
    color: #071d50;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
}
@media (max-width: 575.98px) {
    .alcast-section-title {
        font-size: 36px;
    }
}