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

html {
    zoom: 0.8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #5b3fa0;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    white-space: nowrap;
    margin-left: 3rem;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #5b3fa0;
}

/* Ocultar opción de login en desktop */
.navbar-menu .mobile-only {
    display: none;
}

.buttons-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding-left: 1rem;
}

.buttons-group {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.btn-login {
    background: white;
    color: #5b3fa0;
    border: 2px solid #5b3fa0;
    padding: 0.45rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.85rem;
}

.btn-login:hover {
    background: #5b3fa0;
    color: white;
}

.btn-contacto {
    background: #28a745;
    color: white;
    border: 2px solid #28a745;
    padding: 0.45rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-contacto:hover {
    background: #218838;
    border-color: #218838;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.navbar-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-menu.active li {
    border-bottom: 1px solid #eee;
}

.navbar-menu.active li:last-child {
    border-bottom: none;
}

/* Mostrar opción de login en móvil */
.navbar-menu.active .mobile-only {
    display: block;
}

.navbar-menu.active .menu-login {
    color: #5b3fa0;
    font-weight: 600;
}

.navbar-menu.active a {
    display: block;
    padding: 1rem 2rem;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(30, 10, 60, 0.62), rgba(30, 10, 60, 0.62)),
        url('../assets/hero-veterinaria.jpg') center center / cover no-repeat;
    color: white;
    padding: 60px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-image {
    display: none;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .highlight {
    color: #1dd1a1;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: 500px;
    object-fit: cover;
}

.btn-primary {
    background: #1dd1a1;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #16a085;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SERVICIOS SECTION */
.servicios {
    padding: 80px 20px;
    background: #f8f9fa;
}

.servicios h2,
.equipo h2,
.testimonios h2,
.experiencia h2,
.noticias-section h2,
.contacto h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.servicio-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servicio-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #5b3fa0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.servicio-icon i {
    font-size: 3.5rem !important;
    color: #5b3fa0 !important;
    line-height: 1;
}

.servicio-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(67%) saturate(1369%) hue-rotate(245deg);
}

.servicio-card h3 {
    color: #5b3fa0;
    margin-bottom: 0.5rem;
}

.servicio-card p {
    color: #666;
    font-size: 0.95rem;
}

/* SERVICIO CARD LINK */
.servicio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.servicio-card-link:hover .servicio-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* SERVICIO HERO SECTION */
.servicio-hero {
    background: linear-gradient(135deg, #5b3fa0 0%, #8b6bb6 100%);
    color: white;
    padding: 100px 20px 60px;
    text-align: center;
}

.servicio-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.servicio-hero-content h1 i {
    font-size: 3rem;
}

.servicio-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* SERVICIO DETALLE SECTION */
.servicio-detalle {
    padding: 80px 20px;
    background: white;
}

.servicio-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.servicio-content h2 {
    color: #5b3fa0;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.servicio-content h2 i {
    font-size: 2rem;
    color: #5b3fa0;
}

.servicio-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.servicio-lista {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.servicio-lista li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.servicio-lista i {
    color: #1dd1a1;
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.destacado {
    background: linear-gradient(135deg, #5b3fa0 0%, #8b6bb6 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 3rem 0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(91, 63, 160, 0.2);
}

.destacado i {
    font-size: 3rem;
    flex-shrink: 0;
}

.destacado p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
}

.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #5b3fa0;
    margin: 2rem 0;
}

.info-box h3 {
    color: #5b3fa0;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.info-box strong {
    color: #333;
}

.pack-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.pack-item h3 {
    color: #5b3fa0;
    margin-bottom: 0.5rem;
}

.pack-item p {
    color: #555;
    margin-bottom: 1rem;
}

.vacunacion-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.medicina-preventiva-desc {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #1dd1a1;
    margin: 1.5rem 0;
}

.cta-section {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: #5b3fa0;
    border: 2px solid #5b3fa0;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5b3fa0;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(91, 63, 160, 0.2);
}

/* TABS NAVIGATION */
.tabs-navigation {
    display: flex;
    gap: 10px;
    margin: 3rem 0 2rem;
    border-bottom: 2px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn:hover {
    color: #5b3fa0;
}

.tab-btn.active {
    color: #5b3fa0;
    border-bottom-color: #5b3fa0;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PACKS GRID */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.pack-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(91, 63, 160, 0.15);
    border-color: #5b3fa0;
}

.pack-card.featured {
    border-color: #1dd1a1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.pack-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #1dd1a1;
    color: white;
    padding: 5px 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(29, 209, 161, 0.3);
}

.pack-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5b3fa0 0%, #8b6bb6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pack-card.featured .pack-icon {
    background: linear-gradient(135deg, #1dd1a1 0%, #16a085 100%);
}

.pack-icon i {
    font-size: 2.5rem;
    color: white;
}

.pack-card h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.pack-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pack-features li {
    padding: 0.8rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.pack-features li:last-child {
    border-bottom: none;
}

.pack-features i {
    color: #1dd1a1;
    font-size: 1.2rem;
}

/* SUBTABS NAVIGATION */
.subtabs-navigation {
    display: flex;
    gap: 10px;
    margin: 2rem 0;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.subtab-btn {
    flex: 1;
    background: white;
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.subtab-btn:hover {
    color: #5b3fa0;
    border-color: #5b3fa0;
}

.subtab-btn.active {
    background: #5b3fa0;
    color: white;
}

.subtab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

/* CALENDARIO TABLE */
.calendario-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.calendario-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.calendario-table thead {
    background: linear-gradient(135deg, #5b3fa0 0%, #8b6bb6 100%);
    color: white;
}

.calendario-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.calendario-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.calendario-table tbody tr:last-child td {
    border-bottom: none;
}

.calendario-table tbody tr:hover {
    background: #f8f9fa;
}

.calendario-table td strong {
    color: #5b3fa0;
    font-weight: 600;
}


/* EQUIPO SECTION */
.equipo {
    padding: 80px 20px;

}

/* Carousel Styles */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    padding: 0 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.team-card {
    flex: 0 0 calc(50% - 20px);
    margin: 0 10px;
    text-align: center;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: top;
}

.team-card h3 {
    color: #333;
    margin: 1rem 0 0.3rem;
    font-size: 1.1rem;
}

.team-card .role {
    color: #5b3fa0;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.team-card .bio {
    color: #666;
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
}

/* Carousel Buttons */
.carousel-btn {
    display: flex;
    background: #5b3fa0;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #3d2670;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #5b3fa0;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: #5b3fa0;
}

.team-card .bio {
    color: #666;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* TESTIMONIOS SECTION */
.testimonios {
    padding: 80px 20px;
    background: white;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #5b3fa0;
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.testimonial-author h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonial-author .date {
    color: #999;
    font-size: 0.85rem;
}

/* CONTACTO SECTION */
.contacto {
    padding: 80px 20px;
}

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

.contacto-info h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.contacto-info .section-subtitle {
    text-align: left;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.5rem;
    min-width: 30px;
    color: #5b3fa0;
    display: flex;
    align-items: center;
}

.contact-item .icon i {
    font-size: 1.5rem;
    color: #5b3fa0;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
}

.contact-text {
    color: #666;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contacto-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* EXPERIENCIA SECTION */
.experiencia {
    padding: 80px 20px;
    background: #f8f9fa;
}

.experiencia-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.experiencia-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 2.5rem;
    color: #5b3fa0;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.experiencia-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5b3fa0;
    box-shadow: 0 0 0 3px rgba(91, 63, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.rating-stars label:hover,
.rating-stars label:hover~label,
.rating-stars input[type="radio"]:checked~label {
    color: #ffc107;
}

.btn-submit {
    background: #5b3fa0;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #3d2670;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(91, 63, 160, 0.3);
}

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

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #5b3fa0 0%, #3d2670 100%);
    padding: 60px 30px 30px;
    color: white;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 100px;
    align-items: start;
    margin-bottom: 40px;
}

/* Redes Sociales */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

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

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    color: #7b2cbf;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.footer-social-icon:hover {
    background: #7b2cbf;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Enlaces de Navegación */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

/* Información de Contacto */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-info-item i {
    font-size: 1.1rem;
    min-width: 20px;
}

/* Separador */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.footer-credits {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.footer-credits i {
    color: #ff6b9d;
    font-size: 1rem;
}

.footer-credits strong {
    color: white;
}

/* Logo del Footer */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    opacity: 0.9;
}

/* Estilos antiguos para compatibilidad */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon i {
    font-size: 1.3rem;
}

.social-icon:hover {
    background: white;
    color: #5b3fa0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-nav {
        padding-left: 0;
        align-items: center;
    }

    .footer-info {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.8rem 15px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .buttons-section {
        display: none;
    }

    .logo-img {
        height: 50px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        max-height: 350px;
    }

    .servicios h2,
    .equipo h2,
    .testimonios h2,
    .contacto h2,
    .experiencia h2 {
        font-size: 2rem;
    }

    .contacto-container {
        grid-template-columns: 1fr;
    }

    .experiencia-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .experiencia-form {
        padding: 30px;
    }

    .contacto-map {
        height: 300px;
    }

    .servicios-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex: 0 0 calc(50% - 15px);
        margin: 0 7px;
    }

    .team-card img {
        height: 180px;
    }

    .carousel-wrapper {
        padding: 0 15px;
    }

    .carousel-container {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .servicio-hero-content h1 {
        font-size: 2rem;
    }

    .servicio-hero-content p {
        font-size: 1rem;
    }

    .servicio-content h2 {
        font-size: 1.5rem;
    }

    .destacado {
        flex-direction: column;
        text-align: center;
    }

    .cta-section {
        flex-direction: column;
    }

    .btn-secondary {
        width: 100%;
    }

    .tab-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

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

    .calendario-table {
        font-size: 0.95rem;
    }

    .calendario-table th,
    .calendario-table td {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0.8rem 15px;
    }

    .logo-img {
        height: 45px;
    }

    .navbar-toggle span {
        width: 24px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-image img {
        max-height: 300px;
    }

    .servicios,
    .equipo,
    .testimonios,
    .contacto,
    .experiencia {
        padding: 40px 20px;
    }

    .servicios h2,
    .equipo h2,
    .testimonios h2,
    .contacto h2,
    .experiencia h2 {
        font-size: 1.5rem;
    }

    .experiencia-form {
        padding: 20px;
    }

    .rating-stars label {
        font-size: 2rem;
    }

    .carousel-wrapper {
        padding: 0 10px;
    }

    .team-card {
        flex: 0 0 100%;
        margin: 0;
    }

    .team-card img {
        height: 200px;
    }

    .team-card h3 {
        font-size: 0.95rem;
    }

    .team-card .role,
    .team-card .bio {
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .servicio-hero {
        padding: 60px 20px 40px;
    }

    .servicio-hero-content h1 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .servicio-hero-content h1 i {
        font-size: 2rem;
    }

    .servicio-hero-content p {
        font-size: 0.95rem;
    }

    .servicio-detalle {
        padding: 40px 20px;
    }

    .servicio-content h2 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .servicio-content h3 {
        font-size: 1.1rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .destacado {
        padding: 20px;
    }

    .destacado i {
        font-size: 2rem;
    }

    .destacado p {
        font-size: 1rem;
    }

    .tabs-navigation {
        gap: 5px;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        flex-direction: column;
        gap: 5px;
    }

    .tab-btn i {
        font-size: 1.1rem;
    }

    .pack-card {
        padding: 20px;
    }

    .pack-icon {
        width: 60px;
        height: 60px;
    }

    .pack-icon i {
        font-size: 2rem;
    }

    .pack-card h4 {
        font-size: 1.2rem;
    }

    .calendario-table {
        font-size: 0.85rem;
    }

    .calendario-table th,
    .calendario-table td {
        padding: 0.8rem;
    }

    .subtab-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* MENSAJE DE ÉXITO - FORMULARIO EXPERIENCIA */
.form-success-msg {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 28px 32px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
    animation: slideDown 0.4s ease-out;
}

.form-success-msg i {
    font-size: 2.8rem;
    flex-shrink: 0;
}

.form-success-msg strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.form-success-msg p {
    margin: 0;
    opacity: 0.92;
    font-size: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   MODAL PERFIL DOCTOR
   =========================== */
.doctor-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 20, 60, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.doctor-modal-box {
    background: #fff;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(91, 63, 160, 0.3);
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.85) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.doctor-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 2;
}

.doctor-modal-close:hover {
    color: #5b3fa0;
    transform: rotate(90deg);
}

.doctor-modal-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 380px;
}

/* --- Columna izquierda: foto --- */
.doctor-modal-left {
    background: linear-gradient(160deg, #5b3fa0 0%, #3d2670 100%);
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 32px;
    text-align: center;
    gap: 12px;
}

.doctor-modal-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.doctor-modal-left h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
}

.doctor-modal-role {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* --- Columna derecha: estudios --- */
.doctor-modal-right {
    padding: 36px 32px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctor-modal-studies-title {
    color: #5b3fa0;
    font-size: 1.1rem;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-modal-studies-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-modal-studies-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #444;
    font-size: 0.93rem;
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.doctor-modal-studies-list li:last-child {
    border-bottom: none;
}

.doctor-modal-studies-list li i {
    color: #5b3fa0;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive modal */
@media (max-width: 640px) {
    .doctor-modal-content {
        grid-template-columns: 1fr;
    }

    .doctor-modal-left {
        border-radius: 20px 20px 0 0;
        padding: 28px 20px 24px;
    }

    .doctor-modal-right {
        padding: 24px 20px;
    }
}

/* ===========================
   SECCIÓN NOTICIAS (LANDING)
   =========================== */
.noticias-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.noticias-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Grid de tarjetas */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Tarjeta individual */
.noticia-pub-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(91, 63, 160, 0.10);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ede8ff;
    display: flex;
    flex-direction: column;
}

.noticia-pub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Imagen */
.noticia-pub-img {
    width: 100%;
    overflow: hidden;
    max-height: 220px;
}

.noticia-pub-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.noticia-pub-card:hover .noticia-pub-img img {
    transform: scale(1.04);
}

/* Video */
.noticia-pub-video {
    width: 100%;
    background: #0c0c0c;
}

.noticia-pub-video video {
    width: 100%;
    display: block;
    max-height: 240px;
    object-fit: cover;
}

/* Cuerpo de la tarjeta */
.noticia-pub-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.noticia-pub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d1f5e;
    line-height: 1.4;
}

.noticia-pub-date {
    font-size: 0.82rem;
    color: #a89cc8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.noticia-pub-text {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    flex: 1;
}

/* Facebook Embed */
.noticia-fb-embed {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f2f5;
    margin-top: 10px;
    min-height: 100px;
}

.noticia-fb-embed iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border-radius: 10px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }

    .noticias-section h2 {
        font-size: 1.7rem;
    }
}