       :root {
            --primary-color: #FFD700;
            --secondary-color: #000;
            --accent-color: #0047AB;
            --text-color: #333;
            --light-color: #f8f9fa;
            --dark-color: #222;
            --footer-bg: #1a1a1a;
            --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.4s ease;
            --border-radius: 12px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            background-color: var(--light-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* Barra de navegación mejorada */
        nav {
            background-color: white;
            padding: 1rem clamp(1rem, 3vw, 3rem);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        nav.scrolled {
            padding: 0.8rem clamp(1rem, 3vw, 3rem);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: clamp(8px, 1.5vw, 16px);
            text-decoration: none;
            transition: var(--transition);
            z-index: 101;
        }

        .logo-container:hover {
            transform: translateY(-2px);
        }

        .logo-img {
            height: clamp(50px, 6vw, 65px);
            width: auto;
            object-fit: contain;
        }

        .logo-text {
            color: var(--secondary-color);
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.1rem, 2.2vw, 1.7rem);
            margin: 0;
            white-space: nowrap;
        }

        .logo-text span {
            color: var(--accent-color);
        }

        /* Menú hamburguesa */
        .hamburger-menu {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 32px;
            height: 24px;
            cursor: pointer;
            z-index: 101;
            position: relative;
        }

        .hamburger-line {
            width: 100%;
            height: 3px;
            background-color: var(--secondary-color);
            transition: var(--transition);
            transform-origin: left center;
            border-radius: 2px;
        }

        /* Menú móvil */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 320px;
            height: 100vh;
            background-color: white;
            display: flex;
            flex-direction: column;
            padding: 6rem 2rem 2rem;
            z-index: 100;
            transition: var(--transition);
            box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav a {
            color: var(--secondary-color);
            text-decoration: none;
            font-size: 1.2rem;
            margin: 0.8rem 0;
            padding: 0.8rem 1.5rem;
            font-weight: 500;
            transition: var(--transition);
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 12px;
            border-left: 3px solid transparent;
        }

        .mobile-nav a:hover, .mobile-nav a.active {
            background-color: rgba(255, 215, 0, 0.1);
            color: var(--accent-color);
            border-left: 3px solid var(--primary-color);
            transform: translateX(5px);
        }

        .mobile-nav a i {
            width: 24px;
            text-align: center;
        }

        /* Overlay para fondo oscuro */
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Efecto hamburguesa a X */
        .hamburger-menu.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(4px, -1px);
        }

        .hamburger-menu.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger-menu.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(4px, 1px);
        }

        /* Contenido principal */
        main {
            flex: 1;
            width: 100%;
        }

        /* Hero section */
        .hero {
            background: linear-gradient(120deg, rgba(255, 215, 0, 0.1), rgba(0, 71, 171, 0.08));
            padding: 5rem 1.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 300px;
            height: 300px;
            background: var(--primary-color);
            border-radius: 50%;
            opacity: 0.1;
            z-index: 0;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 250px;
            height: 250px;
            background: var(--accent-color);
            border-radius: 50%;
            opacity: 0.1;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }

        h1 {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            margin-bottom: 1.5rem;
            color: var(--dark-color);
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            color: var(--accent-color);
            max-width: 700px;
            margin: 0 auto 2rem;
            font-weight: 500;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1.2rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-block;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            text-align: center;
            font-size: 1rem;
            cursor: pointer;
            border: 2px solid transparent;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .btn-primary {
            background: var(--primary-color);
            color: var(--secondary-color);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
            background: #ffcc00;
        }

        .btn-secondary {
            background: var(--accent-color);
            color: white;
        }

        .btn-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 71, 171, 0.3);
            background: #003d99;
        }

        /* Carrusel mejorado */
        .carousel-container {
            width: 100%;
            max-width: 1200px;
            margin: clamp(2rem, 4vw, 4rem) auto;
            position: relative;
            overflow: hidden;
            border-radius: var(--border-radius);
            box-shadow: var(--card-shadow);
        }

        .carousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

        .carousel-item {
            min-width: 100%;
            position: relative;
        }

        .carousel-item img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            aspect-ratio: 16/9;
        }

        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.75));
            color: white;
            padding: clamp(1rem, 2vw, 1.8rem);
            text-align: center;
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.2rem, 2vw, 1.8rem);
            font-weight: 600;
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 clamp(0.5rem, 2vw, 1rem);
            pointer-events: none;
        }

        .carousel-control {
            background: rgba(255,255,255,0.85);
            border: none;
            border-radius: 50%;
            width: clamp(42px, 5vw, 50px);
            height: clamp(42px, 5vw, 50px);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: clamp(1.3rem, 2vw, 1.7rem);
            color: var(--accent-color);
            pointer-events: auto;
            transition: var(--transition);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        .carousel-control:hover {
            background: white;
            transform: scale(1.1);
            color: var(--secondary-color);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: var(--transition);
        }

        .indicator.active {
            background-color: var(--primary-color);
            transform: scale(1.3);
        }

        /* Sección de características */
        .features {
            padding: 4rem 1.5rem;
            background: white;
        }

        .section-title {
            text-align: center;
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            margin-bottom: 0.5rem;
            color: var(--dark-color);
        }

        .section-subtitle {
            text-align: center;
            font-size: clamp(1rem, 1.8vw, 1.2rem);
            color: var(--accent-color);
            max-width: 700px;
            margin: 0 auto 3rem;
            font-weight: 500;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 2.5rem 1.8rem;
            text-align: center;
            transition: var(--transition);
            box-shadow: var(--card-shadow);
            border-top: 4px solid var(--primary-color);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background: rgba(255, 215, 0, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.8rem;
            color: var(--accent-color);
        }

        .feature-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        .feature-description {
            color: #555;
            font-size: 1rem;
            line-height: 1.7;
        }

        /* Testimonials section */
        .testimonials {
            padding: 5rem 1.5rem;
            background: linear-gradient(to bottom, rgba(0, 71, 171, 0.03), white);
        }

        .testimonials-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .testimonial-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--card-shadow);
            position: relative;
            border-left: 4px solid var(--primary-color);
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 15px;
            left: 20px;
            font-size: 5rem;
            font-family: Georgia, serif;
            color: rgba(255, 215, 0, 0.15);
            line-height: 1;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
            line-height: 1.8;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--accent-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .author-info h4 {
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        .author-info p {
            color: #666;
            font-size: 0.9rem;
        }

        /* Call to action */
        .cta-section {
            background: linear-gradient(135deg, var(--accent-color), #003d99);
            padding: 5rem 1.5rem;
            text-align: center;
            color: white;
        }

        .cta-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .cta-title {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            margin-bottom: 1.5rem;
        }

        .cta-text {
            font-size: clamp(1rem, 1.8vw, 1.2rem);
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
        }

        /* Pie de página mejorado */
        footer {
            background-color: var(--footer-bg);
            color: #ddd;
            padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4vw, 3rem);
        }

        .footer-container {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .footer-col h3 {
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.8rem;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary-color);
        }

        .footer-col p {
            margin-bottom: 1.2rem;
            line-height: 1.8;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #aaa;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-links a:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #333;
            color: white;
            border-radius: 50%;
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .social-links a:hover {
            background: var(--primary-color);
            color: var(--secondary-color);
            transform: translateY(-5px);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .contact-item i {
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-top: 4px;
        }

        .copyright {
            text-align: center;
            padding-top: 2.5rem;
            margin-top: 2rem;
            border-top: 1px solid #333;
            color: #999;
            font-size: 0.95rem;
        }

        /* Menú desktop (se oculta en móviles) */
        .nav-links {
            display: flex;
            gap: clamp(1rem, 2.5vw, 2rem);
        }

        .nav-links a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            font-size: clamp(0.95rem, 1.1vw, 1.05rem);
            padding: 0.4rem 0;
            position: relative;
            transition: var(--transition);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--accent-color);
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }

        /* Media Queries */
        @media (max-width: 992px) {
            .nav-links {
                display: none;
            }
            
            .logo-text {
                white-space: normal;
                max-width: 200px;
            }
        }

        @media (min-width: 993px) {
            .hamburger-menu {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 280px;
            }
            
            .carousel-item img {
                aspect-ratio: 4/3;
            }
        }

        @media (max-width: 480px) {
            .mobile-nav {
                width: 85%;
            }
            
            .mobile-nav a {
                font-size: 1.1rem;
                padding: 0.7rem 1.2rem;
            }
            
            .carousel-item img {
                aspect-ratio: 1/1;
            }
        }
        
/*Boton*/
.fab-scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background-color: #e53935; /* Rojo intenso */
  color: white;
  font-size: 22px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: none; /* Oculto hasta que se haga scroll */
  transition: background-color 0.3s ease;
}

.fab-scroll-top:hover {
  background-color: #b71c1c;
}

