/* =============================================
   TAXES ADVISER — Professional Styles v2
   ============================================= */

/* ── Google Fonts + Variables ──────────────── */
:root {
  --primary:    #0d6efd;
  --primary-dk: #0843a3;
  --warning:    #ffc107;
  --orange:     #ff8c00;
  --success:    #198754;
  --dark:       #0f1422;
  --mid:        #3d4a6b;
  --light:      #f8faff;
  --radius-sm:  0.5rem;
  --radius:     0.9rem;
  --radius-lg:  1.5rem;
  --shadow-sm:  0 2px 12px rgba(13,110,253,0.06);
  --shadow:     0 6px 30px rgba(13,110,253,0.12);
  --shadow-lg:  0 16px 48px rgba(13,110,253,0.18);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --font:       'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f1f4ff; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ── Section helpers ────────────────────────── */
.section-pad { padding: 5rem 0; }
.bg-body-light { background: var(--light); }

/* ── Section headings ───────────────────────── */
.section-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(13,110,253,0.08);
  border: 1px solid rgba(13,110,253,0.18);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.section-desc {
  font-size: 1.05rem;
  color: #6b7a99;
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#mainNav {
  background: rgba(8, 67, 163, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  padding: 0.6rem 0;
  box-shadow: 0 2px 24px rgba(13,110,253,0.2);
}

#mainNav.scrolled {
  background: rgba(8, 67, 163, 1);
  box-shadow: 0 4px 32px rgba(8,67,163,0.25);
}

.logo-img {
  border-radius: 8px;
  padding: 3px;
  background: rgba(255,255,255,0.95);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.8rem !important;
  color: rgba(255,255,255,0.85) !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.1);
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(145deg, #062580 0%, #0843a3 40%, #0d6efd 80%, #3d8bfd 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Partículas decorativas */
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #fff;
  animation: float 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { width:400px;height:400px;top:-120px;right:-80px;animation-delay:0s; }
.hero-particles span:nth-child(2) { width:200px;height:200px;bottom:15%;left:-50px;animation-delay:2s; }
.hero-particles span:nth-child(3) { width:120px;height:120px;top:40%;right:20%;animation-delay:4s; }
.hero-particles span:nth-child(4) { width:80px;height:80px;top:25%;left:30%;animation-delay:1s; }
.hero-particles span:nth-child(5) { width:250px;height:250px;bottom:-60px;right:30%;animation-delay:3s; }

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 540px;
}

/* Stats row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.hero-stat { text-align: center; padding: 0.5rem 1.5rem; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--warning);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Floating cards (desktop decoration) */
.hero-cards-stack {
  position: relative;
  height: 420px;
  width: 100%;
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  min-width: 175px;
  animation: cardFloat 6s ease-in-out infinite;
}
.card-1 { top: 10%;  left: 0%;   animation-delay: 0s; }
.card-2 { top: 5%;   right: 0%;  animation-delay: 1.5s; }
.card-3 { bottom: 20%; left: 5%; animation-delay: 1s; }
.card-4 { bottom: 10%; right: 0%;animation-delay: 2.5s; }

@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-center-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}

.hero-wave-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave-bottom svg { display: block; width: 100%; height: 70px; }

/* ════════════════════════════════════════════
   NOSOTROS — Expertise Panel
════════════════════════════════════════════ */
.expertise-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid #e4ecff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ep-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ep-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.ep-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8896b3;
}

/* 6-tile grid */
.ep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.ep-tile {
  background: var(--ep-bg);
  border: 1.5px solid color-mix(in srgb, var(--ep-color) 20%, transparent);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ep-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ep-color) 20%, transparent);
}
.ep-tile-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ep-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.ep-tile-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* Trust bar */
.ep-trust-row {
  display: flex;
  align-items: center;
  background: #f8faff;
  border: 1px solid #e4ecff;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  gap: 0;
}
.ep-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #3d4a6b;
  text-align: center;
}
.ep-trust-item i { font-size: 1.1rem; }
.ep-trust-sep {
  width: 1px;
  height: 36px;
  background: #d4dcf0;
  flex-shrink: 0;
}

/* Sector banner */
.ep-sector-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, #fff8e6 0%, #fff3cc 100%);
  border: 1.5px solid rgba(245,160,30,0.3);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  cursor: default;
  transition: box-shadow var(--transition);
}
.ep-sector-banner:hover {
  box-shadow: 0 4px 20px rgba(245,160,30,0.2);
}
.ep-sector-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.ep-sector-title {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.ep-sector-sub {
  font-size: 0.73rem;
  color: #8a6a00;
  margin-top: 0.15rem;
}

/* ════════════════════════════════════════════
   SECTOR CARDS (Agrícola / Industrial / Comercial)
════════════════════════════════════════════ */
.sector-card {
  border: 1.5px solid color-mix(in srgb, var(--sc-color) 15%, transparent);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Empuja la lista al fondo para alinear todas las cards */
.sector-card .sc-list {
  margin-top: auto;
  padding-top: 0.5rem;
}
.sector-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sc-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--sc-color) 18%, transparent) !important;
  border-color: color-mix(in srgb, var(--sc-color) 30%, transparent);
}
.sector-card:hover::before { transform: scaleX(1); }

.sc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.sc-icon {
  width: 48px; height: 48px;
  background: var(--sc-bg);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.sc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.sc-list li {
  font-size: 0.83rem;
  color: #5a6a8a;
  padding-left: 1.1rem;
  position: relative;
}
.sc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--sc-color);
  font-size: 0.65rem;
  top: 3px;
}

.mv-card {
  border: 1px solid rgba(13,110,253,0.1) !important;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow) !important;
}

.valor-chip {
  background: rgba(13,110,253,0.07);
  border: 1px solid rgba(13,110,253,0.15);
  color: var(--primary);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ════════════════════════════════════════════
   PILARES DE SERVICIOS
════════════════════════════════════════════ */
.pilar-card {
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.pilar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.pilar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.pilar-card:hover::before { transform: scaleX(1); }

.pilar-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.pilar-num {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(13,110,253,0.06);
  line-height: 1;
  user-select: none;
}

.pilar-quote {
  font-size: 0.78rem;
  font-style: italic;
  color: #8896b3;
  border-left: 3px solid var(--warning);
  padding-left: 0.75rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}

.pilar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pilar-list li {
  font-size: 0.83rem;
  color: #5a6a8a;
  padding-left: 1.1rem;
  position: relative;
}
.pilar-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 2px;
}

/* Sistema de facturación card */
.sistema-card {
  background: linear-gradient(135deg, #0843a3 0%, #0d6efd 100%);
  border: none;
}
.sistema-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--warning);
  flex-shrink: 0;
}
.text-white-75 { color: rgba(255,255,255,0.75) !important; }

/* ════════════════════════════════════════════
   ESPECIALIDADES
════════════════════════════════════════════ */
.esp-card {
  border: 1px solid #e8eef8 !important;
  transition: transform var(--transition), box-shadow var(--transition);
}
.esp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
}
.esp-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.esp-feature {
  font-size: 0.87rem;
  color: #5a6a8a;
  display: flex;
  align-items: flex-start;
}

/* ════════════════════════════════════════════
   CLIENTES
════════════════════════════════════════════ */
.client-card {
  background: #fff;
  border: 1px solid #e8eef8;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(13,110,253,0.2);
}

.sector-badge {
  background: rgba(13,110,253,0.05);
  border: 1px solid rgba(13,110,253,0.1);
  transition: background var(--transition);
  cursor: default;
}
.sector-badge:hover { background: rgba(13,110,253,0.1); }

/* ════════════════════════════════════════════
   EQUIPO
════════════════════════════════════════════ */
.team-card {
  border: 1px solid #e8eef8;
}

/* Avatar ejecutivo con iniciales */
.team-avatar-box {
  position: relative;
  width: 160px;
  height: 160px;
}
.team-avatar-graphic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0843a3 0%, #0d6efd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(13,110,253,0.3);
}
.tav-initials {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  z-index: 2;
}
.tav-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  animation: ringPulse 3s ease-in-out infinite;
}
.tav-ring-1 {
  width: 175px; height: 175px;
  top: -7.5px; left: -7.5px;
  animation-delay: 0s;
}
.tav-ring-2 {
  width: 192px; height: 192px;
  top: -16px; left: -16px;
  border-color: rgba(255,193,7,0.25);
  animation-delay: 1s;
}
@keyframes ringPulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.02); }
}
.tav-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e4ecff;
  border-radius: 50px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(13,110,253,0.15);
}
.credential-item {
  display: flex;
  align-items: center;
  font-size: 0.87rem;
  color: #4a5a7a;
  background: #f8faff;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

/* ════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #062580 0%, #0843a3 50%, #0d6efd 100%);
}

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contact-ico {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-block {
  transition: transform var(--transition);
}
.contact-block:hover { transform: translateX(4px); }

.contact-form-card {
  border: 1px solid #e8eef8;
}

.form-control, .form-select {
  border-radius: var(--radius-sm) !important;
  border-color: #d4dcf0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,0.12);
}

.horario-card { border-radius: var(--radius) !important; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer-main {
  background: linear-gradient(180deg, #0f1a3a 0%, #0a1228 100%);
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: center;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--warning); }

.footer-social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-social-icon.whatsapp:hover { background: #25d366; }

.footer-divider { border-color: rgba(255,255,255,0.08); margin: 0; }

.coming-soon-badge {
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.2);
  border-radius: var(--radius-sm);
}
.blink-dot {
  width: 8px; height: 8px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px; height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulseWA 3s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
  color: #fff;
}
@keyframes pulseWA {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: #25d366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(6px);
}
.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════════
   LOGIN PAGE
════════════════════════════════════════════ */
.login-body {
  background: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}
.login-wrapper {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 58px);
}
/* Logo on dark/colored backgrounds */
.login-side img,
.footer-main img,
.hero-center-logo img {
  border-radius: 8px;
  padding: 4px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.login-side {
  width: 440px;
  min-width: 440px;
  background: linear-gradient(145deg, #062580 0%, #0843a3 50%, #0d6efd 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem;
}
.login-side::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,193,7,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.login-form-wrapper {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.login-card { max-width: 440px; width: 100%; }
.login-avatar {
  width: 80px; height: 80px;
  background: rgba(13,110,253,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-icon-btn:hover {
  background: rgba(255,193,7,0.85);
  color: #fff;
  transform: translateY(-2px);
}
.input-group .form-control:focus { box-shadow: none; border-color: var(--primary); }
.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control { border-color: var(--primary); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding-bottom: 5rem; }
  .hero-stats-row { justify-content: center; }
  .hero-stat { padding: 0.5rem 0.8rem; }
  .hero-stat-divider { display: none; }

  .login-side { display: none !important; }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 3.5rem 0; }
  .hero-title { font-size: 1.9rem; }
  .stat-num { font-size: 1.6rem; }
  .pilar-card { padding: 1.5rem; }
  .whatsapp-fab { width: 52px; height: 52px; font-size: 1.5rem; bottom: 1.25rem; right: 1.25rem; }
}

/* ════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
[data-aos] { transition-duration: 600ms !important; }
