/* =======================================================
   VARIABLES GLOBALES DATASENSE
   ======================================================= */
:root {
  --ds-blue: #0A2E4F;
  --ds-green: #3FAE49;
  --ds-green-hover: #35993f;
  --ds-light: #f8fafc;
  --ds-gray: #e2e8f0;
  --ds-text: #334155;
  --ds-text-muted: #64748b;
}

/* =======================================================
   RESETEO Y TIPOGRAFÍA
   ======================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body.landing-page { font-family: 'Inter', sans-serif; color: var(--ds-text); background-color: var(--ds-light); line-height: 1.6; overflow-x: hidden; }

a { text-decoration: none; transition: all 0.3s ease; }
h1, h2, h3, h4, h5, h6 { color: var(--ds-blue); font-weight: 700; margin-bottom: 15px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding-top: 100px; padding-bottom: 80px; }

/* =======================================================
   CABECERA FLOTANTE Y NAVEGACIÓN
   ======================================================= */
.header-pro {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}
.header-content {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.header-content img.logo { height: 40px; width: auto; }

/* Menú Estándar (PC) */
.header-content nav {
  display: flex;
  align-items: center;
}
.header-content nav a {
  color: var(--ds-blue); font-weight: 600; margin-left: 25px; font-size: 0.95rem;
}
.header-content nav a:hover { color: var(--ds-green); }

/* Botón Hamburguesa Oculto por defecto en PC */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--ds-blue);
  cursor: pointer;
  transition: color 0.3s;
}
.mobile-menu-btn:hover { color: var(--ds-green); }

.btn-login-pro {
  border: 2px solid var(--ds-blue); padding: 8px 25px; border-radius: 50px;
  color: var(--ds-blue) !important; display: inline-block;
}
.btn-login-pro:hover {
  background: var(--ds-blue); color: #fff !important; box-shadow: 0 4px 15px rgba(10, 46, 79, 0.2);
}

/* =======================================================
   BANNER PRINCIPAL (HERO)
   ======================================================= */
.hero-pro {
  position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(10,46,79,0.95) 0%, rgba(10,46,79,0.5) 100%); z-index: 1;
}
.hero-content-wrapper {
  position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.hero-text-box { max-width: 650px; }
.hero-text-box h1 { color: #fff; font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text-box p { color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; margin-bottom: 35px; font-weight: 300; }

.btn-cta-pro {
  background: var(--ds-green); color: #fff; padding: 15px 40px; border-radius: 50px;
  font-weight: 700; font-size: 1.1rem; display: inline-block; border: none; cursor: pointer;
  box-shadow: 0 10px 25px rgba(63, 174, 73, 0.4); text-decoration: none; transition: all 0.3s ease;
}
.btn-cta-pro:hover {
  background: var(--ds-green-hover); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(63, 174, 73, 0.5); color: #fff;
}

/* =======================================================
   SECCIONES GLOBALES Y CUADRÍCULAS
   ======================================================= */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; color: var(--ds-blue); }
.section-line { display: block; width: 60px; height: 4px; background: var(--ds-green); margin: 0 auto; border-radius: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.align-center { align-items: center; }

.light { background-color: #fff; }
.gray { background-color: var(--ds-light); }

/* Tarjetas y Servicios */
.card.soft, .focus-card, .service-item {
  background: #fff; padding: 40px 30px; border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s ease; text-align: center;
}
.card.soft:hover, .focus-card:hover, .service-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }

.services-grid-3, .focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-item i, .focus-card i { font-size: 2.5rem; color: var(--ds-blue); margin-bottom: 20px; }
.focus-card i { color: var(--ds-green); }

/* =======================================================
   QUIÉNES SOMOS: TARJETAS DE LOS FUNDADORES
   ======================================================= */
.team-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 30px; 
  margin: 40px auto 0; 
  max-width: 850px; 
}
.team-card {
  background: #fff; padding: 50px 40px; border-radius: 20px; text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: transform 0.3s ease;
  position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.02);
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(10, 46, 79, 0.1); }
.team-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--ds-green); }

.team-img-wrapper { margin-bottom: 20px; display: flex; justify-content: center; }
.team-img-wrapper img {
  width: 130px; height: 130px; object-fit: cover; border-radius: 50%;
  border: 5px solid #fff; box-shadow: 0 10px 25px rgba(10, 46, 79, 0.1); background-color: #f8fafc;
}
.team-card:first-child .team-img-wrapper img { object-position: 50% 10%; }

.team-name { font-size: 1.5rem; color: var(--ds-blue); margin-bottom: 10px; font-weight: 800; letter-spacing: -0.5px; }
.team-role {
  display: inline-block; background: rgba(10, 46, 79, 0.08); color: var(--ds-blue);
  padding: 6px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px;
}
.team-degree { font-size: 0.9rem; color: var(--ds-green); font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.team-desc { color: var(--ds-text-muted); font-size: 1rem; line-height: 1.6; }

/* =======================================================
   FORMULARIO DE CONTACTO
   ======================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.contact-info p { font-size: 1.15rem; color: var(--ds-text-muted); margin-bottom: 30px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 15px; font-size: 1.05rem; display: flex; align-items: center; }
.contact-list i { width: 30px; font-size: 1.2rem; }

.contact-form-wrapper { background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05); }
.form-input { padding: 14px; border: 1px solid var(--ds-gray); border-radius: 8px; width: 100%; font-family: 'Inter', sans-serif; color: var(--ds-text-muted); outline: none; transition: 0.3s; }
.form-input:focus { border-color: var(--ds-blue); box-shadow: 0 0 0 3px rgba(10,46,79,0.1); }
.form-grid-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
textarea.form-input { resize: none; margin-bottom: 20px; }

/* Alertas de contacto */
.alert { padding: 15px; border-radius: 10px; margin-bottom: 20px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* =======================================================
   FOOTER & UTILIDADES
   ======================================================= */
.footer { background: var(--ds-blue); color: white; padding: 30px 0; text-align: center; }
.footer p { opacity: 0.6; font-size: 0.9rem; }

#backToTop {
  position: fixed; bottom: 30px; right: 30px; background: var(--ds-green); color: white; border: none; 
  border-radius: 50%; width: 50px; height: 50px; display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1000; font-size: 1.2rem; transition: 0.3s;
}
#backToTop:hover { background: var(--ds-green-hover); transform: translateY(-3px); }

/* =======================================================
   DISEÑO PREMIUM PARA SERVICIOS Y ENFOQUE
   ======================================================= */
.premium-card {
  background: #fff; padding: 45px 35px; border-radius: 16px; box-shadow: 0 10px 30px rgba(10, 46, 79, 0.04);
  transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.03); text-align: left; position: relative; z-index: 1;
}
.premium-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(10, 46, 79, 0.08); border-color: rgba(63, 174, 73, 0.3); }
.premium-icon-box { width: 65px; height: 65px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 25px; transition: all 0.3s ease; }
.premium-card:hover .premium-icon-box { transform: scale(1.1); }
.icon-blue { background: rgba(10, 46, 79, 0.06); color: var(--ds-blue); }
.icon-green { background: rgba(63, 174, 73, 0.12); color: var(--ds-green); }
.premium-card h3 { font-size: 1.35rem; margin-bottom: 15px; letter-spacing: -0.3px; color: var(--ds-blue); font-weight: 800; }
.premium-card p { color: var(--ds-text-muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* Nuestro enfoque */
.enfoque-card {
  background: var(--ds-blue); padding: 45px 35px; border-radius: 16px; box-shadow: 0 15px 35px rgba(10, 46, 79, 0.15);
  transition: all 0.4s ease; text-align: left; position: relative; overflow: hidden; z-index: 1;
}
.enfoque-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: var(--ds-green); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.enfoque-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(10, 46, 79, 0.3); }
.enfoque-card:hover::after { transform: scaleX(1); }
.enfoque-icon-box { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #3FAE49; margin-bottom: 25px; transition: all 0.4s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.enfoque-card:hover .enfoque-icon-box { background: var(--ds-green); color: #fff; transform: scale(1.1) rotate(5deg); border-color: var(--ds-green); }
.enfoque-card h3 { font-size: 1.35rem; margin-bottom: 15px; letter-spacing: -0.3px; color: #fff; font-weight: 800; }
.enfoque-card p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* Contacto Premium */
.contact-section-pro { background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); }
.contact-info-pro h2 { font-size: 2.8rem; margin-bottom: 20px; letter-spacing: -1px; }
.contact-list-pro { list-style: none; padding: 0; margin-top: 30px; }
.contact-list-pro li { background: #fff; padding: 15px 20px; border-radius: 12px; margin-bottom: 15px; display: flex; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid rgba(10, 46, 79, 0.05); }
.contact-list-pro li:hover { transform: translateX(10px); border-color: var(--ds-green); }
.contact-list-pro i { font-size: 1.2rem; color: var(--ds-blue); margin-right: 15px; width: 25px; text-align: center; }
.contact-card-pro { background: #ffffff; padding: 45px; border-radius: 24px; box-shadow: 0 20px 50px rgba(10, 46, 79, 0.1); border: 1px solid rgba(255,255,255,0.8); }
.input-group-pro { position: relative; margin-bottom: 20px; }
.input-group-pro i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; transition: 0.3s; }
.input-group-pro .form-input { padding-left: 45px !important; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; font-weight: 500; }
.input-group-pro .form-input:focus { background: #fff; border-color: var(--ds-green); box-shadow: 0 0 0 4px rgba(63, 174, 73, 0.1); }
.input-group-pro .form-input:focus + i, .input-group-pro .form-input:valid + i { color: var(--ds-green); }
.btn-send-pro { background: var(--ds-green); color: #fff; width: 100%; padding: 18px; border-radius: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(63, 174, 73, 0.3); transition: 0.3s; }
.btn-send-pro:hover { background: var(--ds-green-hover); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(63, 174, 73, 0.4); }
select.form-input { cursor: pointer; color: var(--ds-blue); font-weight: 600; }
select.form-input option { background: #ffffff; color: var(--ds-blue); padding: 10px; font-weight: 400; }
.success-card-pro { text-align: center; padding: 60px 40px; animation: fadeIn 0.6s ease-out; }
.success-icon-circle { width: 80px; height: 80px; background: rgba(63, 174, 73, 0.1); color: var(--ds-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; margin: 0 auto 25px; border: 2px solid var(--ds-green); }
.success-card-pro h3 { font-size: 2rem; color: var(--ds-blue); margin-bottom: 15px; font-weight: 800; }
.success-card-pro p { color: var(--ds-text-muted); font-size: 1.1rem; margin-bottom: 30px; max-width: 400px; margin-left: auto; margin-right: auto; }
.btn-return-pro { background: transparent; color: var(--ds-blue); border: 2px solid var(--ds-blue); padding: 12px 30px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: 0.3s; display: inline-block; }
.btn-return-pro:hover { background: var(--ds-blue); color: #fff; }

/* =====================================================
   DATASENSE ADVISOR — CHATBOT (ELITE THEME FINAL)
===================================================== */
.ds-chat-btn { background: var(--ds-blue); border: none; border-radius: 50%; width: 65px; height: 65px; color: white; cursor: pointer; box-shadow: 0 10px 25px rgba(0,0,0,0.3); position: fixed; bottom: 30px; right: 30px; z-index: 9999; transition: transform 0.3s ease; display: flex; align-items: center; justify-content: center; }
.ds-chat-btn:hover { transform: scale(1.1); }
.ds-chat-btn img.btn-avatar-icon { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

.ds-chat-panel { 
    display: none; 
    flex-direction: column; 
    width: 400px; 
    height: 680px; /* Altura ampliada para que el menú no se corte */
    max-height: calc(100vh - 130px); /* Adaptable a pantallas pequeñas */
    position: fixed; 
    bottom: 110px; 
    right: 30px; 
    z-index: 9999; 
    
    /* Fondo corregido a .jpg */
    background: url('../img/corporate-bg.png') no-repeat center center; 
    background-size: cover; 
    
    border-radius: 28px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.25); 
    border: 1px solid rgba(255,255,255,0.1); 
    overflow: hidden; 
    font-family: 'Inter', sans-serif; 
}

.ds-chat-header { background: var(--ds-blue); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); }

.advisor-avatar { width: 48px; height: 48px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.advisor-avatar img { width: 100%; height: 100%; object-fit: contain; }

/* ZONA DE MENSAJES Y SCROLLBAR (CORRECCIÓN VISUAL) */
.ds-chat-messages { 
    flex: 1; 
    padding: 20px 15px; /* Más espacio a los lados */
    overflow-y: auto; 
    overflow-x: hidden;
    display: flex; 
    flex-direction: column; 
    gap: 15px; /* Más separación entre mensajes */
    scroll-behavior: smooth;
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; 
}

/* SCROLLBAR INVISIBLE / ESTILO IOS (Para Chrome, Edge, Safari) */
.ds-chat-messages::-webkit-scrollbar { width: 5px; }
.ds-chat-messages::-webkit-scrollbar-track { background: transparent; border-radius: 10px; }
.ds-chat-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 10px; }
.ds-chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.6); }

/* BURBUJAS DE CHAT (MÁS ELEGANTES Y CRISTALINAS) */
.ds-msg { 
    max-width: 85%; 
    padding: 14px 18px; 
    font-size: 0.95rem; 
    line-height: 1.5; 
    border-radius: 20px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    word-wrap: break-word; 
    animation: fadeIn 0.3s ease-in-out; 
}

.ds-msg.bot { 
    background: rgba(255, 255, 255, 0.85); /* Efecto translúcido */
    color: #0A2E4F; 
    align-self: flex-start; 
    border-radius: 20px 20px 20px 5px; 
    border: 1px solid rgba(255,255,255,0.4); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
}

.ds-msg.user { 
    background: var(--ds-green); 
    color: white; 
    align-self: flex-end; 
    border-radius: 20px 20px 5px 20px; 
    box-shadow: 0 4px 15px rgba(63, 174, 73, 0.3);
}

.ds-quick-replies { display: flex; flex-direction: column; gap: 8px; margin-top: 5px; align-self: flex-start; width: 85%; }

.ds-quick-reply-btn { 
    background: rgba(255, 255, 255, 0.85); 
    border: 2px solid var(--ds-green); 
    color: var(--ds-green); 
    padding: 10px 16px; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-align: left; 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ds-quick-reply-btn:hover { background: var(--ds-green); color: white; box-shadow: 0 4px 10px rgba(63, 174, 73, 0.3); }

.ds-chat-input-area { padding: 15px; background: rgba(255,255,255,0.95); border-top: 1px solid rgba(0,0,0,0.05); display: flex; gap: 10px; align-items: center; }
#ds-chat-input { flex: 1; border: 1px solid #cbd5e1; padding: 12px 15px; border-radius: 25px; outline: none; font-size: 0.95rem; transition: 0.3s; }
#ds-chat-input:focus { border-color: var(--ds-green); box-shadow: 0 0 0 3px rgba(63, 174, 73, 0.1); }

.typing-indicator { display: none; align-self: flex-start; background: rgba(255, 255, 255, 0.9); padding: 12px 16px; border-radius: 20px 20px 20px 5px; font-style: italic; color: #64748b; font-size: 0.85rem; margin-bottom: 10px; backdrop-filter: blur(5px); box-shadow: 0 3px 8px rgba(0,0,0,0.1); }
/* =======================================================
   SISTEMA DE ENCUESTAS (responder_encuesta.php)
   ======================================================= */
body.survey-page { background-color: #f1f5f9; font-family: 'Inter', sans-serif; padding-top: 40px; padding-bottom: 60px; }
.survey-container { max-width: 600px; margin: auto; background: #ffffff; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); overflow: hidden; }
.survey-header { background: #ffffff; padding: 40px 30px 20px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.survey-header img { max-width: 180px; margin-bottom: 20px; }
.survey-header h3 { font-weight: 800; color: #0f172a; font-size: 1.5rem; margin-bottom: 25px; }
.welcome-badge { background-color: #ecfdf5; color: #10b981; display: inline-flex; align-items: center; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid #d1fae5; margin-bottom: 20px; }
.welcome-text { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 30px; padding: 0 15px; text-align: center; }
.question-card { background: #f8fafc; border-radius: 12px; padding: 25px; margin-bottom: 20px; text-align: center; transition: all 0.3s ease; border: 1px solid transparent; }
.question-card.error { border: 2px solid #ef4444; background: #fef2f2; }
.question-title { font-weight: 700; color: #1e293b; margin-bottom: 20px; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.question-title i { background: #0f172a; color: white; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.85rem; }
.stars-container { display: flex; flex-direction: row-reverse; justify-content: center; gap: 12px; }
.stars-container input { display: none; }
.stars-container label { font-size: 38px; color: #cbd5e1; cursor: pointer; transition: color 0.2s ease, transform 0.2s ease; }
.stars-container label:hover, .stars-container label:hover ~ label, .stars-container input:checked ~ label { color: #facc15; }
.stars-container label:active { transform: scale(1.2); }
.form-label-title { font-size: 0.85rem; font-weight: 800; color: #0f172a; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; display: block; }
textarea.form-control { width: 100%; border-radius: 12px; resize: none; border: 1px solid #e2e8f0; background-color: #ffffff; font-size: 0.95rem; padding: 15px; outline: none; transition: border-color 0.3s; }
textarea.form-control:focus { border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1); }
.btn-submit { background-color: #0f172a; color: white; font-weight: 700; border-radius: 12px; padding: 16px; width: 100%; font-size: 1.05rem; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn-submit:hover { background-color: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2); color: white; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =======================================================
   RESPONSIVE BÁSICO Y MENÚ MÓVIL (MEDIA QUERIES)
   ======================================================= */
@media (max-width: 992px) {
  .hero-text-box h1 { font-size: 2.8rem; }
  .grid-2, .services-grid-3, .focus-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid-inner { grid-template-columns: 1fr; }
  
  /* Activamos botón de hamburguesa */
  .mobile-menu-btn { 
      display: block; 
  }

  /* Modificación para el menú en Móviles y Tablets */
  .header-content nav { 
      position: absolute;
      top: 100%;
      left: -100%; /* El menú inicia oculto hacia la izquierda */
      width: 100%;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      flex-direction: column;
      padding: 30px 0;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      transition: left 0.4s ease-in-out;
  }

  /* Clase que se agrega mediante JavaScript para desplegar el menú */
  .header-content nav.active {
      left: 0;
  }

  /* Ajustes en los enlaces para pantallas pequeñas */
  .header-content nav a {
      margin: 15px 0;
      font-size: 1.2rem;
      width: 100%;
      text-align: center;
  }

  /* Ajustar botón Iniciar Sesión */
  .btn-login-pro {
      margin: 15px auto !important;
      width: fit-content;
  }
}