/* ===== RESET Y ESTILOS BASE ===== */
:root {
    --primary: #1e3c72;
    --primary-dark: #162b56;
    --secondary: #2a5298;
    --accent: #ff7e33;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    
    --font-main: 'Inter', Arial, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px; /* Para el header fijo */
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  button, input, textarea, select {
    font-family: inherit;
    outline: none;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
  }

  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
  }
  
  .section-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
  }
  
  .cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
  }
  
  .cta-button:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  .cta-button.secondary {
    background: white;
    color: var(--primary);
    border-color: white;
  }
  
  .cta-button.secondary:hover {
    background: transparent;
    color: white;
  }
  
  /* ===== HEADER ===== */
  header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  
  header.scrolled {
    padding: 0.5rem 0;
    background: rgba(30, 60, 114, 0.95);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 70px;
    transition: var(--transition);
  }
  
  header.scrolled .logo img {
    height: 40px;
  }
  
  nav.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 0.3rem;
    transition: var(--transition);
    position: relative;
    color: white;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    background-color: white;
    width: 0;
    transition: var(--transition);
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  /* ✅ BOTÓN "Contacto" más claro */
.nav-cta {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  .nav-cta:hover {
    background-color: white;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .menu-line {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
  }
  
  /* ===== HERO SECTION ===== */
  .hero {
    background: linear-gradient(rgba(17, 32, 59, 0.85), rgba(42, 82, 152, 0.85));
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
  }
  
  
  .hero-content {
    max-width: 800px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
  }
  
  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
  }
  
  .hero-scroll {
    position: absolute;
  
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    animation: bounce 2s infinite;
  }
  
  .hero-scroll i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }
  




  /* ===== BENEFITS BAR ===== */
  .benefits-bar {
    background: var(--primary);
    color: white;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
  }
  
  .benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 500;
  }
  
  .benefit-item i {
    font-size: 1.2rem;
    color: var(--accent);
  }
  
  /* ===== ABOUT SECTION ===== */
  .about {
    padding: 5rem 0;
    background: var(--light);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
  }
  
  .about-text p {
    margin-bottom: 2rem;
    color: var(--gray);
    line-height: 1.7;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
  }
  
  .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: var(--gray);
    font-size: 0.9rem;
  }
  
  .mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .mv-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }


  .counter-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 1rem;
    flex-wrap: wrap;
    background-color: #f5f5f5;
    text-align: center;
  }
  
  .counter-box {
    flex: 1 1 150px;
    min-width: 150px;
  }
  
  .counter {
    font-size: 3rem;
    font-weight: bold;
    color: #ff9900;
  }
  
  
  .mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .mv-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  
  .mv-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
  }
  
  .mv-card p {
    color: var(--gray);
    font-size: 0.95rem;
  }
  
  .about-media {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
  }
  
  .about-image,
  .video-responsive {
    flex: 1 1 400px;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
  }
  
  .about-image:hover img {
    transform: scale(1.05);
  }
  
  .video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
  }
  
  .video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
  }
  
  .video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
  }
  
  .video-thumbnail img {
    transition: var(--transition);
  }
  
  .video-thumbnail:hover img {
    transform: scale(1.03);
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    border: none;
    transition: var(--transition);
  }
  
  .play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  /* ===== SERVICES SECTION ===== */
  .services {
    padding: 5rem 0;
  }
  
  .services-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
  }
  
  .tab-button {
    padding: 0.8rem 1.5rem;
    background: none;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
  }
  
  .tab-button:hover {
    color: var(--primary);
    border-color: var(--primary);
  }
  
  .tab-button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .service-image {
    height: 200px;
    overflow: hidden;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .service-card:hover .service-image img {
    transform: scale(1.1);
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
  }
  
  .service-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }
  
  .service-features {
    margin-bottom: 1.5rem;
  }
  
  .service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  
  .service-features i {
    color: var(--accent);
  }
  
  .service-comparison {
    margin-top: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
  }
  
  .comparison-table {
    overflow-x: auto;
    margin-top: 1.5rem;
  }
  
  .comparison-table table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .comparison-table th, 
  .comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--light-gray);
  }
  
  .comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
  }
  
  .comparison-table tr:nth-child(even) {
    background: var(--light);
  }
  
  .comparison-table i.fa-check {
    color: var(--success);
  }
  
  .comparison-table i.fa-times {
    color: var(--danger);
  }
  
  /* ===== PROJECTS SECTION ===== */
  .projects {
    padding: 5rem 0;
    background: var(--light);
  }
  
  .projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
  }
  
  .filter-button {
    padding: 0.6rem 1.2rem;
    background: none;
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
  }
  
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
  }


  .filter-button:hover {
    color: var(--primary);
    border-color: var(--primary);
  }
  
  .filter-button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .project-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .project-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
  }
  
  .project-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .projects-cta {
    text-align: center;
    margin-top: 3rem;
  }
  
  .projects-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
  }
  
  /* ===== TESTIMONIALS SECTION ===== */
  

  /* Centrar título dentro de la sección */
.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 5rem 0;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(30, 60, 114, 0.9)), url('../img/testimonial-bg.jpg') no-repeat center/cover;
    color: white;
  }
  
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    width: 100%;
  }
  
  /* Que el slider tenga contexto para paginación */
  .testimonial-slider {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;         /* <--- importante */
    padding-bottom: 3rem;       /* espacio para los bullets */
  }
  
  /* Que todos los slides midan lo mismo */
  .swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
  }
  
  /* Alto uniforme para todas las cards */
  .testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;     /* <--- fuerza el mismo tamaño */
    height: 100%;
  }

  .testimonial-author {
    display: flex;
    flex-direction: column;   /* Coloca imagen + info vertical */
    align-items: center;      /* Centra todo horizontalmente */
    gap: 0.5rem;
    margin-top: auto;
}

.author-info {
    text-align: center;
}
  
  /* Centrar bullets abajo */
  .swiper-pagination {
    bottom: 10px !important;
  }
  
  .swiper-pagination-bullet {
    background: #fdd835;
    opacity: 0.6;
  }
  
  .swiper-pagination-bullet-active {
    opacity: 1;
  }
  

  /* ===== PROCESS SECTION ===== */
  .process {
    padding: 5rem 0;
  }
  
  .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    counter-reset: step;
    position: relative;
  }
  
  .process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--light-gray);
    z-index: 1;
  }
  
  .step {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
  }
  

  
  .step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }
  
  .step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
  }
  
  .step-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
  }
  
  .step-content p {
    color: var(--gray);
    font-size: 0.95rem;
  }
  
  /* ===== FAQ SECTION ===== */
 /* Estilos para la sección FAQ */
.faq {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .section-subtitle {
    display: block;
    font-size: 1rem;
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .section-title {
    font-size: 2rem;
    color: #333;
    font-weight: bold;
  }
  
  .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #f39c12;
    overflow: hidden;
  }
  
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .faq-toggle {
    font-size: 1.5rem;
    color: #f39c12;
    font-weight: bold;
    transition: transform 0.3s ease;
    user-select: none;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    padding-top: 0;
  }
  
  .faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
  }
  
  /* Estado activo */
  .faq-item.active .faq-answer {
    max-height: 500px; /* suficiente para mostrar todo */
    opacity: 1;
    padding-top: 15px;
  }
  
  .faq-item.active .faq-toggle {
    transform: rotate(180deg);
  }
  
  .faq-cta {
    text-align: center;
    margin-top: 40px;
  }
  
  .faq-cta p {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  
  /* ===== CONTACT SECTION ===== */
  .contact {
    padding: 5rem 0;
  }
  
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    padding-right: 2rem;
  }
  
  .contact-methods {
    margin-top: 2rem;
  }
  
  .contact-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .contact-detail h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .contact-detail p, 
  .contact-detail a {
    color: var(--gray);
    line-height: 1.7;
  }
  
  .contact-detail a:hover {
    color: var(--accent);
  }
  
  .contact-social {
    margin-top: 3rem;
  }
  
  .contact-social h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
  }
  
  .contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
  }
  
  .form-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .form-header h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .form-header h3 span {
    color: var(--accent);
  }
  
  .form-header p {
    color: var(--gray);
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group label {
    font-weight: 500;
    color: var(--primary);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.2);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  /* ===== MAP SECTION ===== */

.map {
    padding: 0;
    margin-bottom: 40px; /* Espacio entre el mapa y el footer */
  }
  
  .map iframe {
    display: block;
    border: none;
    width: 100%;
    height: 450px;
  }
  
  
  /* ===== FOOTER ===== */
  footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 0;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  
  .footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  
  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
  }
  
  .footer-logo img {
    margin-bottom: 1.5rem;
  }
  
  .footer-col p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }
  
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
  }
  
  .footer-col ul li {
    margin-bottom: 0.8rem;
  }
  
  .footer-col ul a {
    opacity: 0.8;
    transition: var(--transition);
  }
  
  .footer-col ul a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
  }
  
  .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .contact-info i {
    color: var(--accent);
    margin-top: 0.2rem;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer-copyright p {
    opacity: 0.7;
    font-size: 0.9rem;
  }
  
  .footer-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    opacity: 1;
    color: var(--accent);
  }
  
  

/* ===== FLOAT BUTTONS ===== */

.float-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    opacity: 1; /* Antes: 0 */
    visibility: visible; /* Antes: hidden */
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  
  .float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }
  
  .whatsapp {
    background-color: #25D366;
  }
  
  .phone {
    background-color: #FF7F29;
  }
  
  /* RESPONSIVE PARA MÓVILES */
  @media screen and (max-width: 480px) {
    .float-buttons {
      bottom: 15px;
      right: 15px;
    }
  
    .float-btn {
      width: 50px;
      height: 50px;
      font-size: 22px;
    }
  }

  /* ===== VIDEO MODAL ===== */
  .video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .video-modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
  }
  
  .close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .close-modal:hover {
    color: var(--accent);
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
    }
    40% {
      transform: translateY(-20px) translateX(-50%);
    }
    60% {
      transform: translateY(-10px) translateX(-50%);
    }
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 992px) {
    .about-content {
      grid-template-columns: 1fr;
    }
    
    .contact-container {
      grid-template-columns: 1fr;
    }
    
    .contact-info {
      padding-right: 0;
    }
  }
  
  @media (max-width: 768px) {
    html {
      font-size: 15px;
    }
    
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .nav-links {
      position: fixed;
      top: 80px;
      left: 0;
      width: 100%;
      background: var(--primary-dark);
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
      gap: 1.5rem;
      clip-path: circle(0% at 100% 0);
      transition: clip-path 0.5s ease;
    }
    
    .nav-links.active {
      clip-path: circle(150% at 100% 0);
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(2) {
      opacity: 0;
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mission-vision {
      grid-template-columns: 1fr;
    }
    
    .form-row {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 576px) {
    .hero-cta {
      flex-direction: column;
    }
    
    .hero-cta a {
      width: 100%;
    }
    
    .stats-grid {
      grid-template-columns: 1fr;
    }
    
    .process-steps {
      grid-template-columns: 1fr;
    }
    
    .process-steps::before {
      display: none;
    }
    
    .step {
      display: flex;
      gap: 1rem;
      text-align: left;
    }
    
    .step-number {
      margin: 0;
      width: 60px;
      height: 60px;
      flex-shrink: 0;
    }
  }