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

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    color: var(--gris-texto);
    background-color: var(--blanco-yeso);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--crema) 0%, var(--blanco-yeso) 100%);
    box-shadow: 0 2px 10px rgba(93, 78, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--tierra-claro);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--tierra-oscuro);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--tierra-medio);
    font-style: italic;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--tierra-oscuro);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--verde-bosque);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-bosque);
    transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--rosa-flor);
    color: var(--tierra-oscuro);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--rosa-suave);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--tierra-oscuro), var(--tierra-medio));
    color: var(--crema);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--rosa-suave);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p, .footer-section a {
    color: var(--crema);
    text-decoration: none;
    line-height: 2;
    display: block;
}

.footer-section a:hover {
    color: var(--rosa-flor);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--verde-bosque);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--rosa-flor);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--tierra-claro);
    color: var(--tierra-claro);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '💬';
    font-size: 2rem;
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--tierra-medio);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        justify-content: center;
        gap: 1rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}
