/* ===== TACURIS EXCAVACIONES — estilos ===== */
:root {
    --y: #FFB800;
    --y2: #e6a600;
    --k: #17191D;
    --g: #292D32;
    --w: #fff;
    --l: #F4F5F6;
    --wa: #25D366
}

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

body {
    font-family: 'Barlow', system-ui, sans-serif;
    color: var(--g);
    font-size: 1.05rem;
    line-height: 1.65
}

h1,
h2,
h3,
.brand,
.btn {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: .01em
}

a {
    text-decoration: none
}

:focus-visible {
    outline: 3px solid var(--y);
    outline-offset: 2px
}

/* Barra superior */
.topbar {
    background: var(--k);
    color: #c9ccd1;
    font-size: .9rem;
    padding: .5rem 0
}

.topbar a,
.topbar span {
    color: #c9ccd1
}

.topbar i {
    color: var(--y);
    margin-right: .35rem
}

.social a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-left: .25rem;
    border-radius: 4px;
    transition: .2s
}

.social a:hover {
    background: var(--y);
    color: var(--k)
}





/* Navbar */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
    padding: .6rem 0
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--k);
    font-weight: 800;
    font-size: 1.7rem;
    line-height: 1
}

.brand small {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .28em;
    color: #6b7078;
    margin-top: 2px
}

.nav-link {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--k) !important;
    padding: .5rem 1rem !important;
    position: relative
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 2px;
    height: 3px;
    background: var(--y);
    transform: scaleX(0);
    transition: .25s
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1)
}

.btn {
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 4px;
    padding: .6rem 1.5rem;
    text-transform: uppercase
}

.btn-yellow {
    background: var(--y);
    color: var(--k);
    border: 2px solid var(--y);
    box-shadow: 0 6px 16px rgba(255, 184, 0, .3)
}

.btn-yellow:hover {
    background: var(--k);
    color: var(--y);
    border-color: var(--k);
    transform: translateY(-2px)
}

.btn-wa {
    background: var(--wa);
    color: #fff;
    border: 2px solid var(--wa)
}

.btn-wa:hover {
    background: #1da851;
    color: #fff;
    border-color: #1da851
}

.btn-outline-light:hover {
    color: var(--k)
}






/* Hero */
.hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    background: var(--k);
    color: #fff;
    overflow: hidden
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(23, 25, 29, .93) 15%, rgba(23, 25, 29, .55) 70%, rgba(23, 25, 29, .35))
}

.hero .container {
    z-index: 2
}


.hero-copy {
    max-width: 700px;
    padding: 4rem 0;
    animation: rise .9s ease both
}

.hero h1 {
    font-size: clamp(3rem, 9vw, 6.4rem);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
    margin-bottom: 1.2rem
}

.y {
    color: var(--y)
}

.hero-sub {
    font-family: 'Barlow Condensed';
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .6rem
}

.hero-text {
    font-size: 1.2rem;
    color: #d9dce0;
    max-width: 560px;
    margin-bottom: 2rem
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}




/* ===== BARRA DE BENEFICIOS TACURIS ===== */

.benefits {
    background: #191B1F;
    padding: 0.5rem 0;
    border-bottom: 3px solid var(--y);
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    min-height: 95px;
    transition: background 0.3s ease;
}

.benefit:last-child {
    border-right: none;
}

/* Iconos amarillos */
.benefit i {
    font-size: 2.4rem;
    color: var(--y);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.benefit:hover i {
    transform: translateY(-4px);
}



/* Títulos */
.benefit strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0.3rem;
}

/* Descripciones */
.benefit span {
    display: block;
    font-size: 0.85rem;
    color: #BFC2C7;
    line-height: 1.4;
}

/* TABLETS */
@media (max-width: 991px) {
    .benefit {
        justify-content: flex-start;
        padding: 1.2rem 0.8rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .benefit i {
        font-size: 2rem;
    }
}

/* CELULARES */
@media (max-width: 575px) {
    .benefits {
        padding: 0.5rem 0;
    }

    .benefit {
        min-height: 80px;
        padding: 1rem 0.5rem;
    }

    .benefit strong {
        font-size: 1.15rem;
    }

    .benefit span {
        font-size: 0.8rem;
    }
}


/* Secciones */
.section {
    padding: 5.5rem 0;
    background: #fff
}

.section.dark {
    background: var(--k);
    color: #c9ccd1
}

.title {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    color: var(--k);
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    position: relative
}

.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 6px;
    background: var(--y)
}

.dark .title {
    color: #fff
}

.section-head {
    margin-bottom: 2.8rem;
    max-width: 620px
}

.about-img {
    position: relative
}

.about-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.about-img::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 4px solid var(--y);
    border-radius: 6px;
    z-index: -1
}

.stats b {
    display: block;
    font-family: 'Barlow Condensed';
    font-size: 2.6rem;
    color: var(--k);
    line-height: 1;
    border-left: 5px solid var(--y);
    padding-left: .6rem
}

.stats span {
    display: block;
    font-size: .9rem;
    padding-left: .9rem
}

/* Tarjetas */
.card-x {
    background: var(--g);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: .3s
}

.card-x:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .35)
}

.card-x .ph {
    overflow: hidden;
    aspect-ratio: 16/10
}

.card-x img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.card-x:hover img {
    transform: scale(1.07)
}

.card-x .body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 4px solid var(--y)
}

.card-x h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase
}

.card-x p {
    flex: 1;
    font-size: .98rem
}

.card-x.light {
    background: #fff;
    border: 1px solid #e3e5e8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07)
}

.card-x.light h3 {
    color: var(--k)
}

.card-x.light p {
    color: #555b63
}

.card-x.light .btn {
    margin-top: .4rem
}

/* Galería */
.g-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
    cursor: zoom-in;
    border: 0;
    padding: 0;
    width: 100%;
    background: var(--g)
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.g-item::after {
    content: "\F52A";
    font-family: bootstrap-icons;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--k);
    background: rgba(255, 184, 0, .85);
    opacity: 0;
    transition: .3s
}

.g-item:hover::after,
.g-item:focus-visible::after {
    opacity: 1
}

.g-item:hover img {
    transform: scale(1.1)
}

/* CTA */
.cta {
    background: var(--g) linear-gradient(120deg, var(--k) 55%, transparent);
    color: #fff;
    padding: 4rem 0;
    border-top: 6px solid var(--y);
    border-bottom: 6px solid var(--y)
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--y)
}

/* Contacto */
.quote-form {
    background: var(--l);
    padding: 1.8rem;
    border-radius: 6px;
    border-top: 5px solid var(--y)
}

.form-label {
    font-weight: 600
}

.form-control,
.form-select {
    padding: .7rem .9rem;
    border-radius: 4px
}

.form-control:focus,
.form-select:focus {
    border-color: var(--y);
    box-shadow: 0 0 0 .25rem rgba(255, 184, 0, .3)
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem
}

.contact-list i {
    width: 50px;
    height: 50px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--y);
    color: var(--k);
    font-size: 1.3rem;
    border-radius: 4px
}

.contact-list strong {
    display: block;
    font-family: 'Barlow Condensed';
    font-size: 1.2rem;
    color: var(--k)
}

.contact-list a,
.contact-list span {
    color: #555b63
}

.map-box {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

/* Footer */
.footer {
    background: var(--k);
    color: #aeb2b8;
    padding: 4rem 0 0;
    font-size: .97rem
}

.footer .brand {
    color: #fff
}

.footer .brand small {
    color: var(--y)
}

.footer h3 {
    color: #fff;
    font-size: 1.35rem;
    text-transform: uppercase;
    margin-bottom: 1rem
}

.footer ul {
    list-style: none;
    padding: 0
}

.footer li {
    margin-bottom: .45rem
}

.footer a {
    color: #aeb2b8
}

.footer a:hover {
    color: var(--y)
}

.footer i {
    color: var(--y)
}

.footer .social a {
    background: var(--g);
    margin: 0 .4rem 0 0
}

.copy {
    border-top: 1px solid #33373d;
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    text-align: center;
    font-size: .9rem
}

/* WhatsApp flotante */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    animation: pulse 2.4s infinite
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.1)
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .6)
    }

    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
    }
}

/* Aparición al desplazarse */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s, transform .7s
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:991px) {
    .main-nav .btn {
        margin-top: .8rem;
        width: 100%
    }

    .benefit {
        border-right: 0;
        border-bottom: 1px solid rgba(23, 25, 29, .15)
    }

    .about-img::before {
        display: none
    }
}

@media(max-width:575px) {
    .section {
        padding: 4rem 0
    }

    .hero {
        min-height: 78vh
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}



/* ===== MATERIAL PÉTREO COMPACTO ===== */
.mat-compact {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e3e5e8;
    border-left: 4px solid var(--y);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mat-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.mat-thumb {
    width: 118px;
    min-width: 118px;
    background: var(--k);
    overflow: hidden;
}

.mat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.mat-compact:hover .mat-thumb img {
    transform: scale(1.07);
}

.mat-info {
    padding: .75rem .9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.mat-info h3 {
    color: var(--k);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 .2rem;
    line-height: 1.1;
}

.mat-info p {
    color: #555b63;
    font-size: .86rem;
    line-height: 1.35;
    margin: 0 0 .55rem;
}

.btn-sm-wa {
    align-self: flex-start;
    font-size: .9rem;
    padding: .28rem .75rem;
    line-height: 1.2;
}

@media (max-width: 575px) {
    .mat-thumb {
        width: 96px;
        min-width: 96px;
    }

    .mat-info {
        padding: .65rem .75rem;
    }

    .mat-info h3 {
        font-size: 1.18rem;
    }
}