:root {
    --bg: #050505;
    --bg-alt: #111111;
    --accent: #f5c623;
    --accent-soft: rgba(245, 198, 35, 0.12);
    --text: #f7f7f7;
    --text-muted: #b3b3b3;
    --border-subtle: #262626;
    --card-bg: #151515;
    --danger: #ff4e4e;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --max-width: 1120px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at top, #202020 0, #050505 46%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.1;
}

.logo-image {
    height: 60px;
    width: auto;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    background: radial-gradient(circle at top, #f5c623 0, #b88b14 52%, #4a3200 100%);
    border: 1px solid rgba(0, 0, 0, 0.7);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--accent);
}

.logo-sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.88rem;
}

.main-nav a {
    position: relative;
    padding-bottom: 0.15rem;
    color: var(--text-muted);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #ffe177);
    transition: width 0.18s ease-out;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    color: var(--text-muted);
    position: relative;
}

.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #ffe177);
    transition: width 0.18s ease-out;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    color: var(--text);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
    width: 100%;
}

.nav-dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 190px;
    padding: 0.5rem 0.4rem;
    border-radius: 10px;
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
    z-index: 150;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    padding: 0.25rem 0.35rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.nav-dropdown-menu a:hover {
    color: var(--accent);
    text-decoration: none;
}

.header-contact {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero {
    padding: 4.0rem 0 2.4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(245, 198, 35, 0.5);
    background: rgba(5, 5, 5, 0.8);
    color: var(--accent);
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(245, 198, 35, 0.25);
}

.hero h1 {
    font-size: clamp(2.3rem, 3vw + 1rem, 3rem);
    line-height: 1.15;
    margin: 1.3rem 0 0.9rem;
}

.hero-text {
    color: var(--text-muted);
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.7rem 0 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-meta span::before {
    content: "•";
    margin-right: 0.45rem;
    color: var(--accent);
}

.hero-meta span:first-child::before {
    content: "";
    margin-right: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.13s ease-out, box-shadow 0.13s ease-out, background 0.13s ease-out, color 0.13s ease-out, border-color 0.13s ease-out;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ffe177);
    color: #1b1302;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.btn-secondary {
    background: rgba(5, 5, 5, 0.85);
    border-color: rgba(245, 198, 35, 0.65);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(10, 10, 10, 0.95);
}

.btn-outline {
    padding-inline: 1.1rem;
    border-color: rgba(245, 198, 35, 0.8);
    color: var(--accent);
    background: transparent;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.13s ease-out, box-shadow 0.13s ease-out, background 0.13s ease-out, border-color 0.13s ease-out;
}

.btn-whatsapp {
    background: radial-gradient(circle at 30% 0, #6afc9d 0, #25d366 40%, #128c7e 100%);
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
}

.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
}

.whatsapp-symbol {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-outline:hover {
    background: rgba(245, 198, 35, 0.08);
}

.full-width {
    width: 100%;
}

.hero-image {
    position: relative;
    min-height: 260px;
}

.excavator-graphic {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at top, rgba(245, 198, 35, 0.08), transparent 60%);
}

.excavator-arm,
.excavator-body,
.excavator-cabin,
.excavator-track {
    position: absolute;
    background: var(--accent);
    border-radius: 12px;
}

.excavator-arm {
    width: 65%;
    height: 18%;
    top: 18%;
    left: 18%;
    transform: rotate(-12deg);
    transform-origin: left center;
    box-shadow: var(--shadow-soft);
}

.excavator-body {
    width: 55%;
    height: 24%;
    bottom: 32%;
    left: 26%;
    box-shadow: var(--shadow-soft);
}

.excavator-cabin {
    width: 28%;
    height: 28%;
    bottom: 35%;
    left: 40%;
    background: #141414;
    border-radius: 16px 16px 6px 6px;
}

.excavator-track {
    width: 70%;
    height: 14%;
    bottom: 22%;
    left: 18%;
    background: #090909;
    border-radius: 999px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.9);
}

.section {
    padding: 3.25rem 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(245, 198, 35, 0.06), #050505 58%);
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 32rem;
}

.grid {
    display: grid;
    gap: 1.7rem;
    margin-top: 2rem;
}

.two-column {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 50%);
    pointer-events: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.22s ease-out, opacity 0.22s ease-out;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    z-index: 999;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
}

.lightbox-close {
    top: 18px;
    right: 22px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(245, 198, 35, 0.85);
    color: #111;
}

.card {
    background: linear-gradient(145deg, var(--card-bg), #0c0c0c);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at top, var(--accent), #e0a91f 60%, #9a7410 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #161206;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
}

.card-cta {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.card-link:hover .card-cta {
    color: var(--accent);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1rem;
}

.feature-list h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.feature-list p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.highlight-box,
.info-box {
    background: radial-gradient(circle at top, rgba(245, 198, 35, 0.06), #0b0b0b 55%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 198, 35, 0.3);
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.95rem;
}

.highlight-box p,
.info-box p {
    margin-top: 0.15rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.highlight-box a,
.info-box a {
    color: var(--accent);
}

.info-phone a {
    font-size: 1.2rem;
    font-weight: 700;
}

.small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-qr {
    margin-top: 1.2rem;
    padding: 0.9rem 1rem 1.1rem;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(245, 198, 35, 0.4);
    background: rgba(5, 5, 5, 0.9);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-qr img {
    margin-top: 0.6rem;
    max-width: 120px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.map-embed {
    margin-top: 1.2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    display: grid;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.contact-list .label {
    display: inline-block;
    min-width: 4.4rem;
    color: var(--text-muted);
}

.contact-form {
    margin-top: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.form-row label {
    font-size: 0.87rem;
    color: var(--text-muted);
}

.form-row input,
.form-row textarea {
    background: #050505;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(245, 198, 35, 0.9);
    box-shadow: 0 0 0 1px rgba(245, 198, 35, 0.6);
    background: #080808;
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0 1.1rem;
    background: #050505;
}

.footer-inner {
    text-align: center;
    font-size: 0.83rem;
    color: #9a9a9a;
}

.footer-meta {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #737373;
}

@media (max-width: 900px) {
    .header-inner {
        padding-inline: 1rem;
        gap: 0.8rem;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 3.2rem;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 1.25rem 1.3rem;
    }

    .contact-form {
        padding: 1.2rem 1.2rem;
    }
}

@media (max-width: 520px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .logo {
        align-items: center;
    }

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

    .btn,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
