@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700;800&display=swap');


:root {
  --fortiva-bg1: #003366;
  --fortiva-bg2: #00aaff;
  --fortiva-text: #333333;
  --fortiva-accent: #2da6a6;
  --fortiva-gray-light: #f1f5f9;
  --fortiva-gray-neutral: #cccccc;
  --fortiva-soft-accent: #e8f0f6;
}

body {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
  color: var(--fortiva-text);
}

.gtm-noscript-frame {
  display: none;
  visibility: hidden;
}

.hero-row {
  height: 100%;
}

.section-core-subtitle {
  font-size: 20px;
  font-weight: 300;
}

.experience-description {
  font-family: 'Eczar', serif;
  font-size: 18px;
  font-weight: 300;
}

.blog-card-link {
  color: #003366;
}

.blog-article {
  max-width: 900px;
}

.blog-article-cover {
  height: 450px;
  object-fit: cover;
}
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 999;
  color: #003366;
}
.navbar-brand img {
  height: 60px;
}
.offcanvas-end {
  background-color: white;
}
.nav-link {
  color: #003366 !important;
  font-weight: 500;
}
.nav-link:hover {
  color: #e8f0f6 !important;
}

.hero-section {
  /*height: calc(100vh - 450px);*/
}

.hero-section > .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-left {
  padding: 90px 20px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 44.2px;
  color: #003366;
}

.hero-subtitle{
  font-family: 'Eczar', serif;
  font-size: 22px;
  font-weight: 400;
}

.hero-video {
  /*position: relative;*/
  min-height: auto;
}

.hero-video img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

#videoModal .modal-content {
  max-width: 960px;
  margin: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
}

.btn-hero{
  font-family: 'Eczar', serif;
  border: 0px;
  border-radius: 0px;
  background: #2da6a6;
  padding: 10px 20px;
}

.btn-hero:hover{
  background: #005b90;
}
.section-blog-title{
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 44.2px;
  background: #003366;
  color: #ffffff;
  text-align: left;
}
/* section 2 */
.section-core{
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 44.2px;
  background: #ffffff;
  color: #003366;
}

.section-experiencia{
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  background: #e8f0f6;
  color: #003366;
}

/* section 3 */
.title-servicios{
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #003366;
}

.title-box{
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #003366;
}
.texto-parrafo {
  font-family: 'Eczar', serif;
  font-size: 18px;
  font-weight: 300;
  color: #003366;
}
.texto-box {
  font-family: 'Eczar', serif;
  font-size: 16px;
  font-weight: 300;
  color: #003366;
}
.fondo-diagonal {
  position: relative;
  background: #f1f5f9; /* fondo principal */
  overflow: hidden;
  z-index: 1;
}
.fondo-diagonal::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120%;
  height: 100%;
  background: #2ca6a63b;
  transform: skewY(22deg);
  transform-origin: top left;
  z-index: 0;
}

/* capa diagonal superior derecha */
.fondo-diagonal::after {
  content: '';
  position: absolute;
  top: 220px;
  right: 0;
  width: 120%;
  height: 100%;
  background: #00336612;
  transform: skewY(343deg);
  transform-origin: bottom right;
  z-index: 0;
}

/* contenido por encima */
.fondo-diagonal > * {
  position: relative;
  z-index: 2;
}

/* línea de color a la izquierda de los títulos */
.border-acento {
  border-left: 4px solid #005b90;
}

.text-justify{
  text-align: justify;
}

.contact-section {
  background-color: #2ca6a63b;
  padding: 60px 0;
}
.contact-section h2 {
  color: var(--fortiva-bg1);
  font-weight: bold;
  margin-bottom: 40px;
}
.contact-icon {
  font-size: 48px;
  color: #005b90;
  margin-bottom: 10px;
}
.contact-label {
  color: #005b90;
  font-weight: bold;
}
.contact-value {
  color: var(--fortiva-text);
}

footer {
  background: #003366;
  color: #ffffff;
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  color: white;
}

/* Estado inicial oculto */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease, transform 1.2s ease;
}

/* Estado visible */
.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}


.blog-card {
  border: 1px solid var(--fortiva-gray-neutral);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Imagen ocupa alto completo de su columna */
.blog-thumb,
.blog-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Clamp para descripción en 3 líneas */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  /* En móvil, la imagen va arriba (Bootstrap lo hace) y ajustamos altura mínima */
  .blog-thumb { min-height: 180px; }
}

.bd-callout{
      background-color: #edfbfe;
    text-align: center;
    font-size: 14px;
    border-style: solid;
    border-width: 0px 0px 0px 5px;
    border-color: #0dcaf0;
    padding: 15px;
}

/*
Paleta Fortiva Web
Background 1: #003366 – Azul institucional (lado izquierdo del degradado)
Background 2: #00aaff – Celeste profesional (lado derecho del degradado)
Texto principal: #333333 – Gris oscuro para máxima legibilidad
Acento 1: #2da6a6 – Verde azulado para íconos y botones suaves
Gris claro de fondo: #f1f5f9 – Para secciones completas o tarjetas limpias
Gris neutro: #cccccc – Bordes, líneas y separadores
Acento suave: #e8f0f6 – Resaltados o fondos sutiles
*/
/* Mantiene estable el espacio de los iconos mientras carga su fuente. */
.bi::before {
  width: 1em;
  text-align: center;
}
