/* =========================================================
   GRÚAS Y MANIOBRAS PESA
   Diseño: Industrial / Corporativo
========================================================= */

:root {
    --pesa-orange: #ff6800;
    --pesa-orange-dark: #dc5000;
    --pesa-black: #0d1114;
    --pesa-dark: #14191d;
    --pesa-gray: #687078;
    --pesa-light: #f4f5f6;
    --pesa-border: #e5e7e9;
    --white: #fff;
    --font-body: "Inter", sans-serif;
    --font-heading: "Barlow Condensed", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    color: var(--pesa-black);
    background: #fff;
    font-family: var(--font-body);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -.02em;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: .95;
}

.section-padding {
    padding: 100px 0;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--pesa-orange);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.btn-pesa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 22px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    background: var(--pesa-orange);
    font-size: .83rem;
    font-weight: 700;
    transition: .25s ease;
}

.btn-pesa:hover {
    color: #fff;
    background: var(--pesa-orange-dark);
    transform: translateY(-2px);
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 3px;
    font-size: .82rem;
    font-weight: 700;
}

/* HEADER */

.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 2px 20px rgba(0,0,0,.05);
}

.navbar {
    min-height: 76px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 42px;
    color: var(--pesa-orange);
    font-size: 2.1rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: .82;
}

.brand-text small {
    font-family: var(--font-body);
    font-size: .54rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand-text strong {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.07em;
}

.nav-link {
    position: relative;
    margin: 0 8px;
    padding: 29px 5px !important;
    color: #30353a;
    font-size: .78rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pesa-orange);
}

.nav-link.active::after {
    position: absolute;
    right: 5px;
    bottom: 17px;
    left: 5px;
    height: 2px;
    background: var(--pesa-orange);
    content: "";
}

.header-contact a {
    font-size: .76rem;
    font-weight: 700;
}

.header-contact i {
    margin-right: 5px;
    color: var(--pesa-orange);
}

.navbar-toggler {
    font-size: 1.7rem;
}

/* HERO */

.hero-section {
    position: relative;
    min-height: 700px;
    margin-top: 76px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6,10,13,.92) 0%, rgba(6,10,13,.72) 42%, rgba(6,10,13,.15) 75%),
        url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=90") center/cover no-repeat;
}

.hero-section::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,8,10,.7), transparent 35%);
    content: "";
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 40%, transparent, rgba(0,0,0,.25));
}

.hero-section .container {
    padding-top: 60px;
    padding-bottom: 120px;
}

.hero-section h1 {
    max-width: 800px;
    margin: 0 0 20px;
    font-size: clamp(4rem, 7vw, 6.7rem);
    line-height: .86;
    text-transform: uppercase;
}

.hero-section h1 span {
    color: var(--pesa-orange);
}

.hero-copy {
    max-width: 510px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons .btn {
    min-height: 51px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: .82rem;
}

.hero-points {
    max-width: 280px;
    margin-left: auto;
}

.hero-point {
    display: flex;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.hero-point i {
    color: var(--pesa-orange);
    font-size: 1.7rem;
}

.hero-point div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hero-point strong {
    font-size: .82rem;
}

.hero-point span {
    margin-top: 4px;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
}

.hero-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px 0;
    background: rgba(5,8,10,.72);
    border-top: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
}

.mini-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.25;
}

.mini-feature i {
    color: var(--pesa-orange);
    font-size: 1.35rem;
}

/* SECTION HEADING */

.section-heading h2 {
    margin-bottom: 0;
}

.section-intro {
    max-width: 430px;
    color: var(--pesa-gray);
    font-size: .82rem;
    line-height: 1.7;
}

/* SERVICES */

.service-card {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pesa-border);
    transition: .3s ease;
}

.service-card:hover {
    border-color: var(--pesa-orange);
    box-shadow: 0 16px 35px rgba(0,0,0,.1);
    transform: translateY(-5px);
}

.service-card img {
    height: 190px;
    object-fit: cover;
    transition: .4s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-body {
    min-height: 170px;
    padding: 19px;
}

.service-body h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.service-body p {
    min-height: 43px;
    margin-bottom: 15px;
    color: var(--pesa-gray);
    font-size: .73rem;
    line-height: 1.55;
}

.service-body span {
    color: var(--pesa-orange);
    font-size: .72rem;
    font-weight: 800;
}

/* WHY */

.why-section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    color: #fff;
    background: var(--pesa-black);
}

.why-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,12,15,.93), rgba(8,12,15,.7)),
        url("../../images/why/titlebar.jpg") center/cover;
    opacity: .9;
}

.why-section h2 {
    margin-bottom: 25px;
}

.orange-line {
    width: 44px;
    height: 3px;
    background: var(--pesa-orange);
}

.why-item {
    text-align: -webkit-center;
    height: 100%;
    padding: 8px 12px;
}

.why-item i {
    display: block;
    margin-bottom: 17px;
    color: var(--pesa-orange);
    font-size: 2rem;
}

.why-item h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.why-item p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: .72rem;
    line-height: 1.6;
}

/* ABOUT */

.lead-text {
    margin: 20px 0 25px;
    color: var(--pesa-gray);
    font-size: .85rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    min-height: 430px;
}

.about-photo img {
    height: 100%;
    object-fit: cover;
}

.stats-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    background: var(--pesa-light);
}

.stat {
    padding: 17px 0;
    border-bottom: 1px solid #ddd;
}

.stat:last-child {
    border-bottom: 0;
}

.stat strong {
    display: block;
    color: var(--pesa-orange);
    font-family: var(--font-heading);
    font-size: 2.7rem;
    line-height: .85;
}

.stat span {
    display: block;
    margin-top: 7px;
    color: #343a40;
    font-size: .7rem;
    line-height: 1.3;
}

/* EQUIPMENT */

.equipment-section {
    background: var(--pesa-light);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pesa-orange);
    font-size: .78rem;
    font-weight: 800;
}

.equipment-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--pesa-border);
}

.equipment-img {
    position: relative;
    overflow: hidden;
}

.equipment-img img {
    height: 210px;
    object-fit: cover;
}

.equipment-img span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    color: #fff;
    background: var(--pesa-orange);
    font-size: .62rem;
    font-weight: 800;
}

.equipment-body {
    padding: 20px;
}

.equipment-body h3 {
    margin-bottom: 14px;
    font-size: 1.4rem;
}

.equipment-body ul {
    margin: 0 0 17px;
    padding: 0;
    list-style: none;
}

.equipment-body li {
    margin-bottom: 7px;
    color: var(--pesa-gray);
    font-size: .7rem;
}

.equipment-body li i {
    width: 20px;
    color: var(--pesa-orange);
}

.equipment-body > a {
    color: var(--pesa-orange);
    font-size: .72rem;
    font-weight: 800;
}

/* PROJECTS */

.projects-section {
    color: #fff;
    background: var(--pesa-black);
}

.project-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.project-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 55%);
    content: "";
}

.project-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 25px 20px;
}

.project-caption h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.project-caption p,
.project-caption small {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: .68rem;
}

.project-caption p {
    margin-bottom: 4px;
}

.project-caption i {
    color: var(--pesa-orange);
}

/* QUOTE */

.quote-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background: var(--pesa-black);
}

.quote-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,104,0,.83), rgba(10,13,15,.6)),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2200&q=85") center/cover;
}

.quote-section h2 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 5vw, 5rem);
}

.quote-section p {
    max-width: 480px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.quote-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 30px;
}

.quote-benefits > div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.2;
}

.quote-benefits i {
    color: var(--pesa-orange);
    font-size: 1.5rem;
}

.quote-card {
    padding: 30px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.quote-card h3 {
    margin-bottom: 22px;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 800;
}

.quote-card label {
    display: block;
    margin-bottom: 6px;
    color: #3a3f43;
    font-size: .67rem;
    font-weight: 700;
}

.quote-card label small {
    color: #858b91;
    font-weight: 500;
}

.quote-card .form-control,
.quote-card .form-select {
    min-height: 44px;
    border-color: #dde1e4;
    border-radius: 2px;
    font-size: .72rem;
    box-shadow: none;
}

.quote-card textarea.form-control {
    min-height: 95px;
}

.quote-card .form-control:focus,
.quote-card .form-select:focus {
    border-color: var(--pesa-orange);
    box-shadow: 0 0 0 .2rem rgba(255,104,0,.12);
}

.form-message {
    display: none;
    padding: 10px;
    color: #116b3a;
    background: #eaf7f0;
    font-size: .72rem;
    text-align: center;
}

/* CONTACT */

.contact-section {
    background: #fff;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 35px;
}

.contact-list a,
.contact-list > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--pesa-orange);
    background: var(--pesa-light);
    font-size: 1.1rem;
}

.contact-list span {
    display: flex;
    flex-direction: column;
    font-size: .85rem;
    font-weight: 700;
}

.contact-list small {
    margin-bottom: 3px;
    color: var(--pesa-gray);
    font-size: .62rem;
    font-weight: 500;
}

.map-placeholder {
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(15,18,21,.65), rgba(15,18,21,.65)),
        url("https://images.unsplash.com/photo-1524666041070-9b8767495e02?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.map-placeholder > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 35px;
    color: #fff;
    background: rgba(10,13,15,.88);
    text-align: center;
}

.map-placeholder i {
    margin-bottom: 10px;
    color: var(--pesa-orange);
    font-size: 2rem;
}

.map-placeholder strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.map-placeholder span {
    margin-top: 4px;
    color: #bbb;
    font-size: .7rem;
}

/* FOOTER */

.site-footer {
    padding: 65px 0 0;
    color: #fff;
    background: var(--pesa-black);
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-description {
    max-width: 330px;
    color: rgba(255,255,255,.55);
    font-size: .73rem;
    line-height: 1.7;
}

.site-footer h4 {
    margin-bottom: 20px;
    color: var(--pesa-orange);
    font-family: var(--font-body);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.site-footer .col-lg-2 > a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.65);
    font-size: .72rem;
}

.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-contact span {
    color: rgba(255,255,255,.65);
    font-size: .7rem;
}

.footer-contact i {
    width: 22px;
    color: var(--pesa-orange);
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    transition: .2s ease;
}

.socials a:hover {
    color: #fff;
    border-color: var(--pesa-orange);
    background: var(--pesa-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 55px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.42);
    font-size: .62rem;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: #20b15a;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    font-size: 1.55rem;
    transition: .25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .nav-link {
        margin: 0 3px;
    }

    .hero-section {
        min-height: 650px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 70px;
    }

    .navbar-collapse {
        padding: 15px 0 20px;
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-section {
        min-height: 650px;
        margin-top: 70px;
    }

    .hero-section .container {
        padding-top: 75px;
        padding-bottom: 120px;
    }

    .hero-section h1 {
        font-size: clamp(3.8rem, 10vw, 6rem);
    }

    .hero-bottom {
        padding: 12px 0;
    }

    .about-grid {
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-section {
        min-height: 720px;
        background-position: 65% center;
    }

    .hero-section .container {
        padding-top: 55px;
    }

    .hero-section h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .hero-copy {
        font-size: .88rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-bottom .mini-feature {
        justify-content: flex-start;
        font-size: .62rem;
    }

    .mini-feature i {
        font-size: 1.1rem;
    }

    .service-card img {
        height: 210px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        height: 320px;
    }

    .stats-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 15px;
    }

    .stat:nth-child(odd) {
        border-right: 1px solid #ddd;
    }

    .project-card {
        min-height: 360px;
    }

    .quote-section {
        padding: 70px 0;
    }

    .quote-card {
        padding: 22px;
    }

    .quote-benefits {
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        min-width: auto;
    }

    .brand-text strong {
        font-size: 1.7rem;
    }

    .brand-text small {
        font-size: .45rem;
    }

    .hero-section {
        min-height: 760px;
    }

    .hero-section h1 {
        font-size: 3.3rem;
    }

    .hero-bottom {
        padding: 8px 0;
    }

    .mini-feature span {
        font-size: .55rem;
    }

    .stats-box {
        grid-template-columns: 1fr 1fr;
    }

    .stat strong {
        font-size: 2.2rem;
    }

    .quote-card {
        padding: 18px;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }
}
