/* index.css - global */
:root {
  --inr-primary: #4f46e5;
  --inr-primary-soft: #6366f1;
  --inr-primary-dark: #3730a3;
  --inr-accent: #22c55e;
  --inr-bg: #020617;
  --inr-text-main: #0f172a;
  --inr-text-muted: #64748b;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f1f5f9;
  color: var(--inr-text-main);
}

/* padding por navbar fija */
body {
  padding-top: 72px;
}

/* NAVBAR */
.inr-navbar {
  background-color: #ffffff !important;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e5e7eb; /* Línea suave tipo BootstrapMade */
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.navbar-logo {
  height: 60px;
  width: auto;
}

.nav-link {
  font-size: 0.9rem;
  color: #1a1a1a !important;
  opacity: 1;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd !important; /* Azul estándar Bootstrap / similar al de tu marca */
}

.language-switch {
  font-size: 0.8rem;
}

.disabled-lang {
  opacity: 0.5;
}

/* FOOTER */
.site-footer {
  padding: 1.8rem 0;
  background-color: #020617;
  color: #e5e7eb;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.85rem;
}

.footer-logo-text {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-contact a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copy {
	margin-top: 1.2rem !important;   /* espacio superior */
  margin-bottom: 0.5rem !important; /* opcional */
  color: #9ca3af;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 35px rgba(22, 163, 74, 0.7);
  z-index: 999;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(22, 163, 74, 0.85);
  background-color: #16a34a;
}

.whatsapp-icon {
  pointer-events: none;
}

/* UTILIDADES SECCIONES */
.section-space {
  padding: 5rem 0;
}

.section-title {
  font-weight: 650;
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 0.97rem;
  color: var(--inr-text-muted);
  max-width: 38rem;
  margin: 0 auto;
}

.section-text {
  font-size: 0.92rem;
  color: var(--inr-text-muted);
}

@media (max-width: 767.98px) {
  body {
    padding-top: 64px;
  }
  .section-space {
    padding: 3.5rem 0;
  }
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-social .social-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.social-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: none; /* NO modificamos colores */
  pointer-events: none;
}


/* Redes sociales - Footer INRITEC (estilo HTML original) */
.site-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.30);
    border-radius: 12px;
    color: #cbd5e1;
    text-decoration: none;
    vertical-align: middle;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.site-footer .footer-social-icon {
    display: block;
    width: 19px;
    height: 19px;
}

.site-footer .social-link:hover {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.12);
    border-color: #38bdf8;
    transform: translateY(-3px);
}

.site-footer .footer-copy {
    border-top: 1px solid rgba(148, 163, 184, 0.20);
    margin-top: 35px !important;
    padding-top: 20px;
    padding-bottom: 5px;
}

@media (max-width: 767px) {
    .site-footer .social-link {
        width: 42px;
        height: 42px;
        margin: 4px;
    }
    .site-footer .footer-copy {
        margin-top: 25px !important;
    }
}
