/* ============================================================
   VARIABLES
============================================================ */

:root {

    --brand-yellow: #f4c400;

    --brand-yellow-dark: #d9aa00;

    --brand-red: #b72825;

    --dark: #151515;

    --dark-soft: #202020;

    --dark-light: #2c2c2c;

    --gray: #6f6f6f;

    --gray-light: #f5f5f3;

    --white: #ffffff;

    --border: rgba(0, 0, 0, 0.08);

    --shadow-soft:
        0 10px 40px rgba(0, 0, 0, 0.08);

    --shadow-navbar:
        0 10px 35px rgba(0, 0, 0, 0.15);

    --radius: 14px;

}


/* ============================================================
   GENERAL
============================================================ */

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    padding: 0;

    font-family:
        'DM Sans',
        sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.7;

}


/*
|--------------------------------------------------------------------------
| IMPORTANT
|--------------------------------------------------------------------------
| El navbar es fixed.
| Dejamos espacio para que nunca tape el contenido.
*/

body {
    padding-top: 88px;
}


/* ============================================================
   TYPOGRAPHY
============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family:
        'Montserrat',
        sans-serif;

    font-weight: 700;

    line-height: 1.2;

}


p {
    color: #666;
}


a {
    text-decoration: none;
}


/* ============================================================
   NAVBAR
============================================================ */

.premium-navbar {

    min-height: 88px;

    background: rgba(255, 255, 255, 0.98);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.06);

    transition:
        all 0.3s ease;

    z-index: 1050;

}


.premium-navbar.navbar-scrolled {

    min-height: 76px;

    box-shadow:
        var(--shadow-navbar);

}


/* ============================================================
   LOGO
============================================================ */

.premium-logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.site-logo {

    width: auto;

    height: 54px;

    max-width: 220px;

    object-fit: contain;

}


/* ============================================================
   NAVIGATION
============================================================ */

.premium-navbar .navbar-nav {

    align-items: center;

}


.premium-navbar .nav-link {

    position: relative;

    padding:
        30px 15px;

    color: #252525;

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    transition:
        color 0.25s ease;

}


.premium-navbar .nav-link:hover {

    color: var(--brand-red);

}


.premium-navbar .nav-link::after {

    content: '';

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 20px;

    height: 2px;

    background:
        var(--brand-yellow);

    transform:
        scaleX(0);

    transform-origin:
        center;

    transition:
        transform 0.25s ease;

}


.premium-navbar .nav-link:hover::after,
.premium-navbar .nav-link.active::after {

    transform:
        scaleX(1);

}


.premium-navbar .nav-link.active {

    color: var(--brand-red);

}


/* ============================================================
   DROPDOWN
============================================================ */

.premium-dropdown {

    min-width: 280px;

    padding: 10px;

    border: none;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);

}


.premium-dropdown .dropdown-item {

    padding:
        12px 14px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 500;

    transition:
        all 0.2s ease;

}


.premium-dropdown .dropdown-item:hover {

    background:
        var(--gray-light);

    color:
        var(--brand-red);

}


.premium-dropdown .dropdown-item i {

    width: 20px;

    color:
        var(--brand-yellow-dark);

}


/* ============================================================
   BUTTON BRAND
============================================================ */

.btn-brand {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding:
        0 20px;

    border: none;

    border-radius: 5px;

    background:
        var(--brand-yellow);

    color:
        #171717;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    transition:
        all 0.25s ease;

}


.btn-brand:hover {

    background:
        var(--brand-red);

    color:
        var(--white);

    transform:
        translateY(-2px);

}


/* ============================================================
   WHATSAPP NAVBAR
============================================================ */

.navbar-whatsapp {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    color:
        #222;

    font-size: 20px;

    transition:
        all 0.25s ease;

}


.navbar-whatsapp:hover {

    color:
        var(--brand-red);

    background:
        var(--gray-light);

}


/* ============================================================
   MOBILE NAVBAR
============================================================ */

.navbar-toggler {

    border: none;

    padding: 8px;

}


.navbar-toggler:focus {

    box-shadow: none;

}


.navbar-toggler-icon {

    width: 28px;

    height: 28px;

}


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

.hero-section {

    position: relative;

    min-height:
        calc(100vh - 88px);

    overflow: hidden;

}


.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {

    height:
        calc(100vh - 88px);

    min-height: 600px;

}


.hero-slide {

    position: relative;

    height: 100%;

    background-size: cover;

    background-position: center;

}


.hero-slide::before {

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.82) 0%,
            rgba(10, 10, 10, 0.58) 45%,
            rgba(10, 10, 10, 0.15) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;

    align-items: center;

}


.hero-text {

    max-width: 760px;

    color:
        var(--white);

}


.hero-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color:
        var(--brand-yellow);

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.15em;

}


.hero-eyebrow::before {

    content: '';

    width: 42px;

    height: 2px;

    background:
        var(--brand-yellow);

}


.hero-title {

    margin-bottom: 25px;

    color:
        var(--white);

    font-size:
        clamp(42px, 6vw, 76px);

    font-weight: 800;

    letter-spacing: -0.04em;

}


.hero-title span {

    color:
        var(--brand-yellow);

}


.hero-description {

    max-width: 620px;

    margin-bottom: 35px;

    color:
        rgba(255, 255, 255, 0.85);

    font-size: 18px;

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}


.btn-hero-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 28px;

    background:
        var(--brand-yellow);

    color:
        #171717;

    font-weight: 800;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.05em;

    border-radius: 5px;

}


.btn-hero-primary:hover {

    background:
        var(--white);

    color:
        #171717;

}


.btn-hero-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 28px;

    border:
        1px solid rgba(255,255,255,0.5);

    color:
        var(--white);

    font-weight: 700;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.05em;

    border-radius: 5px;

}


.btn-hero-secondary:hover {

    background:
        var(--white);

    color:
        #171717;

}


/* ============================================================
   SECTIONS
============================================================ */

.section {

    padding:
        110px 0;

}


.section-light {

    background:
        var(--gray-light);

}


.section-dark {

    background:
        var(--dark);

}


.section-header {

    max-width: 760px;

    margin-bottom: 55px;

}


.section-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    color:
        var(--brand-red);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.15em;

}


.section-eyebrow::before {

    content: '';

    width: 35px;

    height: 2px;

    background:
        var(--brand-yellow);

}


.section-title {

    margin-bottom: 18px;

    font-size:
        clamp(32px, 4vw, 50px);

    letter-spacing:
        -0.035em;

}


.section-description {

    margin: 0;

    font-size: 17px;

    color:
        #707070;

}


/* ============================================================
   SERVICE CARDS
============================================================ */

.service-card {

    position: relative;

    height: 100%;

    padding: 38px;

    background:
        var(--white);

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

    border-radius:
        var(--radius);

    overflow: hidden;

    transition:
        all 0.3s ease;

}


.service-card::before {

    content: '';

    position: absolute;

    left: 0;

    top: 0;

    width: 4px;

    height: 0;

    background:
        var(--brand-yellow);

    transition:
        height 0.3s ease;

}


.service-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        var(--shadow-soft);

}


.service-card:hover::before {

    height: 100%;

}


.service-icon {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 10px;

    background:
        rgba(244, 196, 0, 0.12);

    color:
        var(--brand-red);

    font-size: 25px;

}


.service-card h3 {

    margin-bottom: 12px;

    font-size: 21px;

}


.service-card p {

    margin-bottom: 20px;

    font-size: 15px;

}


.service-link {

    color:
        var(--brand-red);

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

}


.service-link i {

    margin-left: 5px;

    transition:
        transform 0.2s ease;

}


.service-link:hover i {

    transform:
        translateX(5px);

}


/* ============================================================
   STATS
============================================================ */

.stats-section {

    padding:
        70px 0;

    background:
        var(--dark);

}


.stat-item {

    text-align: center;

}


.stat-number {

    display: block;

    margin-bottom: 5px;

    color:
        var(--brand-yellow);

    font-family:
        'Montserrat',
        sans-serif;

    font-size:
        clamp(38px, 5vw, 58px);

    font-weight: 800;

}


.stat-label {

    color:
        rgba(255,255,255,0.65);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;

}


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

.cta-section {

    position: relative;

    padding:
        100px 0;

    background:
        var(--brand-yellow);

    overflow: hidden;

}


.cta-section::after {

    content: '';

    position: absolute;

    right: -100px;

    top: -150px;

    width: 400px;

    height: 400px;

    border:
        80px solid rgba(255,255,255,0.12);

    border-radius: 50%;

}


.cta-title {

    margin-bottom: 15px;

    font-size:
        clamp(30px, 4vw, 46px);

}


.cta-description {

    margin: 0;

    color:
        rgba(0,0,0,0.65);

}


.btn-dark {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 28px;

    background:
        var(--dark);

    color:
        var(--white);

    border-radius: 5px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.05em;

}


.btn-dark:hover {

    background:
        var(--brand-red);

    color:
        var(--white);

}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {

    padding:
        75px 0 0;

    background:
        #111;

    color:
        var(--white);

}


.footer-brand {

    margin-bottom: 20px;

}


.footer-logo {

    width: auto;

    max-width: 210px;

    height: 55px;

    object-fit: contain;

}


.footer-description {

    max-width: 430px;

    color:
        rgba(255,255,255,0.55);

}


.footer-title {

    margin-bottom: 25px;

    color:
        var(--white);

    font-size: 15px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


.footer-links {

    list-style: none;

    margin: 0;

    padding: 0;

}


.footer-links li {

    margin-bottom: 12px;

}


.footer-links a {

    color:
        rgba(255,255,255,0.6);

    font-size: 14px;

    transition:
        color 0.2s ease;

}


.footer-links a:hover {

    color:
        var(--brand-yellow);

}


.footer-contact {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.footer-contact a,
.footer-contact div {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    color:
        rgba(255,255,255,0.6);

    font-size: 14px;

}


.footer-contact i {

    width: 20px;

    margin-top: 4px;

    color:
        var(--brand-yellow);

}


.footer-social {

    display: flex;

    gap: 10px;

}


.footer-social a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

    color:
        rgba(255,255,255,0.7);

    transition:
        all 0.2s ease;

}


.footer-social a:hover {

    background:
        var(--brand-yellow);

    border-color:
        var(--brand-yellow);

    color:
        #111;

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 60px;

    padding:
        25px 0;

    border-top:
        1px solid rgba(255,255,255,0.1);

    color:
        rgba(255,255,255,0.4);

    font-size: 12px;

}


/* ============================================================
   WHATSAPP FLOATING
============================================================ */

.floating-whatsapp {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 1040;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background:
        #25D366;

    color:
        var(--white);

    font-size: 28px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25);

    transition:
        transform 0.25s ease;

}


.floating-whatsapp:hover {

    color:
        var(--white);

    transform:
        translateY(-5px);

}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 991.98px) {

    body {
        padding-top: 78px;
    }


    .premium-navbar {

        min-height: 78px;

    }


    .site-logo {

        height: 46px;

        max-width: 180px;

    }


    .premium-navbar .navbar-collapse {

        margin-top: 12px;

        padding:
            15px 0 20px;

        border-top:
            1px solid rgba(0,0,0,0.07);

    }


    .premium-navbar .navbar-nav {

        align-items: stretch;

    }


    .premium-navbar .nav-link {

        padding:
            13px 5px;

    }


    .premium-navbar .nav-link::after {

        display: none;

    }


    .premium-dropdown {

        border:
            1px solid rgba(0,0,0,0.06);

        box-shadow: none;

    }


    .navbar-actions {

        flex-direction: column;

        align-items: stretch !important;

        margin-top: 10px;

    }


    .navbar-whatsapp {

        display: none;

    }


    .hero-section {

        min-height:
            calc(100vh - 78px);

    }


    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {

        height:
            calc(100vh - 78px);

        min-height: 620px;

    }


    .section {

        padding:
            80px 0;

    }


    .footer-bottom {

        flex-direction: column;

    }

}


@media (max-width: 575.98px) {

    body {
        padding-top: 72px;
    }


    .premium-navbar {

        min-height: 72px;

    }


    .site-logo {

        height: 42px;

        max-width: 155px;

    }


    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {

        min-height: 650px;

    }


    .hero-title {

        font-size: 43px;

    }


    .hero-description {

        font-size: 16px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .btn-hero-primary,
    .btn-hero-secondary {

        width: 100%;

    }


    .service-card {

        padding: 30px;

    }


    .floating-whatsapp {

        right: 18px;

        bottom: 18px;

        width: 54px;

        height: 54px;

        font-size: 25px;

    }

}
/* ============================================================
   INNER PAGE HERO
============================================================ */

.inner-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    background-size: cover;

    background-position: center;

    overflow: hidden;

}


.inner-hero::before {

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.84),
            rgba(10, 10, 10, 0.48),
            rgba(10, 10, 10, 0.15)
        );

}


.inner-hero-content {

    position: relative;

    z-index: 2;

    max-width: 780px;

    color: #fff;

}


.inner-hero h1 {

    margin-bottom: 20px;

    color: #fff;

    font-size: clamp(40px, 6vw, 68px);

    font-weight: 800;

    letter-spacing: -0.04em;

}


.inner-hero p {

    max-width: 650px;

    margin-bottom: 0;

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

    font-size: 18px;

}


.breadcrumb-wrapper {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 25px;

    z-index: 3;

}


.breadcrumb {

    margin: 0;

}


.breadcrumb-item {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .06em;

}


.breadcrumb-item a {

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

}


.breadcrumb-item.active {

    color: var(--brand-yellow);

}


/* ============================================================
   CONTENT IMAGE
============================================================ */

.content-image {

    width: 100%;

    height: 100%;

    min-height: 400px;

    object-fit: cover;

    border-radius: 16px;

}


/* ============================================================
   FEATURE LIST
============================================================ */

.feature-list {

    list-style: none;

    margin: 30px 0 0;

    padding: 0;

}


.feature-list li {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 17px;

    color: #555;

}


.feature-list i {

    flex-shrink: 0;

    margin-top: 5px;

    color: var(--brand-red);

}


/* ============================================================
   DARK SERVICE SECTION
============================================================ */

.dark-panel {

    padding: 60px;

    border-radius: 18px;

    background: var(--dark);

    color: #fff;

}


.dark-panel h2,
.dark-panel h3 {

    color: #fff;

}


.dark-panel p {

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

}


/* ============================================================
   SERVICE DETAIL CARDS
============================================================ */

.detail-card {

    height: 100%;

    padding: 35px;

    border: 1px solid rgba(0,0,0,.08);

    border-radius: 14px;

    background: #fff;

    transition: all .3s ease;

}


.detail-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-soft);

}


.detail-card-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 22px;

    border-radius: 10px;

    background: rgba(244,196,0,.13);

    color: var(--brand-red);

    font-size: 22px;

}


.detail-card h3 {

    margin-bottom: 12px;

    font-size: 20px;

}


.detail-card p {

    margin: 0;

    font-size: 15px;

}


/* ============================================================
   PROCESS
============================================================ */

.process-item {

    position: relative;

    padding: 25px 0;

}


.process-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;

    height: 52px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--brand-yellow);

    color: #111;

    font-family: 'Montserrat', sans-serif;

    font-weight: 800;

}


/* ============================================================
   PROJECT CARDS
============================================================ */

.project-card {

    position: relative;

    height: 100%;

    overflow: hidden;

    border-radius: 15px;

    background: #111;

}


.project-card img {

    width: 100%;

    height: 340px;

    object-fit: cover;

    transition: transform .5s ease;

}


.project-card:hover img {

    transform: scale(1.05);

}


.project-card-content {

    padding: 25px;

    background: #fff;

}


.project-card-content h3 {

    margin-bottom: 7px;

    font-size: 20px;

}


.project-card-content p {

    margin-bottom: 12px;

    font-size: 14px;

}


/* ============================================================
   CONTACT
============================================================ */

.contact-box {

    padding: 35px;

    border-radius: 15px;

    background: var(--gray-light);

}


.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;

}


.contact-item-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    border-radius: 9px;

    background: var(--brand-yellow);

    color: #111;

}


.contact-item h5 {

    margin-bottom: 3px;

    font-size: 14px;

}


.contact-item p,
.contact-item a {

    margin: 0;

    color: #666;

    font-size: 14px;

}


.contact-form {

    padding: 40px;

    border-radius: 16px;

    background: #fff;

    box-shadow: var(--shadow-soft);

}


.contact-form .form-label {

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;

}


.contact-form .form-control,
.contact-form .form-select {

    min-height: 50px;

    border-color: #ddd;

    border-radius: 7px;

}


.contact-form textarea.form-control {

    min-height: 150px;

    resize: vertical;

}


.contact-form .form-control:focus,
.contact-form .form-select:focus {

    border-color: var(--brand-yellow);

    box-shadow:
        0 0 0 3px rgba(244,196,0,.15);

}


/* ============================================================
   MAP
============================================================ */

.map-wrapper {

    width: 100%;

    min-height: 400px;

    overflow: hidden;

    border-radius: 16px;

}


.map-wrapper iframe {

    width: 100%;

    height: 400px;

    border: 0;

}


/* ============================================================
   MACHINERY
============================================================ */

.machine-card {

    overflow: hidden;

    height: 100%;

    border: 1px solid rgba(0,0,0,.08);

    border-radius: 14px;

    background: #fff;

    transition: all .3s ease;

}


.machine-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-soft);

}


.machine-card img {

    width: 100%;

    height: 230px;

    object-fit: cover;

}


.machine-card-body {

    padding: 25px;

}


.machine-card-body h3 {

    font-size: 19px;

}


/* ============================================================
   RESPONSIVE INNER PAGES
============================================================ */

@media (max-width: 767.98px) {

    .inner-hero {

        min-height: 440px;

    }


    .inner-hero h1 {

        font-size: 42px;

    }


    .inner-hero p {

        font-size: 16px;

    }


    .dark-panel {

        padding: 35px 25px;

    }


    .contact-form {

        padding: 28px 22px;

    }


    .content-image {

        min-height: 300px;

    }

}