/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    min-height: 100vh;
}

/* Contenedor principal */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.content-wrapper {
    max-width: 900px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Icono de excavadora con CSS3 */
.icon-container {
    margin-bottom: 20px;
}

.excavator-wrapper {
    position: relative;
    display: inline-block;
}

.excavator-icon {
    width: 100px;
    height: 100px;
    background: #fed7aa;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
    transition: transform 0.3s ease;
}

.excavator-icon:hover {
    transform: scale(1.05);
}

/* Brazo de la excavadora */
.excavator-arm {
    position: absolute;
    width: 40px;
    height: 8px;
    background: #ea580c;
    top: 30px;
    left: 25px;
    transform: rotate(-30deg);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.excavator-arm::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 6px;
    background: #dc2626;
    top: -8px;
    left: -15px;
    transform: rotate(-20deg);
    border-radius: 3px;
}

.excavator-arm::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 4px;
    background: #dc2626;
    top: -15px;
    left: -25px;
    transform: rotate(-10deg);
    border-radius: 2px;
}

/* Cuerpo de la excavadora */
.excavator-body {
    width: 35px;
    height: 25px;
    background: #f97316;
    border-radius: 8px;
    position: absolute;
    top: 40px;
    left: 32px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.excavator-body::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #60a5fa;
    border-radius: 50%;
    top: 6px;
    left: 8px;
    border: 2px solid #1e40af;
}

/* Orugas de la excavadora */
.excavator-track {
    position: absolute;
    width: 45px;
    height: 8px;
    background: #374151;
    bottom: 25px;
    left: 27px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.excavator-track::before,
.excavator-track::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    background: #1f2937;
    top: -1px;
}

.excavator-track::before {
    left: 8px;
}

.excavator-track::after {
    right: 8px;
}

/* Signo de exclamación */
.exclamation-mark {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

/* Logo */
.logo-container {
    margin: 20px 0;
}

.logo {
    width: 280px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* Sección de título */
.title-section {
    margin: 20px 0;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 16px;
}

.description {
    font-size: 1.125rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tarjeta de contacto */
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-card h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-card > p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Botón de WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #22c55e;
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.whatsapp-button:active {
    transform: translateY(0);
}

.phone-icon {
    font-size: 1.2rem;
}

.whatsapp-number {
    font-size: 1rem;
}

.click-info {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 16px;
    line-height: 1.5;
}

/* Footer */
.footer {
    margin-top: 48px;
    text-align: center;
    color: #6b7280;
}

.footer p {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Animaciones CSS3 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Media Queries para Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .content-wrapper {
        gap: 30px;
    }
    
    .excavator-icon {
        width: 80px;
        height: 80px;
    }
    
    .excavator-arm {
        width: 32px;
        height: 6px;
        top: 24px;
        left: 20px;
    }
    
    .excavator-body {
        width: 28px;
        height: 20px;
        top: 32px;
        left: 26px;
    }
    
    .excavator-track {
        width: 36px;
        height: 6px;
        bottom: 20px;
        left: 22px;
    }
    
    .exclamation-mark {
        width: 28px;
        height: 28px;
        font-size: 18px;
        top: -6px;
        right: -6px;
    }
    
    .logo {
        width: 240px;
        height: 120px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 24px;
        margin: 15px 0;
    }
    
    .contact-card h2 {
        font-size: 1.25rem;
    }
    
    .whatsapp-button {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    .excavator-icon {
        width: 70px;
        height: 70px;
    }
    
    .excavator-arm {
        width: 28px;
        height: 5px;
        top: 20px;
        left: 17px;
    }
    
    .excavator-body {
        width: 24px;
        height: 17px;
        top: 28px;
        left: 22px;
    }
    
    .excavator-track {
        width: 32px;
        height: 5px;
        bottom: 17px;
        left: 19px;
    }
    
    .exclamation-mark {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .logo {
        width: 200px;
        height: 100px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.125rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .whatsapp-button {
        padding: 12px 16px;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .phone-icon {
        font-size: 1rem;
    }
}

/* Efectos adicionales */
.contact-card {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradientes avanzados */
body {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 25%, #fef3c7 50%, #fef9c3 75%, #fffbeb 100%);
    background-attachment: fixed;
}

/* Sombras avanzadas */
.contact-card {
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.12),
        0 1px 2px rgba(0,0,0,0.24),
        0 0 0 1px rgba(255,255,255,0.1);
}

.whatsapp-button {
    box-shadow: 
        0 4px 6px rgba(34, 197, 94, 0.3),
        0 2px 4px rgba(34, 197, 94, 0.2);
}

/* Transiciones suaves */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}