/* ==========================================================================
   CHAMBÉALO — DESIGN SYSTEM & STYLES
   Basado en Context.txt & Figma Oficial
   ========================================================================== */

:root {
  /* Paleta Oficial (Fondo aclarado hacia el blanco) */
  --bg-main: #FDFBF9;
  --text-main: #939393;
  --text-muted: #B2B2B2;
  --text-white: #FFFFFF;
  --text-dark: #1F2220;

  /* Degradado Verde Oficial (Botones) */
  --green-start: #076B45;
  --green-end: #074834;
  --green-gradient: linear-gradient(90deg, var(--green-start) 0%, var(--green-end) 100%);
  --green-radial: radial-gradient(circle at 50% 50%, var(--green-start) 0%, #064023 65%, var(--green-end) 100%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-highlight: rgba(255, 255, 255, 0.3);

  /* Tipografía Oficial: Urbanist */
  --font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-regular: 400;
  --font-semibold: 600;
}

/* Reset Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Lenis Recommended Smooth Scroll Base */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  background-color: var(--bg-white, #FAF8F5);
  color: var(--text-main);
  font-family: var(--font-family);
  font-weight: var(--font-regular);
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   0. PRELOADER CORTINA VERDE
   ========================================================================== */
#preloaderCurtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/Loader.webp');
  background-size: cover;
  background-position: center;
  background-color: var(--green-end);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  will-change: transform;
}

.loader-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.loader-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 4px;
  /* kerning más ajustado */
}

.loader-iso {
  height: 66px;
  /* logo principal más grande */
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}

.loader-text-mask {
  overflow: hidden;
  width: 0px;
  opacity: 0;
  display: flex;
  align-items: center;
  height: 66px;
  /* proporción idéntica al isotipo */
  will-change: width, opacity;
}

.loader-text {
  height: 66px;
  /* proporción idéntica al isotipo */
  width: auto;
  margin-bottom: 0px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}

/* ==========================================================================
   FLOATING NAV PILL — Isotipo centrado, 2 links a izquierda, botón a derecha
   ========================================================================== */
/* Pill flotante que contiene el navbar: ajustado para solo el botón */
.nav-pill {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-pill:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Grupo de links izquierdos */
.nav-left-links {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  padding-left: 10px;
}

/* Grupo de acciones derecho */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

/* Isotipo central */
.nav-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-brand-logo {
  height: 32px;
  width: auto;
  /* Isotipo verde usando filtro CSS */
  filter: brightness(0) saturate(100%) invert(27%) sepia(76%) saturate(600%) hue-rotate(110deg) brightness(88%) contrast(98%);
  transition: transform 0.3s ease;
}

.nav-brand-logo:hover {
  transform: scale(1.08);
}

/* Nav icon links — icono que se expande al hover para mostrar label */
.nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text-main);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 24px;
  transition: background 0.25s ease, color 0.25s ease;
  overflow: hidden;
  max-width: 36px;
  /* sólo icono por defecto */
  transition: max-width 0.38s cubic-bezier(0.25, 1, 0.5, 1), background 0.25s ease, color 0.25s ease, gap 0.3s ease;
}

.nav-icon-link:hover {
  max-width: 200px;
  /* se expande para mostrar el texto */
  gap: 7px;
  background: rgba(7, 107, 69, 0.08);
  color: var(--green-start);
}

.nav-icon-svg {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-icon-svg svg {
  display: block;
  stroke: currentColor;
}

.nav-icon-label {
  font-size: 13.5px;
  font-weight: var(--font-semibold);
  white-space: nowrap;
  overflow: hidden;
}

.nav-text-link {
  display: flex;
  align-items: center;
  color: var(--text-main);
  font-size: 14px;
  font-weight: var(--font-semibold);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-text-link:hover {
  background: rgba(7, 107, 69, 0.08);
  color: var(--green-start);
}

.nav-mail-link {
  display: flex;
  align-items: center;
  color: var(--text-main);
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
  padding: 4px 8px;
  border-radius: 20px;
}

.nav-mail-link:hover {
  opacity: 1;
  color: var(--green-start);
}

/* ==========================================================================
   COMPONENTE GLOBAL DE BOTÓN — Edición Glassmorphism Fluido (boton.html)
   ========================================================================== */
.btn-container {
  width: 244px;
  height: 64px;
  background: linear-gradient(90deg, #076B45 0%, #074834 100%) !important;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(7, 107, 69, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  flex-shrink: 0;
}

.btn-container:hover {
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(7, 107, 69, 0.4),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-container:active {
  transform: scale(0.97);
}

/* Haz de brillo diagonal continuo */
.btn-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  z-index: 10;
  pointer-events: none;
  animation: sweepShine 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sweepShine {
  0% {
    left: -150%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  35% {
    left: 220%;
    opacity: 0;
  }

  100% {
    left: 220%;
    opacity: 0;
  }
}

/* Rectángulo con border-radius al 100 y acabado Glassmorphism */
.glass-pill {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 68px;
  height: calc(100% - 10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(7, 107, 69, 0.35) 50%,
      rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  transition: width 0.58s cubic-bezier(0.34, 1.25, 0.64, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
}

/* Contenedor del icono para la rotación */
.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* Flecha original completa (con línea horizontal y punta) */
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* Tipografía y contenedor de texto */
.text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 48px;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.text {
  color: #ecfdf5 !important;
  font-family: var(--font-family) !important;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* Al hacer hover: la píldora glassmorphism se completa ocupando todo el ancho sin aumentar tamaño exterior */
.btn-container:hover .glass-pill {
  width: calc(100% - 10px);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(7, 107, 69, 0.45) 50%,
      rgba(255, 255, 255, 0.12) 100%);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 3px rgba(255, 255, 255, 0.65),
    0 0 18px rgba(110, 231, 183, 0.25);
}

/* La flecha original rota 90° fluidamente hacia abajo */
.btn-container:hover .icon-wrap {
  transform: rotate(90deg);
}

/* El texto se desvanece y se desplaza hacia la derecha */
.btn-container:hover .text-container {
  opacity: 0;
  transform: translateX(14px) scale(0.96);
}

.btn-container:hover::before {
  opacity: 0;
  animation: none;
}

/* 1. Variante Navbar Compact */
.btn-container.btn-nav {
  width: 216px;
  height: 52px;
}

.btn-container.btn-nav .glass-pill {
  width: 58px;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
}

.btn-container.btn-nav:hover .glass-pill {
  width: calc(100% - 8px);
}

.btn-container.btn-nav .text-container {
  padding-left: 42px;
}

.btn-container.btn-nav .text {
  font-size: 15px;
}

.btn-container.btn-nav .icon {
  width: 20px;
  height: 20px;
}

/* 2. Variante Roles Card */
.btn-container.btn-role {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 196px;
  height: 50px;
  z-index: 20;
}

.btn-container.btn-role .glass-pill {
  width: 52px;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
}

.btn-container.btn-role:hover .glass-pill {
  width: calc(100% - 8px);
}

.btn-container.btn-role .text-container {
  padding-left: 36px;
}

.btn-container.btn-role .text {
  font-size: 14.5px;
}

.btn-container.btn-role .icon {
  width: 19px;
  height: 19px;
}

.btn-container.btn-role:hover {
  transform: translateX(-50%) translateY(-1px);
}

.btn-container.btn-role:active {
  transform: translateX(-50%) scale(0.97);
}

/* ==========================================================================
   SECCIONES GENERALES (100VH PINNED)
   ========================================================================== */
.screen-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-cream {
  background-color: var(--bg-main);
}

.bg-green-scene {
  background-image: url('../img/Loader.webp');
  background-size: cover;
  background-position: center;
  background-color: var(--green-end);
  color: var(--text-white);
}

/* ============================================================
   5. REPUTACIÓN QUE ABRE PUERTAS
   ============================================================ */
.sec-reputation-section {
  padding: 100px 0;
  margin-bottom: 80px;
}

/* ==========================================================================
   8. CALL TO ACTION
   ========================================================================== */
#ctaSection {
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-full-image {
  width: 80vw;
  max-width: 80vw;
  height: auto;
  border-radius: 60px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   1. HERO 3D SECTION
   ========================================================================== */
#heroPin {
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

.hero-center-box {
  position: absolute;
  z-index: 5;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
  pointer-events: none;
}

.hero-main-heading {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  font-weight: var(--font-regular);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-main);
}

.hero-line {
  display: inline-block;
  will-change: transform, opacity;
}

.highlight-green {
  color: var(--green-start) !important;
  font-weight: var(--font-semibold);
}

.hero-main-heading .highlight-green {
  color: var(--green-start);
  font-weight: var(--font-semibold);
}

.hero-main-heading .highlight-dark {
  color: var(--text-dark);
  font-weight: var(--font-semibold);
}

.hero-sub-tag {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-muted);
  margin-top: 16px;
  font-weight: var(--font-regular);
  letter-spacing: -0.01em;
  will-change: transform, opacity;
}

/* Transición dentro del marco de cartas del Hero */
.transition-center-box {
  position: absolute;
  z-index: 6;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.transition-headline {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: var(--font-regular);
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 820px;
}

.transition-headline strong {
  font-weight: var(--font-semibold);
  color: var(--text-dark);
}

.transition-headline .highlight-green {
  color: var(--green-start) !important;
  font-weight: var(--font-semibold);
}

.hero-cards-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  transform-style: preserve-3d;
}

.hero-card {
  position: absolute;
  background: #EAE3DD;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  will-change: transform, opacity;
  transform-origin: center center;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-left,
.hc-right {
  width: 29vw;
  min-width: 330px;
  max-width: 500px;
  height: 86vh;
  border-radius: 44px;
  top: 50%;
}

.hc-left {
  left: -2vw;
  transform-origin: left center;
}

.hc-right {
  right: -2vw;
  transform-origin: right center;
}

.hc-top,
.hc-bottom {
  width: 52vw;
  min-width: 500px;
  max-width: 780px;
  height: 27vh;
  min-height: 210px;
  border-radius: 40px;
  left: 50%;
}

.hc-top {
  top: -3vh;
  transform-origin: center top;
}

.hc-bottom {
  bottom: -3vh;
  transform-origin: center bottom;
}

/* ==========================================================================
   2. RESUELVE EN SOLO 3 PASOS (INTERACTIVO / ACCORDION HOVER)
   ========================================================================== */
.steps-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-header-wrap {
  text-align: center;
  margin-bottom: 52px;
}

.section-main-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: var(--font-regular);
  letter-spacing: -0.03em;
  color: var(--text-muted);
}

.section-main-title span {
  color: var(--green-start);
  font-weight: var(--font-semibold);
}

/* Accordion horizontal interactivo */
.steps-grid {
  display: flex;
  gap: 24px;
  max-width: 1160px;
  width: 100%;
  height: 640px;
  align-items: stretch;
  padding-bottom: 24px;
}

.step-card {
  position: relative;
  height: 100%;
  flex: 0.82;
  cursor: pointer;
  overflow: visible;
  /* Hover más lento: 0.72s */
  transition: flex 0.72s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s ease;
  will-change: flex;
}

.step-card:hover {
  transform: translateY(-2px);
}

.step-card.is-active {
  flex: 1.38;
}

/* Contenedor interno redondeado que contiene la imagen y el overlay */
.step-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background-color: #EAE3DD;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: none;
}

.step-card.is-active .step-card-media {
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.14);
}

.step-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Zoom muy sutil al hover requerido por el usuario */
.step-card:hover .step-card-img {
  transform: scale(1.012);
}

/* Rectángulo verde de información: overlay animado — título y párrafo escalonados */
.step-overlay-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  /* Fondo degradado sólido a 0 grados con máxima opacidad */
  background: linear-gradient(0deg, #074834 0%, #076B45 100%);
  color: var(--text-white);
  border-radius: 28px 28px 36px 36px;
  margin: 0;
  padding: 50px 32px 38px;
  text-align: center;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  /* Transición del contenedor más lenta */
  transition:
    opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: visible;
}

.step-card.is-active .step-overlay-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding: 58px 36px 44px;
  /* Incremento de padding interno al estar activo */
}

/* h3 y p del overlay se animan con delay escalonado via CSS */
.step-overlay-box h3 {
  font-size: 22px;
  font-weight: var(--font-semibold);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}

.step-card.is-active .step-overlay-box h3 {
  opacity: 1;
  transform: translateY(0);
}

.step-overlay-box p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-regular);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
}

.step-card.is-active .step-overlay-box p {
  opacity: 1;
  transform: translateY(0);
}

/* Número flotante en el borde superior de la caja verde (Restaurado con sombra paralela) */
.step-badge-floating {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(0deg, #074834 0%, #076B45 100%);
  border: none;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-semibold);
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  /* En estado activo conserva la sombra paralela */
}

/* Número circular inferior en cartas contraídas: sobresale un poco afuera de la imagen */
.step-badge-bottom {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 44px;
  height: 44px;
  background: linear-gradient(0deg, #074834 0%, #076B45 100%);
  border: none;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-semibold);
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  /* En estado inactivo conserva la sombra paralela */
  z-index: 20;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.step-card.is-active .step-badge-bottom {
  opacity: 0;
  transform: translateX(-50%) scale(0.5);
  pointer-events: none;
}

/* ==========================================================================
   SECCIONES NATURALES (FLUJO CONTINUO, NO PINNED, ENTRADA STAGGER)
   ========================================================================== */
.natural-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ==========================================================================
   4. NUESTROS SERVICIOS (TARJETAS EN ABANICO / DECK CON STAGGER)
   ========================================================================== */
/* ==========================================================================
   4. NUESTROS SERVICIOS — CARRUSEL 3D EN ABANICO CÓNCAVO (LOOP INFINITO)
   ========================================================================== */
.services-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 45px 0 35px;
  /* Reducido para permitir apreciar título, cartas y botón sin scroll */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-main);
  overflow: hidden;
}

.services-top-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  z-index: 10;
  position: relative;
}

.services-top-info h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: var(--font-regular);
  letter-spacing: -0.03em;
  color: var(--text-muted);
}

.services-top-info h2 span {
  color: var(--green-start);
  font-weight: var(--font-semibold);
}

.services-top-info p {
  color: var(--text-muted);
  font-size: 16.5px;
  font-weight: var(--font-regular);
}

/* Escenario 3D con perspectiva inmersiva para la curva cóncava */
.services-carousel-stage {
  width: 100%;
  max-width: 100vw;
  height: 560px;
  /* Reducido de 640px para acercar el botón y las tarjetas */
  position: relative;
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  margin: 0;
  z-index: 5;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.services-carousel-stage:active {
  cursor: grabbing;
}

.services-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Tarjetas 3D en curva cóncava (Mayor tamaño: 285px × 465px) */
.srv-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 285px;
  height: 465px;
  margin-top: -232px;
  margin-left: -142px;
  border-radius: 30px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.16), 0 8px 20px rgba(7, 72, 52, 0.09);
  pointer-events: auto;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: box-shadow 0.3s ease;
}

.srv-card:hover {
  box-shadow: 0 32px 65px rgba(0, 0, 0, 0.22), 0 10px 24px rgba(7, 72, 52, 0.16);
}

.srv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.srv-card:hover img {
  transform: scale(1.05);
}

.srv-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 16px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  justify-content: center;
  opacity: 0.95;
}

/* Píldora de categoría: color verde suave, sin borde blanco de 1px y border-radius 100% */
.srv-card-overlay span {
  background: rgba(7, 72, 52, 0.55);
  color: #FFFFFF;
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

#servicesBottom {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.btn-download-main {
  margin-top: 0;
}

/* ==========================================================================
   5. REPUTACIÓN (MEDIDOR CIRCULAR CARGANDO DESDE ABAJO EN EL MEDIO)
   ========================================================================== */
.reputation-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 170px 24px 170px;
  /* Mayor padding arriba y abajo para respiro de la sección */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-main);
  overflow: hidden;
}

.concentric-circles-bg {
  position: absolute;
  width: 2200px;
  height: 2200px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(7, 107, 69, 0.12);
}

.r-1 {
  width: 440px;
  height: 440px;
}

.r-2 {
  width: 680px;
  height: 680px;
}

.r-3 {
  width: 960px;
  height: 960px;
}

.r-4 {
  width: 1280px;
  height: 1280px;
}

.r-5 {
  width: 1640px;
  height: 1640px;
}

.r-6 {
  width: 2040px;
  height: 2040px;
}

.reputation-track-container {
  position: relative;
  width: 720px;
  height: 720px;
  max-width: 94vw;
  max-height: 94vw;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* SIN borde blanco externo alrededor del círculo */
}

/* SVG gauge sin borde blanco (border eliminado en .reputation-track-container) */
.svg-gauge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
  transform-origin: center;
}

.gauge-bg {
  stroke: rgba(7, 107, 69, 0.12);
  stroke-width: 52;
  fill: none;
}

.gauge-fill {
  stroke: url(#gaugeGradient);
  stroke-width: 52;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 1916;
  stroke-dashoffset: 1916;
}

.gauge-avatars-box {
  position: absolute;
  top: 20%;
  display: flex;
  gap: 24px;
  z-index: 20;
}

.rep-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: none;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.rep-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reputation-text-center {
  position: absolute;
  text-align: center;
  max-width: 500px;
  z-index: 20;
  margin-top: 110px;
}

.reputation-text-center h3 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  /* Título más grande */
  font-weight: var(--font-regular);
  color: var(--text-muted);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.reputation-text-center h3 .highlight-green,
.reputation-text-center h3 span {
  color: var(--green-start) !important;
  font-weight: var(--font-semibold);
}

.reputation-text-center p {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.55;
  font-weight: var(--font-regular);
}

/* ============================================================
   PÍLDORAS FLOTANTES DINÁMICAS GLASSMORPHISM (ESTILO CAPTURA)
   Comentarios & Métricas alrededor del medidor
   ============================================================ */
.rep-floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.08),
    0 4px 14px rgba(7, 72, 52, 0.04),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  z-index: 25;
  cursor: default;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.rep-floating-pill:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.12),
    0 6px 18px rgba(7, 107, 69, 0.08);
}

/* Pill 1: Métrica superior izquierda (180+ chambas / barra de progreso) */
.rep-pill-metric-top {
  top: 10%;
  left: -65px;
  padding: 16px 20px 18px;
  min-width: 230px;
}

.rep-pill-metric-top .rep-stat-num {
  font-size: 17px;
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  line-height: 1.2;
}

.rep-pill-metric-top .rep-stat-sub {
  font-size: 13px;
  color: #71767B;
  margin-top: 4px;
  font-weight: var(--font-regular);
}

.rep-pill-progress-track {
  width: 100%;
  height: 6px;
  background: #E5E9E7;
  border-radius: 10px;
  margin-top: 12px;
  position: relative;
  overflow: visible;
}

.rep-pill-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #076B45 0%, #10B981 100%);
  border-radius: 10px;
  position: relative;
}

.rep-pill-progress-thumb {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border: 3px solid #076B45;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Pill 2: Comentario dinámico superior derecho (Bajado ligeramente al 24% y abierto a la derecha) */
.rep-pill-comment {
  top: 24%;
  right: -125px;
  /* Abierto hacia la derecha para no estar pegado al centro */
  padding: 16px 20px;
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rep-pill-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 2px solid #FFFFFF;
}

.rep-pill-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rep-pill-comment-body {
  flex: 1;
}

.rep-pill-author-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.rep-pill-reply-icon {
  width: 14px;
  height: 14px;
  stroke: #71767B;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rep-pill-author-name {
  font-size: 13.5px;
  font-weight: var(--font-semibold);
  color: var(--text-dark);
}

.rep-pill-quote {
  font-size: 13px;
  line-height: 1.4;
  color: #4A504D;
  font-weight: var(--font-regular);
}

/* Pill 3: Métrica inferior izquierda (Chambas agendadas / 8 activas + barra de estado) */
.rep-pill-metric-bottom {
  bottom: 11%;
  left: -50px;
  padding: 15px 22px;
  min-width: 220px;
}

.rep-pill-metric-bottom .rep-stat-lbl {
  font-size: 13px;
  color: #71767B;
  font-weight: var(--font-regular);
}

.rep-pill-metric-bottom .rep-stat-booked-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.rep-pill-metric-bottom .rep-stat-booked-num {
  font-size: 17px;
  font-weight: var(--font-semibold);
  color: var(--text-dark);
}

.rep-pill-booked-bar {
  width: 5px;
  height: 16px;
  background: #076B45;
  border-radius: 3px;
  animation: pulseBar 2s infinite ease-in-out;
}

@keyframes pulseBar {

  0%,
  100% {
    opacity: 0.55;
    transform: scaleY(0.85);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* Responsive para pantallas medianas y móviles */
@media (max-width: 1024px) {
  .rep-pill-metric-top {
    left: -10px;
    top: 6%;
  }

  .rep-pill-comment {
    right: -10px;
    top: 14%;
    max-width: 270px;
  }

  .rep-pill-metric-bottom {
    left: -5px;
    bottom: 8%;
  }
}

@media (max-width: 768px) {
  .rep-floating-pill {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 8px auto;
    width: 92%;
    max-width: 330px;
  }

  .rep-pills-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    z-index: 25;
  }
}

/* ============================================================
   6. SEGURIDAD Y CONFIANZA — Fondo S7.png con ancho al 90vw
   ============================================================ */
.sec-security-section {
  position: relative;
  width: 85vw;
  max-width: 85vw;
  margin: 50px auto;
  min-height: auto;
  background-color: #074834;
  background-image: url('../img/S7.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 75px 24px 65px;
  overflow: hidden;
  border-radius: 100px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .sec-security-section {
    width: 94vw;
    margin: 25px auto;
    border-radius: 40px;
    padding: 60px 18px 50px;
  }
}

.security-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.security-shield-zone {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 480px;
  margin: 0 auto;
}

/* Píldoras posicionadas con ajuste fino hacia la derecha para no tocar el borde */
.pill-identidad {
  position: absolute;
  top: 14%;
  left: 0;
  margin-left: 15px;
  /* Ajuste hacia la derecha (-10%) */
  z-index: 10;
}

.pill-calificaciones {
  position: absolute;
  top: 38%;
  right: -25px;
  z-index: 10;
}

.pill-pagos {
  position: absolute;
  bottom: 22%;
  left: 0;
  margin-left: 30px;
  /* Ajuste hacia la derecha (-25%) */
  z-index: 10;
}

.sec-glass-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--text-white);
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 20;
  white-space: nowrap;
  will-change: transform, opacity;
  transition: transform 0.3s ease, background 0.3s ease;
}

.sec-glass-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px) scale(1.02);
}

.security-title-wrap {
  text-align: center;
  margin-top: 24px;
  z-index: 10;
}

.security-title-wrap h2 {
  font-family: var(--font-family);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  /* Disminuido un poco respecto al valor previo */
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-white);
}

.security-title-wrap .fw-semibold {
  font-weight: 600;
}

.security-title-wrap .fw-regular {
  font-weight: 400;
}

/* 5 Estrellas amarillas con stagger bajo el título */
.sec-stars-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  z-index: 10;
}

.sec-star {
  font-size: 26px;
  color: #FBBF24;
  /* Amarillo vibrante para romper y contrastar con el fondo verde oscuro */
  text-shadow: 0 2px 12px rgba(251, 191, 36, 0.45);
  display: inline-block;
  line-height: 1;
  user-select: none;
  will-change: transform, opacity;
}

/* ==========================================================================
   7. ROLES — Composición asimétrica: Empleador arriba, Chambeador abajo
   ========================================================================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 980px;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px;
  max-width: 1080px;
  /* Aumentado tamaño general de las tarjetas */
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.role-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 490px;
  /* Tarjetas más altas y anchas */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14), 0 6px 16px rgba(7, 72, 52, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: transparent;
}

.role-img-wrapper:hover {
  /* Sin elevación/desplazamiento vertical en Y */
  box-shadow: 0 32px 65px rgba(0, 0, 0, 0.2), 0 12px 28px rgba(7, 72, 52, 0.15);
}

.role-full-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Efecto zoom sutil elegante a la imagen interna de la tarjeta */
.role-img-wrapper:hover .role-full-card-img {
  transform: scale(1.03);
}

/* Asimetría de las tarjetas: Empleador más arriba, Chambeador más abajo */
.rc-employer {
  margin-bottom: 48px;
}

.rc-chambeador {
  margin-top: 48px;
}

/* Roles cards gap and sizing handled by .roles-grid */

/* ==========================================================================
   10. FOOTER — Rediseño Completo según referencia (img/footer referencia.png)
   Fondo: img/footer.png con logo Chambéalo integrado en la base
   ========================================================================== */
.footer-section {
  position: relative;
  overflow: hidden;
  padding: 120px 32px 24px;
  /* Desplazado hacia el borde inferior para el copyright */
  border-top-left-radius: 75px;
  /* Exactamente igual a Seguro y verificado */
  border-top-right-radius: 75px;
  /* Exactamente igual a Seguro y verificado */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #032014;
  background-image: url('../img/footer.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 720px;
}

.footer-content-wrap {
  width: 94%;
  max-width: 1220px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* Columna Izquierda: Mantente conectado */
.footer-col-connect {
  max-width: 480px;
  color: #FFFFFF;
}

.footer-connect-title {
  font-family: var(--font-family);
  font-size: clamp(32px, 4.2vw, 46px);
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.footer-connect-title .fw-semibold {
  font-weight: 600;
}

.footer-connect-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  margin-bottom: 28px;
}

/* Formulario e Input Glassmorphism con estilo prácticamente idéntico al botón global */
.footer-glass-form {
  width: 100%;
}

.footer-glass-input-pill {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 64px;
  background: linear-gradient(90deg, #076B45 0%, #074834 100%);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px 5px 24px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(7, 107, 69, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.footer-glass-input-pill:hover,
.footer-glass-input-pill:focus-within {
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(7, 107, 69, 0.4),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.footer-glass-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 15.5px;
  font-weight: 400;
  color: #ecfdf5;
  padding-right: 12px;
}

.footer-glass-input::placeholder {
  color: rgba(236, 253, 245, 0.58);
  font-weight: 400;
}

/* Botón flecha estilo Glassmorphism idéntico a la pastilla del botón global */
.footer-glass-submit {
  width: 58px;
  height: 52px;
  border-radius: 100px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(7, 107, 69, 0.35) 50%,
      rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  flex-shrink: 0;
}

.footer-glass-submit:hover {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(7, 107, 69, 0.45) 50%,
      rgba(255, 255, 255, 0.12) 100%);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 3px rgba(255, 255, 255, 0.65),
    0 0 18px rgba(110, 231, 183, 0.25);
  transform: scale(1.04);
}

.footer-submit-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.footer-glass-submit:hover .footer-submit-icon {
  transform: rotate(45deg);
}

/* Columnas de navegación del Footer */
.footer-nav-columns {
  display: flex;
  gap: 80px;
  padding-top: 8px;
}

.footer-nav-col h4 {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-col a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Copyright al pie, pegado al borde inferior */
.footer-bottom-copy {
  margin-top: 130px;
  text-align: center;
  padding-bottom: 4px;
  margin-bottom: 0;
}

.footer-bottom-copy p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 13.5px;
  letter-spacing: 0.2px;
}

@media (max-width: 900px) {
  .footer-top-row {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav-columns {
    gap: 40px;
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .services-carousel-stage {
    height: 510px;
  }

  .srv-card {
    width: 215px;
    height: 350px;
    margin-top: -175px;
    margin-left: -107.5px;
    border-radius: 22px;
  }

  .services-cards-deck {
    height: 48vh;
  }

  .hc-left,
  .hc-right {
    width: 34vw;
    min-width: 260px;
    height: 75vh;
  }

  .hc-top,
  .hc-bottom {
    width: 68vw;
    min-width: 400px;
    height: 22vh;
  }

  .p-top-left {
    left: -15%;
    top: 2%;
  }

  .p-mid-right {
    right: -15%;
  }

  .p-bot-left {
    left: -15%;
  }
}

@media (max-width: 768px) {
  .services-carousel-stage {
    height: 440px;
  }

  .srv-card {
    width: 180px;
    height: 295px;
    margin-top: -147.5px;
    margin-left: -90px;
    border-radius: 18px;
  }

  .srv-card-overlay span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    gap: 20px;
  }

  .step-card {
    height: 380px;
  }

  .services-cards-deck {
    height: 44vh;
    gap: 8px;
  }

  .srv-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .reputation-track-container {
    width: 340px;
    height: 340px;
  }

  .svg-gauge {
    transform: rotate(-90deg) scale(0.7);
    transform-origin: center center;
  }

  .roles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-employer,
  .rc-chambeador {
    margin-top: 0;
    margin-bottom: 0;
  }

  .footer-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-glass-box {
    min-height: 180px;
  }

  .hc-left,
  .hc-right {
    width: 42vw;
    min-width: 160px;
    height: 60vh;
  }

  .hc-top,
  .hc-bottom {
    width: 82vw;
    min-width: 240px;
    height: 16vh;
  }

  .p-top-left {
    left: -5%;
    top: -5%;
  }

  .p-mid-right {
    right: -5%;
  }

  .p-bot-left {
    left: -5%;
  }
}