:root {
    --primary: #1a5f4a;
    --primary-dark: #124a39;
    --primary-light: #2d8a6e;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --whatsapp: #25d366;
    --gradient-1: linear-gradient(135deg, #1a5f4a 0%, #0ea5e9 100%);
    --gradient-2: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(37, 211, 102, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--surface-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-logo i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--gradient-1);
    padding: 10px 20px;
    border-radius: 25px;
    color: white !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: radial-gradient(ellipse at top right, rgba(26, 95, 74, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
                var(--background);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.hero-badge i {
    color: var(--accent);
}

.separator {
    opacity: 0.5;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-description i {
    color: var(--accent);
}

.hero-cedula {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn i {
    font-size: 1.2rem;
}

.btn-note {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 5px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    flex-direction: column;
    padding: 20px 35px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(26, 95, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline {
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text);
    color: var(--text);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-card {
    width: 350px;
    height: 350px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.doctor-card i {
    font-size: 150px;
    color: white;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--background);
    border: 1px solid var(--surface-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Services Detail Section */
.services-detail {
    padding: 100px 20px;
    background: var(--background);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--surface-light);
    color: var(--text-muted);
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.service-detail {
    background: var(--surface);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--surface-light);
}

.service-detail h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-detail h4 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.service-detail ul {
    list-style: none;
}

.service-detail li {
    padding: 8px 0;
    color: var(--text-muted);
}

.price-tag {
    display: inline-block;
    background: var(--gradient-2);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 30px;
}

/* Prices Section */
.prices {
    padding: 100px 20px;
    background: var(--surface);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--background);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 100px 20px;
    background: var(--background);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 180px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 50px;
    color: white;
    opacity: 0.8;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--secondary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--surface-light);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta i {
    margin-right: 5px;
}

.blog-cta {
    text-align: center;
}

/* Zone Section */
.zone {
    padding: 100px 20px;
    background: var(--surface);
}

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

.zone-map {
    height: 350px;
    background: var(--background);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-light);
}

.zone-map i {
    font-size: 80px;
    color: var(--accent);
}

.zone-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.zone-info ul {
    list-style: none;
    margin: 20px 0;
}

.zone-info li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zone-info li i {
    color: var(--accent);
}

.zone-note {
    margin-top: 30px;
    padding: 20px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--secondary);
}

.zone-note i {
    color: var(--secondary);
    margin-right: 10px;
}

/* Billing Section */
.billing {
    padding: 100px 20px;
    background: var(--background);
}

.billing-content {
    max-width: 600px;
    margin: 0 auto;
}

.billing-card {
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
}

.billing-card i {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 25px;
}

.billing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.billing-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.billing-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.billing-features span {
    background: var(--background);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.billing-features i {
    font-size: 0.9rem;
    margin-right: 5px;
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--surface);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-light);
    width: 30px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--text-muted);
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-cta {
    background: var(--background);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    padding: 60px 20px 30px;
    background: var(--background);
    border-top: 1px solid var(--surface-light);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.footer-description {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        align-items: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .price-card.featured {
        transform: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .zone-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-detail {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid var(--surface-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .doctor-card {
        width: 250px;
        height: 250px;
    }

    .doctor-card i {
        font-size: 100px;
    }

    .billing-card {
        padding: 30px;
    }

    .billing-features {
        flex-direction: column;
        align-items: center;
    }
}

/* Blog Article Pages */
.blog-article {
    max-width: 800px;
    margin: 120px auto 100px;
    padding: 0 20px;
}

.blog-article-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-article-category {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-article h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-article-meta {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.blog-article-meta i {
    margin-right: 8px;
}

.blog-article-content {
    background: var(--surface);
    border: 1px solid var(--surface-light);
    border-radius: 20px;
    padding: 50px;
}

.blog-article-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--accent);
}

.blog-article-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.blog-article-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-article-content li {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--background);
    border-radius: 10px;
    overflow: hidden;
}

.blog-article-content th,
.blog-article-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--surface-light);
}

.blog-article-content th {
    background: var(--primary);
    color: white;
}

.blog-article-content tr:hover {
    background: rgba(255,255,255,0.05);
}

.price-highlight {
    display: inline-block;
    background: var(--gradient-2);
    padding: 3px 15px;
    border-radius: 20px;
    font-weight: 600;
    color: white;
}

.blog-cta-box {
    background: linear-gradient(135deg, rgba(26, 95, 74, 0.3), rgba(14, 165, 233, 0.2));
    border: 1px solid var(--primary-light);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.blog-cta-box h3 {
    margin-bottom: 15px;
}

.blog-cta-box .btn {
    margin-top: 15px;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--text);
}

/* Blog Listing Page */
.blog-list {
    padding: 120px 20px 100px;
}

.blog-list-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-list-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--surface-light);
    color: var(--text-muted);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .blog-article h1 {
        font-size: 1.8rem;
    }

    .blog-article-content {
        padding: 30px;
    }

    .blog-article-content h2 {
        font-size: 1.4rem;
    }

    .blog-list-title {
        font-size: 2rem;
    }
}