/* ============================================ */
/* ARCA ENERGIES - responsive.css               */
/* Media queries y ajustes responsive           */
/* ============================================ */

/* ===== RESPONSIVE TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
    .nav-container { height: 64px; }
    .nav-links { display: none !important; }
    .hamburger { display: flex; }
    .hero { padding-top: 64px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; min-height: auto; }
    .hero-text { max-width: 100%; }
    .hero-text .subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .contact-info { text-align: center; }
    .hero-visual { display: none; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 3vw, 18px); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE MOBILE (≤768px) ===== */
@media (max-width: 768px) {
    .nav-container { padding: 0 12px; height: 56px; }
    .nav-logo img { height: 30px; }
    .nav-slogan { display: none; }
    .hero { min-height: 100svh; padding-top: 56px; }
    .hero-content { gap: 16px; padding: 0 14px; }
    .hero-text h1 { font-size: clamp(1.7rem, 6vw, 2rem); }
    .tagline { font-size: clamp(0.9rem, 3vw, 1rem); }
    .hero-text .subtitle { font-size: clamp(0.78rem, 2.2vw, 0.85rem); margin-bottom: 14px; }
    .hero-buttons { gap: 8px; flex-direction: column; align-items: center; }
    .btn { padding: 12px 22px; font-size: 0.85rem; width: 100%; max-width: 260px; }
    .contact-info { font-size: 0.72rem; }
    .section-title { font-size: clamp(1.3rem, 4.5vw, 1.6rem); }
    .brands-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-number { font-size: clamp(1.3rem, 5vw, 1.5rem); }
    .stat-label { font-size: 0.7rem; }
    .brand-card { padding: 18px 14px; }
    .brand-icon { height: 58px; margin-bottom: 10px; }
    .product-image { height: clamp(110px, 18vw, 130px); padding: 8px; }
    .product-body { padding: 10px; }
    .product-body h3 { font-size: 0.82rem; }
    .product-body p { font-size: 0.72rem; margin-bottom: 6px; }
    .product-link { font-size: 0.75rem; }
    .contact-info-card, .contact-form-card { padding: 16px; }
    .footer { padding: 24px 14px 16px; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-float { width: 48px; height: 48px; bottom: 12px; right: 12px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .marquee-item { font-size: 0.78rem; }
    .form-row { grid-template-columns: 1fr; }
    .toast-container { right: 10px; left: 10px; top: 70px; }
    .toast { max-width: 100%; font-size: 0.82rem; }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
    .nav-container { height: 50px; padding: 0 10px; }
    .nav-logo img { height: 26px; }
    .hero { min-height: 100svh; }
    .hero-content { padding: 0 12px; gap: 12px; }
    .hero-text h1 { font-size: clamp(1.5rem, 7vw, 1.7rem); }
    .tagline { font-size: clamp(0.8rem, 2.8vw, 0.9rem); margin-bottom: 10px; }
    .hero-text .subtitle { font-size: clamp(0.72rem, 2.2vw, 0.78rem); line-height: 1.5; }
    .btn { padding: 11px 18px; font-size: 0.8rem; min-height: 42px; max-width: 240px; }
    .brands-section, .products-section, .why-section, .cta-section, .contact-section { padding: 28px 12px; }
    .section-header { margin-bottom: 20px; }
    .brands-grid { gap: 12px; }
    .brand-card { padding: 14px 12px; }
    .brand-icon { height: 52px; }
    .brand-card h3 { font-size: 0.9rem; }
    .brand-card p { font-size: 0.75rem; }
    .products-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .product-card { border-radius: 12px; }
    .product-image { height: clamp(100px, 22vw, 120px); }
    .product-body { padding: 10px; }
    .why-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .why-card { padding: 14px 10px; }
    .why-icon { width: 38px; height: 38px; font-size: 1rem; }
    .why-card h4 { font-size: 0.85rem; }
    .why-card p { font-size: 0.72rem; }
    .stats-bar { padding: 20px 12px; }
    .cta-inner h2 { font-size: clamp(1.15rem, 4.5vw, 1.3rem); }
    .cta-inner p { font-size: clamp(0.78rem, 2.2vw, 0.85rem); }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { max-width: 240px; }
    .contact-grid { gap: 12px; }
    .contact-info-card, .contact-form-card { padding: 14px; border-radius: 14px; }
    .contact-info-card h3 { font-size: 1rem; }
    .contact-form-card h3 { font-size: 0.95rem; }
    .contact-detail { gap: 8px; margin-bottom: 10px; }
    .contact-detail .icon-box { width: 34px; height: 34px; font-size: 0.85rem; }
    .contact-detail .text strong { font-size: 0.72rem; }
    .contact-detail .text a { font-size: 0.7rem; }
    .form-submit { padding: 12px; font-size: 0.85rem; }
    .footer { padding: 20px 12px 14px; }
    .footer-inner { grid-template-columns: 1fr; gap: 14px; }
    .whatsapp-float { width: 44px; height: 44px; }
    .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { align-items: flex-start; }
    .hero-content { padding-top: 10px; gap: 12px; min-height: auto; }
    .hero-text h1 { font-size: clamp(1.3rem, 4vw, 1.6rem); margin-bottom: 5px; }
    .tagline { font-size: clamp(0.75rem, 2vw, 0.9rem); margin-bottom: 6px; }
    .hero-text .subtitle { margin-bottom: 8px; font-size: clamp(0.7rem, 1.8vw, 0.78rem); }
    .hero-buttons { margin-bottom: 6px; gap: 6px; }
    .btn { padding: 8px 18px; font-size: 0.78rem; }
    .floating-badge { display: none; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .marquee-track { animation: none; }
    .fade-up { opacity: 1; transform: none; }
    .hero-carousel-wrapper.carousel-hidden { opacity: 1; transform: none; pointer-events: auto; }
}