/* Reset y General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #8cc24a;
    --primary-blue: #6baad6;
    --dark-blue: #2c3e50;
    --dark-header: rgba(26, 35, 50, 0.95);
    --light-bg: #f4f7f9;
    --white: #ffffff;
    --text-color: #555;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark-header);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    max-width: 180px;
    animation: moveLogo 12s infinite ease-in-out;
}

@keyframes moveLogo {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

@keyframes moveLogoMobile {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.logo {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    margin: 0 18px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    color: var(--primary-green);
}

.lang-switch button {
    background: transparent;
    border: 1px solid var(--primary-green);
    padding: 4px 10px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-green);
    transition: var(--transition);
    border-radius: 4px;
    font-size: 0.75rem;
}

.lang-switch button.active {
    background: var(--primary-green);
    color: white;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('banner.png') center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 150px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta, .btn-secondary {
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-cta {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 10px 20px rgba(140, 194, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 80px 0;
    margin-top: -50px;
    border-radius: 50px 50px 0 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

/* Commercial Section */
.commercial-services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.commercial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.commercial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-img-placeholder {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-blue);
}

.commercial-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.feature-box {
    background: var(--dark-blue);
    color: white; /* Texto blanco asegurado */
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.feature-box h4 {
    color: white !important; /* Forzar blanco para h4 en cajas oscuras */
    margin-top: 10px;
    font-size: 1rem;
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Services Residential */
.services {
    padding: 100px 0;
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* Pet Services */
.pet-services {
    padding: 100px 0;
}

.pet-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pet-image-container img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 30px 30px 0 var(--primary-green);
}

.image-overlay-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.pet-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-green);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

/* Contact */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #1a2332;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    z-index: 1000;
}

.whatsapp-float img {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 3rem; }
    .pet-main-grid, .contact-grid, .footer-content { grid-template-columns: 1fr; }
}

/* Floating Widgets Styles */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    width: 100%;
    pointer-events: none;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.widget-call, .right-widgets a {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.widget-call {
    background: var(--primary-blue);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.right-widgets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-email {
    background: white;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
}

.widget-email img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-whatsapp {
    background: #25d366;
    padding: 10px;
}

.widget-whatsapp img {
    width: 100%;
}

.widget-call:hover, .right-widgets a:hover {
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .logo-container {
        animation: moveLogoMobile 12s infinite ease-in-out;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero {
        padding-top: 180px;
        padding-bottom: 80px;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
        padding: 0 15px;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 20px;
        max-width: 90%;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn-cta, .btn-secondary {
        padding: 12px 30px;
        font-size: 0.8rem;
    }

    .floating-widgets {
        bottom: 20px;
        padding: 0 15px;
    }

    .widget-call, .right-widgets a {
        width: 50px;
        height: 50px;
    }
}
