* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header con logo centrado */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;     
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 240px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.3;
}

.logo span {
    color: #2b6e3c;
    font-weight: 700;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.3rem;
    border-radius: 2rem;
}

.lang-toggle button {
    background: transparent;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lang-toggle button.active {
    background: #2b6e3c;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lang-toggle button:hover:not(.active) {
    background: #e5e7eb;
}

/* Responsive para tablets y móviles */
@media (max-width: 768px) {
    .logo img {
        width: 60px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .lang-toggle button {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* Hero - Cada párrafo con su imagen a la derecha */
.hero {
    background: linear-gradient(135deg, #eef2f0 0%, #d9e6db 100%);
    border-radius: 0 0 2rem 2rem;
    padding: 1rem 0;
}

.hero-main-title {
    font-size: 2.2rem;
    color: #1f5430;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.hero-row {
    display: grid;
    grid-template-columns: 0.66fr 0.34fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-row:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hero-text p {
    line-height: 1.6;
    font-size: 1.05rem;
    margin: 0;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: auto;
    max-height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Alternativa: en móviles, imagen debajo del texto */
@media (max-width: 768px) {
    .hero-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .hero-image img {
        max-height: 180px;
        width: auto;
    }
}

/* Citas programadas */
.appointments {
    background: white;
}
.appointments-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.appointments-text {
    flex: 1;
}
.appointments-text h3 {
    font-size: 2rem;
    color: #1f5430;
    margin-bottom: 1.5rem;
    border-left: 6px solid #2b6e3c;
    padding-left: 1rem;
}
.appointments-text ul {
    list-style: none;
}
.appointments-text li {
    margin: 1rem 0;
    background: #f3f4f6;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    transition: transform 0.2s;
}
.appointments-text li:hover {
    transform: translateX(8px);
    background: #e5e7eb;
}
.appointments-image {
    flex: 1;
    text-align: center;
}
.appointments-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Servicios */
.services {
    background: #f0f7f2;
}
.services-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.services-text {
    flex: 1;
}
.services-text h3 {
    font-size: 2rem;
    color: #1f5430;
    margin-bottom: 1.5rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.services-grid span {
    background: white;
    padding: 0.8rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.services-image {
    flex: 1;
    text-align: center;
}
.services-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Ubicación y contacto */
.location-contact {
    background: white;
}
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.info-card {
    flex: 1;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.waze-btn {
    display: inline-block;
    background: #2b6e3c;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    margin-top: 1rem;
}
.location-image {
    flex: 0.8;
    text-align: center;
}
.location-image img {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Viajes de mascotas */
.travel-section {
    background: #eef2f0;
}
.travel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}
.travel-form {
    flex: 1.5;
}
.travel-form h2 {
    font-size: 2rem;
    color: #1f5430;
    margin-bottom: 1rem;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
input, button {
    padding: 0.8rem;
    border-radius: 1rem;
    border: 1px solid #d1d5db;
    font-family: inherit;
}
button {
    background: #2b6e3c;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
button:hover {
    background: #1f5430;
}
.form-message {
    margin-top: 1rem;
    font-weight: 600;
}
.travel-image {
    flex: 1;
    text-align: center;
}
.travel-image img {
    max-width: 100%;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Contador de visitas */
.visit-counter {
    text-align: center;
    background: #e5e7eb;
    display: inline-block;
    width: auto;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    margin: 1rem auto;
}

footer {
    background: #1f2937;
    color: white;
    text-align: center;
}

/* WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fafafa;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content, .appointments-content, .services-content, .location-content, .travel-content {
        flex-direction: column;
        text-align: center;
    }
    .appointments-text h3 {
        border-left: none;
        border-bottom: 4px solid #2b6e3c;
        display: inline-block;
        padding-bottom: 0.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .info-card {
        text-align: center;
    }
}