/* ==========================================================================
   TPS S.A. - Hoja de Estilos Principal
   Basado fielmente en index.pdf e index.jpg
   Tipografías oficiales:
     - Títulos: Poppins (Bold 700 / 800)
     - Textos y Párrafos: Montserrat (Medium 500 / Regular 400 / Bold 700)
     - Botones, Navbar y Badges: Poppins (Medium 500 / Regular 400)
     - Tags de Servicios y Pipeline: Archivo (SemiBold 600)
   ========================================================================== */

:root {
  /* Nuevos colores solicitados */
  --cllamativo: #01A9A2;
  --ccelestebtn: #027cfd;
  --ccelestebtn-hover: #026cdb;
  --ccelestetxt: #0480fa;

  --tps-primary: var(--ccelestebtn);
  --tps-primary-hover: var(--ccelestebtn-hover);
  --tps-primary-light: #e8f1ff;
  --tps-cyan: var(--cllamativo);
  --tps-dark: #040d1a;
  --tps-dark-surface: #0a1729;
  --tps-card-bg: #091527;
  --tps-text-dark: #0f172a;
  --tps-text-muted: #526075;
  --tps-border-color: #027cfd;

  /* Fuente oficial: Inter para toda la web */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono-tag: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--tps-text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Títulos: Exclusivamente Poppins */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-heading,
.service-card-title,
.diff-card-title,
.cta-heading {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  /* letter-spacing: -0.02em; */
}

/* Textos, párrafos y bajadas: Exclusivamente Montserrat */
p,
.hero-lead,
.section-intro-text,
.service-card-desc,
.diff-card-text,
.cta-desc,
.footer-desc,
.fpo-desc {
  font-family: var(--font-body) !important;
  font-weight: 500;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Helpers & Utilities */
.text-tps-primary,
.text-ccelestetxt {
  color: var(--ccelestetxt) !important;
}

.text-tps-cyan,
.text-cllamativo {
  color: var(--cllamativo) !important;
}

.text-ccelestebtn {
  color: var(--ccelestebtn) !important;
}

.bg-tps-dark {
  background-color: var(--tps-dark) !important;
}

.bg-tps-primary,
.bg-ccelestebtn {
  background-color: var(--ccelestebtn) !important;
}

.bg-cllamativo {
  background-color: var(--cllamativo) !important;
}

/* Botones: Con esquinas sutilmente redondeadas (border-radius: 8px) */
.btn-tps-primary,
.btn-tps-outline-blue,
.btn-tps-outline-light {
  font-family: var(--font-heading) !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-tps-primary {
  background-color: var(--ccelestebtn);
  border: 1px solid var(--ccelestebtn);
  color: #ffffff;
}

.btn-tps-primary:hover,
.btn-tps-primary:focus {
  background-color: var(--ccelestebtn-hover);
  border-color: var(--ccelestebtn-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 124, 253, 0.4);
}

/* Botón Outline Azul reutilizable */
.btn-tps-outline-blue {
  background-color: #011f4b;
  border: 2px solid var(--ccelestebtn);
  color: var(--ccelestebtn);
}

.btn-tps-outline-blue:hover,
.btn-tps-outline-blue:focus {
  background-color: var(--ccelestebtn);
  border-color: var(--ccelestebtn);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 124, 253, 0.35);
}

.btn-tps-outline-light {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-tps-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.tps-navbar {
  background-color: #000f28!important;
  border-bottom: 1px solid #193552;
  padding: 0;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1030;
}

.tps-navbar .container-xl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.tps-navbar.scrolled {
  background-color: #000f28 !important;
  border-bottom: 1px solid #193552;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.tps-navbar .navbar-brand {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.tps-navbar .navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.tps-navbar .navbar-collapse {
  align-items: center;
  justify-content: flex-end;
}

.tps-navbar .navbar-nav {
  display: flex;
  align-items: center;
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: 5rem;
}

.tps-navbar .nav-item {
  display: flex;
  align-items: center;
}

.tps-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 20px;
  padding: 0.5rem 0 !important;
  height: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.25s ease;
}

.tps-navbar .nav-link:hover {
  color: #ffffff;
}

.tps-navbar .nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

/* Indicador activo exacto: barra con bordes redondeados centrada bajo el texto */
.tps-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: var(--cllamativo);
  border-radius: 3px;
  z-index: 2;
}

/* Contenedor de herramientas derecha (Divider + Idioma) */
.tps-navbar .navbar-right-tools {
  display: flex !important;
  align-items: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 5rem !important;
  gap: 5rem;
}

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0;
  align-self: center;
}

.lang-selector {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.lang-selector:last-child {
  margin-right: 0;
}

.lang-selector a,
.lang-selector .lang-link {
  color: #94a3b8;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.2s ease;
}

.lang-selector a:hover,
.lang-selector .lang-link:hover {
  color: #ffffff;
}

.lang-selector a.is-active,
.lang-selector .lang-link.is-active,
.lang-selector a.active {
  color: #ffffff !important;
  font-weight: 600;
}

/* Barrita activa teal para el idioma seleccionado (ES) */
.lang-selector a::after,
.lang-selector .lang-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 18px;
  height: 3px;
  background-color: transparent;
  border-radius: 3px;
  transition: background-color 0.25s ease;
}

.lang-selector a.is-active::after,
.lang-selector .lang-link.is-active::after,
.lang-selector a.active::after {
  background-color: var(--cllamativo) !important;
}

/* Botón social circular */
.social-nav-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tps-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.95rem;
  margin-bottom: 0;
  margin-right: 1.85rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.social-nav-btn:hover {
  background-color: var(--tps-primary-hover);
  color: #ffffff;
  transform: scale(1.08);
}

/* Botón AGENDAR LLAMADA en el Navbar */
.tps-navbar .btn-tps-primary {
  height: 42px;
  padding: 0 1.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 8px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background-color: #020914;
  background-image: url('../images/fondo_hero.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: 8.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section > .container-xl {
  position: relative;
  z-index: 2;
}

/* Nombre de sección: Inter 600 · 12/18 · #01A9A2 */
.hero-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #01A9A2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: #01A9A2;
}

/* Descriptor: Inter 400 · 12/18 · blanco */
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Título principal: Inter 700 · 53/53 */
.hero-title {
  font-family: var(--font-heading);
  font-size: 53px !important;
  line-height: 53px !important;
  font-weight: 700;
  /* letter-spacing: -0.02em; */
  color: #ffffff;
  margin-bottom: 1.75rem;
}

/* Destacado: Azul #367BF6; solo última frase */
.hero-title .hero-highlight {
  color: #367BF6;
}

/* Párrafos: Inter Regular 400 · 16/24 */
.hero-lead-group {
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.hero-lead-group p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-lead-group p:last-child {
  margin-bottom: 0;
}

/* Hero CTA Group */
.hero-cta-group {
  margin-bottom: 0.5rem;
}

/* Hero Bottom Feature Bar (Línea blanca divisoria + botones/tags) */
.hero-bottom-bar {
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.hero-bottom-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.hero-bottom-item {
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.hero-bottom-item:hover {
  color: var(--cllamativo);
}

.hero-bottom-pipe {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 1.5rem;
  font-weight: 300;
  font-size: 14px;
}

.hero-lead {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #ffffff;
  max-width: 620px;
  margin-bottom: 2.25rem;
}

/* Hero FPO Card */
.fpo-tech-box {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.75) 0%, rgba(5, 14, 27, 0.9) 100%);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease;
}

.fpo-tech-box:hover {
  border-color: rgba(56, 189, 248, 0.7);
}

.fpo-tech-box .fpo-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.fpo-tech-box .fpo-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.65);
  max-width: 360px;
  margin: 0 auto;
}

/* ==========================================================================
   Nuestros Servicios Section
   ========================================================================== */
.services-section {
  padding-top: 3rem;
  padding-bottom: 5.5rem;
  background-color: #ffffff;
  scroll-margin-top: 80px;
}

@media (max-width: 991.98px) {
  .services-section {
    scroll-margin-top: 70px;
      padding-bottom: 2.5rem;
  }
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ccelestetxt);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Línea decorativa antes de "NUESTROS SERVICIOS" (igual a .hero-tag::before) */
.services-section .section-label,
.how-we-work-section .section-label,
.why-tps-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.services-section .section-label::before,
.how-we-work-section .section-label::before,
.why-tps-section .section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
  flex-shrink: 0;
}

/* Encabezado de bloque: eyebrow teal, título oscuro con destacado azul */
.services-section {
  background-color: #F7F9FA;
}

.services-section .section-label,
.how-we-work-section .section-label,
.why-tps-section .section-label {
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
}

.services-section .section-heading,
.how-we-work-section .section-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  /* letter-spacing: -0.045em; */
  color: #081832;
}

.services-section .section-heading .text-tps-primary,
.how-we-work-section .section-heading .text-tps-primary {
  color: #367BF6 !important;
}

.services-section .section-intro-text {
  font-size: 16px;
  line-height: 1.5;
  color: #334155;
}

@media (min-width: 992px) {
  .services-section .section-intro-text {
    padding-left: 2.25rem;
    border-left: 1px solid #a8b4c5;
  }
}

@media (max-width: 575.98px) {
  .services-section .section-heading,
  .how-we-work-section .section-heading {
    font-size: clamp(29px, 8.5vw, 34px);
  }
}

.section-heading {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--tps-text-dark);
}

.section-intro-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--tps-text-muted);
}

/* 6 Service Cards (esquinas redondeadas). Desktop: tarjeta con foto | Mobile (<768px): acordeón Bootstrap collapse */
.service-card {
  position: relative;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #001F37;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  color: #ffffff;
  isolation: isolate;
}

.service-card .service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card .service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 22, 42, 0.91) 0%,
    rgba(0, 25, 45, 0.68) 15%,
    rgba(0, 32, 52, 0.02) 37%,
    rgba(0, 25, 45, 0.07) 50%,
    rgba(0, 27, 48, 0.85) 74%,
    rgba(0, 28, 50, 0.99) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 103, 255, 0.22);
}

.service-card:hover .service-card-bg {
  transform: scale(1.06);
}

/* Contenido: título + línea arriba, descripción (y botón) abajo */
.service-card-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem 1.5rem 1.5rem;
}

.service-card-head {
  margin: 0;
}

.service-card-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  font: inherit;
  cursor: default;
  pointer-events: none; /* En desktop el título no es interactivo */
}

.service-card-title {
  display: block;
  max-width: 320px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.1;
  /* letter-spacing: -0.036em; */
  text-wrap: balance;
}

.service-card-line {
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.service-card-desc {
  max-width: 380px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ffffff;
  text-align: left;
  text-wrap: pretty;
}

/* Botón CONOCER MÁS (ETAPA 2: el markup está comentado en index.php) */
.btn-service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 38px;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid #ffffff;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.012em;
  white-space: nowrap;
}

.btn-service-link:hover,
.btn-service-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  border-color: #ffffff;
}

/* Mobile: acordeón (foto + título arriba, descripción desplegable) */
@media (max-width: 767.98px) {
  .service-card {
    height: auto;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(9, 37, 68, 0.25);
  }

  .service-card:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(9, 37, 68, 0.25);
  }

  .service-card:hover .service-card-bg {
    transform: none;
  }

  .service-card .service-card-bg,
  .service-card .service-card-overlay {
    height: 106px;
  }

  .service-card .service-card-overlay {
    background: linear-gradient(
      90deg,
      #001b31 0%,
      rgba(0, 27, 49, 0.97) 18%,
      rgba(0, 29, 51, 0.88) 45%,
      rgba(0, 31, 53, 0.3) 82%,
      rgba(0, 31, 53, 0.07) 100%
    );
  }

  .service-card-inner {
    height: auto;
    display: block;
    padding: 0;
  }

  .service-card-toggle {
    position: relative;
    min-height: 106px;
    padding: 1rem 3rem 0.85rem 1.1rem;
    cursor: pointer;
    pointer-events: auto;
  }

  .service-card-title {
    max-width: 210px;
    font-size: clamp(1.05rem, 4.9vw, 1.25rem);
    line-height: 1.1;
  }

  .service-card-line {
    width: 33px;
    height: 3px;
    margin-top: 0.7rem;
  }

  .service-card-chevron {
    position: absolute;
    top: 50%;
    right: 1rem;
    color: #06d3ce;
    font-size: 1.2rem;
    transform: translateY(-50%);
    transition: transform 0.22s ease;
  }

  .service-card-toggle:not(.collapsed) .service-card-chevron {
    transform: translateY(-50%) rotate(180deg);
  }

  .service-card-toggle:focus-visible {
    outline: 3px solid var(--cllamativo);
    outline-offset: -4px;
  }

  .service-card-body {
    padding: 1rem 1.1rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .service-card-desc {
    max-width: none;
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Como Trabajamos Section
   ========================================================================== */
.how-we-work-section {
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
  background-color: #F7F9FA;
}



/* Imagen institucional (images/fondo_comotrabajamos.webp) */
.hww-image {
  background-color: #e2e8f0;
  overflow: hidden;
}

.hww-image img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

.hww-intro {
  margin-bottom: 2.25rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #334155;
}

/* Filas COLABORACIÓN / EVOLUCIÓN con línea divisoria superior */
.hww-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid #a8b4c5;
}

@media (min-width: 768px) {
  .hww-item {
    grid-template-columns: 31% 1fr;
    gap: 0 1.5rem;
  }
}

.hww-item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #081832;
  text-transform: uppercase;
}

.hww-item-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #334155;
}

.fpo-office-box {
  background: #e2e8f0;
  border: 1px dashed #94a3b8;
  border-radius: 20px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

.fpo-office-box .fpo-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.fpo-office-box .fpo-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 320px;
}

/* Pipeline: Archivo SemiBold */
.pipeline-steps {
  font-family: var(--font-mono-tag) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ccelestetxt);
  line-height: 1.9;
  text-transform: uppercase;
}

.pipeline-steps span {
  display: inline-block;
}

.pipeline-steps .pipe {
  color: #93c5fd;
  margin: 0 0.5rem;
  font-weight: 400;
}

/* ==========================================================================
   Por Qué TPS (Diferenciales) Section
   Fondo oscuro + Bootstrap tabs (selector a la izquierda, detalle a la derecha)
   ========================================================================== */
.why-tps-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  color: #ffffff;
  background: linear-gradient(120deg, #00152f 0%, #001D3E 53%, #062d59 100%);
}

/* Formas decorativas de fondo */
.why-tps-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -23%;
  top: -45%;
  width: 75%;
  height: 115%;
  border-radius: 0 0 0 100%;
  transform: rotate(-7deg);
  background: linear-gradient(155deg, rgba(13, 90, 166, 0.31), rgba(3, 44, 90, 0.08) 65%);
  pointer-events: none;
}

.why-tps-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -22%;
  bottom: -84%;
  width: 80%;
  height: 98%;
  border: 1px solid rgba(5, 158, 239, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.why-tps-section .section-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.why-lead {
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #d6e2f2;
}

.why-rule {
  height: 1px;
  margin: 3rem 0 2.5rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.13));
}

/* Selector (tabs de Bootstrap) */
.why-tabs {
  flex-direction: column;
  flex-wrap: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.why-tabs .why-tab {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  margin-left: -2px;
  padding: 1.45rem 1.1rem 1.5rem 1.5rem;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #93abc5;
  text-align: left;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.why-tabs .why-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.035);
}

.why-tabs .why-tab:focus-visible {
  outline: 2px solid var(--cllamativo);
  outline-offset: -2px;
}

.why-tabs .why-tab.active {
  color: #ffffff;
  border-left-color: var(--cllamativo);
  background: linear-gradient(90deg, rgba(1, 169, 162, 0.11), transparent 85%);
}

.why-tab-number {
  flex: 0 0 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
}

.why-tab-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.008em;
  text-transform: uppercase;
}

/* Detalle */
.why-detail {
  position: relative;
  min-height: 340px;
}

.why-detail .tab-pane {
  position: relative;
  min-height: 340px;
  padding: 0.6rem 0.75rem 0 0;
  overflow: hidden;
}

.why-detail-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.why-ghost {
  position: absolute;
  top: 11%;
  right: 4%;
  font-size: clamp(180px, 24vw, 375px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.027);
  pointer-events: none;
  user-select: none;
}

.why-step {
  margin-bottom: 1.55rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cllamativo);
}

.why-detail-title {
  max-width: 590px;
  margin: 0 0 1.75rem;
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  text-wrap: balance;
}

.why-detail-text {
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.05rem, 1.42vw, 1.05rem);
  line-height: 1.65;
  color: #dfebf8;
}

/* Progreso + CTA */
.why-bottom {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.why-progress {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Las 4 barras son clickeables (área de clic más alta que la línea visible) */
.why-progress-item {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.why-progress-item span {
  display: block;
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease;
}

.why-progress-item:hover span {
  background: rgba(255, 255, 255, 0.5);
}

.why-progress-item.on span,
.why-progress-item.on:hover span {
  background: var(--cllamativo);
}

.why-progress-item:focus-visible {
  outline: 2px solid var(--cllamativo);
  outline-offset: 2px;
}

/* Mobile / tablet: selector horizontal con scroll */
@media (max-width: 991.98px) {
  .why-tps-section {
    padding-top: 3.5rem;
    padding-bottom: 3.25rem;
  }

  .why-rule {
    margin: 2rem 0 1rem;
  }

  .why-section .row > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
  }

  .why-tabs {
    flex-direction: row;
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .why-tabs .why-tab {
    flex: 0 0 48%;
    min-width: 190px;
    margin-left: 0;
    padding: 1.1rem 0.9rem;
    gap: 0.6rem;
    border-left: 0;
    border-bottom: 3px solid transparent;
    scroll-snap-align: start;
  }

  .why-tabs .why-tab.active {
    border-left: 0;
    border-bottom-color: var(--cllamativo);
    background: linear-gradient(0deg, rgba(1, 169, 162, 0.12), transparent 85%);
  }

  .why-tab-number,
  .why-tab-name {
    font-size: 12px;
  }

  .why-tab-number {
    flex-basis: 18px;
  }

  .why-detail,
  .why-detail .tab-pane {
    min-height: 290px;
  }

  .why-detail .tab-pane {
    padding-right: 0;
  }

  .why-ghost {
    right: 0;
    top: 6%;
    font-size: 220px;
  }
}
/* ==========================================================================
   Hablemos de tu próximo proyecto Section
   ========================================================================== */
.new-project-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: #ffffff;
}

.new-project-section .section-label,
.new-project-section .section-heading {
  font-family: var(--font-heading);
}

.new-project-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
}

.new-project-section .section-label::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.new-project-section .section-heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  color: #081832;
}

.new-project-section .section-heading .text-tps-primary {
  color: #367BF6 !important;
}

.new-project-section .section-intro-text {
  max-width: 440px;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.45;
  color: #1e293b;
}

@media (min-width: 992px) {
  .new-project-right {
    padding-left: 2.75rem;
    border-left: 1px solid #cbd5e1;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
}

.new-project-rule {
  height: 1px;
  margin-top: 3rem;
  background-color: #cbd5e1;
}

@media (max-width: 767.98px) {
  .new-project-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .new-project-section .section-intro-text {
    font-size: 0.98rem;
  }

  .new-project-btn {
    width: 100%;
  }

  .new-project-rule {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .new-project-section .section-heading {
    font-size: clamp(29px, 8.5vw, 34px);
  }
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-section {
  position: relative;
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
  background-color: #030d1a;
  background-image: url('../images/bg-cta.webp');
  background-size: cover;
  background-position: center center;
  color: #ffffff;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(3, 13, 26, 0.35) 0%, rgba(3, 13, 26, 0.75) 100%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-heading {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-desc {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tps-footer {
  background-color: #001D3E;
  color: #ffffff;
  padding-top: 3.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tps-footer .footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.tps-footer .footer-since {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cllamativo);
}

.tps-footer .footer-desc {
  max-width: 240px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.tps-footer .footer-heading {
  margin: 0 0 1.35rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--cllamativo);
}

.tps-footer a {
  color: #ffffff;
}

.tps-footer a:hover {
  color: var(--cllamativo);
}

/* Navegación */
.tps-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tps-footer .footer-links a {
  font-size: 1rem;
  font-weight: 600;
}

/* Contacto / Oficinas */
.tps-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.tps-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tps-footer .footer-contact strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
}

.tps-footer .footer-contact small {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.tps-footer .footer-icon {
  flex: 0 0 28px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cllamativo);
}

.tps-footer .footer-icon-linkedin {
  color: #0a66c2;
}

/* Divisores verticales entre columnas (desktop) */
@media (min-width: 992px) {
  .tps-footer .footer-col {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }
}

/* Barra inferior */
.footer-bottom-row {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  color: #e2e8f0;
}

.tps-footer .footer-privacy {
  font-weight: 700;
  color: #ffffff;
}
/* ==========================================================================
   Sobre TPS (pantalla institucional)
   ========================================================================== */
.about-section {
  padding-top: calc(80px + 3rem);
  padding-bottom: 4rem;
  background-color: #ffffff;
}

.about-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
}

.about-section .section-label::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.about-title {
  margin: 0 0 1.5rem;
  font-size: 48px !important;
  font-weight: 700;
  line-height: 1.1;
  color: #081832;
}

.about-title .text-tps-primary {
  color: #367BF6 !important;
}

.about-lead {
  max-width: 900px;
  margin: 0 0 2.5rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #334155;
}

.about-image {
  background-color: #e2e8f0;
  overflow: hidden;
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4.3 / 1;
  object-fit: cover;
}

/* Frase destacada centrada */
.about-statement {
  max-width: 760px;
  margin: 3rem auto 2.75rem;
  text-align: center;
}

.about-statement p {
  margin: 1.25rem 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #081832;
}

.about-dash {
  display: inline-block;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

/* 3 pilares numerados con divisores verticales */
.about-pillar {
  height: 100%;
}

.about-dash-top {
  margin-bottom: 0;
}

/* Número + línea teal corta debajo */
.about-number-wrap {
  margin-bottom: 1rem;
}

.about-dash-sm {
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 0.6rem;
}

.about-number {
  display: block;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: #b8c4d3;
}

.about-pillar-title {
  margin: 0 0 0.9rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: #081832;
}

.about-pillar-body p {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
}

.about-pillar-body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .about-pillars > [class*='col-']:not(:first-child) {
    border-left: 1px solid #c4cdd9;
  }

  .about-pillars > [class*='col-'] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .about-pillars > [class*='col-']:first-child {
    padding-left: 0.75rem;
  }
}

/* Cierre */
.about-cta {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid #c4cdd9;
}

.about-cta-title {
  max-width: 640px;
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: #081832;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--cllamativo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #081832;
}

.about-cta-link:hover {
  color: var(--ccelestetxt);
}

/* Mobile: pilares apilados con número a la izquierda y línea horizontal */
@media (max-width: 991.98px) {
  .about-title {
    font-size: clamp(30px, 8vw, 40px) !important;
  }

  .about-statement {
    margin: 2rem auto 1.75rem;
  }

  .about-statement p {
    font-size: 1.15rem;
  }

  .about-pillars > [class*='col-'] {
    border-top: 1px solid #c4cdd9;
  }

  .about-pillars > [class*='col-']:first-child {
    border-top: 0;
  }

  .about-pillar {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .about-number-wrap {
    flex: 0 0 52px;
    margin-bottom: 0;
  }

  .about-number {
    font-size: 2.1rem;
  }

  .about-pillar-title {
    font-size: 1.2rem;
  }

  .about-cta {
    margin-top: 1.5rem;
  }

  .about-cta-title {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   Formularios y Controles (Contacto)
   ========================================================================== */
.form-control,
.form-select {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--tps-primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 103, 255, 0.18);
}

.form-control::placeholder {
  color: #94a3b8;
  font-size: 0.92rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .tps-navbar .navbar-nav {
    gap: 3.5rem;
  }
  .tps-navbar .navbar-right-tools {
    margin-left: 3.5rem !important;
    gap: 3.5rem;
  }
}

@media (max-width: 991.98px) {
  .tps-navbar {
    height: auto;
    min-height: 70px;
    padding: 0.75rem 0;
  }

  .tps-navbar .container-xl {
    align-items: center;
  }

  .tps-navbar .navbar-collapse {
    background-color: #011f4b;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    align-items: flex-start;
  }

  .tps-navbar .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .tps-navbar .nav-link {
    height: auto;
    padding: 0.35rem 0 !important;
    align-items: flex-start;
  }

  .tps-navbar .nav-link.active::after {
    left: 0;
    right: auto;
    width: 32px;
    bottom: -3px;
  }

  .tps-navbar .navbar-right-tools {
    margin-left: 0 !important;
    margin-top: 1.25rem !important;
    gap: 1.5rem;
    align-items: center !important;
  }

  .hero-title {
    font-size: 34px !important;
    line-height: 38px !important;
  }
  
  .section-heading {
    font-size: 2rem;
  }

  .cta-heading {
    font-size: 2.2rem;
  }

  .fpo-tech-box {
    margin-top: 3rem;
  }

  .fpo-office-box {
    margin-bottom: 2.5rem;
    min-height: 340px;
  }
}

@media (max-width: 767.98px) {
  /* Botones del Header / Hero iguales de ancho en mobile */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    gap: 0.85rem !important;
  }

  .hero-cta-group .btn,
  .hero-cta-group .btn-tps-primary,
  .hero-cta-group .btn-tps-outline-blue {
    width: 100% !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    min-height: 48px;
    box-sizing: border-box;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 46px !important;
    line-height: 48px !important;
  }

  .cta-heading {
    font-size: 1.85rem;
  }

}

/* ==========================================================================
   Página de Contacto (Hero + Formulario)
   ========================================================================== */
.contact-hero {
  position: relative;
  background-color: #01182F;
  color: #ffffff;
  padding-top: calc(80px + 3rem);
  padding-bottom: 3.5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero-container {
  position: relative;
  z-index: 2;
}

.contact-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
  text-transform: uppercase;
}

.contact-hero-label::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.contact-hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 48px !important;
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
}

.contact-hero-title .text-tps-primary {
  color: #367BF6 !important;
}

.contact-hero-lead {
  max-width: 420px;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

/* Imagen Hero: a la derecha con fundido en desktop, bloque completo abajo en mobile */
.contact-hero-media {
  position: absolute;
  top: 80px;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
  background-color: #01182F;
}

.contact-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #01182F 0%,
    rgba(1, 24, 47, 0.72) 10%,
    rgba(1, 24, 47, 0) 26%
  );
  z-index: 2;
  pointer-events: none;
}

.contact-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Cuerpo de Contacto */
.contact-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background-color: #F7F9FA;
}

.contact-intro-col {
  padding-top: 1.25rem;
}

.contact-intro-dash {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
  margin-bottom: 1.15rem;
}

.contact-intro-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.22;
  color: #081832;
}

.contact-intro-text {
  max-width: 340px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.45;
  color: #1e293b;
}

/* Card del Formulario */
.contact-form-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 35px rgba(8, 24, 50, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.45);
}

.contact-form-title {
  margin: 0 0 1.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #081832;
}

.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.contact-input {
  background-color: #f8fafc;
  border: 1px solid #b8c4d4;
  border-radius: 8px;
  padding: 0.58rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #081832;
}

.contact-input::placeholder {
  color: #081832;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.85;
}

.contact-textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-legal-text {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: #0f172a;
}

.contact-legal-text a,
.contact-check a {
  color: var(--ccelestebtn);
  text-decoration: underline;
  font-weight: 600;
}

.contact-legal-text a:hover,
.contact-check a:hover {
  color: var(--ccelestebtn-hover);
}

.contact-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0;
  margin-bottom: 1.35rem;
}

.contact-check .form-check-input {
  float: none;
  margin: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #081832;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-check .form-check-input:checked {
  background-color: var(--ccelestebtn);
  border-color: var(--ccelestebtn);
}

.contact-check .form-check-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #081832;
  cursor: pointer;
}

.contact-submit-btn {
  width: 100%;
  max-width: 420px;
  padding: 0.82rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .contact-hero-title {
    font-size: clamp(30px, 8vw, 40px) !important;
  }

  .contact-intro-col {
    padding-top: 0;
  }

  .contact-intro-text {
    max-width: 100%;
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    display: block;
    min-height: auto;
    padding-top: calc(70px + 1.75rem);
    padding-bottom: 0;
  }

  .contact-hero-content {
    padding-bottom: 1.5rem;
  }

  .contact-hero-lead {
    font-size: 0.98rem;
    max-width: 340px;
  }

  .contact-hero-media {
    position: relative;
    top: 0;
    width: 100%;
  }

  .contact-hero-media::before {
    display: none;
  }

  .contact-hero-media img {
    aspect-ratio: 16 / 9;
  }

  .contact-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  .contact-submit-btn {
    max-width: 100%;
  }
}

/* ==========================================================================
   Política de Privacidad (politicas-privacidad.php)
   ========================================================================== */
.privacy-section {
  padding-top: calc(80px + 3rem);
  padding-bottom: 4.5rem;
  background-color: #ffffff;
}

.privacy-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
  color: var(--cllamativo);
}

.privacy-section .section-label::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.privacy-header {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.privacy-lead {
  margin: 0;
  font-size: 1.0rem;
  line-height: 1.6;
  color: #334155;
}

.privacy-content {
  max-width: 940px;
  border-top: 1px solid #cbd5e1;
}

.privacy-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.privacy-item-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #b8c4d3;
  position: relative;
}

.privacy-item-num::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background-color: var(--cllamativo);
}

.privacy-item-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: #081832;
}

.privacy-item-body p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.privacy-item-body p:last-child {
  margin-bottom: 0;
}

.privacy-item-body a {
  color: var(--ccelestebtn);
  text-decoration: underline;
  font-weight: 600;
}

.privacy-item-body a:hover {
  color: var(--ccelestebtn-hover);
}

.privacy-contact-card {
  background-color: #F7F9FA;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--cllamativo);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  font-size: 0.92rem;
  color: #334155;
}

.privacy-meta-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cllamativo);
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .privacy-section {
    padding-top: calc(70px + 2rem);
    padding-bottom: 3rem;
  }

  .privacy-item {
    grid-template-columns: 48px 1fr;
    gap: 0.85rem;
    padding: 1.5rem 0;
  }

  .privacy-item-num {
    font-size: 1.65rem;
  }

  .privacy-item-title {
    font-size: 1.15rem;
  }

  .privacy-contact-card {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   Burbujas Flotantes (Agendar Llamada + Scroll To Top)
   ========================================================================== */
.tps-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1080;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

.tps-floating-actions .floating-btn {
  pointer-events: auto;
  height: 50px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-heading) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

/* 1. Botón Agendar Llamada (Estilo sólido azul: btn-tps-primary) */
.floating-btn-booking {
  width: 50px;
  min-width: 50px;
  background-color: var(--ccelestebtn);
  border: 1px solid var(--ccelestebtn);
  color: #ffffff !important;
  padding: 0;
  white-space: nowrap;
  box-shadow: none;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.floating-btn-booking .floating-btn-icon {
  font-size: 1.35rem;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.floating-btn-booking .floating-btn-text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease;
  display: inline-block;
  color: #ffffff;
}

/* Hover expansible en escritorio */
@media (min-width: 992px) {
  .floating-btn-booking:hover {
    width: auto;
    background-color: var(--ccelestebtn-hover);
    border-color: var(--ccelestebtn-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: none;
    padding-right: 1.35rem;
  }

  .floating-btn-booking:hover .floating-btn-text {
    max-width: 220px;
    opacity: 1;
    margin-left: 0.15rem;
  }
}

/* 2. Botón Scroll To Top (Estilo outline azul: btn-tps-outline-blue, más a la derecha) */
.floating-btn-scrolltop {
  width: 50px;
  min-width: 50px;
  background-color: transparent;
  border: 2px solid var(--ccelestebtn);
  color: var(--ccelestebtn);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-btn-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-btn-scrolltop .floating-btn-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ccelestebtn);
  transition: color 0.25s ease;
}

.floating-btn-scrolltop:hover {
  background-color: var(--ccelestebtn);
  border-color: var(--ccelestebtn);
  color: #ffffff;
  transform: translateY(-2px) scale(1);
  box-shadow: none;
}

.floating-btn-scrolltop:hover .floating-btn-icon {
  color: #ffffff;
}

/* Adaptación Mobile */
@media (max-width: 767.98px) {
  .tps-floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
    max-width: calc(100vw - 32px);
  }

  .tps-floating-actions .floating-btn {
    height: 46px;
    width: 46px;
    min-width: 46px;
  }

  .floating-btn-booking .floating-btn-text {
    display: none !important;
  }

  .floating-btn-booking .floating-btn-icon {
    min-width: 44px;
    font-size: 1.25rem;
  }

  .floating-btn-scrolltop .floating-btn-icon {
    font-size: 1.25rem;
  }
}

