* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

header {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo i {
    font-size: 28px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.logo h1 {
    font-size: 20px;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

nav a:hover, nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 60px 15px;
    margin-bottom: 25px;
    border-radius: 16px;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.hero p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 25px;
    border: none;
}

.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.profile-img {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.profile-img img {
    width: 100%;
    max-width: 280px;
    border-radius: 50%;
    border: 4px solid #0288d1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-info {
    flex: 2;
    min-width: 250px;
}

.profile-info h2 {
    color: #0288d1;
    margin-bottom: 15px;
    font-size: 24px;
}

.profile-info p {
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    flex: 1;
    min-width: 200px;
}

.contact-item i {
    font-size: 20px;
    color: #0288d1;
    margin-right: 12px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #0288d1;
}

.service-item h3 {
    color: #0288d1;
    margin-bottom: 8px;
    font-size: 18px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-table th, .pricing-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pricing-table th {
    background-color: #0288d1;
    color: white;
}

.pricing-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.pricing-table tr:hover {
    background-color: #f1f1f1;
}

.price {
    font-weight: bold;
    color: #0288d1;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
    margin-right: 8px;
}

.discount-badge {
    background-color: #0097a7;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-left: 10px;
}

.note {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-size: 14px;
}

.btn {
    display: inline-block;
    background: #0288d1;
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
}

.btn:hover {
    background: #01579b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 280px;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.2em;
}

.btn-doctoralia {
    background: #0097a7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 280px;
}

.btn-doctoralia:hover {
    background: #006978;
}

.btn-doctoralia i {
    margin-right: 10px;
    font-size: 1.2em;
}

.promo-banner {
    background: linear-gradient(135deg, #0097a7 0%, #006978 100%);
    color: white;
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-banner h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.promo-banner p {
    font-size: 16px;
    margin-bottom: 12px;
}

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.review-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #0097a7;
}

.review-item h3 {
    color: #0097a7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.review-item h3 i {
    margin-right: 8px;
}

.stars {
    color: #FFD700;
    margin-bottom: 8px;
}

.breadcrumb {
    padding: 8px 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0288d1;
    text-decoration: none;
}

.breadcrumb span {
    color: #999;
}

.seo-content {
    margin: 25px 0;
    line-height: 1.7;
}

.seo-content h2 {
    color: #0288d1;
    margin: 20px 0 12px;
    font-size: 22px;
}

.seo-content h3 {
    color: #01579b;
    margin: 18px 0 10px;
    font-size: 18px;
}

.seo-content ul, .seo-content ol {
    margin: 12px 0 12px 25px;
}

.seo-content li {
    margin-bottom: 6px;
    font-size: 15px;
}

.highlight {
    background-color: #e1f5fe;
    border-left: 4px solid #0288d1;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 25px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h3 {
    margin-bottom: 12px;
    color: #4fc3f7;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.social-icons a {
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #4fc3f7;
}

.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.doctoralia-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 145px;
    right: 20px;
    background-color: #0097a7;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 26px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.doctoralia-float:hover {
    background-color: #006978;
    transform: scale(1.1);
}

/* Barra de navegación inferior estilo app */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #0288d1;
    background-color: rgba(2, 136, 209, 0.1);
}

.nav-item:hover {
    color: #0288d1;
}

/* Nuevos estilos para la sección de artículos */
.articles-section {
    margin: 30px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    color: #0288d1;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
}

.article-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3; /* Propiedad estándar */
    -webkit-box-orient: vertical;
    box-orient: vertical; /* Propiedad estándar */
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.read-more {
    color: #0288d1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

.article-header {
    background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.article-content-full {
    line-height: 1.8;
    font-size: 16px;
}

.article-content-full h2 {
    color: #0288d1;
    margin: 25px 0 15px;
    font-size: 24px;
}

.article-content-full h3 {
    color: #01579b;
    margin: 20px 0 12px;
    font-size: 20px;
}

.article-content-full p {
    margin-bottom: 15px;
}

.article-content-full ul, .article-content-full ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.article-content-full li {
    margin-bottom: 8px;
}

.article-image-full {
    width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-to-articles {
    display: inline-flex;
    align-items: center;
    color: #0288d1;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
}

.back-to-articles i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 12px;
        justify-content: center;
    }
    
    nav li {
        margin: 0 8px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .whatsapp-float, .doctoralia-float {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
        font-size: 22px;
    }
    
    .doctoralia-float {
        bottom: 130px;
    }
    
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-item {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header {
        padding: 20px;
    }
}