/*
Theme Name: Quirólima Theme
Theme URI: https://quirolima.com
Description: Professional modern theme for Quirólima chiropractic clinic
Version: 2.0
Author: Quirólima
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

/* HEADER STICKY */
.site-header, header {
    background: #1B3A6B !important;
    padding: 15px 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

.site-header a, header a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.site-branding a {
    font-size: 1.5em !important;
    letter-spacing: 2px !important;
}

nav a {
    margin-left: 25px !important;
    font-size: 0.95em !important;
    opacity: 0.9 !important;
    transition: opacity 0.2s !important;
}

nav a:hover {
    opacity: 1 !important;
}

/* HERO SECTION */
.hero-section, .hero {
    background: linear-gradient(135deg, #1B3A6B 0%, #2d5a9e 100%) !important;
    color: white !important;
    padding: 100px 40px !important;
    text-align: center !important;
}

.hero-section h1, .hero h1 {
    font-size: 2.8em !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.hero-section p, .hero p {
    font-size: 1.2em !important;
    margin-bottom: 40px !important;
    opacity: 0.9 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* BUTTONS */
.btn-primary, .btn-whatsapp, a.cta-button {
    background: #25d366 !important;
    color: white !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 10px !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4) !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-primary:hover, .btn-whatsapp:hover, a.cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37,211,102,0.6) !important;
}

.btn-secondary {
    background: transparent !important;
    color: white !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 10px !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    transition: all 0.3s !important;
}

.btn-secondary:hover {
    border-color: white !important;
    background: rgba(255,255,255,0.1) !important;
}

/* CONDITIONS SECTION */
.conditions-section, .conditions {
    padding: 80px 40px !important;
    background: #f8f9fa !important;
}

.conditions-section h2, .conditions h2 {
    text-align: center !important;
    font-size: 2.2em !important;
    color: #1B3A6B !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.conditions-section .subtitle, .subtitle {
    text-align: center !important;
    color: #666 !important;
    margin-bottom: 50px !important;
    font-size: 1.1em !important;
}

.cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.card {
    background: white !important;
    padding: 35px 25px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    text-align: center !important;
    transition: all 0.3s !important;
    border-top: 4px solid #1B3A6B !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}

.card h3 {
    color: #1B3A6B !important;
    margin-bottom: 12px !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
}

.card p {
    color: #666 !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.card a {
    color: #25d366 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s !important;
}

.card a:hover {
    color: #20c355 !important;
}

/* ABOUT SECTION */
.about-section, .about {
    padding: 80px 40px !important;
    background: white !important;
}

.about-inner {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 60px !important;
    align-items: center !important;
}

.about-section h2, .about h2 {
    color: #1B3A6B !important;
    font-size: 2em !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
}

.about-section h3, .about h3 {
    color: #25d366 !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
}

.about-section ul, .about ul {
    list-style: none !important;
    margin: 20px 0 !important;
}

.about-section ul li, .about ul li {
    padding: 8px 0 !important;
    color: #555 !important;
}

.about-section ul li:before, .about ul li:before {
    content: "✅ " !important;
    color: #25d366 !important;
}

/* TESTIMONIALS SECTION */
.testimonials-section, .testimonials {
    padding: 80px 40px !important;
    background: #1B3A6B !important;
    color: white !important;
}

.testimonials-section h2, .testimonials h2 {
    text-align: center !important;
    font-size: 2.2em !important;
    margin-bottom: 50px !important;
    font-weight: 700 !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.testimonial-card {
    background: rgba(255,255,255,0.1) !important;
    padding: 30px !important;
    border-radius: 15px !important;
    transition: all 0.3s !important;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.15) !important;
}

.testimonial-card p {
    font-style: italic !important;
    line-height: 1.7 !important;
    margin-bottom: 15px !important;
    opacity: 0.95 !important;
}

.testimonial-card strong {
    color: #25d366 !important;
}

/* CTA SECTION */
.cta-section {
    padding: 80px 40px !important;
    background: #25d366 !important;
    text-align: center !important;
    color: white !important;
}

.cta-section h2 {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.cta-section p {
    font-size: 1.1em !important;
    margin-bottom: 30px !important;
    opacity: 0.95 !important;
}

.btn-cta {
    background: white !important;
    color: #25d366 !important;
    padding: 18px 50px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    display: inline-block !important;
    transition: all 0.3s !important;
}

.btn-cta:hover {
    transform: translateY(-2px) !important;
}

/* FOOTER */
footer, .site-footer {
    background: #0d2240 !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 50px 40px 30px !important;
    text-align: center !important;
}

footer a, .site-footer a {
    color: #25d366 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

footer a:hover, .site-footer a:hover {
    text-decoration: underline !important;
}

/* BLOG POSTS & PAGES */
.entry-title, article h1 {
    color: #1B3A6B !important;
    font-size: 2em !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.entry-content, article {
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.8 !important;
    padding: 40px !important;
    color: #555 !important;
}

.entry-content h2, article h2 {
    color: #1B3A6B !important;
    margin: 30px 0 15px !important;
    font-size: 1.6em !important;
    font-weight: 700 !important;
}

.entry-content h3, article h3 {
    color: #2d5a9e !important;
    margin: 20px 0 10px !important;
    font-size: 1.3em !important;
    font-weight: 600 !important;
}

.entry-content p, article p {
    margin-bottom: 15px !important;
}

.entry-content a, article a {
    color: #25d366 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.entry-content a:hover, article a:hover {
    text-decoration: underline !important;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: #25d366 !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    box-shadow: 0 5px 20px rgba(37,211,102,0.5) !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(37,211,102,0.7) !important;
}

.whatsapp-float svg {
    width: 35px !important;
    height: 35px !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .cards-grid, .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-section h1, .hero h1 {
        font-size: 1.8em !important;
    }
    
    .hero-section p, .hero p {
        font-size: 1em !important;
    }
    
    .about-inner {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .site-header, header {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 10px 20px !important;
    }
    
    nav {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    nav a {
        margin-left: 0 !important;
    }
    
    .conditions-section, .conditions,
    .about-section, .about,
    .testimonials-section, .testimonials,
    .cta-section {
        padding: 50px 20px !important;
    }
    
    .entry-content, article {
        padding: 20px !important;
    }
}
