/* ============================================================
   LINGUAHUB — Design System v2.0
   Alineado con Culturlingua Campus Virtual
   Fuentes: Fraunces (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,300&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:       #1a1744;
  --navy-mid:   #26225d;
  --blue:       #3b6fe0;
  --blue-light: #6b95f5;
  --gold:       #f5c842;
  --gold-light: #fde98a;
  --cream:      #faf8f3;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --white:      #ffffff;
  --header-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

input, textarea, select, button {
  font-family: 'DM Sans', sans-serif;
}

/* ─── NAVBAR ─── */
.lh-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 23, 68, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lh-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.lh-nav-logo img {
  height: 40px;
  width: auto;
}

.lh-nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}

.lh-nav-logo-text span {
  color: var(--gold);
}

.lh-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.lh-nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.lh-nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.07);
}

.lh-nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 6px;
}

.lh-nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.lh-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 900px) {
  .lh-navbar { padding: 0 20px; }
  .lh-menu-toggle { display: block; }
  .lh-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 99;
  }
  .lh-nav-links.open { display: flex; }
  .lh-nav-links li { width: 100%; }
  .lh-nav-links a {
    width: 100%;
    font-size: 1rem;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display: block;
  }
  .lh-nav-links a:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.12);
  }
  .lh-nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-color: transparent !important;
    text-align: center;
  }
}

/* ─── HERO LOGIN ─── */
.lh-hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.lh-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(59,111,224,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(245,200,66,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 90% 90%, rgba(107,149,245,0.14) 0%, transparent 50%);
  animation: meshShift 8s ease-in-out infinite alternate;
}

@keyframes meshShift {
  from { opacity: 0.8; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.04); }
}

.lh-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 100px;
  background: var(--cream);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 3;
}

.lh-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

/* Left — copy */
.lh-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--gold);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 24px;
}

.lh-hero-eyebrow::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.lh-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.lh-hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.lh-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.lh-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.lh-trust-badges span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.lh-trust-badges span i {
  color: var(--gold);
}

/* Right — login card */
.lh-login-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 44px 40px;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.lh-login-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.lh-login-card p.lh-login-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-bottom: 32px;
}

.lh-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.lh-form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lh-form-input-wrap {
  position: relative;
}

.lh-form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  color: white;
  background: rgba(255,255,255,0.07);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.lh-form-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.lh-form-input:focus {
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.1);
}

.lh-eye-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.lh-eye-icon:hover { color: rgba(255,255,255,0.8); }

.lh-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.lh-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.lh-terms label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.lh-terms a {
  color: var(--gold);
  text-decoration: none;
}

.lh-terms a:hover { text-decoration: underline; }

.lh-btn-login {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 8px 28px rgba(245,200,66,0.3);
  font-family: 'DM Sans', sans-serif;
}

.lh-btn-login:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245,200,66,0.45);
}

.lh-forgot-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 0.83rem;
  text-decoration: none;
  transition: color 0.2s;
}

.lh-forgot-link:hover { color: rgba(255,255,255,0.75); }

/* Alert message */
.lh-alert {
  background: rgba(255,119,130,0.15);
  border: 1px solid rgba(255,119,130,0.3);
  color: #ffb3b9;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: none;
}

.lh-alert.lh-alert-success {
  background: rgba(65,241,182,0.12);
  border-color: rgba(65,241,182,0.3);
  color: #a0f4d8;
}

/* ─── FEATURES SECTION ─── */
.lh-features {
  background: var(--cream);
  padding: 100px 48px;
}

.lh-features-header {
  text-align: center;
  margin-bottom: 64px;
}

.lh-section-tag {
  display: inline-block;
  background: rgba(59,111,224,0.1);
  color: var(--blue);
  border: 1px solid rgba(59,111,224,0.2);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.lh-section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.lh-section-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}

.lh-section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.lh-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.lh-feature-card {
  background: white;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: default;
}

.lh-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59,111,224,0.1);
  border-color: var(--blue);
}

.lh-feature-card.lh-feature-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
}

.lh-feature-card.lh-feature-highlight .lh-feature-icon,
.lh-feature-card.lh-feature-highlight h3,
.lh-feature-card.lh-feature-highlight p {
  color: white;
}

.lh-feature-card.lh-feature-highlight .lh-feature-icon {
  background: rgba(255,255,255,0.12);
  color: var(--gold);
}

.lh-feature-icon {
  font-size: 1.8rem;
  color: var(--blue);
  background: rgba(59,111,224,0.08);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  transition: all 0.3s;
}

.lh-feature-card:not(.lh-feature-highlight):hover .lh-feature-icon {
  background: var(--blue);
  color: white;
  transform: rotate(-5deg);
}

.lh-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.lh-feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .lh-features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .lh-features { padding: 64px 20px; }
  .lh-features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .lh-features-grid { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─── */
.lh-footer {
  background: var(--navy);
  padding: 64px 48px 32px;
  color: rgba(255,255,255,0.5);
}

.lh-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.lh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.lh-footer-brand-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: block;
  text-decoration: none;
}

.lh-footer-brand-logo span { color: var(--gold); }

.lh-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
  color: rgba(255,255,255,0.42);
}

.lh-footer-col h4 {
  color: white;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 16px;
}

.lh-footer-col a {
  display: block;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.lh-footer-col a:hover { color: white; }

.lh-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.lh-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.lh-footer-social a:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  color: white;
}

.lh-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.32);
  flex-wrap: wrap;
  gap: 8px;
}

.lh-footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.lh-footer-bottom a:hover { color: white; }

@media (max-width: 900px) {
  .lh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lh-footer { padding: 48px 20px 24px; }
}

@media (max-width: 500px) {
  .lh-footer-grid { grid-template-columns: 1fr; }
  .lh-footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── HERO RESPONSIVE ─── */
@media (max-width: 900px) {
  .lh-hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 130px;
    gap: 40px;
  }
  .lh-login-card {
    max-width: 100%;
    margin-left: 0;
    padding: 32px 24px;
  }
  .lh-hero-sub { max-width: 100%; }
  .lh-trust-badges { gap: 14px; }
}

/* ─── WHATSAPP FLOAT ─── */
.lh-whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25d366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.25s;
}

.lh-whatsapp-float:hover { transform: scale(1.1); }
.lh-whatsapp-float img { width: 30px; height: 30px; }

/* ─── ACCENT BAND ─── */
.lh-accent-band {
  background: var(--navy-mid);
  padding: 36px 48px;
  display: flex;
  justify-content: center;
}

.lh-accent-band-inner {
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.lh-band-item {
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.lh-band-item:last-child { border-right: none; }

.lh-band-num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.lh-band-label {
  color: rgba(255,255,255,0.48);
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .lh-accent-band { padding: 32px 20px; }
  .lh-accent-band-inner { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .lh-band-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 20px; }
  .lh-band-item:last-child, .lh-band-item:nth-child(even):last-child { border-bottom: none; }
}