/* ==========================================================================
   MANTAY ARQUITECTURA — SISTEMA DE DISEÑO INTEGRAL
   Paleta extraída del logotipo oficial mantay.jpeg:
     - Rojo Carmesí Mantay:  #EB1E25 / #C4141A
     - Gris Pizarra Mantay:  #6B6B6D
     - Carbón Arquitectónico:#141518 / #1D1F24
     - Piedra / Blanco Puro: #F6F6F5 / #FFFFFF
   ========================================================================== */

:root {
  --mantay-red: #EB1E25;
  --mantay-red-dark: #C21319;
  --mantay-red-soft: rgba(235, 30, 37, 0.09);
  --mantay-red-glow: rgba(235, 30, 37, 0.28);

  --mantay-slate: #6B6B6D;
  --mantay-slate-light: #93959A;
  --mantay-ink: #17181C;
  --mantay-charcoal: #131417;
  --mantay-charcoal-2: #1D1F25;
  --mantay-surface: #F6F6F5;
  --mantay-surface-alt: #EEEEEC;
  --mantay-white: #FFFFFF;

  --border-subtle: rgba(23, 24, 28, 0.09);
  --border-dark: rgba(255, 255, 255, 0.11);

  --shadow-sm: 0 4px 16px rgba(19, 20, 23, 0.05);
  --shadow-md: 0 14px 36px rgba(19, 20, 23, 0.09);
  --shadow-lg: 0 24px 60px rgba(19, 20, 23, 0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --header-height: 84px;
  --ease-arch: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tipografía local de respaldo */
@font-face {
  font-family: 'CalibriLocal';
  src: url('../font/calibri.ttf') format('truetype');
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: 'Plus Jakarta Sans', 'CalibriLocal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--mantay-ink);
  background-color: var(--mantay-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--mantay-ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

a {
  color: var(--mantay-red);
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--mantay-red-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utilidades de sección y color */
.section-padding {
  padding: 5.5rem 0;
}

.section-padding-sm {
  padding: 3.5rem 0;
}

.bg-surface {
  background-color: var(--mantay-surface);
}

.bg-charcoal {
  background-color: var(--mantay-charcoal);
  color: var(--mantay-white);
}

.bg-charcoal h2,
.bg-charcoal h3,
.bg-charcoal h4 {
  color: var(--mantay-white);
}

.text-slate {
  color: var(--mantay-slate);
}

.text-muted-light {
  color: rgba(255, 255, 255, 0.65);
}

.border-bottom-subtle {
  border-bottom: 1px solid var(--border-subtle);
}

/* Etiqueta arquitectónica inspirada en el pilar izquierdo del logo Mantay */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mantay-red);
  margin-bottom: 0.85rem;
}

.eyebrow-tag::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 3px;
  background-color: var(--mantay-red);
  border-radius: 2px;
}

.eyebrow-light {
  color: #FF6B70;
}

.eyebrow-light::before {
  background-color: var(--mantay-red);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--mantay-slate);
  max-width: 660px;
}

/* Botones Mantay */
.btn-mantay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: var(--mantay-red);
  color: var(--mantay-white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.82rem 1.65rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--mantay-red);
  box-shadow: 0 8px 22px rgba(235, 30, 37, 0.24);
  transition: transform 0.25s var(--ease-arch), background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-mantay:hover,
.btn-mantay:focus {
  background-color: var(--mantay-red-dark);
  border-color: var(--mantay-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(235, 30, 37, 0.34);
}

.btn-outline-mantay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: transparent;
  color: var(--mantay-ink) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.82rem 1.65rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(23, 24, 28, 0.2);
  transition: all 0.25s var(--ease-arch);
}

.btn-outline-mantay:hover {
  border-color: var(--mantay-red);
  color: var(--mantay-red) !important;
  transform: translateY(-2px);
}

.btn-outline-light-mantay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--mantay-white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.82rem 1.65rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: all 0.25s var(--ease-arch);
}

.btn-outline-light-mantay:hover {
  background-color: var(--mantay-white);
  color: var(--mantay-ink) !important;
  border-color: var(--mantay-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.mantay-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 24, 28, 0.08);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.mantay-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 8px 30px rgba(19, 20, 23, 0.08);
}

.mantay-navbar {
  min-height: var(--header-height);
  padding: 0.5rem 0;
}

.mantay-brand {
  padding: 0;
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  transition: transform 0.25s var(--ease-arch), height 0.25s ease;
}

.mantay-header.is-scrolled .brand-logo {
  height: 42px;
}

.mantay-navbar .nav-link {
  position: relative;
  color: var(--mantay-ink) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem !important;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.mantay-navbar .nav-link:hover,
.mantay-navbar .nav-link.active {
  color: var(--mantay-red) !important;
}

@media (min-width: 992px) {
  .mantay-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 2px;
    height: 2px;
    background-color: var(--mantay-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s var(--ease-arch);
  }

  .mantay-navbar .nav-link.dropdown-toggle::after {
    position: static;
    transform: none;
    height: auto;
    background: transparent;
    vertical-align: 0.18em;
    margin-left: 0.35em;
  }

  .mantay-navbar .nav-link:not(.dropdown-toggle):hover::after,
  .mantay-navbar .nav-link:not(.dropdown-toggle).active::after {
    transform: scaleX(1);
  }
}

.btn-sm-nav {
  padding: 0.58rem 1.2rem;
  font-size: 0.88rem;
}

/* Dropdowns modernos */
.mantay-dropdown {
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--mantay-red);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.55rem;
  min-width: 245px;
  margin-top: 0.45rem;
  animation: dropdownFade 0.22s var(--ease-arch);
}

/* Puente invisible en escritorio para evitar que el menú se cierre al cruzar el espacio */
@media (min-width: 992px) {
  .mantay-navbar .dropdown {
    position: relative;
  }

  .mantay-dropdown {
    top: 100%;
    margin-top: 0.45rem;
  }

  .mantay-dropdown::before {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -18px;
    height: 18px;
    background: transparent;
  }
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mantay-dropdown .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.85rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--mantay-ink);
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mantay-dropdown .dropdown-item small {
  font-size: 0.75rem;
  color: var(--mantay-slate);
  font-weight: 400;
}

.mantay-dropdown .dropdown-item:hover,
.mantay-dropdown .dropdown-item:focus,
.mantay-dropdown .dropdown-item.active {
  background-color: var(--mantay-red-soft);
  color: var(--mantay-red);
  padding-left: 1.05rem;
}

.mantay-dropdown .dropdown-item-featured {
  background-color: var(--mantay-surface);
  font-weight: 700;
}

/* Botón hamburguesa móvil */
.mantay-toggler {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  background: transparent;
  outline: none !important;
}

.mantay-toggler .toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--mantay-ink);
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mantay-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mantay-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
.mantay-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 991.98px) {
  .mantay-navbar .navbar-collapse {
    background: var(--mantay-white);
    margin-top: 0.65rem;
    padding: 1rem 0.5rem 1.25rem;
    border-top: 1px solid var(--border-subtle);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .mantay-dropdown {
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--mantay-red);
    border-radius: 0;
    margin: 0.25rem 0 0.5rem 1rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
  }

  .nav-item-cta .btn-mantay {
    width: 100%;
  }
}

/* ==========================================================================
   HERO DE INICIO — CINEMÁTICO E IMPACTANTE
   ========================================================================== */
.hero-showcase {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  max-height: 920px;
  background-color: var(--mantay-charcoal);
  color: var(--mantay-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.07);
  transition: transform 6.5s linear;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    102deg,
    rgba(16, 17, 21, 0.92) 0%,
    rgba(16, 17, 21, 0.74) 48%,
    rgba(16, 17, 21, 0.36) 100%
  );
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 4.5rem 0 6.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mantay-red);
  box-shadow: 0 0 0 4px rgba(235, 30, 37, 0.28);
}

.hero-title {
  color: var(--mantay-white);
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.35rem;
  max-width: 780px;
}

.hero-title .text-accent {
  color: var(--mantay-red);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Barra inferior de pestañas del Hero */
.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: rgba(16, 17, 21, 0.72);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hero-tab-btn:last-child {
  border-right: none;
}

.hero-tab-btn:hover,
.hero-tab-btn.is-active {
  color: var(--mantay-white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-tab-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mantay-red);
  margin-bottom: 0.15rem;
}

.hero-tab-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background-color: var(--mantay-red);
}

.hero-tab-btn.is-active .hero-tab-progress {
  animation: heroProgress 6s linear forwards;
}

@keyframes heroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 767.98px) {
  .hero-showcase {
    min-height: 580px;
  }
  .hero-inner {
    padding: 3.2rem 0 5.5rem;
  }
  .hero-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-tab-btn {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* ==========================================================================
   FRANJA DE CIFRAS E IMPACTO (KPIs)
   ========================================================================== */
.stats-ribbon {
  background-color: var(--mantay-charcoal-2);
  color: var(--mantay-white);
  border-bottom: 3px solid var(--mantay-red);
  padding: 2.75rem 0;
}

.stat-item {
  padding: 0.65rem 1rem;
  border-left: 2px solid rgba(235, 30, 37, 0.55);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 700;
  color: var(--mantay-white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-number .stat-plus {
  color: var(--mantay-red);
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ==========================================================================
   TARJETAS DE CATEGORÍAS EN INICIO (BENTO ARQUITECTÓNICO)
   ========================================================================== */
.sector-card {
  position: relative;
  display: block;
  height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--mantay-charcoal);
  color: var(--mantay-white) !important;
}

.sector-card-lg {
  height: 360px;
}

.sector-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-arch), filter 0.45s ease;
}

.sector-card:hover .sector-card-img {
  transform: scale(1.07);
}

.sector-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 17, 21, 0.92) 0%, rgba(16, 17, 21, 0.35) 55%, rgba(16, 17, 21, 0.12) 100%);
  transition: background 0.35s ease;
}

.sector-card-content {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 2;
}

.sector-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  background-color: var(--mantay-red);
  padding: 0.24rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
}

.sector-card-title {
  color: var(--mantay-white);
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}

.sector-card-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sector-card-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mantay-white);
  transition: background-color 0.25s ease, transform 0.25s var(--ease-arch);
}

.sector-card:hover .sector-card-arrow {
  background-color: var(--mantay-red);
  transform: translate(3px, -3px);
}

/* ==========================================================================
   PROYECTOS EN CURSO DESTACADOS
   ========================================================================== */
.ongoing-card {
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease-arch), box-shadow 0.32s ease;
}

.ongoing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ongoing-card-media {
  position: relative;
  height: 245px;
  overflow: hidden;
}

.ongoing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-arch);
}

.ongoing-card:hover .ongoing-card-media img {
  transform: scale(1.06);
}

.ongoing-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--mantay-red);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.ongoing-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ongoing-loc {
  font-size: 0.82rem;
  color: var(--mantay-slate);
  margin-bottom: 0.35rem;
}

.ongoing-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.ongoing-desc {
  font-size: 0.94rem;
  color: var(--mantay-slate);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ongoing-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mantay-red);
}

.ongoing-link svg {
  transition: transform 0.25s ease;
}

.ongoing-card:hover .ongoing-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   MAPA INTERACTIVO LATINOAMÉRICA
   ========================================================================== */
.latam-map-stage {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: 1.25rem;
  background: var(--mantay-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.latam-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.map-pin-dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--mantay-red);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(235, 30, 37, 0.55);
  position: relative;
}

.map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid var(--mantay-red);
  animation: pinRadar 2.4s infinite ease-out;
}

@keyframes pinRadar {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.map-pin-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--mantay-charcoal);
  color: var(--mantay-white);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.map-pin:hover .map-pin-tooltip,
.map-pin:focus .map-pin-tooltip,
.map-pin.is-highlighted .map-pin-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.country-badge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.country-badge-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.country-badge-card:hover {
  border-color: var(--mantay-red);
  transform: translateX(3px);
}

.country-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--mantay-red);
  margin-top: 0.42rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .country-badge-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MARQUESINA LIGERA DE CLIENTES (REEMPLAZA GIF PESADO DE 13.7 MB)
   ========================================================================== */
.clients-marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.clients-marquee-wrap:hover .clients-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-chip {
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.75rem;
  min-width: 215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}

.client-chip:hover {
  border-color: var(--mantay-red);
}

.client-chip-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mantay-ink);
}

.client-chip-sector {
  font-size: 0.76rem;
  color: var(--mantay-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   HERO DE PÁGINAS INTERIORES Y BREADCRUMBS
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--mantay-charcoal);
  color: var(--mantay-white);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(19, 20, 23, 0.94) 0%, rgba(19, 20, 23, 0.82) 60%, rgba(19, 20, 23, 0.68) 100%);
}

.page-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.mantay-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.83rem;
}

.mantay-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.mantay-breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
}

.mantay-breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.mantay-breadcrumb a:hover {
  color: #FFFFFF;
}

.page-hero-title {
  color: var(--mantay-white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.85rem;
  max-width: 780px;
}

.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 680px;
  margin-bottom: 0;
}

/* ==========================================================================
   PORTAFOLIO Y TARJETAS DE PROYECTO
   ========================================================================== */
.category-switcher-bar {
  background: var(--mantay-white);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: var(--header-height);
  z-index: 1010;
}

.category-pills-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-pills-scroll::-webkit-scrollbar {
  display: none;
}

.cat-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  background: var(--mantay-surface);
  color: var(--mantay-ink);
  cursor: pointer;
  transition: all 0.22s ease;
}

.cat-switch-pill:hover {
  border-color: var(--mantay-red);
  color: var(--mantay-red);
}

.cat-switch-pill.active {
  background: var(--mantay-red);
  border-color: var(--mantay-red);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(235, 30, 37, 0.28);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 575.98px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--mantay-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-arch), box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-card.is-hidden {
  display: none;
}

.project-card-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card-media {
  position: relative;
  width: 100%;
  height: 245px;
  overflow: hidden;
  background-color: var(--mantay-charcoal);
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-arch);
}

.project-card:hover .project-card-img {
  transform: scale(1.07);
}

.project-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 20, 23, 0.68) 0%, transparent 55%);
}

.project-card-top {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.project-cat-pill {
  background: rgba(19, 20, 23, 0.78);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.26rem 0.65rem;
  border-radius: 4px;
}

.project-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mantay-ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
}

.project-client-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  max-width: 96px;
  max-height: 40px;
  display: flex;
  align-items: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.project-client-badge img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.project-card-hover-cta {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease-arch);
}

.project-card:hover .project-card-hover-cta {
  opacity: 1;
  transform: translateY(0);
}

.project-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  border-top: 3px solid transparent;
  transition: border-color 0.28s ease;
  width: 100%;
}

.project-card:hover .project-card-body {
  border-top-color: var(--mantay-red);
}

.project-card-meta {
  font-size: 0.78rem;
  color: var(--mantay-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.project-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--mantay-ink);
}

.project-card-type {
  font-size: 0.88rem;
  color: var(--mantay-slate);
  margin: 0;
}

/* Buscador de portafolio */
.portfolio-search-box {
  position: relative;
  max-width: 340px;
  width: 100%;
}

.portfolio-search-input {
  width: 100%;
  padding: 0.62rem 1rem 0.62rem 2.5rem;
  border: 1px solid rgba(23, 24, 28, 0.16);
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--mantay-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-search-input:focus {
  outline: none;
  border-color: var(--mantay-red);
  box-shadow: 0 0 0 3px var(--mantay-red-soft);
}

.portfolio-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mantay-slate);
  pointer-events: none;
}

/* ==========================================================================
   VISOR LIGHTBOX UNIFICADO
   ========================================================================== */
.mantay-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mantay-lightbox.is-open {
  display: block;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 16, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  color: var(--mantay-white);
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lightbox-badge {
  background: var(--mantay-red);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.lightbox-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin: 0;
}

.lightbox-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  margin: 0;
}

.lightbox-controls-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--mantay-red);
  border-color: var(--mantay-red);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0.75rem 0;
}

.lightbox-figure {
  position: relative;
  margin: 0;
  max-height: 100%;
  max-width: calc(100% - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-main-img {
  max-height: 74vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-watermark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  height: 28px;
  width: auto;
  opacity: 0.72;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.65));
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--mantay-red);
  border-color: var(--mantay-red);
  transform: scale(1.06);
}

.lightbox-prev { margin-right: auto; }
.lightbox-next { margin-left: auto; }

.lightbox-thumbs-wrap {
  display: flex;
  justify-content: center;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  max-width: 100%;
  padding: 0.25rem;
}

.lightbox-thumb-btn {
  width: 64px;
  height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
  flex-shrink: 0;
  background: #000;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lightbox-thumb-btn.is-active,
.lightbox-thumb-btn:hover {
  opacity: 1;
  border-color: var(--mantay-red);
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .lightbox-shell {
    padding: 0.75rem;
  }
  .lightbox-figure {
    max-width: 100%;
  }
  .lightbox-nav {
    position: absolute;
    z-index: 3;
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
  .lightbox-badge { display: none; }
}

/* ==========================================================================
   SERVICIOS — PESTAÑAS INTERACTIVAS Y PROCESO
   ========================================================================== */
.service-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
  .service-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .service-tabs-nav {
    grid-template-columns: 1fr;
  }
}

.service-tab-trigger {
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-arch);
}

.service-tab-trigger:hover {
  border-color: rgba(235, 30, 37, 0.4);
  transform: translateY(-2px);
}

.service-tab-trigger.is-active {
  border-color: var(--border-subtle);
  border-left-color: var(--mantay-red);
  background: var(--mantay-charcoal);
  color: var(--mantay-white);
  box-shadow: var(--shadow-md);
}

.service-tab-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mantay-red);
  display: block;
  margin-bottom: 0.3rem;
}

.service-tab-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  display: block;
}

.service-tab-short {
  font-size: 0.8rem;
  opacity: 0.72;
  display: block;
  margin-top: 0.2rem;
}

.service-panel {
  display: none;
  animation: panelFade 0.35s var(--ease-arch);
}

.service-panel.is-active {
  display: block;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: var(--mantay-red);
}

/* ==========================================================================
   ACORDEÓN DE PREGUNTAS FRECUENTES, FORMULARIOS Y SIMULADOR
   ========================================================================== */
.faq-item {
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(235, 30, 37, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mantay-ink);
  cursor: pointer;
}

.faq-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mantay-surface);
  color: var(--mantay-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-arch), background-color 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-icon-circle {
  transform: rotate(45deg);
  background: var(--mantay-red);
  color: #FFFFFF;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  color: var(--mantay-slate);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Tarjetas de formulario */
.arch-card {
  background: var(--mantay-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 575.98px) {
  .arch-card {
    padding: 1.5rem;
  }
}

.mantay-input {
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 24, 28, 0.16);
  padding: 0.6rem 0.95rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea.mantay-input {
  height: auto;
}

.mantay-input:focus {
  border-color: var(--mantay-red);
  box-shadow: 0 0 0 3px var(--mantay-red-soft);
  outline: none;
}

.form-status-alert {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-top: 1rem;
}

.form-status-alert.is-success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}

.form-status-alert.is-error {
  display: block;
  background: #FEF2F2;
  border: 1px solid var(--mantay-red);
  color: #991B1B;
}

/* ==========================================================================
   BANNER CTA Y PIE DE PÁGINA
   ========================================================================== */
.cta-banner-section {
  padding: 4.5rem 0;
  background: var(--mantay-white);
}

.cta-banner-box {
  position: relative;
  background: var(--mantay-charcoal);
  color: var(--mantay-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 7px;
  background-color: var(--mantay-red);
}

.cta-banner-title {
  color: var(--mantay-white);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.cta-banner-desc {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 991.98px) {
  .cta-banner-box {
    padding: 2.4rem 1.75rem;
  }
  .cta-banner-actions {
    justify-content: flex-start;
  }
}

.mantay-footer {
  background-color: var(--mantay-charcoal);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 4.5rem 0 2rem;
}

.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mantay-red) 0%, #7F1D1D 50%, var(--mantay-charcoal-2) 100%);
}

.footer-logo {
  height: 46px;
  width: auto;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 340px;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.social-pill:hover {
  background-color: var(--mantay-red);
  transform: translateY(-3px);
}

.footer-heading {
  color: #FFFFFF;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.2rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-contact a:hover {
  color: var(--mantay-red);
}

.contact-icon {
  color: var(--mantay-red);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.waze-inline-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #38BDF8 !important;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   ACCIONES FLOTANTES (WHATSAPP + VOLVER ARRIBA)
   ========================================================================== */
.floating-actions {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}

.whatsapp-tooltip {
  background: var(--mantay-charcoal);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 0.25s var(--ease-arch);
}

.floating-whatsapp:hover .whatsapp-circle {
  transform: scale(1.08);
}

.btn-back-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--mantay-white);
  color: var(--mantay-ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.btn-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-top:hover {
  background: var(--mantay-red);
  border-color: var(--mantay-red);
  color: #FFFFFF;
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA SUTILES (INTERSECTION OBSERVER)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-arch), transform 0.65s var(--ease-arch);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-up,
  .hero-slide-bg,
  .clients-marquee-track,
  .map-pin-dot::after {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
