/* Design System - Gaia Centro Integral de Salud */

:root {
    --primary-color: #f5e6e1; /* Soft Rose/Beige from logo */
    --secondary-color: #d9c5b2;
    --accent-color: #8c7b75; /* Muted brown */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #fdfaf9;
    --whatsapp-green: #25d366;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --glass: rgba(255, 255, 255, 0.7);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, .brand-name {
    font-family: 'Playfair Display', serif;
}

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

.section-padding {
    padding: 100px 0;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 span {
    color: var(--accent-color);
    font-style: italic;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary, .btn-primary-small {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary-small:hover {
    background-color: #6d5f5a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(140, 123, 117, 0.3);
}

.btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    color: var(--accent-color);
}

.btn-outline {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.full-width {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--accent-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #fdfaf9 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

.hero-image-card {
    position: relative;
}

.hero-image-card img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #e74c3c;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Services */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

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

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

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Team */
.team-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.team-info h2 {
    text-align: left;
}

.team-list {
    list-style: none;
    margin: 30px 0;
}

.team-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-list i {
    color: var(--accent-color);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 25px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.patient-info strong {
    display: block;
    font-size: 1.1rem;
}

.patient-info span {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.stars {
    color: #f1c40f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.stars span {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Map & Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.contact-details h2 {
    text-align: left;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* WhatsApp Sticky */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--white);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-sticky:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-image-card { order: -1; max-width: 500px; margin: 0 auto; }
    .floating-badge { left: 0; bottom: -20px; }
    .team-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .section-padding { padding: 60px 0; }
    h2 { font-size: 2rem; }
    .footer-content { flex-direction: column; gap: 30px; }
}
