
        :root {
            --navy-blue: #1e3a5f;
            --gold: #f4c430;
            --light-gold: #f6d155;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --dark-gray: #6c757d;
            --gradient-primary: linear-gradient(135deg, var(--navy-blue), #2c5f7f);
            --gradient-gold: linear-gradient(135deg, var(--gold), var(--light-gold));
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--navy-blue);
            scroll-behavior: smooth;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(30, 58, 95, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            background: var(--white);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            display: flex;
            align-items: center;
     
            gap: 25px;
        }

       .logo img {
    height: 160px;
    margin-top: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #facc15); /* Degradado */
    padding: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg); /* Se agranda y rota un poquito */
}

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--navy-blue);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--gold);
        }

        .nav-links a.btn-contact {
            background: var(--gradient-gold);
            color: var(--navy-blue);
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 600;
        }

        .nav-links a.btn-contact:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(244, 196, 48, 0.3);
        }

      /* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

/* Video de fondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay degradado para oscurecer */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7));
    z-index: 1;
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease forwards 0.7s;
}

/* Botones */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f4c430; /* dorado */
    color: #111;
    box-shadow: 0 4px 15px rgba(244,196,48,0.4);
}

.btn-primary:hover {
    background: #d9aa20;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #111;
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}


        /* Sections */
        .section {
            padding: 100px 0;
        }

        .section:nth-child(even) {
            background: var(--light-gray);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            color: var(--navy-blue);
            margin-bottom: 20px;
        }

        .section-title p {
            font-size: 1.2rem;
            color: var(--dark-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Services Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .service-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
    overflow: hidden;
    border: 3px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            border-color: #d4af37; /* dorado */
        }
        /* Glow suave dorado */
.service-card:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    box-shadow: 0 0 25px 5px rgba(212, 175, 55, 0.3); /* dorado con transparencia */
    pointer-events: none;
}

        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: var(--navy-blue);
        }

        /* Gallery */
        .gallery-grid {
            display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
        }

        .gallery-item {
           position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .gallery-item:hover {
           transform: scale(1.1);
        }

        .gallery-item img {
             width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
        }
        .gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: linear-gradient(to top, rgba(30,58,95,0.9), rgba(244,196,48,0.8));
  color: white;
  font-size: 1rem;
}

/* Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  
  align-items: center;
  justify-content: center;
}

/* .modal-content {
  background: white;
  padding: 20px;
  border-radius: 16px;
  max-width: 800px;
  width: 90%;
  text-align: center;
} */

.modal-content img {
  max-width: 100%;
  margin: 10px 0;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px; right: 25px;
  font-size: 28px;
  cursor: pointer;
  color: #1e3a5f;
}

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text h3 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--navy-blue);
            margin-bottom: 20px;
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--gold);
            display: block;
        }

        /* Dashboard Section */
        .dashboard-preview {
            background: var(--white);
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            margin-top: 40px;
        }

        .dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--light-gray);
        }

        .dashboard-tabs {
            display: flex;
            gap: 20px;
        }

        .dashboard-tab {
            padding: 10px 20px;
            background: var(--light-gray);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dashboard-tab.active {
            background: var(--gradient-gold);
            color: var(--navy-blue);
        }

        /* Contact Form */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--light-gray);
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--gold);
        }

        /* Footer */
        .footer {
            background: var(--navy-blue);
            color: var(--white);
            padding: 60px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            margin-bottom: 20px;
            color: var(--gold);
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: var(--gold);
            color: var(--navy-blue);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            transform: translateY(-2px);
        }

        .btn-wsp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.wsp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
}

.wsp-float img {
    width: 150px;   /* Ajusta el tamaño */
    height: auto;
    border-radius: 50px; /* Opcional si quieres esquinas suaves */
    transition: transform .3s ease;
}

.wsp-float:hover img {
    transform: scale(1.05);
}

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
             from {opacity: 0; transform: translateY(-20px);}
            to {opacity: 1; transform: translateY(0);}
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            .modal-body{
            flex-direction: column;
            text-align: center;}
            .logo img {
            height: 85px; /* Reducir tamaño para móvil */
            margin-top: 10px;
            }
        }

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    width: 80%;
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.close-modal {
    float: right;
    font-size: 2rem;
    cursor: pointer;
    color: var(--navy-blue);
    font-weight: bold;
}

.modal-body {
    display: flex;
    gap: 25px;
    align-items: center;
}

.modal-img img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.modal-text h3 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.modal-text p {
    font-size: 1.1rem;
    color: #555;
}


.modal2 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content2 {
  background: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  position: relative;
}

.close2 {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 35px;
  cursor: pointer;
  color: #333;
  z-index: 30; 
}

/* ===== CARRUSEL ===== */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 350px;
  margin-bottom: 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-track img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Botones del carrusel */
.prev, .next2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 25px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 20;           /* <- importante */
  pointer-events: auto;
}

.prev:hover, .next2:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next2 { right: 10px; }

/* Cada slide ocupa todo el carrusel */
.slide {
  min-width: 100%;
  height: 400px; /* mismo alto que el carrusel */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen centrada sin deformación */
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}




.modal-alert {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal-alert-content {
  background: white;
  padding: 25px 35px;
  border-radius: 10px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: popIn 0.25s ease;
}

.modal-alert-content h2 {
  margin-top: 0;
}

.modal-alert-content.success {
  border-left: 6px solid #28a745;
}

.modal-alert-content.error {
  border-left: 6px solid #dc3545;
}

.modal-alert-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: #333;
  color: white;
  cursor: pointer;
  border-radius: 8px;
}

.modal-alert-content button:hover {
  background: #555;
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0;}
  100% { transform: scale(1); opacity: 1;}
}
