:root {
  --bg: #0b0b0d;
  --text: #f5f6f7;
  --muted: rgba(245, 246, 247, .78);
  --overlay: rgba(0, 0, 0, .45);
  --overlay-2: rgba(0, 0, 0, .65);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  /* Compensa header fixed */
  padding-top: 72px;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navbar {
  padding: 14px 0;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: .5px;
}

.brand-mark {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-x {
  opacity: .9;
  font-weight: 700;
  margin: 0 .15rem;
}

.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-link {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.social-link:hover {
  background: rgba(255, 255, 255, .12);
}

/* ===== HERO (Video Background) ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 55%, rgba(255, 255, 255, .10), transparent 55%),
    linear-gradient(to bottom, var(--overlay), var(--overlay-2));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.hero-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: .95;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(11, 11, 13, .95));
}

.brand-logo {
  height: 50px;
  /* tamaño estándar navbar */
  width: auto;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 42px;
    /* más pequeño en móvil */
  }
}

/* -------------------------------------------------------------------------------------------------------- */

/* ===== SERVICIOS ===== */
.svc {
  padding: 20px 0 20px;
  background: #fff;
  color: #111;
}

.svc-head {
  max-width: 880px;
  padding: 10px 0 18px;
}

.svc-kicker {
  font-weight: 800;
  letter-spacing: .4px;
  font-size: .85rem;
}

.svc-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  margin: 6px 0 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.svc-desc {
  margin: 0;
  color: rgba(0, 0, 0, .72);
  font-size: 1.05rem;
}

/* Accordion container */
.svc-accordion {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* Item base */
.svc-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255, 255, 255, .8);
}

/* Color themes */
.svc-item--purple {
  background: #d89ae4;
}

.svc-item--coral {
  background: #ff7568;
}

.svc-item--blue {
  background: #0077b8;
}

/* Button row */
.svc-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 22px 22px;
  position: relative;
  cursor: pointer;

  /* entrada desde la izquierda (dirección de flechas) */
  transform: translateX(-18px);
  opacity: 0;
  transition: transform .7s ease, opacity .7s ease;
}

/* Variante alineada a la derecha (Estrategia) */
.svc-btn--right {
  text-align: right;
  transform: translateX(18px);
}

.svc-btn__inner {
  max-width: 980px;
}

.svc-btn__inner--right {
  margin-left: auto;
}

.svc-name {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1;
}

.svc-name--right {
  text-align: right;
}

.svc-line {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem;
  max-width: 70ch;
}

.svc-line--right {
  margin-left: auto;
}

/* Icon */
.svc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .20);
  border: 1px solid rgba(255, 255, 255, .25);
}

.svc-icon i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Flechas horizontales → → → */
.svc-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;

  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, .85) 45%,
      rgba(255, 255, 255, .85) 55%,
      transparent 100%);
  background-size: 220px 100%;
  background-repeat: repeat-x;
}

/* Animación: cuando aparece en viewport */
.svc-item.is-visible .svc-btn {
  transform: translateX(0);
  opacity: 1;
}

/* Panel (contenido expandible) */
.svc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.svc-panel__inner {
  padding: 0 22px 22px;
  color: rgba(255, 255, 255, .92);
  display: grid;
  gap: 10px;
}

.svc-text {
  margin: 0;
  max-width: 90ch;
}

.svc-list {
  margin: 0;
  padding-left: 18px;
}

.svc-list li {
  margin: 6px 0;
}

/* Estado abierto */
.svc-item.is-open .svc-panel {
  max-height: 420px;
  /* suficiente para mobile/desktop */
}

.svc-item.is-open .svc-icon {
  background: rgba(255, 255, 255, .30);
}

/* Hover sutil */
.svc-btn:hover .svc-icon {
  filter: brightness(1.08);
}

/* Responsive */
@media (max-width: 575.98px) {
  .svc-btn {
    padding: 18px 16px;
  }

  .svc-panel__inner {
    padding: 0 16px 18px;
  }

  .svc-line {
    font-size: 1rem;
  }

  .svc-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .svc-item::before {
    opacity: .16;
    background-size: 180px 100%;
  }
}

/* ===== SERVICIOS 2 (sin header, solo barras) ===== */
.svc--alt {
  padding-top: 20px;
}

/* Colores según captura */
.svc2-item--green {
  background: #19b000;
}

.svc2-item--cyan {
  background: #00b6e6;
}

.svc2-item--orange {
  background: #d8923c;
}

/* Borde/espaciado igual que captura */
.svc2-item {
  border: 2px solid rgba(255, 255, 255, .85);
}

/* Flechas horizontales (chevrons) GRANDES para este bloque */
.svc2-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .18;

  /* Flechas horizontales → → → */
  .svc-item::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;

    background:
      linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, .85) 45%,
        rgba(255, 255, 255, .85) 55%,
        transparent 100%);
    background-size: 220px 100%;
    background-repeat: repeat-x;
  }

  /* Animación: cuando aparece en viewport */
  .svc-item.is-visible .svc-btn {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Asegura que texto/botón quede encima del patrón */
.svc2-item .svc-btn,
.svc2-item .svc-panel {
  position: relative;
  z-index: 2;
}

/* Ajustes tipográficos para que se parezca a la captura */
.svc--alt .svc-name {
  font-size: clamp(2.2rem, 4.8vw, 3.3rem);
}

.svc--alt .svc-line {
  max-width: 90ch;
}

/* Responsive */
@media (max-width: 575.98px) {
  .svc2-item::before {
    background-size: 240px 120px, 240px 120px;
    background-position: 0 50%, 34px 50%;
    opacity: .14;
  }
}

.svc-cta {
  margin-top: 24px;
}

.svc-cta__btn {
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-item--fuchsia {
  background: linear-gradient(90deg, #c026d3, #e879f9);
}

.svc-item--indigo {
  background: linear-gradient(90deg, #312e81, #4338ca);
}

.svc-item--teal {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.svc-item--web {
  background: linear-gradient(90deg, #560023, #7d173e);
}
/* -------------------------------------------------------------------------------------------------------- */

/* ===== QUIENES (quienes.php) ===== */
.qs-hero {
  position: relative;
  background: #560023;
  color: #fff;
  padding: 36px 0 44px;
  overflow: hidden;
}

/* Flechas horizontales >>> con degradado */
.qs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .18;

  background-size: 220px 100%;
  background-repeat: repeat-x;

  background-size:
    240px 100%,
    240px 160px;

  background-position:
    0 0,
    0 50%;

  background-repeat:
    repeat-x,
    repeat-x;
}

/* Asegura que el texto quede encima */
.qs-hero .container-xl {
  position: relative;
  z-index: 1;
}

.qs-title {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.qs-subtitle {
  margin: 10px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .92);
  text-align: justify;
}

/* Cuerpo */
.qs-body {
  padding: 50px 0;
  background: #fff;
}

.qs-content {
  margin: 0;
  text-align: justify;
  color: #111;
  font-size: 1.08rem;
  line-height: 1.9;
}

.qs-content p {
  margin: 0 0 28px;
}

/* Responsive: reduce padding */
@media (max-width: 575.98px) {
  .qs-hero {
    padding: 28px 0 34px;
  }

  .qs-body {
    padding: 10px;
  }

  .qs-content {
    text-align: left;
    /* más legible en móvil */
  }
}

#quienes {
  scroll-margin-top: 90px;
}

/* ===== CLIENTES ===== */
.cl-section {
  background: #fff;
}

/* Banda verde con patrón */
.cl-band {
  position: relative;
  padding: 22px 0;
  background: #f3af14;
  overflow: hidden;
}

.cl-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;

  background-size: 220px 100%;
  background-repeat: repeat-x;
}

.cl-band .container-xl {
  position: relative;
  z-index: 1;
}

.cl-title {
  margin: 0;
  font-weight: 800;
  color: #0b0b0b;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

/* Área logos */
.cl-body {
  padding: 56px 0 90px;
}

/* Grid responsive */
.cl-logos {
  display: grid;
  gap: 34px 52px;
  justify-items: center;
  align-items: center;

  /* auto-fit: se adapta a cualquier cantidad de logos */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Logos consistentes */
.cl-logos img {
  max-width: 150px;
  width: 100%;
  height: 42px;
  /* altura uniforme como en la captura */
  object-fit: contain;
  filter: none;
  opacity: .95;
}

/* Ajustes para pantallas grandes */
@media (min-width: 1200px) {
  .cl-logos {
    grid-template-columns: repeat(7, 1fr);
    /* similar al layout de la referencia */
  }

  .cl-logos img {
    max-width: 160px;
    height: 44px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .cl-body {
    padding: 40px 0 70px;
  }

  .cl-logos {
    gap: 22px 24px;
    grid-template-columns: repeat(3, 1fr);
  }

  .cl-logos img {
    max-width: 120px;
    height: 38px;
  }
}

/* ===== VISIÓN ESTRATÉGICA ===== */
.vs-section {
  background: #fff;
}

.vs-band {
  position: relative;
  background: #560023;
  color: #fff;
  padding: 34px 0 40px;
  overflow: hidden;
}

/* Patrón flechas horizontales en la banda */
.vs-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-size: 220px 100%;
  background-repeat: repeat-x;
}

.vs-band .container-xl {
  position: relative;
  z-index: 1;
}

.vs-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  line-height: 1.05;
}

.vs-subtitle {
  margin: 10px 0 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .92);
}

/* Body */
.vs-body {
  padding: 42px 0 80px;
}

/* Card */
.vs-card {
  text-align: center;
}

.vs-photo {
  position: relative;
  width: 100%;
  max-width: 530px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

/* Fondo "X" detrás */

/* Foto encima */
.vs-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

/* Meta */
.vs-meta {
  margin-top: 10px;
}

.vs-name {
  font-weight: 800;
  font-size: 1.35rem;
  color: #111;
  line-height: 1.15;
}

.vs-role {
  font-size: 1.1rem;
  color: #111;
  opacity: .9;
}

.vs-desc{
  font-size: 14px;
  color: #555;
  margin-top: 6px;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* lista horizontal */
.vs-bullets{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #000;
}

/* cada viñeta */
.vs-bullets li{
  font-size: 13px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
  padding-left: 18px;
}

/* puntito */
.vs-bullets li::before{
  content: "•";
  position: absolute;
  left: 7px;
  color: #560023;
  font-weight: bold;
}

/* Botón "Ver más" */
.vs-more {
  border-radius: 0;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 575.98px) {
  .vs-subtitle {
    font-size: 1.05rem;
  }

  .vs-body {
    padding: 30px 0 70px;
  }

  .vs-photo {
    max-width: 300px;
  }
}

/* -------------------------------------------------------------------------------------------------------- */

/* ===== CONTACTO ===== */
.ct-hero {
  position: relative;
  background: #560023;
  color: #fff;
  padding: 26px 0 30px;
  overflow: hidden;
}

/* Patrón flechas >>> con degradado */
.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-size: 220px 100%;
  background-repeat: repeat-x;
}

.ct-hero .container-xl {
  position: relative;
  z-index: 1;
}

.ct-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: .18em;
  /* estilo espaciado como captura */
  text-transform: none;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.ct-breadcrumb {
  margin-top: 10px;
  font-size: 1.05rem;
  opacity: .95;
}

/* Body */
.ct-body {
  background: #000;
  padding: 26px 0 70px;
}

/* Card del form */
.ct-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  padding: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

/* Labels / inputs */
.ct-label {
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.ct-req {
  color: #d11;
  font-weight: 800;
}

.ct-input {
  background: #f2f3f5;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 10px 12px;
}

.ct-input:focus {
  background: #fff;
  border-color: #000;
  box-shadow: 0 0 0 .2rem rgba(11, 99, 255, .18);
}

.ct-legal {
  font-size: .88rem;
  color: #5a5a5a;
  line-height: 1.35;
  margin-bottom: 0;
}

.ct-check .form-check-label {
  color: #000;
}

.ct-btn {
  background-color: #f3af14;
  border-radius: 4px;
  padding: 10px 28px;
  font-weight: 700;
  border-style: none;
}

.ct-btn:hover {
  background-color: #f1c151;
}

.form-check-input:checked{
  background-color: #f3af14;
  border-color: #f3af14;
}



/* Responsive */
@media (max-width: 575.98px) {
  .ct-card {
    padding: 18px;
    border-radius: 14px;
  }

  .ct-title {
    letter-spacing: .12em;
  }
}


/* -------------------------------------------------------------------------------------------------------- */

.cl-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  align-items: center;
}

.cl-logos picture,
.cl-logos img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cl-logos img {
  max-width: 200px;
  /* ⬅️ aquí defines el tamaño del logo */
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

/* Opcional: efecto hover elegante */
.cl-logos img:hover {
  transform: scale(1.08);
}

@media (max-width: 992px) {
  .cl-logos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
  }

  .cl-logos img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .cl-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cl-logos img {
    max-width: 130px;
  }
}

/* -------------------------------------------------------------------------------------------------------- */

/* GRID estilo IG */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

@media (max-width: 575.98px) {
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  /* móvil IG-like */
}

.ig-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0b;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  /* cuadradito como IG */
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.ig-item img,
.ig-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Modal estilo Instagram */
.ig-modal {
  border-radius: 18px;
  overflow: hidden;
}

.ig-modal__row {
  min-height: 70vh;
}

.ig-modal__mediaWrap {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-modal__media {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-modal__media img,
.ig-modal__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* como IG: no recorta en modal */
  background: #000;
}

.ig-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  filter: invert(1);
  opacity: .9;
}

/* Lado derecho */
.ig-modal__side {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.ig-modal__header {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  color: #000;
}

.ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f3a5f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.ig-modal__content {
  padding: 16px;
  overflow: auto;
  flex: 1;
  color: #000;
}

.ig-modal__footer {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.ig-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(31, 58, 95, .08);
  color: #1f3a5f;
}

.ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}

.ig-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Borde tipo stories (opcional) */
.ig-avatar--logo {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  padding: 2px;
}

.ig-avatar--logo .ig-avatar__img {
  background: #fff;
  border-radius: 50%;
}

/* En móvil: modal más tipo “stack” */
@media (max-width: 991.98px) {
  .ig-modal__row {
    min-height: unset;
  }

  .ig-modal__media {
    min-height: 46vh;
  }
}


/* -------------------------------------------------------------------------------------------------------- */



/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  background: #000;
  color: #fff;
  padding: 60px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-title {
  font-weight: 600;
  line-height: 1.35;
  opacity: .95;
}

.footer-links {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .95;
}

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

/* Social icons (círculos blancos como en la imagen) */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social__link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #000;
  text-decoration: none;
}

.footer-social__link i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Botón subir (derecha) */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: #0d6efd;
  /* azul bootstrap */
  color: #fff;
  display: none;
  /* se muestra con JS al hacer scroll */
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
  z-index: 9999;
}

.to-top i {
  font-size: 1.2rem;
}

.to-top:hover {
  filter: brightness(1.06);
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* ===== FOOTER con vector de fondo ===== */
.site-footer {
  position: relative;
  background-color: #000;
  color: #fff;
  padding: 60px;

  /* Vector de fondo */
  background-image: url("/img/footer.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 350px;

  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 0;
}

.footer-inner,
.to-top {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }


}