:root {
  /* Paleta tomada del admin */
  --ov-primary: #12A8E0;
  --ov-primary-soft: rgba(18, 168, 224, 0.18);
  --ov-primary-strong: rgba(18, 168, 224, 0.32);
  --ov-secondary: #FF7A1A;
  --ov-secondary-soft: rgba(255, 122, 26, 0.22);
  --ov-bg: #06141d;
  --ov-surface: #071a24;
  --ov-surface-2: #0a2736;
  --ov-surface-soft: #0c2533;
  --ov-border: rgba(18, 168, 224, 0.16);
  --ov-border-soft: rgba(148, 163, 184, 0.35);
  --ov-text: #eaf7ff;
  --ov-text-soft: #9fbfd4;
  --ov-text-muted: #7cbfd8;
  --ov-danger: #ff6b81;
  --ov-success: #57d38c;
  --ov-warning: #f4c542;
  --ov-radius-lg: 1.4rem;
  --ov-radius-md: 1rem;
  --ov-radius-sm: .8rem;
  --ov-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --ov-shadow-card: 0 16px 36px rgba(3, 7, 18, 0.65);
  --ov-container: 1200px;
  --ov-transition: all .24s ease;
}
/* =========================
   POR QUÉ NOSOTROS
========================= */

.ov-why-section {
  position: relative;
  overflow: hidden;
}

.ov-why-content {
  max-width: 640px;
}

.ov-why-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: #f8fbff;
}

.ov-why-lead {
  color: var(--ov-text-soft);
  font-size: 1.03rem;
  margin-bottom: 1.6rem;
  max-width: 62ch;
}

.ov-why-points {
  display: grid;
  gap: 1rem;
}

.ov-why-point {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(7,26,36,0.9), rgba(4,17,27,0.92));
  border: 1px solid rgba(18, 168, 224, 0.12);
  box-shadow: 0 16px 36px rgba(2, 8, 20, 0.28);
}

.ov-why-point-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 168, 224, 0.12);
  color: var(--ov-primary);
  font-size: 1.15rem;
  border: 1px solid rgba(18, 168, 224, 0.15);
}

.ov-why-point h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #f8fbff;
}

.ov-why-point p {
  margin: 0;
  color: var(--ov-text-soft);
}

.ov-why-panel {
  height: 100%;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255,122,26,0.12), transparent 52%),
    linear-gradient(145deg, #061520, #071b27 45%, #04111a 100%);
  border: 1px solid rgba(18, 168, 224, 0.14);
  box-shadow: 0 24px 56px rgba(2, 8, 20, 0.42);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ov-why-panel-top {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.ov-why-mini-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ov-text-muted);
  margin-bottom: .8rem;
}

.ov-why-panel-top h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
  color: #f8fbff;
  margin-bottom: .7rem;
}

.ov-why-panel-top p {
  margin: 0;
  color: var(--ov-text-soft);
}

.ov-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ov-why-card {
  min-height: 100%;
  border-radius: 1.1rem;
  padding: 1.1rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(10px);
}

.ov-why-card-number {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--ov-secondary);
  margin-bottom: .75rem;
}

.ov-why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fbff;
  margin-bottom: .45rem;
}

.ov-why-card p {
  margin: 0;
  color: var(--ov-text-soft);
  font-size: .95rem;
}

.ov-why-card-accent {
  background:
    linear-gradient(145deg, rgba(255,122,26,0.14), rgba(18,168,224,0.08)),
    rgba(255,255,255,0.04);
  border-color: rgba(255, 122, 26, 0.18);
}

@media (max-width: 991.98px) {
  .ov-why-section .row {
    gap: 1.5rem 0;
  }

  .ov-why-content {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .ov-why-title {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .ov-why-point {
    grid-template-columns: 48px 1fr;
    padding: 0.95rem;
  }

  .ov-why-point-icon {
    width: 48px;
    height: 48px;
    border-radius: .9rem;
  }

  .ov-why-panel {
    padding: 1.1rem;
    border-radius: 1.2rem;
  }

  .ov-why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   POR QUÉ NOSOTROS (PREMIUM)
========================= */

.ov-section-heading-left {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: left;
}

.ov-section-heading-left h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  font-weight: 800;
  margin-bottom: .8rem;
}

.ov-section-heading-left p {
  color: var(--ov-text-soft);
  max-width: 62ch;
}

/* Layout principal tipo bento */

.ov-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: stretch;
}

.ov-why-main {
  display: flex;
}

.ov-why-main-card {
  border-radius: 1.6rem;
  padding: 2rem 2.1rem;
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255,122,26,0.16), transparent 60%),
    linear-gradient(145deg, #04111b, #041520 46%, #030e16 100%);
  border: 1px solid rgba(18, 168, 224, 0.16);
  box-shadow: 0 26px 60px rgba(3, 7, 18, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ov-why-main-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .4rem;
  color: #f9fafb;
}

.ov-why-main-card p {
  color: var(--ov-text-soft);
  margin: 0;
}

/* Lista de puntos diferenciales */

.ov-why-list {
  display: grid;
  gap: 1.1rem;
  margin-top: .6rem;
}

.ov-why-list-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: start;
}

.ov-why-list-icon {
  width: 54px;
  height: 54px;
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 168, 224, 0.12);
  border: 1px solid rgba(18, 168, 224, 0.18);
  color: var(--ov-primary);
  font-size: 1.15rem;
}

.ov-why-list-item strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  color: #e5f3ff;
  margin-bottom: .25rem;
}

.ov-why-list-item p {
  font-size: .94rem;
  color: var(--ov-text-soft);
  margin: 0;
}

/* Acciones */

.ov-why-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Columna bento de métricas / beneficios */

.ov-why-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 1.1rem;
}

.ov-why-metric-card {
  border-radius: 1.2rem;
  padding: 1.2rem 1.1rem;
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.88));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(3, 7, 18, 0.45);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.ov-why-metric-main {
  grid-column: 1 / -1;
  padding: 1.4rem 1.3rem;
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.25), transparent 55%),
    linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
  border-color: rgba(18, 168, 224, 0.25);
}

.ov-why-metric-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ov-text-muted);
}

.ov-why-metric-value span {
  display: inline-flex;
  align-items: baseline;
  gap: .2rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: #f9fafb;
}

.ov-why-metric-card p {
  margin: 0;
  font-size: .94rem;
  color: var(--ov-text-soft);
}

.ov-why-metric-compact {
  background: linear-gradient(145deg, rgba(15,23,42,0.9), rgba(7,16,26,0.98));
}

.ov-why-metric-accent {
  background:
    linear-gradient(145deg, rgba(255,122,26,0.16), rgba(18,168,224,0.10)),
    rgba(15,23,42,0.98);
  border-color: rgba(255, 122, 26, 0.25);
}

/* Responsive */

@media (max-width: 991.98px) {
  .ov-why-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .ov-why-main-card {
    padding: 1.7rem 1.6rem;
  }

  .ov-why-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .ov-section-heading-left {
    text-align: left;
    margin-bottom: 2.4rem;
  }

  .ov-why-main-card {
    padding: 1.4rem 1.3rem;
    border-radius: 1.3rem;
  }

  .ov-why-list-item {
    grid-template-columns: 48px 1fr;
  }

  .ov-why-list-icon {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
  }

  .ov-why-bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-why-metric-main {
    padding: 1.3rem 1.2rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ov-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(18, 168, 224, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 122, 26, 0.12), transparent 55%),
    linear-gradient(135deg, #020617, #020617 22%, #020617 40%, #020617);
  color: var(--ov-text);
  line-height: 1.6;
}

/* =========================
   NAVBAR / HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.ov-navbar {
  background: rgba(6, 20, 29, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.6);
}

.ov-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}

.ov-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ov-brand-title {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.ov-brand-subtitle {
  color: rgba(226,232,240,.78);
  font-size: .78rem;
}

.ov-navbar .nav-link {
  color: rgba(226,232,240,.84);
  font-weight: 500;
  margin-inline: .4rem;
  position: relative;
}

.ov-navbar .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ov-primary), var(--ov-secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.ov-navbar .nav-link:hover,
.ov-navbar .nav-link.active {
  color: #fff;
}

.ov-navbar .nav-link:hover::after,
.ov-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.ov-navbar-toggler {
  border-color: rgba(148, 163, 184, 0.6);
}

.ov-navbar-toggler-icon {
  filter: invert(1);
}

/* =========================
   BOTONES
========================= */

.ov-btn {
  border-radius: 999px;
  padding: .85rem 1.4rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--ov-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.ov-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.75);
}

.ov-btn-lg {
  padding: 1rem 1.7rem;
}

.ov-btn-primary {
  background: var(--ov-secondary);
  border-color: var(--ov-secondary);
  color: #0f172a;
}

.ov-btn-primary:hover {
  background: #ff8a32;
  border-color: #ff8a32;
  color: #020617;
}

.ov-btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--ov-text);
}

.ov-btn-outline:hover {
  background: rgba(15,23,42,0.9);
  border-color: var(--ov-primary);
  color: #e0f2fe;
}

/* =========================
   HERO
========================= */

.hero-section {
  min-height: calc(100vh - 76px);
  background:
    radial-gradient(circle at top right, rgba(18,168,224,0.25), transparent 55%),
    radial-gradient(circle at bottom left, rgba(255,122,26,0.18), transparent 50%),
    linear-gradient(135deg, #020617 0%, #020617 45%, #020617 100%);
  display: flex;
  align-items: center;
}

.hero-section .badge {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .76rem;
  border-radius: 999px;
  padding-inline: 1rem;
  background: rgba(15,23,42,0.9);
  color: var(--ov-text-muted);
  border: 1px solid rgba(148,163,184,0.4);
}

.hero-section h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-section .lead {
  color: var(--ov-text-soft);
}

/* Panel de slides estilo admin */
.hero-panel,
#homepageHeroCarousel {
  border-radius: var(--ov-radius-lg);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.22), transparent 55%),
    linear-gradient(145deg, #04111b, #04111b 42%, #03121d 100%);
  border: 1px solid var(--ov-border);
  box-shadow: var(--ov-shadow-card);
}

.hero-panel .carousel-inner {
  border-radius: var(--ov-radius-lg);
}

.hero-panel img {
  border-radius: calc(var(--ov-radius-lg) - .4rem);
}

.hero-panel h3 {
  color: #f9fafb;
}

.hero-panel p {
  color: var(--ov-text-muted);
  margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background-color: rgba(148,163,184,.6);
}

.carousel-indicators .active {
  background: linear-gradient(90deg, var(--ov-primary), var(--ov-secondary));
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 6px rgba(15,23,42,0.8));
}

/* =========================
   SECCIONES / LAYOUT
========================= */

.ov-section {
  padding: 4.5rem 0;
}

.ov-section-alt {
  background:
    radial-gradient(circle at top left, rgba(15,23,42,0.45), transparent 60%),
    linear-gradient(135deg, #020617, #020617 40%, #020617 100%);
}

.ov-section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.ov-section-kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ov-text-muted);
  margin-bottom: .75rem;
}

.ov-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  margin-bottom: .6rem;
}

.ov-section-heading p {
  color: var(--ov-text-soft);
}

/* =========================
   CARDS SERVICIOS / PROYECTOS
========================= */

.ov-card-service,
.ov-project-card,
.ov-testimonial-card {
  border-radius: var(--ov-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
  height: 100%;
}

.ov-card-service {
  padding: 1.8rem 1.6rem;
}

.ov-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 168, 224, 0.12);
  color: var(--ov-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ov-card-service h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #e5f3ff;
}

.ov-card-service p {
  color: var(--ov-text-soft);
}

/* Proyectos */

.ov-project-card {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.ov-project-card .badge {
  background: rgba(15,23,42,0.9);
  color: var(--ov-text-soft);
  border: 1px solid rgba(148,163,184,0.4);
}

.ov-project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e5f3ff;
}

.ov-project-card p {
  color: var(--ov-text-soft);
}

/* =========================
   TESTIMONIOS
========================= */

.ov-testimonial-card {
  padding: 2.1rem 1.9rem;
}

.ov-testimonial-card p {
  font-size: 1.02rem;
  color: #e5f3ff;
}

.ov-testimonial-card small {
  color: var(--ov-text-soft);
}

/* =========================
   CTA FINAL
========================= */

.ov-cta-section {
  padding: 4rem 0 4.5rem;
}

.ov-cta-box {
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.3), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.45), transparent 60%),
    linear-gradient(135deg, #020617, #020617 40%, #020617 100%);
  border-radius: 1.75rem;
  padding: 2.4rem 2.6rem;
  border: 1px solid rgba(59,130,246,0.65);
  box-shadow: 0 28px 70px rgba(15,23,42,0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ov-cta-box h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: .5rem;
}

.ov-cta-box p {
  margin: 0;
  color: rgba(226,232,240,0.88);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .ov-section {
    padding: 3.5rem 0;
  }

  .hero-section {
    min-height: 70vh;
  }

  .ov-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.8rem;
  }
}

/* =========================
   FIX GLOBAL OVERFLOW
========================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.ov-body {
  overflow-x: hidden;
}

main,
section,
.container,
.container-fluid,
.row {
  max-width: 100%;
}

/* Evita que elementos del hero o slider se salgan del viewport */
.hero-slider-section,
#homeHeroCarousel,
#homeHeroCarousel .carousel-inner,
#homeHeroCarousel .carousel-item,
.hero-slide {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Si en algún lugar usaste 100vw en secciones o banners, cámbialo por 100% */
.hero-slider-section,
.hero-slide,
.ov-project-image,
.site-footer,
.ov-section,
.ov-section-soft {
  width: 100%;
}

/* =========================
   HERO FULL IMAGE COVER
========================= */

.hero-slider-section {
  position: relative;
}

#homeHeroCarousel,
#homeHeroCarousel .carousel-inner,
#homeHeroCarousel .carousel-item,
.hero-slide {
  min-height: 100vh;
}

.hero-slide {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Si el slide usa <img> dentro del carousel en vez de background-image */
#homeHeroCarousel .carousel-item img,
.hero-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Contenido del hero encima de la imagen */
.hero-slide .container,
.hero-slide .row {
  position: relative;
  z-index: 2;
}

/* Overlay no debe provocar overflow */
.hero-slide::before,
.hero-slide::after {
  max-width: 100%;
  overflow: hidden;
}

/* Controles del slider dentro del viewport */
#homeHeroCarousel .carousel-control-prev,
#homeHeroCarousel .carousel-control-next {
  width: 64px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

#homeHeroCarousel .carousel-control-prev {
  left: 1rem;
}

#homeHeroCarousel .carousel-control-next {
  right: 1rem;
}

#homeHeroCarousel .carousel-control-prev-icon,
#homeHeroCarousel .carousel-control-next-icon {
  width: 48px;
  height: 48px;
}

/* Indicadores sin desbordar */
#homeHeroCarousel .carousel-indicators {
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
  width: auto;
  max-width: calc(100% - 2rem);
}

/* =========================
   MOBILE TUNING HERO
========================= */

@media (max-width: 991.98px) {
  #homeHeroCarousel,
  #homeHeroCarousel .carousel-inner,
  #homeHeroCarousel .carousel-item,
  .hero-slide {
    min-height: 90vh;
  }

  #homeHeroCarousel .carousel-item img,
  .hero-slide img {
    height: 90vh;
  }
}

@media (max-width: 767.98px) {
  #homeHeroCarousel,
  #homeHeroCarousel .carousel-inner,
  #homeHeroCarousel .carousel-item,
  .hero-slide {
    min-height: 100vh;
  }

  #homeHeroCarousel .carousel-item img,
  .hero-slide img {
    height: 100vh;
  }

  #homeHeroCarousel .carousel-control-prev,
  #homeHeroCarousel .carousel-control-next {
    width: 48px;
  }

  #homeHeroCarousel .carousel-control-prev {
    left: 0.5rem;
  }

  #homeHeroCarousel .carousel-control-next {
    right: 0.5rem;
  }
}

/* =========================
   HERO SLIDES CENTRADOS
========================= */

.hero-slide .row,
.hero-slider-section .row {
  justify-content: center;
}

.hero-slide .col-lg-8,
.hero-slider-section .col-lg-8,
.hero-slider-section .col-xl-7 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ov-hero-title,
.hero-slide h1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 14ch;
}

.ov-hero-text,
.hero-slide p,
.hero-slide .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 62ch;
}

.hero-slide .d-flex,
.hero-slide .gap-3,
.hero-slide .gap-2 {
  justify-content: center;
}

.hero-slide .ov-kicker,
.hero-slider-section .ov-kicker {
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* móvil hero */
@media (max-width: 767.98px) {
  .ov-hero-title,
  .hero-slide h1 {
    max-width: 100%;
  }

  .ov-hero-text,
  .hero-slide p,
  .hero-slide .lead {
    max-width: 100%;
  }

  .hero-slide .d-flex,
  .hero-slide .gap-3,
  .hero-slide .gap-2 {
    flex-direction: column;
    align-items: center;
  }

  .hero-slide .ov-btn {
    width: min(100%, 280px);
  }
}

/* =========================
   FOOTER ELEGANTE Y MODERNO
========================= */

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4.5rem 0 1.5rem;
  position: relative;
}

.site-footer .ov-brand-footer {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-footer .ov-footer-text {
  color: #94a3b8;
  line-height: 1.75;
  max-width: 34rem;
}

.site-footer .ov-footer-title {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.site-footer .ov-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .ov-footer-links li + li {
  margin-top: 0.8rem;
}

/* quita morado y estados por defecto del navegador */
.site-footer a,
.site-footer a:link,
.site-footer a:visited {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer .ov-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.site-footer .ov-footer-links a:hover,
.site-footer .ov-footer-links a:focus-visible {
  color: #ffffff;
  transform: translateX(4px);
  opacity: 1;
}

.site-footer .ov-footer-links a:active {
  color: #e2e8f0;
}

/* redes sociales más modernas */
.ov-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.ov-social-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f8fafc !important;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ov-social-link:hover,
.ov-social-link:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.ov-social-link i {
  line-height: 1;
}

/* footer bottom */
.ov-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* =========================
   WHATSAPP FLOTANTE DERECHA
========================= */

.ov-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-size: 1.7rem;
  box-shadow: 0 18px 40px rgba(18, 140, 126, 0.35);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ov-whatsapp-float:hover,
.ov-whatsapp-float:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 48px rgba(18, 140, 126, 0.45);
  color: #ffffff;
}

.ov-whatsapp-float i {
  pointer-events: none;
  line-height: 1;
}

/* móvil footer + botón */
@media (max-width: 767.98px) {
  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }

  .ov-whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }

  .ov-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* =========================
   PROYECTOS PREMIUM
========================= */

#proyectos .ov-section-heading {
  margin-bottom: 3.25rem;
}

.ov-project-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(18, 168, 224, 0.14);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.10), transparent 55%),
    linear-gradient(145deg, #06141d 0%, #081b26 48%, #071722 100%);
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.42);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.ov-project-card:hover,
.ov-project-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(18, 168, 224, 0.34);
  box-shadow: 0 26px 60px rgba(2, 8, 20, 0.58);
}

.ov-project-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ov-project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.18) 45%, rgba(2, 6, 23, 0.72) 100%);
  transition: opacity .28s ease;
}

.ov-project-card:hover .ov-project-image::before {
  opacity: 0.88;
}

.ov-project-image::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,168,224,0.22), transparent 70%);
  filter: blur(6px);
  transition: transform .3s ease, opacity .3s ease;
  opacity: .9;
}

.ov-project-card:hover .ov-project-image::after {
  transform: scale(1.08);
  opacity: 1;
}

.ov-project-image-one {
  background-image:
    linear-gradient(135deg, rgba(18,168,224,0.20), rgba(255,122,26,0.10)),
    url('/assets/img/oficina-virtual.jpg');
}

.ov-project-image-two {
  background-image:
    linear-gradient(135deg, rgba(255,122,26,0.18), rgba(18,168,224,0.10)),
    url('/assets/img/futurista.jpg');
}

.ov-project-image-three {
  background-image:
    linear-gradient(135deg, rgba(18,168,224,0.16), rgba(59,130,246,0.12)),
    url('/assets/img/portadassss.jpg');
}

.ov-project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(6, 20, 29, 0.78);
  border: 1px solid rgba(255,255,255,0.12);
  color: #eaf7ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.ov-project-body {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.35rem 1.35rem 1.45rem;
}

.ov-project-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #f8fbff;
  font-weight: 800;
}

.ov-project-body p {
  margin: 0;
  color: var(--ov-text-soft);
  font-size: .97rem;
  line-height: 1.7;
}

.ov-project-link {
  margin-top: .35rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ov-primary);
  font-weight: 700;
  font-size: .95rem;
  transition: gap .25s ease, color .25s ease;
}

.ov-project-link i {
  transition: transform .25s ease;
}

.ov-project-card:hover .ov-project-link,
.ov-project-card:focus-visible .ov-project-link {
  color: #7dd3fc;
  gap: .75rem;
}

.ov-project-card:hover .ov-project-link i,
.ov-project-card:focus-visible .ov-project-link i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .ov-project-image {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .ov-project-image {
    min-height: 210px;
  }

  .ov-project-body {
    padding: 1.2rem 1.1rem 1.25rem;
  }

  .ov-project-body h3 {
    font-size: 1.02rem;
  }

  .ov-project-body p {
    font-size: .94rem;
  }
}

/* =========================
   DETALLE DE PROYECTO
========================= */

.ov-project-detail-hero {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.ov-project-detail-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.ov-project-detail-text {
  color: var(--ov-text-soft);
  margin-bottom: 1.5rem;
}

.ov-project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 1.3rem;
  margin-bottom: 1.5rem;
  border-radius: var(--ov-radius-md);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.18), transparent 55%),
    linear-gradient(135deg, #020617, #020617 40%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.72);
  font-size: 0.95rem;
}

.ov-project-meta div {
  color: var(--ov-text-soft);
}

.ov-project-meta strong {
  color: var(--ov-text);
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Tags */

.ov-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.ov-project-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.38);
  background: rgba(15, 23, 42, 0.95);
  color: var(--ov-text-muted);
}

/* Imagen de portada */

.ov-project-cover {
  border-radius: var(--ov-radius-lg);
  border: 1px solid var(--ov-border);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.25), transparent 60%),
    linear-gradient(145deg, #020617 0%, #020617 55%, #020617 100%);
  box-shadow: var(--ov-shadow-card);
  padding: 0.4rem;
}

.ov-project-cover img {
  border-radius: calc(var(--ov-radius-lg) - 0.3rem);
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   GALERÍA DEL PROYECTO
========================= */

.ov-project-gallery-card {
  display: block;
  border-radius: var(--ov-radius-md);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ov-project-gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--ov-border);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.ov-project-gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Tarjeta de video (sin imagen) */

.ov-project-gallery-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5f3ff;
}

.ov-project-gallery-video {
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255,122,26,0.28), transparent 55%),
    linear-gradient(135deg, #020617, #020617 40%, #020617 100%);
}

.ov-project-gallery-video span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(148,163,184,0.6);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================
   PROYECTOS RELACIONADOS
========================= */

.ov-project-card {
  border-radius: var(--ov-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ov-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.92);
}

.ov-project-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ov-project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(18,168,224,0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ov-project-card:hover .ov-project-image::after {
  opacity: 1;
}

.ov-project-body {
  padding: 1.4rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ov-project-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e5f3ff;
  margin: 0;
}

.ov-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--ov-text-muted);
  transition: color 0.18s ease, transform 0.18s ease;
}

.ov-project-card:hover .ov-project-link {
  color: #f9fafb;
  transform: translateX(2px);
}

.ov-project-link i {
  font-size: 0.83rem;
}

/* =========================
   RESPONSIVE DETALLE
========================= */

@media (max-width: 991.98px) {
  .ov-project-detail-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .ov-project-meta {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .ov-project-detail-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .ov-project-meta {
    padding: 1rem 1rem;
    grid-template-columns: 1fr;
  }

  .ov-project-gallery-image,
  .ov-project-gallery-thumb {
    height: 210px;
  }
}

/* =========================
   LISTADO GENERAL PROYECTOS
========================= */

.ov-projects-hero {
  padding-bottom: 2rem;
}

.ov-project-list-card {
  height: 100%;
}

.ov-project-list-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--ov-radius-md);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ov-project-list-link:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.92);
}

.ov-project-list-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #020617;
}

.ov-project-list-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(2,6,23,0.12), transparent 40%),
    radial-gradient(circle at top left, rgba(18,168,224,0.20), transparent 55%);
  pointer-events: none;
}

.ov-project-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ov-project-list-link:hover .ov-project-list-img {
  transform: scale(1.03);
}

.ov-project-list-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.25rem;
}

.ov-project-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.ov-project-list-category {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.35);
  color: var(--ov-text-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ov-project-list-status {
  color: var(--ov-text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.ov-project-list-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #e5f3ff;
  margin: 0 0 0.7rem;
  line-height: 1.3;
}

.ov-project-list-text {
  color: var(--ov-text-soft);
  margin: 0 0 1.15rem;
  flex-grow: 1;
}

.ov-project-list-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ov-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.18s ease;
}

.ov-project-list-link:hover .ov-project-list-cta {
  color: #ffffff;
  transform: translateX(2px);
}

.ov-empty-projects {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--ov-radius-lg);
  border: 1px solid rgba(148,163,184,0.28);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.18), transparent 60%),
    linear-gradient(145deg, #020617, #020617 55%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
}

.ov-empty-projects h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.ov-empty-projects p {
  color: var(--ov-text-soft);
  margin: 0 auto 1.4rem;
}

/* =========================
   RESPONSIVE LISTADO
========================= */

@media (max-width: 767.98px) {
  .ov-project-list-content {
    padding: 1.15rem 1.1rem 1.1rem;
  }

  .ov-project-list-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ov-project-list-title {
    font-size: 1rem;
  }
}

.ov-project-gallery-card {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--ov-radius-md);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: var(--ov-shadow-soft);
  height: 100%;
}

.ov-project-gallery-button {
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.9);
  cursor: zoom-in;
  text-align: left;
}

.ov-project-gallery-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.ov-project-gallery-ratio iframe,
.ov-project-gallery-ratio video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.ov-project-gallery-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ov-project-gallery-caption {
  padding: 0.85rem 1rem 1rem;
  color: var(--ov-text-soft);
  font-size: 0.95rem;
}

.ov-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.ov-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ov-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(8px);
}

.ov-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
}

.ov-lightbox-figure {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148,163,184,.2);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
}

.ov-lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #020617;
}

.ov-lightbox-figure figcaption {
  padding: 1rem 1.1rem;
  color: var(--ov-text-soft);
  font-size: 0.95rem;
}

.ov-lightbox-close {
  position: absolute;
  top: -0.9rem;
  right: -0.9rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

body.ov-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .ov-lightbox {
    padding: 1rem;
  }

  .ov-lightbox-close {
    top: 0.6rem;
    right: 0.6rem;
  }

  .ov-lightbox-figure img {
    max-height: 72vh;
  }
}

/* =========================
   OVERRIDE GALERÍA DETALLE + VIDEO + LIGHTBOX
========================= */

.ov-project-gallery-card {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--ov-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.9);
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 60%),
    linear-gradient(145deg, #020617, #020617 50%, #020617 100%);
  box-shadow: var(--ov-shadow-soft);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ov-project-gallery-card:hover,
.ov-project-gallery-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ov-border);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.ov-project-gallery-button {
  appearance: none;
  width: 100%;
  padding: 0;
  text-align: left;
  background: transparent;
  cursor: zoom-in;
}

.ov-project-gallery-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  overflow: hidden;
}

.ov-project-gallery-ratio iframe,
.ov-project-gallery-ratio video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.ov-project-gallery-video-player {
  object-fit: cover;
  background: #020617;
}

.ov-project-gallery-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ov-project-gallery-button:hover .ov-project-gallery-image,
.ov-project-gallery-button:focus-visible .ov-project-gallery-image {
  transform: scale(1.03);
}

.ov-project-gallery-caption {
  padding: 0.85rem 1rem 1rem;
  color: var(--ov-text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ov-project-gallery-embed iframe {
  background: #020617;
}

.ov-project-gallery-video-card video {
  background: #020617;
}

/* =========================
   LIGHTBOX IMAGEN
========================= */

.ov-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.ov-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ov-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
}

.ov-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
}

.ov-lightbox-figure {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(148,163,184,.2);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
}

.ov-lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  background: #020617;
}

.ov-lightbox-figure figcaption {
  padding: 1rem 1.1rem;
  color: var(--ov-text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ov-lightbox-close {
  position: absolute;
  top: -0.9rem;
  right: -0.9rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  cursor: pointer;
}

.ov-lightbox-close:hover,
.ov-lightbox-close:focus-visible {
  background: rgba(30, 41, 59, 0.98);
  color: #ffffff;
}

body.ov-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .ov-project-gallery-caption {
    font-size: 0.9rem;
  }

  .ov-lightbox {
    padding: 1rem;
  }

  .ov-lightbox-close {
    top: 0.6rem;
    right: 0.6rem;
  }

  .ov-lightbox-figure img {
    max-height: 72vh;
  }
}

/* =========================
   CTA FINAL PREMIUM
========================= */

.ov-cta-box-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.24), transparent 52%),
    radial-gradient(circle at bottom right, rgba(255,122,26,0.18), transparent 55%),
    linear-gradient(135deg, #020617, #04111b 42%, #071826 100%);
  border: 1px solid rgba(18, 168, 224, 0.16);
  box-shadow:
    0 24px 60px rgba(2, 8, 20, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.ov-cta-box-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.03) 35%, transparent 70%);
  pointer-events: none;
}

.ov-cta-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.ov-cta-kicker {
  color: rgba(226, 232, 240, 0.72);
}

.ov-cta-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: .85rem;
  color: #f8fbff;
  max-width: 16ch;
}

.ov-cta-text {
  color: rgba(226,232,240,0.86);
  font-size: 1.02rem;
  margin: 0;
  max-width: 62ch;
}

.ov-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  margin-top: 1.25rem;
}

.ov-cta-features span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #dbeafe;
  font-size: .95rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: .55rem .9rem;
}

.ov-cta-features i {
  color: var(--ov-success);
}

.ov-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .85rem;
  position: relative;
  z-index: 1;
}

.ov-cta-actions .ov-btn {
  min-width: 220px;
}

@media (max-width: 991.98px) {
  .ov-cta-title {
    max-width: 100%;
  }

  .ov-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .ov-cta-box-premium {
    padding: 2rem 1.4rem;
    border-radius: 1.35rem;
  }

  .ov-cta-title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .ov-cta-features {
    flex-direction: column;
    align-items: flex-start;
  }

  .ov-cta-features span {
    width: 100%;
    justify-content: flex-start;
  }

  .ov-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ov-cta-actions .ov-btn {
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   NEWSLETTER PREMIUM
========================= */

.ov-newsletter-section {
  position: relative;
}

.ov-newsletter-shell {
  border-radius: 1.7rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(18,168,224,0.12), transparent 52%),
    radial-gradient(circle at bottom right, rgba(255,122,26,0.10), transparent 55%),
    linear-gradient(145deg, #04111b, #061825 44%, #03111c 100%);
  border: 1px solid rgba(18, 168, 224, 0.14);
  box-shadow: 0 26px 60px rgba(3, 7, 18, 0.5);
}

.ov-newsletter-content {
  max-width: 560px;
}

.ov-newsletter-title {
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1.1;
  font-weight: 800;
  color: #f8fbff;
  margin-bottom: .9rem;
}

.ov-newsletter-text {
  color: var(--ov-text-soft);
  margin-bottom: 1.2rem;
  max-width: 58ch;
}

.ov-newsletter-benefits {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.ov-newsletter-benefits span {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #dbeafe;
  font-size: .96rem;
}

.ov-newsletter-benefits i {
  color: var(--ov-primary);
}

/* Card formulario */

.ov-newsletter-card {
  border-radius: 1.4rem;
  padding: 1.5rem;
  background:
    linear-gradient(145deg, rgba(2,6,23,0.96), rgba(6,20,29,0.94));
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 18px 42px rgba(2, 8, 20, 0.42);
}

.ov-newsletter-card-head {
  margin-bottom: 1.25rem;
}

.ov-newsletter-card-head h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #f8fbff;
  margin-bottom: .45rem;
}

.ov-newsletter-card-head p {
  margin: 0;
  color: var(--ov-text-soft);
  font-size: .96rem;
}

/* Formulario */

.ov-newsletter-form-premium {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ov-newsletter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ov-newsletter-field .form-label {
  display: inline-block;
  margin-bottom: .45rem;
  color: #dceefd;
  font-size: .92rem;
  font-weight: 600;
}

.ov-input {
  min-height: 54px;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255,255,255,0.04);
  color: #f8fbff;
  padding: .9rem 1rem;
  box-shadow: none;
}

.ov-input::placeholder {
  color: rgba(226,232,240,0.52);
}

.ov-input:focus {
  border-color: rgba(18,168,224,0.65);
  box-shadow: 0 0 0 0.2rem rgba(18,168,224,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.ov-newsletter-submit {
  padding-top: .25rem;
}

.ov-newsletter-submit .ov-btn {
  min-width: 260px;
}

.ov-newsletter-note {
  margin: 0;
  color: rgba(226,232,240,0.62);
  font-size: .86rem;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 991.98px) {
  .ov-newsletter-shell {
    padding: 1.6rem;
  }

  .ov-newsletter-content {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .ov-newsletter-shell {
    padding: 1.25rem;
    border-radius: 1.3rem;
  }

  .ov-newsletter-card {
    padding: 1.2rem;
    border-radius: 1.15rem;
  }

  .ov-newsletter-fields {
    grid-template-columns: 1fr;
  }

  .ov-newsletter-submit .ov-btn {
    width: 100%;
    min-width: 0;
  }

  .ov-newsletter-note {
    font-size: .83rem;
  }
}
.ov-product-card {
   background: #0f172a;
   border: 1px solid rgba(148, 163, 184, 0.14);
   border-radius: 1.25rem;
   overflow: hidden;
   box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
   display: flex;
   flex-direction: column;
   height: 100%;
   transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ov-product-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 24px 48px rgba(15, 23, 42, 0.32);
   border-color: rgba(249, 115, 22, 0.28);
}

.ov-product-image {
   position: relative;
   padding-top: 62%;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}

.ov-product-image::after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.28) 100%);
}

.ov-product-badge {
   position: absolute;
   top: 1rem;
   left: 1rem;
   z-index: 2;
   background: rgba(15, 23, 42, 0.88);
   color: #f8fafc;
   font-size: 0.75rem;
   font-weight: 600;
   padding: 0.45rem 0.8rem;
   border-radius: 999px;
   text-transform: uppercase;
   letter-spacing: 0.06em;
}

.ov-product-body {
   padding: 1.5rem;
   display: flex;
   flex-direction: column;
   gap: 0.85rem;
   flex: 1;
}

.ov-product-body h3 {
   margin: 0;
   font-size: 1.15rem;
   color: #f8fafc;
}

.ov-product-body p {
   margin: 0;
   color: #cbd5e1;
   font-size: 0.96rem;
   line-height: 1.7;
}

.ov-product-meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 0.85rem;
   margin-top: 0.25rem;
}

.ov-product-price {
   font-size: 1.1rem;
   font-weight: 700;
   color: #f97316;
}

.ov-product-version {
   font-size: 0.82rem;
   color: #94a3b8;
   background: rgba(255, 255, 255, 0.05);
   padding: 0.35rem 0.7rem;
   border-radius: 999px;
}

.ov-product-actions {
   margin-top: auto;
   padding-top: 0.75rem;
}

.ov-product-detail-card {
   background: #0f172a;
   border: 1px solid rgba(148, 163, 184, 0.14);
   border-radius: 1.25rem;
   overflow: hidden;
   box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.ov-product-detail-image {
   min-height: 320px;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}

.ov-product-detail-body {
   padding: 1.5rem;
   display: grid;
   gap: 1rem;
}

.ov-product-detail-meta {
   display: flex;
   justify-content: space-between;
   gap: 1rem;
   padding-bottom: 0.85rem;
   border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ov-product-detail-meta:last-child {
   border-bottom: 0;
   padding-bottom: 0;
}

.ov-product-detail-label {
   color: #94a3b8;
   font-size: 0.9rem;
}

.ov-product-detail-value {
   color: #f8fafc;
   font-weight: 600;
   text-align: right;
}

@media (max-width: 991.98px) {
   .ov-product-detail-image {
      min-height: 260px;
   }
}
.product-admin-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.product-mobile-cover {
    width: 100%;
    min-height: 170px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.product-form-preview {
    width: 100%;
    min-height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.08);
    background-color: rgba(255,255,255,0.03);
}

.ov-btn-whatsapp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      padding: .85rem 1.1rem;
      border-radius: 12px;
      background: #25D366;
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      border: 1px solid #25D366;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
   }

   .ov-btn-whatsapp:hover {
      color: #fff;
      background: #1fb659;
      box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
      transform: translateY(-2px);
   }