/*
Theme Name: UAV Smart Clean
Theme URI: https://uavsmartclean.com
Author: Tu Nombre
Author URI: https://uavsmartclean.com
Description: Tema para UAV Smart Clean - Limpieza Comercial con Drones
Version: 1.0.0
License: GPL v2 or later
Text Domain: uavsmartclean
*/

/* ==========================================
   ESTILOS COMPLETOS - UAV SMART CLEAN
   ========================================== */
:root {
    --gray-metal: #53565A;
    --gray-metal-dark: #3D3F42;
    --neon-green: #39FF14;
    --neon-green-hover: #2ecc10;
    --whatsapp: #25D366;
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    padding-top: 80px;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ==========================================
   HEADER
   ========================================== */
header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--gray-metal); height: 80px; z-index: 50;
    display: flex; align-items: center; box-shadow: var(--shadow-md);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem;
}
.logo img { height: 80px; width: auto; transition: height 0.3s ease; }
@media (max-width: 768px) { .logo img { height: 50px; } }
@media (max-width: 480px) { .logo img { height: 40px; } }

.nav-links {
    display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
    color: var(--neon-green); text-decoration: none;
    font-weight: 500; font-size: 0.875rem; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn {
    background: var(--white); color: var(--black);
    padding: 0.5rem 1.5rem; border-radius: 0.5rem; border: none;
    cursor: pointer; font-weight: 500; text-decoration: none;
    transition: all 0.3s ease;
}
.nav-links .btn:hover { background: var(--gray-200); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mobile-toggle {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--white); cursor: pointer;
}
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 80px; left: 0; right: 0; background: var(--gray-metal);
        padding: 2rem; gap: 1.5rem;
    }
    .nav-links.active { display: flex; }
}

/* ==========================================
   BOTONES
   ========================================== */
.btn {
    display: inline-block; padding: 0.75rem 2rem; border-radius: 0.5rem;
    font-weight: 500; text-decoration: none; transition: all 0.3s ease;
    cursor: pointer; border: none; font-size: 0.875rem;
}
.btn-primary {
    background: var(--neon-green); color: var(--black);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.3);
}
.btn-primary:hover {
    background: var(--neon-green-hover); transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(57, 255, 20, 0.4);
}
.btn-white {
    background: var(--white); color: var(--black);
}
.btn-white:hover {
    background: var(--gray-100); transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 90vh; position: relative; display: flex; align-items: center;
    justify-content: flex-start; overflow: hidden; background: var(--gray-900);
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://uavsmartclean.com/wp-content/uploads/2026/07/hero-drone.webp') center/cover no-repeat;
    animation: zoom 20s ease-in-out infinite alternate;
}
@keyframes zoom { 0%{transform:scale(1)} 100%{transform:scale(1.15)} }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(17,24,39,0.95), rgba(17,24,39,0.6), transparent);
}
.hero-content {
    position: relative; z-index: 1; padding: 3rem 2rem;
    color: var(--white); max-width: 750px;
    text-align: left; margin-left: 0; margin-right: auto;
}
.eyebrow {
    display: inline-block; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.34em; color: var(--white);
    font-weight: 600; margin-bottom: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.8rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
}
.hero h1 {
    font-size: 3.5rem; font-weight: 700; line-height: 1.05;
    margin-bottom: 1rem; letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.85;
    max-width: 550px; line-height: 1.7;
}
.hero .btn { margin-right: 1rem; }
@media (min-width: 768px) {
    .hero h1 { font-size: 5rem; }
    .hero p { font-size: 1.3rem; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 0.95rem; }
    .hero .btn { display: block; width: 100%; margin-bottom: 0.8rem; text-align: center; }
    .hero .btn:last-child { margin-bottom: 0; }
}

/* ==========================================
   INTRO - EFICIENCIA, SEGURIDAD Y PRECISIÓN (FONDO CLARO)
   ========================================== */
.intro-section {
    padding: 4rem 0; background: var(--white);
    text-align: center; color: var(--gray-900);
}
.intro-section h1 {
    font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem;
    letter-spacing: -0.02em; color: var(--gray-900);
}
.intro-section .subtitle {
    font-size: 1.5rem; font-weight: 700; color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.intro-section .brand {
    font-size: 2.5rem; font-weight: 900; color: var(--gray-900);
}
.intro-section .brand span {
    color: var(--neon-green);
}
@media (max-width: 768px) {
    .intro-section h1 { font-size: 2rem; }
    .intro-section .subtitle { font-size: 1.1rem; }
    .intro-section .brand { font-size: 1.8rem; }
}

/* ==========================================
   STATS (5 CARDS CON ANIMACIÓN)
   ========================================== */
.stats-section {
    padding: 4rem 0; background: var(--white);
}
.stats-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(5, 1fr); }
}
.stat-card {
    background: var(--gray-metal-dark);
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0; transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    transition: all 0.3s ease;
}
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: var(--shadow-lg);
}
.stat-icon-wrapper {
    width: 5.5rem; height: 5.5rem;
    border-radius: 50%;
    background: rgba(57,255,20,0.12);
    display: flex; align-items: center;
    justify-content: center; margin: 0 auto 0.8rem;
    border: 2px solid rgba(57,255,20,0.15);
}
.stat-icon { color: var(--neon-green); font-size: 2.5rem; }
.stat-title {
    color: var(--white);
    font-size: 1rem; font-weight: 600;
    margin-bottom: 0.3rem;
}
.stat-description {
    color: var(--white);
    font-size: 0.8rem; line-height: 1.4;
}

/* ==========================================
   ABOUT - QUIÉNES SOMOS (TEXTO + IMAGEN DRONE)
   ========================================== */
.about-section {
    padding: 5rem 0;
    background: var(--gray-900);
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: var(--white);
    max-width: 600px;
}

.about-text .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Imagen del drone al margen derecho */
.about-image {
    height: 450px;
    background: url('https://uavsmartclean.com/wp-content/uploads/2026/07/about-drone-v2.jpg') center/cover no-repeat;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
}

/* ==========================================
   FEATURES CARDS (SECCIÓN SEPARADA)
   ========================================== */
.features-section {
    padding: 4rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: var(--gray-metal-dark);
    border-radius: 0.75rem;
    padding: 1.8rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 3.8rem; height: 3.8rem;
    background: rgba(57,255,20,0.12);
    border-radius: 0.5rem;
    display: flex; align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    border: 1px solid rgba(57,255,20,0.12);
}

.feature-icon {
    color: var(--neon-green);
    font-size: 1.5rem;
}

.feature-card h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-card p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================
   SERVICES
   ========================================== */
.services-section {
    padding: 5rem 0; background: var(--gray-100);
}
.services-section h1 {
    font-size: 2.8rem; font-weight: 700; text-align: center;
    margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.services-section .subtitle {
    text-align: center; max-width: 650px; margin: 0 auto 3rem;
    color: var(--gray-600); font-size: 1.1rem;
}
.services-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
}
.service-card {
    border-radius: 0.75rem; overflow: hidden; position: relative;
    min-height: 280px; display: flex; align-items: flex-end;
    box-shadow: var(--shadow-md); transition: all 0.4s ease;
    background-size: cover; background-position: center;
}
.service-card:nth-child(1) { background-image: url('https://uavsmartclean.com/wp-content/uploads/2026/07/service-fachadas.webp'); }
.service-card:nth-child(2) { background-image: url('https://uavsmartclean.com/wp-content/uploads/2026/07/service-industrial.jpg'); }
.service-card:nth-child(3) { background-image: url('https://uavsmartclean.com/wp-content/uploads/2026/07/service-solar.jpg'); }
.service-card:nth-child(4) { background-image: url('https://uavsmartclean.com/wp-content/uploads/2026/07/service-estructuras.jpg'); }

.service-card:hover {
    transform: scale(1.02); box-shadow: var(--shadow-xl);
}
.service-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3));
    transition: all 0.4s ease;
}
.service-card:hover .service-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4));
}
.service-content {
    position: relative; z-index: 1; padding: 2rem;
    color: var(--white);
}
.service-content span {
    display: block; font-size: 2.2rem; margin-bottom: 0.5rem;
}
.service-content h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem;
}
.service-content p {
    font-size: 0.9rem; opacity: 0.85; line-height: 1.5;
    max-width: 90%;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
    padding: 5rem 0; background: var(--gray-900);
}
.testimonials-section h1 {
    font-size: 2.8rem; font-weight: 700; text-align: center;
    color: var(--white); margin-bottom: 3rem; letter-spacing: -0.02em;
}
.testimonials-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
    background: var(--white); border-radius: 0.75rem; padding: 2rem;
    box-shadow: var(--shadow-md); transition: all 0.3s ease;
    border: 1px solid transparent;
}
.testimonial-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-xl);
    border-color: rgba(57,255,20,0.2);
}
.testimonial-card .stars {
    color: #FACC15; font-size: 1.1rem; margin-bottom: 0.6rem;
    letter-spacing: 2px;
}
.testimonial-card p {
    font-size: 1rem; font-style: italic; margin-bottom: 1.2rem;
    line-height: 1.6; color: var(--gray-700);
}
.testimonial-author strong {
    display: block; font-weight: 600; font-size: 0.95rem;
}
.testimonial-author span {
    font-size: 0.8rem; color: var(--gray-500);
}

/* ==========================================
   BLOG
   ========================================== */
.blog-section {
    padding: 5rem 0; background: var(--gray-100);
}
.blog-section h1 {
    font-size: 2.8rem; font-weight: 700; text-align: center;
    margin-bottom: 3rem; letter-spacing: -0.02em;
}
.blog-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
    background: var(--white); border-radius: 0.75rem; overflow: hidden;
    box-shadow: var(--shadow-md); transition: all 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.blog-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 0.75rem 0.75rem 0 0;
}
.blog-card-content { padding: 1.5rem; }
.blog-card-content h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
}
.blog-card-content p {
    color: var(--gray-600); font-size: 0.9rem; line-height: 1.6;
}
.blog-card-content .btn {
    margin-top: 1rem; padding: 0.5rem 1.5rem; font-size: 0.8rem;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-section {
    padding: 5rem 0; background: var(--gray-900);
    color: var(--white);
}
.contact-section h1 {
    font-size: 3.2rem; font-weight: 700; text-align: center;
    margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.contact-section .subtitle {
    text-align: center; max-width: 500px; margin: 0 auto 3rem;
    color: var(--gray-400); font-size: 1.3rem;
}
.contact-grid {
    display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info h3 {
    font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem;
}
.contact-info-item {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-icon-wrapper {
    width: 3.5rem; height: 3.5rem;
    background: rgba(57,255,20,0.12);
    border-radius: 0.5rem;
    display: flex; align-items: center;
    justify-content: center;
    border: 1px solid rgba(57,255,20,0.12);
}
.contact-icon { color: var(--neon-green); font-size: 1.5rem; }
.contact-info-item strong {
    display: block; font-weight: 600; font-size: 1.1rem;
    color: var(--white);
}
.contact-info-item p {
    color: var(--gray-400); font-size: 1.1rem;
}
.schedule-box {
    background: rgba(57,255,20,0.05);
    border: 1px solid rgba(57,255,20,0.1);
    border-radius: 0.75rem; padding: 1.5rem; margin-top: 1.5rem;
}
.schedule-box h4 {
    font-weight: 600; margin-bottom: 0.5rem;
    color: var(--white); font-size: 1.2rem;
}
.schedule-box p {
    color: var(--gray-300); font-size: 1.1rem;
}
.contact-form input, .contact-form textarea {
    width: 100%; padding: 0.9rem 1.2rem; margin-bottom: 1rem;
    border: 1px solid var(--gray-700); border-radius: 0.5rem;
    font-family: inherit; background: var(--gray-800);
    color: var(--white); transition: all 0.3s ease;
    font-size: 1.1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--neon-green);
    box-shadow: 0 0 0 3px rgba(57,255,20,0.1);
    background: var(--gray-700);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: var(--gray-500);
    font-size: 1rem;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.btn-send {
    background: var(--neon-green); color: var(--black);
    width: 100%; padding: 1.2rem; border: none;
    border-radius: 0.5rem; font-size: 1.4rem;
    font-weight: 700; cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(57,255,20,0.3);
}
.btn-send:hover {
    background: var(--neon-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(57,255,20,0.4);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--gray-metal); color: var(--white);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-logo img { height: 80px; width: auto; margin-bottom: 0.5rem; }
footer p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; }
footer h4 { font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }
footer a {
    color: rgba(255,255,255,0.6); text-decoration: none;
    display: block; margin-bottom: 0.5rem; font-size: 0.85rem;
    transition: color 0.3s ease;
}
footer a:hover { color: var(--white); }
.footer-social {
    display: flex; gap: 0.75rem; margin-top: 1rem;
}
.footer-social-btn {
    width: 2.5rem; height: 2.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    display: inline-flex; align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white); text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.footer-social-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0 1.5rem;
}
.footer-bottom {
    text-align: center; font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================
   WHATSAPP
   ========================================== */
.whatsapp-btn {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 4rem; height: 4rem; border-radius: 50%;
    background: var(--whatsapp);
    display: flex; align-items: center;
    justify-content: center; z-index: 50;
    text-decoration: none; color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.whatsapp-icon { width: 2.2rem; height: 2.2rem; fill: currentColor; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .intro-section h1 { font-size: 2rem; }
    .intro-section .subtitle { font-size: 1.1rem; }
    .intro-section .brand { font-size: 1.8rem; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-text h2 { font-size: 2.2rem; }
    .about-text h3 { font-size: 1.2rem; }
    .about-image {
        height: 280px;
        order: -1;
    }
    .features-grid { grid-template-columns: 1fr; }
    .services-section h1 { font-size: 2rem; }
    .testimonials-section h1 { font-size: 2rem; }
    .contact-section h1 { font-size: 2.2rem; }
    .contact-section .subtitle { font-size: 1rem; }
    .blog-section h1 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .logo img { height: 50px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-logo img { height: 80px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .logo img { height: 80px; }
    .footer-logo img { height: 80px; }
}
/* ===== FORZAR TAMAÑO DEL LOGO EN FOOTER ===== */
.footer-logo img {
    height: 80px !important;
    width: auto !important;
    max-width: none !important;
}
/* ===== FORZAR TAMAÑO DEL LOGO EN FOOTER ===== */
.footer-logo {
    max-width: none !important;
    width: auto !important;
}

.footer-logo img {
    height: 80px !important;
    width: auto !important;
    max-width: none !important;
}