@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: rgb(0, 0, 0);
  color: #1E1E1E;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* corta cualquier desborde horizontal */
}

/* que todo mida dentro del ancho */
*, *::before, *::after {
  box-sizing: border-box;
}

/* imágenes y videos nunca más anchos que su contenedor */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* evita 100vw con barra de scroll (que genera overflow) */
.full-bleed {
  width: 100%;
  /* en vez de 100vw usa 100% o clamp si necesitas “pantalla completa” */
}

/* textos largos que rompen el layout */
.wrap-text {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Desktop grande (≥1080px) */
@media (min-width: 1080px) {
  .trust-section .trust-item .trust-icon-wrapper {
    width: 90px;
    height: 90px;
  }
  .trust-section .trust-item .trust-icon {
    width: 45px;
    height: 45px;
  }
  .trust-section .trust-item .trust-title {
    font-size: 1rem;
  }
}
/* Tablets (768–1079px) */
@media (max-width: 1079px) and (min-width: 768px) {
  .trust-section {
    padding: 2.5rem 1rem 1.5rem;
  }
  .trust-section .trust-grid {
    gap: 2rem;
  }
  .trust-section .trust-item .trust-icon-wrapper {
    width: 75px;
    height: 75px;
  }
  .trust-section .trust-item .trust-icon {
    width: 38px;
    height: 38px;
  }
  .trust-section .trust-item .trust-title {
    font-size: 0.9rem;
  }
}
/* Teléfonos grandes (480–767px) */
@media (max-width: 767px) and (min-width: 480px) {
  .trust-section {
    padding: 2rem 0.5rem 1rem;
  }
  .trust-section .trust-grid {
    gap: 1.5rem;
  }
  .trust-section .trust-item {
    flex: 1 1 45%;
    max-width: 200px;
  }
  .trust-section .trust-item .trust-icon-wrapper {
    width: 65px;
    height: 65px;
  }
  .trust-section .trust-item .trust-icon {
    width: 32px;
    height: 32px;
  }
  .trust-section .trust-item .trust-title {
    font-size: 0.85rem;
  }
}
/* Teléfonos pequeños (<480px) */
@media (max-width: 479px) {
  .trust-section {
    padding: 1.5rem 0.5rem;
  }
  .trust-section .trust-grid {
    gap: 1.25rem;
  }
  .trust-section .trust-item {
    max-width: 180px;
    margin: 0 auto;
  }
  .trust-section .trust-item .trust-icon-wrapper {
    width: 55px;
    height: 55px;
  }
  .trust-section .trust-item .trust-icon {
    width: 28px;
    height: 28px;
  }
  .trust-section .trust-item .trust-title {
    font-size: 0.8rem;
  }
}
/* Top contact bar */
.top-contact-bar {
  background: #fff; /* fondo blanco como pediste */
  border-bottom: 1px solid #eee; /* separación sutil */
  font-size: 0.95rem;
}

.top-contact-bar .contact-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 6px 32px;
  display: flex;
  justify-content: flex-end; /* alineado a la derecha */
  gap: 24px;
  flex-wrap: wrap;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111; /* letras negras */
  text-decoration: none;
  font-weight: 500;
}
.contact-item .ico {
  fill: #e49013; /* iconos naranjas */
  flex: 0 0 auto;
}
.contact-item:hover {
  text-decoration: underline;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  height: 750px;
  overflow: hidden; /* importante para la capa */
  background: none; /* ❗️ quitamos la imagen del padre */
  /* capa con la imagen + fade-in a 20% */
}
.site-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/fondo-header.jpg"); /* poner aquí la imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0; /* inicia invisible */
  transform: translateY(-20px);
  animation: headerBgIn 1.8s ease forwards;
  z-index: 1; /* debajo del contenido */
  pointer-events: none; /* no bloquea clicks */
}
.site-top {
  /* contenido por encima */
}
.site-top > * {
  position: relative;
  z-index: 2;
}

@keyframes headerBgIn {
  to {
    opacity: 0.9; /* 20% permanente */
    transform: translateY(0);
  }
}
/* Logo responsive */
.logo-wrap .logo {
  max-height: clamp(100px, 15vw, 150px);
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-bar {
  background: transparent;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  z-index: 3;
}

/* Lista alineada a la derecha */
.nav-list {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

/* Links base (color principal) */
.nav-list a {
  text-decoration: none;
  color: #e49013;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 16px;
}
@media screen and (min-width: 1280px) {
  .nav-list a {
    font-size: 20px;
  }
}
.nav-list a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

/* Hover píldora */
.nav-list a:hover {
  background: #e49013;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-list a.is-active,
.menu-overlay-list a.is-active {
  color: #111;
  background: #e49013;
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  margin-right: 16px;
}
.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #e49013;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

/* Contenedor para logo + menú */
.header-bar {
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  border-radius: 12px;
  position: relative;
  z-index: 3;
}

/* Logo */
.logo-wrap .logo {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav dentro de la barra */
.header-bar .nav-bar {
  background: transparent;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Slogan en el header */
.slogan-wrap {
  position: absolute;
  top: 30%;
  left: 70%;
  transform: translateY(-50%);
  z-index: 2;
}
.slogan-wrap .slogan {
  max-width: 800px;
  width: 100%;
  height: auto;
}

/* Estado global cuando el menú móvil está abierto */
body.menu-open {
  overflow: hidden;
} /* bloquea scroll */
/* Oculta el slogan solo en móvil cuando el menú está abierto */
@media (max-width: 768px) {
  body.menu-open .slogan-wrap {
    display: none;
  }
}
/* ===== Overlay pantalla completa ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: transparent; /* como pediste: transparente */
  display: flex;
  align-items: center;
  justify-content: center;
  /* oculto por defecto (sin usar display:none para animar) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999; /* por encima del header y demás */
}

/* visible */
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Botón X (cierra) - (puedes dejarlo por si algún día lo usas) */
.menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.menu-close .x-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.menu-close .x-bar:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.menu-close .x-bar:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

/* ===== Lista centrada del overlay ===== */
.menu-overlay-nav {
  width: 100%;
}

.menu-overlay-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* Enlaces: color principal, hover píldora naranja */
.menu-overlay-list a {
  text-decoration: none;
  color: #e49013;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 25px;
  padding: 15px 24px;
  border-radius: 999px;
  transition: all 0.2s ease;
  background: transparent;
}

.menu-overlay-list a:hover {
  background: #e49013;
  color: #fff;
  transform: translateY(-1px);
}

.menu-overlay-list li {
  margin-bottom: 22px; /* 🔸 separación clara entre items */
}

.menu-overlay-list li:last-child {
  margin-bottom: 0; /* sin margen extra en el último */
}

/* ===== Responsivo ===== */
/* En desktop normalmente no mostramos overlay, 
   pero si está "open" sí debe verse (útil para pruebas). */
@media (min-width: 768px) {
  .menu-overlay {
    display: none;
  }
  .menu-overlay.open {
    display: flex;
  } /* excepción: permitir verlo si está abierto */
}
/* En móviles: ocultar el nav de la barra y mostrar el hamburguesa */
@media (max-width: 768px) {
  .header-bar .nav-bar {
    display: none;
  }
  .header-bar .menu-toggle {
    display: flex;
  }
}
/* Breakpoints unificados (tus mixins) */
@media (max-width: 768px) {
  .nav-bar {
    display: none;
  }
}
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}
/* ===== Stacking dentro del header ===== */
.site-top {
  position: relative;
  z-index: 50;
}

.site-top::before {
  z-index: 1;
} /* fondo oscuro */
.site-top > * {
  position: relative;
  z-index: 2;
} /* contenido normal */
.header-bar, .slogan-wrap {
  z-index: 2;
}

/* Overlay: arriba de header-bar y slogan, pero dentro del header */
/* Overlay del menú móvil */
/* Overlay dentro del header, centrado horizontal y debajo del logo */
.site-top .menu-overlay {
  position: absolute; /* ocupa solo el header */
  left: 50%;
  transform: translateX(-50%); /* centra horizontalmente */
  /* el "top" lo pone JS dinámicamente */
  width: 100%;
  max-width: 640px; /* ancho cómodo en móvil/tabla; ajusta a gusto */
  padding: 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 4; /* por encima de logo/slogan y del ::before */
}

/* visible */
.site-top .menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* lista siempre centrada en columna */
.menu-overlay-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* capas del header (por claridad y para evitar solapes) */
.site-top {
  position: relative;
  z-index: 50;
}

.site-top::before {
  z-index: 1;
}

.site-top > * {
  position: relative;
  z-index: 2;
}

.header-bar, .slogan-wrap {
  z-index: 2;
}

/* el botón siempre clickeable */
.header-bar .menu-toggle {
  position: relative;
  z-index: 5;
}

/* En móvil, al abrir menú, ocultar slogan (como ya tenías) */
@media (max-width: 768px) {
  body.menu-open .slogan-wrap {
    display: none;
  }
}
/* (Opcional) para pruebas en desktop */
@media (min-width: 768px) {
  .menu-overlay.open {
    display: flex;
  }
}
/* ===== Ajustes personalizados del logo en el header ===== */
/* ===== Footer elegante Office Project (v2) ===== */
/* Breakpoints */
.site-footer {
  position: relative;
  color: #f2f2f2;
  font-family: "Rubik", system-ui, sans-serif;
  overflow: clip;
  /* Fondo con gradiente + sutil “vignette” radial */
  background: radial-gradient(1200px 420px at 80% -10%, rgba(228, 144, 19, 0.12), transparent 60%), linear-gradient(180deg, #0c0c0d 0%, #0a0a0b 100%);
  /* línea decorativa superior */
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 144, 19, 0.6), transparent);
  opacity: 0.6;
}
.site-footer .container {
  max-width: min(1200px, 92vw);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 28px);
}
.site-footer {
  /* ===== Top grid ===== */
}
.site-footer .footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: clamp(20px, 3.2vw, 40px);
  padding: clamp(40px, 6vw, 64px) 0 clamp(16px, 2.5vw, 28px);
}
.site-footer {
  /* ===== Brand ===== */
}
.site-footer .footer__brand .footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.site-footer .footer__brand .footer__logo .logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(228, 144, 19, 0.14);
  color: #e49013;
  font-weight: 800;
  letter-spacing: 0.6px;
  box-shadow: 0 12px 32px rgba(228, 144, 19, 0.12) inset, 0 0 0 1px rgba(228, 144, 19, 0.22);
}
.site-footer .footer__brand .footer__logo .logo-text {
  font-weight: 800;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  letter-spacing: 0.4px;
}
.site-footer .footer__brand .footer__about {
  color: #cfcfcf;
  line-height: 1.65;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(6px);
}
.site-footer .footer__brand .footer__social {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer .footer__brand .footer__social .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.2s ease;
}
.site-footer .footer__brand .footer__social .social-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f2f2f2;
  stroke-width: 1.6;
}
.site-footer .footer__brand .footer__social .social-btn:hover {
  background: rgba(228, 144, 19, 0.12);
  border-color: rgba(228, 144, 19, 0.5);
  transform: translateY(-1px);
}
.site-footer .footer__brand .footer__social .social-btn:active {
  transform: none;
}
.site-footer .footer__brand .footer__social {
  /* Para iconos con path sólido */
}
.site-footer .footer__brand .footer__social .social-btn svg path {
  fill: #f2f2f2;
  stroke: none;
}
.site-footer {
  /* ===== Titles ===== */
}
.site-footer .footer__title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #e49013;
  text-transform: uppercase;
  margin: 4px 0 14px;
  position: relative;
}
.site-footer .footer__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: rgba(228, 144, 19, 0.65);
  border-radius: 2px;
  margin-top: 8px;
  box-shadow: 0 0 20px rgba(228, 144, 19, 0.25);
}
.site-footer {
  /* ===== Lists ===== */
}
.site-footer .footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer .footer__list a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.site-footer .footer__list a:hover {
  color: #111;
  background: #e49013;
  border-color: #e49013;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(228, 144, 19, 0.25);
}
.site-footer .footer__list a:active {
  transform: none;
  box-shadow: none;
}
.site-footer .footer__list a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.5);
}
.site-footer {
  /* ===== Contact ===== */
}
.site-footer .footer__contact {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}
.site-footer .footer__contact li {
  color: #cfcfcf;
}
.site-footer .footer__contact a {
  color: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.site-footer .footer__contact a:hover {
  border-bottom-color: rgba(242, 242, 242, 0.35);
}
.site-footer .footer__contact a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.45);
  border-radius: 6px;
}
.site-footer {
  /* ===== Newsletter ===== */
}
.site-footer .footer__newsletter label {
  display: block;
  font-size: 0.9rem;
  color: #cfcfcf;
  margin-bottom: 8px;
}
.site-footer .footer__newsletter .nl-field {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-footer .footer__newsletter .nl-field input {
  flex: 1;
  min-width: 0;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-footer .footer__newsletter .nl-field input::placeholder {
  color: rgba(242, 242, 242, 0.55);
}
.site-footer .footer__newsletter .nl-field input:focus {
  border-color: rgba(228, 144, 19, 0.55);
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.2);
}
.site-footer .footer__newsletter .nl-field .btn-pill {
  background: #e49013;
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(228, 144, 19, 0.24);
}
.site-footer .footer__newsletter .nl-field .btn-pill:hover {
  filter: brightness(1.06);
}
.site-footer .footer__newsletter .nl-field .btn-pill:active {
  transform: translateY(1px);
  box-shadow: 0 6px 20px rgba(228, 144, 19, 0.18);
}
.site-footer .footer__newsletter .nl-field .btn-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.45);
}
.site-footer {
  /* ===== Bottom bar ===== */
}
.site-footer .footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: clamp(12px, 2vw, 18px);
}
.site-footer .footer__bottom .footer__bottom-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
}
.site-footer .footer__bottom .footer__bottom-inner p {
  color: #cfcfcf;
  margin: 0;
}
.site-footer .footer__bottom .footer__bottom-inner .footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  flex-wrap: wrap;
}
.site-footer .footer__bottom .footer__bottom-inner .footer__legal a {
  color: #cfcfcf;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.site-footer .footer__bottom .footer__bottom-inner .footer__legal a:hover {
  color: #f2f2f2;
  border-bottom-color: rgba(242, 242, 242, 0.35);
}
.site-footer .footer__bottom .footer__bottom-inner .footer__legal a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.45);
  border-radius: 6px;
}
.site-footer .footer__bottom .footer__bottom-inner .footer__legal .dot {
  opacity: 0.55;
}
.site-footer {
  /* ===== Responsive ===== */
  /* <= XL: reduce “salto” visual, brand gana aire */
}
@media (max-width: 1280px) {
  .site-footer .footer__inner {
    grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
    gap: clamp(18px, 2.5vw, 32px);
  }
}
.site-footer {
  /* <= LG: 3 columnas, brand ocupa fila completa */
}
@media (max-width: 992px) {
  .site-footer .footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .site-footer .footer__brand {
    grid-column: 1/-1;
  }
}
.site-footer {
  /* <= MD: 2 columnas y elementos más respirados */
}
@media (max-width: 768px) {
  .site-footer .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3vw, 24px);
  }
  .site-footer .footer__brand {
    grid-column: 1/-1;
  }
  .site-footer .footer__newsletter .nl-field {
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer .footer__newsletter .nl-field input, .site-footer .footer__newsletter .nl-field .btn-pill {
    width: 100%;
  }
  .site-footer .footer__bottom .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.site-footer {
  /* <= SM: 1 columna, botones grandes y taps cómodos */
}
@media (max-width: 560px) {
  .site-footer .footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer .footer__title {
    margin-top: 8px;
  }
  .site-footer .footer__list a {
    padding: 10px 14px;
  }
  .site-footer .footer__brand .footer__social .social-btn {
    width: 46px;
    height: 46px;
  }
}
.site-footer {
  /* ===== Motion & Hover prefs ===== */
}
@media (prefers-reduced-motion: reduce) {
  .site-footer * {
    transition: none !important;
  }
}
@media (hover: none) {
  .site-footer .footer__list a:hover {
    transform: none;
  }
}
.site-footer {
  /* Sugerencia para navegadores que soportan tema oscuro */
  color-scheme: dark;
}

/* ────────────────────────────────
   SECCIÓN DE SERVICIOS (TÍTULO + SUBTÍTULOS)
──────────────────────────────── */
.services-video-section {
  padding: 3rem 1rem 4rem;
  text-align: center;
}
.services-video-section .services-title {
  font-size: 3rem;
  font-weight: 700;
  color: #e49013;
  margin-bottom: 1rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  /* Línea decorativa opcional */
}
.services-video-section .services-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: rgba(228, 144, 19, 0.6);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}
.services-video-section .service-subtitle {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #e49013;
  text-align: center;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.services-video-section .service-subtitle:hover {
  color: #e49013;
  transform: translateY(-2px);
}

/* Responsive: subtítulos más compactos en móviles */
@media (max-width: 768px) {
  .services-video-section .service-subtitle {
    font-size: 0.9rem;
    margin-top: 0.6rem;
  }
}
@media (max-width: 480px) {
  .services-video-section .service-subtitle {
    font-size: 0.85rem;
  }
}
/* ────────────────────────────────
   GRID / VIDEOS (con hover corregido)
──────────────────────────────── */
.services-video-section .videos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.services-video-section {
  /* 1 por fila móvil, 2 en tablet, 4 en ≥1080px */
}
.services-video-section .video-col {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column; /* fuerza el subtítulo debajo del video */
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .services-video-section .video-col {
    flex: 1 1 calc(50% - 1.5rem);
  }
}
@media (min-width: 1080px) {
  .services-video-section .video-col {
    flex: 1 1 calc(25% - 1.5rem);
  }
}
.services-video-section {
  /* Marco cuadrado uniforme para TODOS + hover en el WRAPPER */
}
.services-video-section .video-frame {
  width: clamp(220px, 23vw, 320px); /* mismo ancho para todos, responsivo */
  aspect-ratio: 1/1; /* cuadrado perfecto */
  position: relative;
  border-radius: 16px;
  overflow: hidden; /* recorte limpio */
  background: #000; /* por si tarda en cargar */
  /* Hover global: zoom uniforme X/Y (compone con transform del video) */
  transition: transform 0.35s ease;
  will-change: transform;
}
.services-video-section .video-frame:hover {
  transform: scale(1.08);
}
.services-video-section {
  /* El video ocupa el marco, con transiciones activas */
}
.services-video-section .service-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* rellena el cuadrado sin deformar */
  object-position: center; /* centrado */
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  /* sin :hover aquí; el zoom principal lo hace el wrapper */
}

/* ────────────────────────────────
   AJUSTES ESPECÍFICOS POR VIDEO (ID)
──────────────────────────────── */
/* "Armado": escala base + ajuste fino al hover del propio video (opcional) */
#video-armado {
  transform: scale(0.9);
  object-position: 45% 40%;
  filter: brightness(1.05) contrast(1.1);
  transition: transform 0.35s ease, object-position 0.35s ease, filter 0.35s ease;
}
#video-armado:hover {
  transform: scale(0.95);
  filter: brightness(1.1) contrast(1.15);
}

/* "Mudanzas": escala horizontal persistente */
#video-mudanzas {
  transform: scaleX(0.9); /* ensancha/estrecha horizontalmente */
  transform-origin: center;
  object-position: 50% 45%;
  filter: brightness(1.05) contrast(1.08);
  transition: transform 0.35s ease, object-position 0.35s ease, filter 0.35s ease;
}

/* ────────────────
   Botones de título de servicio
──────────────── */
.services-video-section .service-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(228, 144, 19, 0.5); /* borde naranja translúcido */
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.services-video-section .service-btn:hover {
  background: #e49013; /* color primary */
  color: #000; /* texto oscuro para contraste */
  border-color: #e49013;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(228, 144, 19, 0.4);
}
.services-video-section .service-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* Responsive: más compactos en móviles */
@media (max-width: 768px) {
  .services-video-section .service-btn {
    font-size: 0.9rem;
    padding: 0.45rem 1rem;
  }
}
/* Forzar layout 2x2 bajo 1400px y 4x1≥1400px (o 4 en una fila) */
.services-video-section .videos-row {
  display: grid !important; /* anula flex anterior */
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(220px, 1fr)); /* desktop amplio */
}

/* < 1400px: 2 columnas -> con 4 ítems verás 2 filas de 2 */
@media (max-width: 1399.98px) {
  .services-video-section .videos-row {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
/* Tablets/phones: 1 por fila */
@media (max-width: 767.98px) {
  .services-video-section .videos-row {
    grid-template-columns: 1fr;
  }
}
/* Las columnas ya no necesitan flex-basis; solo centramos su contenido */
.services-video-section .video-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Asegura que el marco use el ancho de su celda */
.services-video-section .video-frame {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1/1;
}

/* ============================================================
   _service-detail.scss
   Card desplegable de Servicios (Office Project)
   - Ancho 80% del viewport, centrada
   - Altura ampliada (max-height mayor en estado abierto)
   - Título con $color-principal
   - Estilo oscuro, translúcido y con blur
   ============================================================ */
/* ====== Variables ====== */
/* ====== Utilidades ====== */
/* ====== Panel detalle: imagen controlada ====== */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 24px;
  align-items: start; /* que nada se estire verticalmente */
}

.service-detail .detail-media {
  width: 100%;
  max-height: 340px; /* límite de altura del bloque */
  overflow: hidden; /* recorta excedente */
  border-radius: 14px;
}

.service-detail .detail-media img {
  display: block; /* quita espacios fantasmas */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5%; /* que llene sin deformar */
}

/* Responsive: 1 columna en móvil */
@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail .detail-media {
    max-height: 260px;
  }
}
/* ====== Subservicios compactos ====== */
.subservices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 12px;
  align-items: start; /* evita stretch vertical */
  /* opcional: baja un poco el tamaño base para pastillas */
  font-size: 0.95rem;
}

.sub-pill {
  display: inline-flex; /* no se estira a la altura de la fila */
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.1; /* texto más compacto */
  white-space: nowrap; /* opcional: evita romper en 2 líneas */
}

.sub-pill svg {
  width: 18px; /* tamaño fijo del ícono */
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 2; /* por si lo han sobreescrito globalmente */
  vertical-align: middle;
}

.sub-pill span {
  display: inline-block;
  transform: translateY(0); /* mantiene el texto alineado */
}

/* ====== Contenido: que no fuerce anchos raros ====== */
.service-detail .detail-content {
  min-width: 0; /* evita overflow en grid */
}

.service-detail #detail-title {
  margin-bottom: 8px;
}

.service-detail .detail-desc {
  margin-bottom: 14px;
}

/* ====== Panel (cerrado por defecto) ====== */
.service-detail {
  --accent: #e49013;
  width: 80%;
  margin: 40px auto;
  color: #f2f2f2;
  background: rgba(120, 120, 120, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  display: none;
  box-sizing: border-box;
  padding: 40px;
  gap: 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.3s ease;
}
.service-detail.open {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: stretch;
  opacity: 1;
  transform: translateY(0);
  max-height: 1500px;
}
.service-detail {
  /* ====== Botón cerrar ====== */
}
.service-detail .detail-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}
.service-detail .detail-close:hover {
  background: rgba(0, 0, 0, 0.55);
}
.service-detail .detail-close:active {
  transform: scale(0.98);
}
.service-detail {
  /* ====== Media (imagen izquierda) ====== */
}
.service-detail .detail-media {
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail .detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.service-detail .detail-media img.loaded {
  opacity: 1;
  transform: scale(1);
}
.service-detail {
  /* ====== Contenido (derecha) ====== */
}
.service-detail .detail-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
}
.service-detail .detail-content h2 {
  font-family: "Rubik", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.4px;
  margin: 0 0 6px;
  color: var(--accent);
}
.service-detail .detail-content .detail-desc {
  color: #cfcfcf;
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 72ch;
}
.service-detail .detail-content {
  /* ====== Subservicios ====== */
}
.service-detail .detail-content .subservices-grid {
  margin: 8px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px 14px;
}
.service-detail .detail-content .subservices-grid .sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(228, 144, 19, 0.4);
  border-radius: 999px;
  background: rgba(228, 144, 19, 0.08);
  color: #f2f2f2;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease;
}
.service-detail .detail-content .subservices-grid .sub-pill svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.service-detail .detail-content .subservices-grid .sub-pill:hover {
  border-color: rgba(228, 144, 19, 0.65);
  background: rgba(228, 144, 19, 0.12);
}
.service-detail .detail-content .subservices-grid .sub-pill:active {
  transform: translateY(1px);
}
.service-detail .detail-content {
  /* ====== CTA ====== */
}
.service-detail .detail-content .detail-cta {
  margin-top: 4px;
}
.service-detail .detail-content .detail-cta .btn-cta {
  display: inline-block;
  background: #e49013;
  color: #111;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(228, 144, 19, 0.25);
  transition: filter 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}
.service-detail .detail-content .detail-cta .btn-cta:hover {
  filter: brightness(1.05);
}
.service-detail .detail-content .detail-cta .btn-cta:active {
  transform: translateY(1px);
  box-shadow: 0 6px 22px rgba(228, 144, 19, 0.22);
}
.service-detail {
  /* ====== Responsivo ====== */
}
@media (max-width: 1200px) {
  .service-detail {
    padding: 32px;
  }
  .service-detail.open {
    grid-template-columns: 48% 52%;
  }
}
@media (max-width: 1024px) {
  .service-detail {
    width: 86%;
    padding: 28px;
  }
  .service-detail.open {
    grid-template-columns: 1fr;
  }
  .service-detail .detail-media {
    min-height: 280px;
    order: 2;
  }
  .service-detail .detail-content {
    order: 1;
  }
  .service-detail .detail-content .subservices-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .service-detail {
    width: 92%;
    padding: 22px;
  }
  .service-detail .detail-media {
    min-height: 220px;
  }
  .service-detail .detail-content h2 {
    font-size: clamp(20px, 5vw, 28px);
  }
}

/* ====== (Opcional) Ajustes suaves para la sección de videos, si lo necesitas ====== */
/*
.services-video-section {
  .videos-row {
    gap: 18px;
  }
  .video-col {
    cursor: pointer;

    .service-btn {
      color: $texto;
      transition: color .2s ease;
      &:hover { color: $color-principal; }
    }
  }
}
*/
/* No recortar: centra y ajusta sin cortar (letterbox si hace falta) */
/* ===== Ajustes específicos ===== */
/* ===== Forzar 'píldoras' al ancho de su contenido ===== */
.service-detail .detail-content .subservices-grid {
  display: flex !important; /* en lugar de grid */
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: flex-start;
}

.service-detail .detail-content .subservices-grid .sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  width: auto; /* clave: sólo lo que mide el contenido */
  max-width: 100%;
  white-space: nowrap; /* evita saltos de línea */
}

/* En responsive también mantener 'flex' (anula tu regla de 1fr) */
@media (max-width: 1024px) {
  .service-detail .detail-content .subservices-grid {
    display: flex !important; /* evita que vuelva a grid 1fr */
    flex-wrap: wrap;
    gap: 10px 12px;
  }
}
.service-detail .detail-media {
  width: 100%;
  height: auto;
  max-height: calc(80vh - 120px); /* 80% del alto visible menos márgenes */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
}

.service-detail .detail-media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain; /* 💡 no recorta, muestra todo */
  object-position: center;
}

/* ===== Centrar títulos y textos dentro de detail-content ===== */
.service-detail .detail-content {
  text-align: center; /* centra texto por defecto */
}

.service-detail #detail-title,
.service-detail .detail-desc {
  margin-left: auto;
  margin-right: auto; /* centra los bloques */
}

/* Centrar las pastillas (ya usamos flex) */
.service-detail .detail-content .subservices-grid {
  justify-content: center !important; /* antes: flex-start */
}

/* CTA siempre a la derecha */
.service-detail .detail-content .detail-cta {
  justify-self: end; /* como está en grid, se alinea a la derecha */
  text-align: right; /* el contenido interno también a la derecha */
  width: 100%; /* permite empujar el botón al extremo derecho */
}

.service-detail .detail-content .detail-cta .btn-cta {
  display: inline-block; /* mantiene su ancho natural */
}

/* Opcional: en móvil, si prefieres centrar el CTA, descomenta esto:
@media (max-width: 640px) {
  .service-detail .detail-content .detail-cta {
    justify-self: center;
    text-align: center;
  }
}
*/
.gallery-interactive {
  --primary: #e49013;
  padding: 4rem 1rem;
  color: #e0e0e0;
  text-align: center;
}
.gallery-interactive .gi-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.gallery-interactive .gi-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: color-mix(in oklab, var(--primary) 70%, transparent);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}
.gallery-interactive .gi-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.gallery-interactive .gi-filters .gi-chip {
  background: transparent;
  color: #fff;
  border: 1.5px solid color-mix(in oklab, var(--primary) 60%, #fff 0%);
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.25s;
}
.gallery-interactive .gi-filters .gi-chip.is-active, .gallery-interactive .gi-filters .gi-chip:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 40%, transparent);
  transform: translateY(-1px);
}
.gallery-interactive .gi-grid {
  display: grid;
  gap: 1rem;
  margin-inline: auto;
  max-width: 1200px;
  grid-template-columns: repeat(12, 1fr);
}
.gallery-interactive {
  /* Responsive columns */
}
@media (max-width: 599px) {
  .gallery-interactive .gi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 600px) and (max-width: 991px) {
  .gallery-interactive .gi-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.gallery-interactive .gi-item {
  grid-column: span 4; /* 3 por fila en desktop, 2 en tablet, 1 en móvil */
}
.gallery-interactive .gi-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.gallery-interactive .gi-card::after { /* glow borde en hover */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 16px;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 0%, transparent);
  transition: box-shadow 0.35s ease;
}
.gallery-interactive .gi-card:hover::after {
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 80%, transparent);
}
.gallery-interactive .gi-card:hover {
  filter: brightness(1.05) contrast(1.03);
}
.gallery-interactive .gi-card img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.gi-card:hover .gallery-interactive .gi-card img {
  transform: scale(1.07);
}
.gallery-interactive .gi-card img { /* Ken Burns suave */ }
.gallery-interactive .gi-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gallery-interactive .gi-caption .gi-badge {
  align-self: flex-start;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.4px;
}
.gallery-interactive .gi-caption strong {
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.gallery-interactive {
  /* Aparecer al hacer scroll */
}
.gallery-interactive .gi-item {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.45s ease, translate 0.45s ease;
}
.gallery-interactive .gi-item.is-inview {
  opacity: 1;
  translate: 0 0;
}
.gallery-interactive {
  /* Lightbox */
}
.gallery-interactive .gi-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}
.gallery-interactive .gi-lightbox.is-open {
  display: flex;
}
.gallery-interactive .gi-large {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.gallery-interactive .gi-close, .gallery-interactive .gi-prev, .gallery-interactive .gi-next {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
  backdrop-filter: blur(3px);
}
.gallery-interactive .gi-close {
  top: 24px;
  right: 24px;
  translate: 0 0;
}
.gallery-interactive .gi-prev {
  left: 24px;
}
.gallery-interactive .gi-next {
  right: 24px;
}
.gallery-interactive .gi-close:hover, .gallery-interactive .gi-prev:hover, .gallery-interactive .gi-next:hover {
  background: color-mix(in oklab, var(--primary) 40%, rgba(255, 255, 255, 0.15));
  color: #000;
}

.gi-item.is-hidden {
  display: none;
}

/* ============================================================
   SECCIÓN NOSOTROS (Office Project)
   Logo a la izquierda, video a la derecha
   Estilo oscuro con color acento naranja
   ============================================================ */
/* ============================================================
   SECCIÓN NOSOTROS (Office Project)
   Logo a la izquierda, video a la derecha
   Texto centrado vertical y horizontalmente
   ============================================================ */
.nosotros-section {
  padding: 6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f2f2f2;
}

.nosotros-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 90%;
  max-width: 1200px;
  flex-wrap: wrap;
}

/* ===== Lado Izquierdo (logo + texto) ===== */
.nosotros-logo {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}
.nosotros-logo img {
  width: 180px;
  margin-bottom: 1.5rem;
}
.nosotros-logo h2 {
  color: #e49013;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.nosotros-logo p {
  line-height: 1.7;
  color: #dcdcdc;
  max-width: 420px;
}

/* ===== Lado Derecho (video) ===== */
.nosotros-video {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nosotros-video video {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* ===== Responsivo ===== */
@media (max-width: 991px) {
  .nosotros-row {
    flex-direction: column;
    text-align: center;
  }
  .nosotros-logo {
    align-items: center;
    margin-bottom: 2rem;
  }
}
/* ============================================================
   Carrusel 3D de logotipos — CSS completo
   ============================================================ */
:root {
  --primary: #e49013;
  --card-size: clamp(120px, 10.8vw, 230px);
  --gap: clamp(1px, 0.2vw, 4px);
  --border-glow: rgba(200, 200, 200, .65);
  --bg: black;
  --edge-gutter-scale: 0.35;
}

/* ==========================
   Contenedor principal
   ========================== */
.logo3d {
  width: min(80vw, 1280px);
  margin: 6rem auto;
  user-select: none;
  perspective: 1200px; /* activa profundidad 3D */
}

.logo3d .scene {
  position: relative;
  height: calc(var(--card-size) * 1.4);
  overflow: visible;
}

/* ==========================
   Carril de logos
   ========================== */
.logo3d .track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding-inline: 0 !important;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  touch-action: pan-x;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}

.logo3d .track.no-snap {
  scroll-snap-type: none !important;
}

.logo3d .track::-webkit-scrollbar {
  display: none;
}

.logo3d .track:active {
  cursor: grabbing;
}

/* Gutters compactos en bordes para centrar sin dejar huecos grandes */
.logo3d .track::before,
.logo3d .track::after {
  content: "";
  flex: 0 0 calc((100% - var(--card-size)) / 2 * var(--edge-gutter-scale));
}

/* ==========================
   Tarjetas de logotipo
   ========================== */
.logo3d .card {
  position: relative;
  flex: 0 0 var(--card-size);
  height: var(--card-size);
  border-radius: 14px;
  background: #ffffff; /* fondo blanco para logos (puedes cambiar a transparent) */
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  cursor: grab;
  contain: content;
  will-change: transform, box-shadow, opacity, border-color;
  transform-style: preserve-3d;
  /* Variables dinámicas */
  --depth-scale: 1; /* la pone JS según distancia al centro */
  --hover-scale: 1; /* hover/is-held */
  --tiltX: 0deg; /* se actualiza con JS para el tilt */
  --tiltY: 0deg; /* se actualiza con JS para el tilt */
  --lift: 0px; /* elevación Z */
  --shadow-strength: .35;
  /* ¡Transform único! orden: tilt -> lift -> escala */
  transform: rotateX(var(--tiltX)) rotateY(var(--tiltY)) translateZ(var(--lift)) scale(calc(var(--depth-scale) * var(--hover-scale)));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, opacity 0.25s ease;
  /* sombra base */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.04);
}

/* “Grosor” inferior y brillo especular (realce 3D sutil) */
.logo3d .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transform: translateZ(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0.6;
  pointer-events: none;
}

.logo3d .card::before {
  content: "";
  position: absolute;
  inset: 2px 2px 55% 2px;
  border-radius: 12px 12px 40% 40%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: translateZ(1px);
  pointer-events: none;
  opacity: 0.55;
}

/* Hover (feedback visual + leve elevación) */
@media (hover: hover) {
  .logo3d .card:hover {
    --hover-scale: 1.12;
    --lift: 8px;
    border-color: #fff;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 255, 255, 0.12), inset 0 0 10px rgba(255, 255, 255, 0.05);
  }
}
/* ==========================
   Imagen del logo
   ========================== */
.logo3d .card .face {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: none;
  display: grid;
  place-items: center;
  position: relative;
}

.logo3d .card img.logo {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.2s ease;
  -webkit-user-drag: none;
  user-select: none;
}

@media (hover: hover) {
  .logo3d .card:hover img.logo {
    transform: scale(1.05);
  }
}
/* ==========================
   Reflejo inferior (dentro del área del card)
   ========================== */
.logo3d .card .reflection {
  position: absolute;
  inset: auto 0 -45% 0;
  height: 45%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.logo3d .card .reflection img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  transform: scaleY(-1);
  opacity: 0.25;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  filter: none;
}

/* ==========================
   Texto guía
   ========================== */
.logo3d .legend {
  text-align: center;
  color: #cfcfcf;
  margin-top: 12px;
  font-size: 0.9rem;
}

.logo3d .legend b {
  color: var(--primary);
}

/* ==========================
   Estados de interacción
   ========================== */
.logo3d .card.is-held {
  cursor: grabbing;
  border-color: #fff;
  --hover-scale: 1.06;
  --lift: 10px;
}

.logo3d .track.grabbing {
  cursor: grabbing;
}

.logo3d .track.free-settle {
  scroll-snap-type: none !important;
}

/* ==========================
   Profundidad (solo variables; sin transform directos)
   ========================== */
.logo3d .card.depth-0 {
  --depth-scale: 1.0;
  opacity: 1;
}

.logo3d .card.depth-1 {
  --depth-scale: 0.85;
  opacity: 0.9;
}

.logo3d .card.depth-2 {
  --depth-scale: 0.70;
  opacity: 0.8;
}

.logo3d .card.depth-3 {
  --depth-scale: 0.60;
  opacity: 0.7;
}

.logo3d .card.depth-4 {
  --depth-scale: 0.50;
  opacity: 0.55;
}

.logo3d .card.depth-far {
  --depth-scale: 0.40;
  opacity: 0.45;
}

/* ===== Contacto Office Project ===== */
.contact-section {
  color: #f2f2f2;
  font-family: "Rubik", system-ui, sans-serif;
  background: radial-gradient(1200px 420px at 10% -20%, rgba(228, 144, 19, 0.12), transparent 60%), linear-gradient(180deg, #0b0b0c 0%, #0a0a0b 100%);
  padding: clamp(40px, 6vw, 72px) 0;
}
.contact-section .container {
  max-width: min(1100px, 92vw);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 28px);
}
.contact-section .contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 3vw, 40px);
}
.contact-section {
  /* Aside */
}
.contact-section .contact__aside {
  align-self: start;
}
.contact-section .contact__aside .contact__title {
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: #f2f2f2;
}
.contact-section .contact__aside .contact__lead {
  color: #cfcfcf;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 52ch;
}
.contact-section .contact__aside .contact__data {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.contact-section .contact__aside .contact__data li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
}
.contact-section .contact__aside .contact__data li svg {
  width: 18px;
  height: 18px;
  stroke: #f2f2f2;
  fill: none;
  stroke-width: 1.6;
  opacity: 0.9;
}
.contact-section .contact__aside .contact__data li a {
  color: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.contact-section .contact__aside .contact__data li a:hover {
  border-bottom-color: rgba(242, 242, 242, 0.35);
}
.contact-section {
  /* Card del formulario */
}
.contact-section .contact__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(16px, 3.2vw, 28px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.contact-section .contact__card form {
  display: grid;
  gap: 16px;
}
.contact-section .contact__card .form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.contact-section .contact__card .field {
  position: relative;
  display: grid;
  /* inputs base */
}
.contact-section .contact__card .field input, .contact-section .contact__card .field select, .contact-section .contact__card .field textarea {
  width: 100%;
  color: #f2f2f2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-section .contact__card .field input::placeholder, .contact-section .contact__card .field select::placeholder, .contact-section .contact__card .field textarea::placeholder {
  color: rgba(242, 242, 242, 0.4);
}
.contact-section .contact__card .field input:focus, .contact-section .contact__card .field select:focus, .contact-section .contact__card .field textarea:focus {
  border-color: rgba(228, 144, 19, 0.55);
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.18);
  background: rgba(255, 255, 255, 0.055);
}
.contact-section .contact__card .field input:user-invalid, .contact-section .contact__card .field select:user-invalid, .contact-section .contact__card .field textarea:user-invalid {
  border-color: rgba(255, 90, 90, 0.55);
}
.contact-section .contact__card .field {
  /* labels flotantes */
}
.contact-section .contact__card .field label {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.95rem;
  color: rgba(242, 242, 242, 0.7);
  padding: 0 6px;
  pointer-events: none;
  transition: transform 0.15s ease, color 0.2s ease, background 0.2s ease, top 0.15s ease;
  background: transparent;
}
.contact-section .contact__card .field input:focus + label,
.contact-section .contact__card .field input:not(:placeholder-shown) + label,
.contact-section .contact__card .field textarea:focus + label,
.contact-section .contact__card .field textarea:not(:placeholder-shown) + label,
.contact-section .contact__card .field select:focus + label,
.contact-section .contact__card .field select:valid + label {
  top: -9px;
  transform: scale(0.88);
  background: rgba(255, 255, 255, 0.05);
  color: #e49013;
}
.contact-section .contact__card .field {
  /* “hint” opcional */
}
.contact-section .contact__card .field .hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(242, 242, 242, 0.55);
}
.contact-section .contact__card {
  /* Checkbox */
}
.contact-section .contact__card .check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  font-size: 0.95rem;
}
.contact-section .contact__card .check input {
  width: 18px;
  height: 18px;
  accent-color: #e49013;
}
.contact-section .contact__card .check a {
  color: #f2f2f2;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.contact-section .contact__card .check a:hover {
  border-bottom-color: rgba(242, 242, 242, 0.35);
}
.contact-section .contact__card {
  /* Acciones */
}
.contact-section .contact__card .form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-section .contact__card .form-actions .btn-primary {
  background: #e49013;
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(228, 144, 19, 0.25);
  transition: filter 0.2s, transform 0.12s, box-shadow 0.2s;
}
.contact-section .contact__card .form-actions .btn-primary:hover {
  filter: brightness(1.06);
}
.contact-section .contact__card .form-actions .btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 6px 20px rgba(228, 144, 19, 0.18);
}
.contact-section .contact__card .form-actions .btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(228, 144, 19, 0.45);
}
.contact-section .contact__card .form-actions .form-note {
  color: #cfcfcf;
  margin: 0;
}
.contact-section .contact__card {
  /* Mensajes de estado */
}
.contact-section .contact__card .form-status {
  min-height: 20px;
  font-size: 0.95rem;
  margin-top: 4px;
}
.contact-section .contact__card .form-status.ok {
  color: #49e68a;
}
.contact-section .contact__card .form-status.err {
  color: #ff6b6b;
}
.contact-section {
  /* ===== Responsive ===== */
}
@media (max-width: 992px) {
  .contact-section .contact__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .contact-section .contact__card .form-row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-section * {
    transition: none !important;
  }
}
.contact-section {
  color-scheme: dark;
}
/*# sourceMappingURL=main.css.map */
