html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            margin: 0;
            padding: 0;
            color: #333;
            background-color: #fdfdfd;
        }

        h1,
        h2 {
            text-transform: uppercase;
        }

        /* Estilos Generales de AlineaciÃ³n */
        .page-inner {
            max-width: 1000px;
            margin: auto;
            box-sizing: border-box;
        }

        /* Header Transparente */
        .header-container {
            background: transparent;
            color: white;
            padding: 15px 20px;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
            width: 100%;
            box-sizing: border-box;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding-bottom: 10px;
            flex-wrap: wrap;
            gap: 15px;
            text-align: center;
        }

        .top-header>div {
            flex: 1 1 100%;
        }

        @media(min-width: 768px) {
            .top-header>div {
                flex: none;
            }

            .top-header {
                border-bottom: none;
                padding-bottom: 0;
            }

            .header-container {
                padding: 20px 40px;
            }

            .contact-top {
                text-align: right;
            }
        }

        .logo img {
            height: 60px;
            object-fit: contain;
        }

        .contact-top span,
        .contact-top a {
            color: #f39c12;
            font-weight: bold;
            text-decoration: none;
        }

        /* Hamburger (hidden on desktop) */
        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            margin-left: auto;
        }

        .hamburger span {
            display: block;
            width: 26px;
            height: 3px;
            background: white;
            margin: 5px 0;
            border-radius: 3px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

        .nav-header {
            padding-top: 15px;
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .nav-header a {
            color: white;
            text-decoration: none;
            font-weight: bold;
        }

        .nav-header a:hover {
            color: #f39c12;
        }

        /* Dropdown de Servicios */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            background-color: rgba(30, 42, 58, 0.95);
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
            z-index: 20;
            border-radius: 5px;
            top: 130%;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            transition: all 0.3s ease;
        }

        .dropdown-content a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: normal;
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover {
            background-color: #f39c12;
            color: #1e2a3a;
            font-weight: bold;
        }

        .dropdown:hover .dropdown-content {
            visibility: visible;
            opacity: 1;
            top: 100%;
        }

        /* Sub-dropdown Grúas Horquilla */
        .dropdown-sub {
            position: relative;
        }

        .dropdown-sub > a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
        }

        .dropdown-sub-content {
            visibility: hidden;
            opacity: 0;
            position: absolute;
            background-color: rgba(30, 42, 58, 0.97);
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
            z-index: 30;
            border-radius: 5px;
            top: 0;
            left: 100%;
            transition: all 0.3s ease;
        }

        .dropdown-sub:hover .dropdown-sub-content {
            visibility: visible;
            opacity: 1;
        }

        .dropdown-sub-content a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: normal;
        }

        .dropdown-sub-content a:last-child {
            border-bottom: none;
        }

        .dropdown-sub-content a:hover {
            background-color: #f39c12;
            color: #1e2a3a;
            font-weight: bold;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(30, 42, 58, 0.4), rgba(30, 42, 58, 0.7)), url('mercosur-arriendo-motoniveladora-hero.png') no-repeat center center/cover;
            color: white;
            text-align: center;
            padding: 180px 20px 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            position: relative;
        }

        .hero-content {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(30, 42, 58, 0.7) 100%);
            padding: 50px 40px;
            border-radius: 12px;
            max-width: 800px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .btn {
            background: #f39c12;
            color: white;
            padding: 15px 30px;
            border: none;
            cursor: pointer;
            font-weight: bold;
            margin-top: 20px;
            text-transform: uppercase;
            border-radius: 5px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .btn:hover {
            background: #e67e22;
            transform: scale(1.03);
            box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
        }

        /* Grid Maquinaria y Slider */
        .container {
            max-width: 1000px;
            margin: auto;
            padding: 60px 20px;
            text-align: center;
        }

        .maquinaria-grid {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .card {
            width: 100%;
            text-align: left;
            border: 1px solid #eee;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            gap: 30px;
            background: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        @media(min-width: 768px) {
            .card {
                flex-direction: row;
                align-items: center;
            }

            .slider-container {
                flex: 1 1 50%;
                margin-bottom: 0;
            }

            .card-content {
                flex: 1 1 50%;
                padding-left: 20px;
            }
        }

        .card h3 {
            margin-bottom: 15px;
            color: #1e2a3a;
            font-size: 1.8em;
            border-bottom: 3px solid #f39c12;
            display: inline-block;
            padding-bottom: 5px;
        }

        .card p {
            font-size: 1.05em;
            color: #555;
            line-height: 1.6;
            margin-bottom: 0;
        }

        .slider-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            border-radius: 5px;
            margin-bottom: 15px;
        }

        .slider-wrapper {
            display: flex;
            transition: transform 0.4s ease-in-out;
        }

        .slider-wrapper img {
            width: 100%;
            flex-shrink: 0;
            aspect-ratio: 1 / 1;
            object-fit: cover;
        }

        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            cursor: pointer;
            padding: 8px 14px;
            font-weight: bold;
            border-radius: 50%;
            z-index: 2;
            transition: background 0.3s;
            font-size: 1.2em;
        }

        .slider-btn:hover {
            background: rgba(243, 156, 18, 0.9);
        }

        .slider-btn-prev {
            left: 5px;
        }

        .slider-btn-next {
            right: 5px;
        }

        /* Formulario */
        .form-section {
            background: linear-gradient(135deg, rgba(30, 42, 58, 0.85) 0%, rgba(44, 62, 80, 0.95) 100%), url('mercosur-maquinaria-1jpeg.jpeg') no-repeat center center/cover;
            background-attachment: fixed;
            color: white;
            padding: 80px 20px;
            text-align: center;
        }

        .form-section h2 {
            color: #f39c12;
            margin-bottom: 30px;
        }

        form {
            max-width: 600px;
            margin: auto;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            color: #333;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 15px;
            margin: 10px 0;
            border: 2px solid #eaeaea;
            border-radius: 8px;
            box-sizing: border-box;
            font-size: 1em;
            transition: border-color 0.3s;
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #f39c12;
            box-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
        }

        form .btn {
            background: #f39c12;
            color: #1e2a3a;
            font-size: 1.2em;
            padding: 18px;
            margin-top: 20px;
            animation: pulse-button 2s infinite;
        }

        @keyframes pulse-button {
            0% {
                box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.6);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
            }
        }

        /* Footer */
        .site-footer {
            background-color: #1e2a3a;
            color: white;
            padding: 50px 0 20px;
            margin-top: 0px;
            text-align: center;
        }

        .footer-content {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-col {
            min-width: 250px;
        }

        @media(min-width: 768px) {
            .site-footer {
                text-align: left;
            }

            .footer-content {
                justify-content: space-between;
            }

            .footer-col {
                flex: 1;
            }
        }

        .footer-col img {
            width: 180px;
            margin-bottom: 20px;
        }

        .footer-col h3 {
            color: white;
            margin-bottom: 20px;
            border-bottom: 2px solid #f39c12;
            display: inline-block;
            padding-bottom: 5px;
        }

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

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li span {
            color: #f39c12;
            margin-right: 10px;
            font-weight: bold;
        }

        .footer-col p {
            margin: 8px 0;
            font-size: 0.9em;
        }

        .footer-col p a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col p a:hover {
            color: #f39c12;
            text-decoration: underline;
        }

        .footer-bottom {
            font-size: 0.85em;
            color: #ccc;
            border-top: 1px solid #3e4a5a;
            padding-top: 20px;
            margin-top: 20px;
            text-align: center;
        }

        /* ===== MENÚ MÓVIL ===== */
        @media (max-width: 767px) {
            .hamburger {
                display: block;
            }

            .contact-top {
                display: none;
            }

            .top-header {
                align-items: center;
                flex-wrap: nowrap;
            }

            .nav-header {
                display: none;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                padding: 0;
                margin: 8px -20px 0;
                border-top: 1px solid rgba(255,255,255,0.15);
                background: rgba(20, 32, 48, 0.99);
            }

            .nav-header.open {
                display: flex;
            }

            .nav-header > a {
                padding: 14px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                text-align: left;
            }

            .dropdown {
                display: block;
                width: 100%;
            }

            .dropdown > a {
                padding: 14px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .dropdown > a::after {
                content: '›';
                font-size: 1.2em;
            }

            .dropdown-content {
                position: static !important;
                visibility: visible !important;
                opacity: 1 !important;
                transform: none !important;
                box-shadow: none !important;
                min-width: unset !important;
                width: 100%;
                border-radius: 0;
                background: rgba(12, 24, 40, 0.99);
                display: none;
                top: auto !important;
                left: auto !important;
            }

            .dropdown-content.open {
                display: block;
            }

            .dropdown-content a {
                padding: 12px 35px;
                text-align: left;
                border-bottom: 1px solid rgba(255,255,255,0.07);
            }

            .dropdown-sub {
                width: 100%;
            }

            .dropdown-sub > a {
                padding: 12px 35px;
                justify-content: space-between;
            }

            .dropdown-sub-content {
                position: static !important;
                visibility: visible !important;
                opacity: 1 !important;
                left: auto !important;
                top: auto !important;
                min-width: unset !important;
                width: 100%;
                border-radius: 0;
                box-shadow: none !important;
                background: rgba(5, 17, 33, 0.99);
                display: none;
            }

            .dropdown-sub-content.open {
                display: block;
            }

            .dropdown-sub-content a {
                padding: 12px 50px;
                text-align: left;
            }
        }
