        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

	.justificado {
      	    text-align: justify;
    	}

        :root {
            --primary-color: #3498db;
            --secondary-color: #2ecc71;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
        }

        body {
            background-color: var(--light-color);
            color: var(--dark-color);
            line-height: 1.6;
        }

        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: bold;
            font-size: 1.5rem;
            color: var(--primary-color);
        }

        .logo-icon {
            color: var(--secondary-color);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .hero {
            background: linear-gradient(rgba(46, 204, 113, 0.1), rgba(52, 152, 219, 0.2));
            padding: 5rem 5%;
            text-align: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            color: #555;
        }

        .btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            background-color: var(--secondary-color);
            margin-left: 1rem;
        }

        .btn-secondary:hover {
            background-color: #27ae60;
        }

        .section {
            padding: 5rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .section-title::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
            margin: 0.5rem auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .service-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .service-content {
            padding: 1.5rem;
        }

        .service-icon {
            display: inline-block;
            background-color: rgba(52, 152, 219, 0.1);
            color: var(--primary-color);
            width: 60px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            font-size: 1.5rem;
            border-radius: 50%;
            margin-bottom: 1rem;
        }

        .service-title {
            margin-bottom: 0.5rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .about-text h3 {
	    margin-bottom: 1rem;
        }

        .contact-info {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
        }

        .contact-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .contact-icon {
            color: var(--primary-color);
        }

        .contact-form {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 3rem 5%;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .social-icon {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            color: white;
            transition: background-color 0.3s;
        }

        .social-icon:hover {
            background-color: var(--primary-color);
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Estilos para dispositivos móviles */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--dark-color);
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 70px;
                left: 0;
                background-color: white;
                width: 100%;
                flex-direction: column;
                gap: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                z-index: 100;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }

            .nav-links.active {
                max-height: 300px;
            }

            .nav-links a {
                display: block;
                padding: 1rem 2rem;
                border-bottom: 1px solid #eee;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .btn {
                display: block;
                margin: 1rem auto;
                width: 80%;
                text-align: center;
            }

            .btn-secondary {
                margin: 1rem auto;
            }
        }

        /* Animaciones */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate {
            animation: fadeIn 0.6s ease-out forwards;
        }

        .testimonials {
            margin-top: 3rem;
        }

        .testimonial-container {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
        }

        .testimonial-slide {
            display: none;
            padding: 2rem;
            text-align: center;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .testimonial-slide.active {
            display: block;
            animation: fadeIn 0.6s ease-out forwards;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
        }

        .testimonial-author {
            font-weight: bold;
            color: var(--primary-color);
        }

        .testimonial-nav {
            text-align: center;
            margin-top: 1.5rem;
        }

        .testimonial-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--dark-color);
            cursor: pointer;
            margin: 0 0.5rem;
            transition: color 0.3s;
        }

        .testimonial-btn:hover {
            color: var(--primary-color);
        }

        /* Loader para el formulario */
        .loader {
            display: none;
            width: 30px;
            height: 30px;
            border: 3px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s linear infinite;
            margin: 20px auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .success-message {
            display: none;
            background-color: var(--secondary-color);
            color: white;
            text-align: center;
            padding: 1rem;
            border-radius: 5px;
            margin-top: 1rem;
        }


/* ==== SUBMENÚ ==== */
.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 200;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--dark-color);
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background: var(--light-color);
}

/* Mostrar submenú en hover en escritorio */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Versión móvil: menú principal y submenú desplegable dentro del panel */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    background-color: white;
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  /* Cuando está activo: ocupa casi toda la pantalla y permite scroll */
  .nav-links.active {
    max-height: 90vh;     /* hasta el 90% de la pantalla */
    overflow-y: auto;     /* scroll interno si se pasa del alto */
  }

  .nav-links a,
  .dropdown > a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: center;
  }

  /* Submenú en móvil */
  .dropdown-menu {
    position: static;     /* se integra al flujo normal */
    box-shadow: none;
    border-radius: 0;
    background: white;
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 0.8rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
  }
}


.marquesina {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #fff;
  margin: 20px 0;
}

.marquesina-track {
  display: flex;
  width: max-content;
}

.marquesina-track img {
  margin-right: 20px;
}

/* Animación hacia la izquierda */
.izquierda .marquesina-track {
  animation: scroll-izquierda 10s linear infinite;
}

@keyframes scroll-izquierda {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Animación hacia la derecha */
.derecha .marquesina-track {
  animation: scroll-derecha 20s linear infinite;
}

@keyframes scroll-derecha {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

