
:root {
    --nav-item-color: #2C695B;
    --nav-button-contact: #8DC63F;
    --shadow-color: #668E19;
    --shadow-elevation: -3px 3px 1px var(--shadow-color);
    --estimated-button-border-send: #8d6a11;
    --estimated-button-send: #FFBD1A;
    --estimated-background: #25333C;
    --estimated-background-transparency: #25333C77;
    --services-title: #F9B233;
    --titles-size-large: 4rem;
    --text-size-separator: 1.2rem;
    --card-background: #f2f2f2;
    --footer-background: #606060;
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/*Template styles*/

.main-header {
    display: flex;
    flex-direction: column;
}

/*
 * Solamente el header de Inicio ocupa toda la pantalla,
 * porque es el único que contiene el banner SOMOS EXPERTOS.
 */
.main-header.home-header {
    height: 100vh;
}

.nav-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: #333;
    color: #fff;
    font-size: 0.7rem;
}

.social-media {
    display: flex;
    list-style: none;
}

.social-media li {
    margin-right: 0.5rem;
}

.phone-numbers {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.phone-numbers li {
    margin-right: 1.5rem;
}

.phone-numbers i {
    margin-right: 0.5rem;
}

.phone-numbers button {
    color: white;
    font-weight: bold;
    background-color: var(--nav-button-contact);
    border: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: var(--shadow-elevation);
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    cursor: pointer;
}

.mobile-bars {
    display: none;
}

.menu {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0.5rem;
    background-color: #fff;
    color: var(--nav-item-color);
    font-size: 1.2rem;
    font-weight: bold;
    height: 64px;
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li {
    height: 32px;
    margin-right: 1rem;
    position: relative;
}

.menu ul li i {
    height: 16px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.menu ul li input {
    text-align: center;
    border: 0;
    padding: 0.5rem;
    border-radius: 5px;
    background-color: #e3e3e3;
}

.menu a[active] {
    border-bottom: 2px solid #e85d04;
}

.menu-mobile {
    position: fixed;
    top: 0;
    left: 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: 0.5s ease left;
    background-color: var(--estimated-background-transparency);
    backdrop-filter: blur(1rem);
    color: white;
}

.menu-mobile li {
    font-size: 2rem;
    padding: 1rem;
}

.menu-mobile li:first-child {
    position: absolute;
    top: 1%;
    right: 10%;
}

.close-menu {
    align-self: flex-end;
}

.menu-mobile.active {
    left: 0%;
}

.banner {
    position: relative;
    overflow: hidden;
    color: white;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
}

/*
 * La imagen mantiene su proporción original.
 * Se expande horizontalmente sin utilizar cover ni contain.
 */
.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: auto;
    max-width: none;
    object-fit: initial;
    object-position: center top;
}

/*
 * La imagen no recibe una capa oscura.
 * El contraste se consigue directamente mediante
 * la sombra aplicada al texto.
 */

.banner > img:not(.banner-background),
.banner > article {
    position: relative;
    z-index: 1;
}

.banner > img:not(.banner-background) {
    filter:
        drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55))
        drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.banner article {
    text-align: center;
    padding: 1rem;
}

.banner article h1 {
    font-size: var(--titles-size-large);
    margin-bottom: 1rem;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.95),
        0 4px 8px rgba(0, 0, 0, 0.85),
        0 8px 18px rgba(0, 0, 0, 0.65);
}

.banner article p {
    font-size: var(--text-size-separator);
    margin-bottom: 1rem;
    text-justify: inter-word;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.95),
        0 4px 8px rgba(0, 0, 0, 0.85),
        0 8px 16px rgba(0, 0, 0, 0.60);
}

footer {
    background-color: var(--footer-background);
    color: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.1rem;
}

.schedule {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 0.1rem solid #fff;
}

.contact-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    border-right: 0.1rem solid #fff;
}

.contact-info .address-info {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.2rem 2rem;
    justify-content: start;
}

.copy {
    margin-top: 2rem;
    font-size: 0.5rem;
    align-self: flex-end;
}

.message {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Modal dialog*/

::backdrop {
    background-image: linear-gradient(
        45deg,
        var(--estimated-background),
        var(--estimated-background-transparency),
        var(--footer-background),
        var(--nav-item-color)
    );
    opacity: 0.75;
}

dialog {
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    width: 80vw;
    height: auto;
}

.dialog-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 1rem;
}

.dialog-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dialog-body #selected-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.wp-block-gallery {
    column-count: 3;
    column-gap: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wp-block-gallery .wp-block-image {
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-image {
    cursor: pointer;
    border: #333 1px solid;
    border-radius: 10px;
    margin: 0.5rem;
    object-fit: cover;
}

/* end modal dialog*/

/* end template styles */

/*views styles*/

.estimate {
    width: 100%;
    height: 80vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--estimated-background);
    color: #fff;
}

.estimate h1 {
    text-align: center;
    font-size: var(--titles-size-large);
    margin-bottom: 1rem;
}

.form-estimate {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--estimated-background);
    color: #fff;
}

.form-estimate input {
    font-size: 1.4rem;
    padding: 0.5rem;
    border: 0;
    margin-left: 0.5rem;
    border-radius: 5px;
}

.form-estimate button {
    background-color: var(--estimated-button-send);
    margin-left: 0.5rem;
    font-size: 1.3rem;
    padding: 0.5rem 2rem 0.5rem 2rem;
    border: 0;
    border-bottom: 4px solid var(--estimated-button-border-send);
}

/*separators and pages*/

.logo-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.separator {
    height: 80vh;
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.separator-text {
    text-align: center;
    padding: 1rem;
}

.separator-text h1 {
    font-size: var(--titles-size-large);
    margin-bottom: 1rem;
}

.separator-text p {
    font-size: var(--text-size-separator);
    margin-bottom: 1rem;
}

.separator-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    text-align: center;
}

.separator-title h1 {
    font-size: var(--titles-size-large);
}

.separator-title p {
    font-size: var(--text-size-separator);
    text-justify: inter-word;
    color: #adadad;
}

.separator-title span {
    color: #668E19;
}

/* inicio page*/

.pioneers {
    background: url('../img/home/Banner_02.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cards-details {
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}

.detail {
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--card-background);
    border-top-left-radius: 60px;
}

.detail img {
    max-width: 100%;
}

.detail h2 {
    font-size: 1rem;
    margin-top: 1rem;
}

.detail p {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.detail a {
    margin-top: 1rem;
    color: var(--nav-button-contact);
    font-size: 0.6rem;
    font-weight: bold;
}

.experience {
    background: url('../img/home/Banner_03.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.benefits-details {
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 1rem;
}

.benefit-detail {
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-detail img {
    width: 120px;
    height: 120px;
}

.benefit-detail h2 {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.benefit-detail p {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #adadad;
}

/* end inicio page*/

/*acerca page*/

.banner-video {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-container {
    color: #fff;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.experts {
    background: url('../img/acerca/experts.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.experts-text {
    display: flex;
    justify-content: center;
    align-items: center;
}

.experts-container {
    width: 50%;
    margin-right: 4rem;
}

.experts-description p {
    font-size: 1.2rem;
    text-align: justify;
    width: 100%;
    color: #adadad;
}

.experts-description img {
    width: 100%;
    aspect-ratio: 9/16;
}

.clients {
    background-color: #e3e3e3;
}

.clients-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 4rem;
}

.item-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.process {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 1rem;
}

.item-process {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

/* .item-process img::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100vw;
    height: 0.5rem;
    background-color: rgba(0, 0, 0, 0.6);
} */

/* end acerca page*/

/* servicios page*/

.charts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    text-align: center;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}

.item-charts {
    /* border-radius: 50%; */
    /* border: 10px solid #e3e3e3; */
    box-sizing: border-box;
    /* padding: 2rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background-color: #fff;
    aspect-ratio: 1/1;
}

.item-charts p {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.services {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 5rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

.item-service {
    /* border-radius: 50%; */
    /* border: 10px solid #e3e3e3; */
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    aspect-ratio: 1/1;
}

.item-service p {
    font-size: 0.8rem;
    background-color: #F7B233;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem;
}

.services-gallery {
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem 2rem;
}

.services-gallery img {
    width: 100%;
}

.gallery-service > p {
    width: 50%;
    font-size: var(--text-size-separator);
    background-color: #F7B233;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem;
}

.gallery-grid {
    margin-top: 0.3rem;
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    grid-gap: 0.3rem;
}

.gallery-grid img {
    max-width: 100%;
    height: auto;
}

/*
.gallery-grid>figure {
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    grid-gap: 0.3rem;
}

.gallery-grid>figure>figure {
    aspect-ratio: 1/1;
}

.gallery-grid>figure>figure>img {
    max-width: 100%;
    height: auto;
}
*/

/* end servicios page*/

/* gallery page*/

.cards-details {
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    grid-gap: 1rem;
}

.detail {
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background-color: var(--card-background);
    border-top-left-radius: 60px;
}

.detail img {
    max-width: 100%;
}

.detail h2 {
    font-size: 1rem;
    margin-top: 1rem;
}

.detail p {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.detail a {
    margin-top: 1rem;
    color: var(--nav-button-contact);
    font-size: 0.6rem;
    font-weight: bold;
}

.card-horizontal {
    margin: 2rem;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    background-color: #e3e3e3;
    border-top-left-radius: 60px;
}

.card-horizontal > .img-card {
    width: 60%;
}

.card-horizontal > .img-card > img {
    width: 100%;
}

.card-horizontal > aside {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-horizontal-text {
    margin: 2rem;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    background-color: #e3e3e3;
    border-top-left-radius: 60px;
}

.card-horizontal-gallery {
    margin: 2rem;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    background-color: #e3e3e3;
    border-top-left-radius: 60px;
}

.card-horizontal-gallery > .img-card {
    width: 70%;
}

.card-horizontal-gallery > .img-card > img {
    width: 100%;
}

.card-horizontal-gallery > aside {
    width: 30%;
    display: grid;
    grid-template-columns: repeat(2, 3fr);
    gap: 0.5rem;
}

.card-horizontal-gallery > aside img {
    width: 100%;
    height: 100%;
}

.benefits-services {
    height: 80vh;
    box-sizing: border-box;
}

/* end gallery page*/

/* end separators and pages*/

.scroll-top {
    width: 32px;
    height: 32px;
    background-color: var(--estimated-background-transparency);
    position: fixed;
    bottom: 5%;
    right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.scroll-top.active {
    opacity: 1;
}

.scroll-top i {
    color: white;
    font-size: 1.5rem;
}

@media (max-width: 1024px) {

    .social-media {
        width: 60%;
        flex-wrap: wrap;
    }

    .form-estimate input {
        font-size: 1.2rem;
    }

    .cards-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-info p:first-child {
        font-weight: bold;
        font-size: 1.5rem;
    }

    footer .contact-info .address-info {
        display: flex;
        flex-direction: column;
    }

    footer .contact-info .item-tel {
        order: 0;
    }

    footer .contact-info .item-mail {
        order: 1;
    }

    .address-info {
        display: flex;
        flex-direction: column;
    }

    .copy {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {

    .banner .welcome-text h1 {
        font-size: 13vw;
    }

    .estimate h1 {
        font-size: 13vw;
    }

    .separator h1 {
        font-size: 13vw;
    }

    .benefits-description h1 {
        font-size: 13vw;
    }

    /* menus and header media */

    .nav-contact {
        width: 100%;
        min-height: 52px;
        box-sizing: border-box;
    }

    .social-media {
        width: 42%;
        flex-wrap: wrap;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .social-media li {
        margin-right: 0.35rem;
    }

    .social-media li:last-child {
        display: none;
    }

    .phone-numbers {
        width: 58%;
        justify-content: flex-end;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .phone-numbers li {
        font-size: 0.5rem;
        margin-right: 0.5rem;
    }

    .phone-numbers li:first-child {
        margin-right: 0.5rem;
    }

    .phone-numbers li:first-child p {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 0.15rem;
        margin: 0;
        white-space: nowrap;
    }

    .phone-numbers li:last-child {
        display: none;
    }

    .phone-numbers .mobile-bars {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-right: 0 !important;
        padding: 0.25rem;
        font-size: 1rem;
        cursor: pointer;
    }

    .phone-numbers .mobile-bars i {
        margin-right: 0;
    }

    .menu {
        display: none !important;
    }

    .menu-mobile {
        z-index: 99999 !important;
        width: 100vw;
        height: 100dvh;
        left: 100vw;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .menu-mobile.active {
        left: 0 !important;
        z-index: 99999 !important;
    }

    .menu-mobile li {
        font-size: clamp(1.4rem, 7vw, 2rem);
        padding: 0.75rem 1rem;
    }

    .menu-mobile li:first-child {
        top: 1rem;
        right: 1.5rem;
        padding: 0.5rem;
    }

    /* end menus and header media */

    /*
     * El hero utiliza toda el área disponible del header.
     * La imagen cubre el banner sin deformarse.
     */

    .main-header.home-header {
        height: 100svh;
        min-height: 100svh;
    }

    .main-header.home-header .banner {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        width: 100%;
    }

    .main-header.home-header .banner-background {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center center;
    }

    .main-header.home-header .banner > img:not(.banner-background),
    .main-header.home-header .banner > article {
        position: relative;
        z-index: 1;
    }

    .main-header.home-header .banner article {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem;
    }

    .main-header.home-header .banner article p {
        font-size: clamp(0.8rem, 3.5vw, 1.2rem);
        line-height: 1.35;
    }

    /* Fondo de AMPLIA EXPERIENCIA */

    .experience {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 80vh;
    }

    /* Fondo de SOMOS PIONEROS */

    .pioneers {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 80vh;
    }

    .form-estimate form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .form-estimate input {
        font-size: 1.2rem;
    }

    .cards-details {
        grid-template-columns: repeat(1, 1fr);
    }

    .benefits-details {
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-info p:first-child {
        font-weight: bold;
        font-size: 1.5rem;
    }

    /*
     * Footer en una sola columna.
     * Se aumenta únicamente la separación vertical
     * entre sus bloques para que schedule no quede pegado
     * al bloque de contacto.
     */

    body footer {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 2rem;
        position: relative;
    }

    .schedule {
        margin-top: 0;
        margin-bottom: 0;
        padding: 1rem 1rem 0;
        border-right: 0;
        border-bottom: 0.1rem solid #fff;
    }

    footer .schedule img {
        max-width: 100%;
        height: auto;
    }

    footer .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
    }

    footer .contact-info .item-tel {
        order: 0;
    }

    footer .contact-info .item-mail {
        order: 1;
    }

    .address-info {
        display: flex;
        flex-direction: column;
    }

    .message {
        margin-bottom: 2rem;
    }

    .copy {
        margin-top: 1rem;
        position: absolute;
        bottom: 0;
    }
}

/*
@media (max-width: 480px) {

    .cards-details {
        grid-template-columns: 1fr;
    }

    .benefits-details {
        grid-template-columns: 1fr;
    }

}
*/

/* =========================================================
   COTIZADOR
   ========================================================= */

.quotation-page {
    width: 100%;
    background: #ffffff;
}

.quotation-header {
    width: 100%;
    background: var(--estimated-background);
    padding: 90px 30px 70px;
    box-sizing: border-box;
}

.quotation-header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.quotation-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--services-title);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.quotation-header h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
}

.quotation-header p {
    max-width: 650px;
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.7;
}

.quotation-section {
    width: 100%;
    padding: 70px 30px;
    box-sizing: border-box;
}

.quotation-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.quotation-card {
    width: 100%;
    margin-bottom: 35px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.quotation-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 30px;
    background: var(--estimated-background);
}

.quotation-card-header span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--estimated-button-send);
    color: #25333C;
    font-weight: 700;
}

.quotation-card-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.25rem;
}

.quotation-card-body {
    padding: 35px;
}

.quotation-user-type {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.quotation-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.quotation-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--nav-item-color);
}

.quotation-radio span {
    font-size: 1rem;
}

.quotation-grid {
    display: grid;
    width: 100%;
    gap: 25px;
    margin-bottom: 25px;
}

.quotation-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quotation-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quotation-field {
    width: 100%;
}

.quotation-field label {
    display: block;
    margin-bottom: 8px;
    color: #25333C;
    font-size: 0.9rem;
    font-weight: 600;
}

.quotation-field input,
.quotation-field select,
.quotation-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #ffffff;
    color: #25333C;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quotation-field textarea {
    min-height: 130px;
    resize: vertical;
}

.quotation-field input:focus,
.quotation-field select:focus,
.quotation-field textarea:focus {
    border-color: var(--nav-item-color);
    box-shadow: 0 0 0 2px rgba(44, 105, 91, 0.12);
}

.quotation-field .is-invalid {
    border-color: #d9534f;
}

.quotation-input-unit {
    display: flex;
}

.quotation-input-unit input {
    border-radius: 3px 0 0 3px;
}

.quotation-input-unit span {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #eeeeee;
    border: 1px solid #cccccc;
    border-left: 0;
    color: #555555;
    border-radius: 0 3px 3px 0;
}

.quotation-file p {
    margin: 0 0 15px;
    color: #777777;
    font-size: 0.85rem;
    line-height: 1.5;
}

.quotation-file input[type="file"] {
    display: none;
}

.quotation-file-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 45px;
    padding: 0 20px;
    background: var(--nav-item-color);
    color: #ffffff !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quotation-file-button:hover {
    opacity: 0.85;
}

#file-selected {
    display: block;
    margin-top: 12px;
    color: #555555;
    font-size: 0.85rem;
    word-break: break-word;
}

.quotation-submit {
    display: flex;
    justify-content: center;
    padding: 15px 0 30px;
}

.quotation-button {
    min-width: 240px;
    padding: 16px 30px;
    border: 1px solid var(--estimated-button-border-send);
    border-radius: 3px;
    background: var(--estimated-button-send);
    color: #25333C;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.quotation-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.quotation-loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(37, 51, 60, 0.85);
}

.quotation-loading-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

.quotation-loading-box p {
    margin-top: 15px;
    font-size: 1rem;
}

.quotation-spinner {
    width: 45px;
    height: 45px;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: quotation-spin 0.8s linear infinite;
}

@keyframes quotation-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {

    .quotation-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .quotation-header {
        padding: 65px 20px 50px;
    }

    .quotation-section {
        padding: 45px 15px;
    }

    .quotation-card-body {
        padding: 25px 20px;
    }

    .quotation-card-header {
        padding: 20px;
    }

    .quotation-grid-2,
    .quotation-grid-3 {
        grid-template-columns: 1fr;
    }

    .quotation-user-type {
        flex-direction: column;
        gap: 15px;
    }

    .quotation-button {
        width: 100%;
    }
}
