/* Variables globales */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.social-mini {
    display: flex;
    gap: 1rem;
}

.social-mini a {
    color: white;
    transition: color 0.3s ease;
}

.social-mini a:hover {
    color: var(--secondary-color);
}

/* Header y Navegación */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 2.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-links li a i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--secondary-color);
}

.nav-links li a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 22px;
    height: 2px;
    background-color: #2c3e50;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Responsive Design para el menú */
@media screen and (max-width: 1200px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links li a {
        font-size: 0.9rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 1024px) {
    nav {
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .logo {
        min-width: 180px;
    }
    
    .logo img {
        height: 45px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
        padding: 0.5rem;
    }

    .burger div {
        width: 20px;
        height: 2px;
        background-color: #2c3e50;
        margin: 3px;
        transition: all 0.3s ease;
    }

    /* Animación del botón hamburguesa cuando está activo */
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    .nav-buttons {
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 0.5rem;
    }
    
    .logo {
        min-width: 140px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }

    .burger {
        padding: 0.4rem;
    }

    .burger div {
        width: 18px;
        height: 2px;
        margin: 2.5px;
    }

    .nav-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }

    .nav-buttons {
        gap: 0.4rem;
    }
}

@media screen and (max-width: 375px) {
    .logo {
        min-width: 120px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }

    .burger {
        padding: 0.3rem;
    }

    .burger div {
        width: 16px;
        height: 2px;
        margin: 2px;
    }

    .nav-cta {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 12px;
    }

    .nav-buttons {
        gap: 0.3rem;
    }
}

/* Hero Section */
#hero {
    height: 70vh;
    min-height: 500px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.cta-button:hover {
    background-color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    #hero {
        height: 60vh;
        min-height: 400px;
        background-attachment: scroll;
    }
    
    .hero-content {
        margin-top: 4rem;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    #hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content {
        padding: 0.5rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Servicios */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
    border-radius: 50%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.services-header p {
    color: var(--text-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-content {
    color: white;
}

.service-card:hover .service-icon {
    background: white;
}

.service-card:hover .service-icon i {
    color: var(--secondary-color);
}

.service-card:hover .service-features i {
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    transition: color 0.3s ease;
}

.service-content {
    padding: 0 2rem 2rem;
    text-align: center;
    transition: color 0.3s ease;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.services-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.services-cta p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
    width: 100%;
}

.services-cta .cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 0.9rem;
    display: inline-block;
}

.services-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsive Design para servicios */
@media screen and (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .service-card {
        margin: 0 1rem;
    }

    .services-cta {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 1rem 0;
    }

    .services-cta > div {
        padding: 2rem;
    }
}

/* Reemplazar los estilos de productos con los estilos de FAQ */
.faq-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.faq-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.faq-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 1rem auto 0;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-size: 1.05rem;
    font-weight: 500;
    color: #2c3e50;
    list-style: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #3498db;
    transition: all 0.3s ease;
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item summary:hover {
    background: linear-gradient(to right, #f8f9fa, white);
    color: #3498db;
}

.faq-content {
    padding: 0.5rem 1.5rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.faq-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

/* Animación para cuando se abre */
.faq-item[open] {
    background: white;
}

.faq-item[open] summary {
    color: #3498db;
    font-weight: 600;
}

/* Efecto hover en las preguntas */
.faq-item summary:hover::after {
    color: #2980b9;
    transform: scale(1.1);
}

/* Diseño responsivo */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 1.2rem;
    }

    .faq-content {
        padding: 0.5rem 1.2rem 1.2rem;
    }

    .faq-content p {
        font-size: 0.95rem;
    }
}

/* Animación suave para el contenido */
.faq-content {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contacto */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-color);
    font-size: 1.2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
}

.contact-form-container {
    padding: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.input-group.full-width {
    flex: 0 0 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    height: 150px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.submit-button i {
    font-size: 1.2rem;
}

.contact-info-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.map-link:hover {
    text-decoration: underline;
}

.note {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design para la sección de contacto */
@media screen and (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .social-links {
        margin-top: 2rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section .social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.footer-section .social-links a {
    color: var(--white);
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-section .social-links a:hover {
    transform: translateY(-5px);
    border-color: var(--white);
}

.footer-section .social-links a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-section .social-links a.instagram:hover {
    background: #e4405f;
    border-color: #e4405f;
}

.footer-section .social-links a.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer-section .social-links {
        justify-content: center;
    }
    
    .footer-section .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Carrusel de Productos */
.products-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* Ajustes para dispositivos móviles */
@media screen and (max-width: 768px) {
    .products-carousel {
        padding: 0 30px;
    }

    .carousel-btn {
        padding: 0.8rem;
    }

    .carousel-slide {
        grid-template-columns: 1fr;
    }
}

/* Sección del Médico */
.doctor-profile {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e6f2ff 100%);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 3/4;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.profile-image:hover .profile-overlay {
    opacity: 1;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.profile-info h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.profile-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.profile-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-info ul {
    list-style: none;
    padding-left: 0;
}

.profile-info ul li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.profile-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.specialty-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
}

.specialty-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.specialty-item span {
    font-weight: 500;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.cert-item {
    text-align: center;
}

.cert-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.cert-item p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Responsive Design para la sección del médico */
@media screen and (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .profile-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.services-bg .services-header h2,
.services-bg .services-header p,
.services-bg .service-card,
.services-bg .services-cta p {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.services-bg .service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-bg .service-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.services-bg .services-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
}

.services-bg .cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.services-bg .cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.services-cta-section {
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.services-cta-container {
    max-width: 400px;
    margin: 0 auto;
}

.services-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.services-cta p {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}

.services-cta .cta-button {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 0.9rem;
    display: inline-block;
}

.pricing-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.price-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.price-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.price-icon i {
    font-size: 2rem;
    color: white;
}

.price-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--secondary-color);
}

.price-amount .prefix {
    font-size: 0.9rem;
    color: #666;
    margin-right: 0.3rem;
}

.price-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-amount .amount {
    font-size: 2rem;
    font-weight: 700;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

@media screen and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .price-card h3 {
        font-size: 1.1rem;
    }

    .price-amount .amount {
        font-size: 1.8rem;
    }
}

/* Sección de Información */
.info-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e6f2ff 100%);
}

.info-header {
    text-align: center;
    margin-bottom: 3rem;
}

.info-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.timeline-dot:hover {
    opacity: 0.7;
}

.info-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.timeline-cards {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.info-card {
    min-width: 100%;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card.active {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-content {
    position: relative;
    z-index: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.info-icon i {
    color: white;
    font-size: 1.5rem;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Sección de Información Visual */
.visual-info-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.visual-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.visual-info-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.visual-info-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.2;
}

.visual-info-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.visual-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.visual-info-card {
    background: white;
    border-radius: 15px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visual-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.visual-info-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.visual-info-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.visual-info-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    min-height: auto;
    line-height: 1.4;
    font-weight: 600;
}

.visual-info-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

@media screen and (max-width: 1200px) {
    .visual-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .visual-info-card {
        padding: 1.8rem 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .visual-info-section {
        padding: 3rem 1rem;
    }

    .visual-info-header {
        margin-bottom: 2rem;
    }

    .visual-info-header h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .visual-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .visual-info-card {
        padding: 1.8rem 1.5rem;
        margin: 0 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .visual-info-section {
        padding: 2.5rem 0.5rem;
    }

    .visual-info-header h2 {
        font-size: 1.5rem;
    }

    .visual-info-grid {
        padding: 0.3rem;
    }

    .visual-info-card {
        padding: 1.8rem 1.2rem;
        margin: 0 0.3rem;
    }

    .visual-info-icon {
        width: 60px;
        height: 60px;
    }

    .visual-info-icon i {
        font-size: 1.5rem;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float i {
    margin-right: 0;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-text {
    font-size: 16px;
    font-weight: 600;
    display: none;
    margin-left: 10px;
    margin-right: 5px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba57;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.25);
    padding: 15px 25px 15px 20px;
}

.whatsapp-float:hover .whatsapp-text {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover i {
    animation: none;
    transform: scale(1.1);
}

.whatsapp-float:hover {
    padding: 12px;
    transform: scale(1.1);
}

.whatsapp-text {
    display: none !important;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* Responsive Design para top-bar */
@media screen and (max-width: 1024px) {
    .contact-info {
        gap: 1rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        position: relative;
        padding: 0.5rem 0;
        display: block;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .contact-info span {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    /* Estilos específicos para agrupar elementos en móvil */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .contact-info span:nth-child(1),
    .contact-info span:nth-child(2) {
        margin: 0;
        padding: 0;
    }

    .contact-info span:nth-child(3),
    .contact-info span:nth-child(4) {
        margin: 0;
        padding: 0;
    }

    /* Contenedor para la primera línea */
    .contact-info span:nth-child(1) {
        margin-right: 1rem;
        display: inline-flex !important;
    }

    .contact-info span:nth-child(2) {
        display: inline-flex !important;
    }

    /* Contenedor para la segunda línea */
    .contact-info span:nth-child(3) {
        margin-right: 1rem;
        display: inline-flex !important;
    }

    .contact-info span:nth-child(4) {
        display: inline-flex !important;
    }

    .hide-mobile {
        display: none;
    }

    header {
        top: auto;
    }

    .social-mini {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .top-bar {
        padding: 0.4rem 0;
    }

    .contact-info {
        font-size: 0.85rem;
    }

    .contact-info span {
        gap: 0.5rem;
    }

    .contact-info span i {
        font-size: 1rem;
    }
}

.reviews {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.reviews-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

.doctoralia-widget,
.doctoralia-reviews-widget {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .doctoralia-widget,
    .doctoralia-reviews-widget {
        padding: 10px;
    }
    
    .reviews-header h2 {
        font-size: 2rem;
    }
}

/* Sección de Opiniones */
.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.reviews-header p {
    font-size: 1.1rem;
    color: #666;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 20px;
}

.review-stars i {
    margin-right: 5px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-name {
    font-weight: bold;
    color: #333;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
}

.reviews-footer {
    text-align: center;
    margin-top: 40px;
}

.reviews-footer p {
    color: #666;
    margin-bottom: 15px;
}

.reviews-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.reviews-link:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-header h2 {
        font-size: 2rem;
    }
}

.reviews-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 1.5rem 0 2.5rem;
    padding: 1rem 4rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    height: 100px;
}

.stat-card {
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    min-width: 180px;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 1px;
    background: #e0e0e0;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0.2rem 0;
    font-weight: 700;
}

.stat-card p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .reviews-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem;
        height: auto;
    }

    .stat-card:not(:last-child)::after {
        display: none;
    }

    .stat-card {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e0e0e0;
        min-width: auto;
    }

    .stat-card:last-child {
        border-bottom: none;
    }
}

.form-response {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-response i {
    margin-right: 0.5rem;
}

/* Estilos para la ventana modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal.success i {
    color: #28a745;
}

.modal.error i {
    color: #dc3545;
}

.modal p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.modal button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: var(--primary-color);
}

/* Estilos del Modal */
.menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: #2c3e50;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.modal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-links li {
    margin-bottom: 1rem;
}

.modal-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.modal-links a:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

.modal-links i {
    margin-right: 0.5rem;
    width: auto;
    text-align: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries para móvil */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
        padding: 0.5rem;
    }

    .burger div {
        width: 20px;
        height: 2px;
        background-color: #2c3e50;
        margin: 3px;
        transition: all 0.3s ease;
    }

    /* Animación del botón hamburguesa cuando está activo */
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-4px, 5px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    .nav-buttons {
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .burger {
        padding: 0.4rem;
    }

    .burger div {
        width: 18px;
        height: 2px;
        margin: 2.5px;
    }

    .nav-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }

    .nav-buttons {
        gap: 0.4rem;
    }
}

@media screen and (max-width: 375px) {
    .burger {
        padding: 0.3rem;
    }

    .burger div {
        width: 16px;
        height: 2px;
        margin: 2px;
    }

    .nav-cta {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 12px;
    }

    .nav-buttons {
        gap: 0.3rem;
    }
}

@media screen and (max-width: 425px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-links a {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .close-modal {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 320px) {
    .modal-content {
        padding: 1.2rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-links a {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .close-modal {
        font-size: 1.2rem;
    }
}

/* Estilos específicos para el menú de opiniones en PC */
.reviews-nav {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.reviews-nav .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0.8rem 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-nav .nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0;
}

.reviews-nav .logo img {
    height: 40px;
    width: auto;
}

.reviews-nav .logo h1 {
    font-size: 1.2rem;
}

.reviews-nav .nav-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Ajuste para el contenido principal cuando el menú está fijo */
.reviews-section {
    padding-top: 70px; /* Reducido de 80px a 70px */
}

/* Media queries para el menú de opiniones */
@media screen and (max-width: 768px) {
    .reviews-nav {
        position: relative;
    }
    
    .reviews-nav .nav-links {
        display: none;
    }
    
    .reviews-section {
        padding-top: 0;
    }
}

/* Estilos específicos para la página Conócenos */
.conocenos-section {
    padding: 40px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.conocenos-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.conocenos-header {
    text-align: center;
    margin-bottom: 30px;
}

.conocenos-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.conocenos-header p {
    font-size: 1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.conocenos-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.conocenos-stat-card {
    text-align: center;
    padding: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.conocenos-stat-card i {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
    background: rgba(52, 152, 219, 0.1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    display: inline-block;
}

.conocenos-stat-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0.2rem 0;
    font-weight: 700;
}

.conocenos-stat-card p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .conocenos-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 0.8rem;
    }

    .conocenos-stat-card {
        width: 100%;
        padding: 0.6rem;
    }
}

.conocenos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.conocenos-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.conocenos-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.conocenos-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
    background: rgba(52, 152, 219, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    display: inline-block;
}

.conocenos-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.conocenos-footer {
    text-align: center;
    margin-top: 3rem;
}

.conocenos-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

@media screen and (max-width: 768px) {
    .conocenos-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .conocenos-stat-card {
        width: 100%;
        padding: 0.8rem;
    }

    .conocenos-header h2 {
        font-size: 1.8rem;
    }

    .conocenos-grid {
        grid-template-columns: 1fr;
    }

    .conocenos-image {
        height: 160px;
    }
} 