﻿.overline-title {
  font-family: 'Montserrat', sans-serif !important;
  color: #98b6d3 !important;
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  font-weight: 700 !important;
  font-size: 32px !important;
  background: none !important;
  -webkit-text-fill-color: #98b6d3 !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  margin-bottom: 20px !important;
}
/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #1a1a1a;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

.no-js .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== UTILITIES ===== */
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* TransiciÃ³n de entrada para el contenido principal */
main {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

main.loaded {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 90px 0;
  background: transparent;
}

/* Sección con margen superior reducido (para pegarse al bloque anterior) */
.section--tight-top { padding-top: 40px; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0F2C4C 0%, #1a4a7a 50%, #0F2C4C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#preloader.hidden {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

#preloader .box {
  text-align: center;
  color: white;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#preloader.hidden .box {
  transform: translateY(-30px);
}

#preloader img {
  width: 180px;
  height: auto;
  margin-bottom: 50px;
  filter: drop-shadow(0 10px 30px rgba(242, 101, 34, 0.3));
  animation: logo-float 3s ease-in-out infinite;
}

#preloader .bar {
  width: 400px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 30px auto;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

#preloader .bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}

#preloader .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #F26522, #ff8c42, #F26522);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(242, 101, 34, 0.6);
  width: 0%; /* Inicialmente en 0% */
  transition: width 0.3s ease-out;
  position: relative;
}

#preloader .bar span::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8));
  border-radius: 0 4px 4px 0;
  animation: loading-glow 2.5s infinite;
}

#preloader .loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}

#preloader .loading-dots .dot {
  width: 12px;
  height: 12px;
  background: #F26522;
  border-radius: 50%;
  animation: dot-pulse 1.4s ease-in-out infinite both;
}

#preloader .loading-dots .dot:nth-child(1) { animation-delay: -0.32s; }
#preloader .loading-dots .dot:nth-child(2) { animation-delay: -0.16s; }
#preloader .loading-dots .dot:nth-child(3) { animation-delay: 0s; }

#preloader .muted {
  font-size: 16px;
  opacity: 0.8;
  font-weight: 300;
  letter-spacing: 0.5px;
  animation: text-fade 2s ease-in-out infinite;
}

/* ===== PRELOADER MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
  #preloader {
    padding: 20px;
  }
  
  #preloader img {
    width: 140px;
    margin-bottom: 40px;
  }
  
  #preloader .bar {
    width: 280px;
    height: 6px;
    margin: 25px auto;
  }
  
  #preloader .loading-dots {
    margin: 15px 0;
  }
  
  #preloader .loading-dots .dot {
    width: 10px;
    height: 10px;
  }
  
  #preloader .muted {
    font-size: 14px;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  #preloader img {
    width: 120px;
    margin-bottom: 30px;
  }
  
  #preloader .bar {
    width: 240px;
    height: 5px;
    margin: 20px auto;
  }
  
  #preloader .loading-dots .dot {
    width: 8px;
    height: 8px;
    gap: 6px;
  }
  
  #preloader .muted {
    font-size: 13px;
  }
}

@keyframes logo-float {
  0%, 100% { 
    transform: translateY(0) scale(1); 
    filter: drop-shadow(0 10px 30px rgba(242, 101, 34, 0.3));
  }
  50% { 
    transform: translateY(-10px) scale(1.02); 
    filter: drop-shadow(0 15px 40px rgba(242, 101, 34, 0.5));
  }
}

@keyframes loading-progress {
  0% { width: 0%; }
  20% { width: 20%; }
  50% { width: 60%; }
  80% { width: 85%; }
  100% { width: 100%; }
}

@keyframes loading-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes dot-pulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes text-fade {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ===== CUSTOM CURSOR ===== */
#a3-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: normal;
  transition: none;
  display: none;
}

#a3-cursor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* Mostrar cursor personalizado solo en desktop */
@media (min-width: 769px) {
  #a3-cursor {
    display: block;
  }
  
  /* Ocultar cursor del sistema COMPLETAMENTE */
  body, * {
    cursor: none !important;
  }
  
  /* Asegurar que ningÃºn elemento muestre el cursor del sistema */
  a, button, input, textarea, select, [role="button"], [tabindex], .btn, .card, .project-card, .chip, .hamb, .menu a {
    cursor: none !important;
  }
}

/* ===== HEADER & NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1a4a7a !important;
  backdrop-filter: none;
  z-index: 1000;
  padding: 15px 0;
  padding-top: max(15px, env(safe-area-inset-top));
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand img {
  height: 28px;
  width: auto;
  margin-top: 4px;
}

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

.header-social a {
  color: white;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Asegurar que los iconos mantengan el color en todas las pÃ¡ginas */
.header-social a svg {
  color: #ffffff !important;
}

.header-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-social svg {
  width: 24px;
  height: 24px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 50px;
  align-items: center;
  margin: 0 auto;
}

.menu a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu a:hover {
  color: #F26522;
}

.menu .cta {
  background: #F26522;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

.menu .cta:hover {
  background: #d54d1a;
  color: white;
}

.badge {
  background: #F26522;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
}

.arrow {
  font-size: 12px;
  margin-left: 5px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.menu a:hover .arrow {
  opacity: 1;
}

.menu-close {
  display: none;
}

/* Ocultar botón INICIO en desktop */
.mobile-only {
  display: none;
}

.hamb {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.hamb:hover {
  background: rgba(242,101,34,0.2);
  border-color: #F26522;
  color: #F26522;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(242, 101, 34, 0.2);
}

/* ===== MEGA MENU ===== */
.menu li {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 10px); /* Aumentado de 100% a calc(100% + 10px) para separarlo mÃ¡s */
  left: 0;
  background: #1a4a7a;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(26, 74, 122, 0.45);
  padding: 14px;
  width: 360px; /* ancho compacto y consistente */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.menu li:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: flex;
  flex-direction: column;
  gap: 8px; /* espaciado uniforme entre opciones */
}

.mega h3 {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mega .item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 10px;
  transition: background 0.25s ease, border-left-color 0.25s ease;
  text-decoration: none;
  color: #ffffff;
  border-left: 3px solid transparent;
}

.mega .item:hover {
  background: rgba(255,255,255,0.06);
  border-left-color: #F26522;
}

.mega .dot {
  width: 8px;
  height: 8px;
  background: #F26522;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.mega .item strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.mega .item small {
  color: #cccccc;
  font-size: 12px;
}

/* ===== HERO ===== */
.hero {
  padding: 96px 0 64px;
  position: relative;
  background: #000000;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Half-height variant for homepage */
.hero.hero--half { min-height: 56vh; }

.hero .kicker {
  color: #F26522;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 30px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Título principal de la página NOSOTROS - mismo tamaño que proyectos */
.hero h1.reveal {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: none;
  letter-spacing: normal;
}

/* Reducir tamaño del hero en móviles */
@media (max-width: 768px) {
  .hero h1.reveal {
    font-size: 3.15rem !important;
  }
}

@media (max-width: 480px) {
  .hero h1.reveal {
    font-size: 2.57rem !important;
  }
}

.hero .lead {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 50px;
  max-width: 600px;
}

/* Center hero content */
.hero .wrap { text-align: center; position: relative; z-index: 1; gap: 12px; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .buttons { justify-content: center; }

.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
/* Uniformar tamaÃ±o de los botones del hero */
.hero .buttons .btn {
  min-width: 220px;
  width: 220px;
  text-align: center;
  padding: 18px 30px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  padding: 18px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn.primary {
  background: #1a4a7a;
  color: white;
}

.btn.primary:hover {
  background: #0F2C4C;
  transform: translateY(-2px);
}

.btn:not(.primary) {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn:not(.primary):hover {
  background: #ffffff;
  color: #1a1a1a;
}

.btn.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn.instagram:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.trust {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Regla no utilizada eliminada - .tag */

.hero-bg { display: none; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.8);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.8);
}

/* ===== HERO MARQUEE ===== */
.logo-marquee {
  position: absolute;
  bottom: -96px;
  left: 0;
  right: 0;
  overflow: hidden;
  height: 80px;
  display: flex;
  align-items: center;
  pointer-events: none;
  background: linear-gradient(135deg, #F26522 0%, #e55a1a 50%, #F26522 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.logo-marquee .track {
  display: flex;
  gap: 0;
  align-items: center;
  height: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: marquee-px var(--marquee-duration, 40s) linear infinite;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

.logo-marquee .loop {
  display: flex;
  gap: 0;
  position: relative;
}

.logo-marquee .service {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 30px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
}

.logo-marquee .loop .service:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.logo-marquee .loop:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.logo-marquee .service::before {
  display: none;
}

.logo-marquee .service:hover {
  color: #EAF2FF;
  transform: translateY(-1px);
}

.logo-marquee .service:nth-child(odd),
.logo-marquee .service:nth-child(even),
.logo-marquee .service:nth-child(3n) {
  background: transparent;
  border-color: transparent;
}

@keyframes marquee-left {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

/* Animación infinita perfecta */
@keyframes marquee-px {
  0% { 
    transform: translate3d(0, 0, 0); 
  }
  100% { 
    transform: translate3d(calc(var(--loop-w, 0px) * -1), 0, 0); 
  }
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 30px;
}

.grid.s3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.s2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Four-column responsive grid for home projects */
.grid.s4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Center helpers for sections */
.section-title.center {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #F26522 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 80px;
  letter-spacing: 1px;
  position: relative;
}

/* Tipografía Poppins para títulos que deban igualar el h1 del hero */
.title-poppins {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.overline-title.center { text-align: center !important; display: block; }

.section-title.center::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F26522, transparent);
  border-radius: 2px;
}

.section-title.center::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

/* Remover líneas decorativas en títulos específicos */
.section-title.no-underline.center::after,
.section-title.no-underline.center::before {
  content: none !important;
  display: none !important;
}

.buttons.center { justify-content: center; }

/* ===== PROJECT TITLES STYLING ===== */
.masonry-overlay .overlay-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  margin-right: 35px;
  text-align: left;
  display: inline-block;
}

.masonry-overlay .overlay-content .project-type {
  background: #F26522;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal.active { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.modal .dialog { position: relative; background: #111; border-radius: 12px; max-width: 1200px; width: auto; padding: 0; box-shadow: 0 20px 80px rgba(0,0,0,0.8); display: flex; flex-direction: column; }
.modal .dialog video { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; display: block; margin: 0 auto; }
.modal .dialog img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; display: block; margin: 0 auto; }
.modal .content { padding: 12px 4px 0; }
.modal .content h3 { margin-bottom: 8px; }
.modal .close { position: absolute; top: 15px; right: 20px; background: rgba(0,0,0,0.5); border: none; color: #fff; font-size: 28px; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 1000; pointer-events: auto; }
.modal .close:hover { background: rgba(242, 101, 34, 0.8); transform: scale(1.1); }

/* Color de recuadro del modal en página de proyectos */
.projects-page .modal .dialog {
  background: #1a4a7a;
}
.projects-page .modal .content h3,
.projects-page .modal .content p {
  color: #ffffff;
}

/* Centrar la frase en la barra azul del modal de proyectos */
.projects-page .modal .content {
  width: 100%;
  padding: 16px 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.projects-page .modal .content h3 {
  margin: 0 !important;
  width: 100%;
  text-align: center !important;
}

/* Ocultar descripción si está vacía para que no afecte el centrado */
.projects-page .modal .content p:empty {
  display: none;
}

/* Centrar descripción y disclaimer en páginas de servicios */
.service-description .info-section p {
  text-align: center !important;
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.service-disclaimer {
  max-width: 400px !important;
  margin: 30px auto 0 auto !important;
  text-align: center !important;
}

/* Color de recuadro del modal en página principal (carrusel de proyectos) */
.home .modal .dialog {
  background: #1a4a7a;
}
.home .modal .content h3,
.home .modal .content p {
  color: #ffffff;
}

/* Centrar la frase en la barra azul del modal del carrusel de la página principal */
.home .modal .content {
  width: 100%;
  padding: 16px 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home .modal .content h3 {
  margin: 0 !important;
  width: 100%;
  text-align: center !important;
}

/* Ocultar descripción si está vacía para que no afecte el centrado */
.home .modal .content p:empty {
  display: none;
}

/* ===== MODAL SPECIFIC ===== */
.modal .modal-backdrop { 
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.8); 
  z-index: -1;
}



.modal .modal-close { 
  position: absolute; 
  top: 20px; 
  right: 25px; 
  background: #F26522; 
  border: none; 
  color: #fff; 
  font-size: 24px; 
  cursor: pointer; 
  width: 45px; 
  height: 45px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.3s ease;
  font-weight: bold;
  z-index: 10;
}

.modal .modal-close:hover { 
  background: #e55a1a; 
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(242, 101, 34, 0.4);
}

.modal .modal-content {
  padding: 60px 40px 40px;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .modal .dialog { padding: 0; max-width: 95%; }
  .modal .dialog video { 
    max-height: 60vh; 
    object-fit: contain;
  }
  .modal .dialog img { max-height: 60vh; }
  .modal .close { top: 10px; right: 15px; width: 35px; height: 35px; font-size: 24px; }
  
  /* Prevenir pantalla completa en videos en móvil */
  video {
    object-fit: contain;
  }
  
  /* Específicamente para videos de proyectos */
  .project-video,
  .lightbox-video {
    object-fit: contain;
  }
  

  
  .modal .modal-close { 
    top: 15px; 
    right: 20px; 
    width: 40px; 
    height: 40px; 
    font-size: 20px;
  }
  
  .modal .modal-content {
    padding: 50px 25px 30px;
  }
}

/* ===== ABOUT PAGE ===== */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section {
  margin-bottom: 80px;
  position: relative;
}

.about-section:last-child {
  margin-bottom: 0;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 1.3rem;
  color: #98b6d3;
  text-align: center;
  margin-top: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* About intro section */
.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Reducir espacio entre título y descripción en página nosotros */
.nosotros-page .hero h1 {
  margin-bottom: 10px !important;
}

.nosotros-page .about-intro {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.nosotros-page .content-section {
  padding-top: 60px !important;
}

.nosotros-page .about-section {
  margin-bottom: 20px !important;
}

.nosotros-page .hero {
  /* Alinear el espaciado con la página de Proyectos */
  padding: 120px 0 0px !important;
}

/* Reducir espacio entre título y descripción en página nosotros */
.nosotros-page .hero h1 {
  margin-bottom: 0px !important;
}

/* Aumentar tamaño del título en página de edición de video */
.hero--half h1 {
  font-size: clamp(3rem, 6vw, 5rem) !important;
}

/* Asegurar que todos los botones CTA tengan forma ovalada */
.cta-btn, .cta-btn-blue, .cta-buttons .btn {
  border-radius: 30px !important;
}

/* Estilos para las vertientes del servicio de fotografía */
.service-vertientes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.vertiente-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.vertiente-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 101, 34, 0.3);
  transform: translateY(-2px);
}

.vertiente-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.vertiente-card h4 {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vertiente-card p {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .service-vertientes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .vertiente-card {
    padding: 20px;
  }
}

/* Hacer circular solo la foto del fundador en la sección "Detrás de ART3DIA" */
.nosotros-page .about-hero-grid:has(+ .ceo-info-card) .about-visual img {
  border-radius: 50% !important;
  object-fit: cover !important;
  width: 300px !important;
  height: 300px !important;
  display: block !important;
  margin: 0 auto !important;
  margin-top: -100px !important;
}

/* Ajuste para móvil: desplazar hacia abajo la foto de "Detrás de ART3DIA" */
@media (max-width: 768px) {
  .nosotros-page .about-hero-grid:has(+ .ceo-info-card) .about-visual img {
    margin-top: -40px !important;
  }
}

@media (max-width: 480px) {
  .nosotros-page .about-hero-grid:has(+ .ceo-info-card) .about-visual img {
    margin-top: -5px !important;
  }
}

.nosotros-page .about-hero-grid:has(+ .ceo-info-card) .about-visual {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.about-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #98b6d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-desc {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #d9e6f6;
  margin-bottom: 0;
}

/* Section subtitles */
.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff;
  position: relative;
  padding-bottom: 15px;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F26522, rgba(242, 101, 34, 0.5));
  border-radius: 2px;
}

/* About values grid */
.about-values-grid {
  margin-top: 40px;
}

.about-value-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, rgba(242, 101, 34, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 101, 34, 0.3);
  box-shadow: 0 20px 40px rgba(242, 101, 34, 0.1);
}

.about-value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.about-value-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.about-value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
  text-align: center;
}

/* CEO quote styling */
.ceo-quote {
  background: linear-gradient(145deg, rgba(242, 101, 34, 0.1), rgba(242, 101, 34, 0.05));
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin-top: 25px;
  position: relative;
}

.ceo-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(242, 101, 34, 0.3);
  font-family: serif;
}

.ceo-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.6;
}

.quote-author {
  display: block;
  font-size: 0.9rem;
  color: #F26522;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About CTA section */
.about-cta {
  text-align: center;
  margin-top: 80px;
  padding: 60px 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* ===== NOSOTROS PAGE ===== */
.hero--half {
  padding: 120px 0 80px 0;
  text-align: center;
}

.hero--half .hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Poppins', sans-serif;
}

.hero--half .hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Montserrat', sans-serif;
}

.content-section {
  padding: 120px 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  background: transparent;
}

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

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.about-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #d9e6f6;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.about-copy p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #d9e6f6;
  margin-bottom: 25px;
  font-family: 'Montserrat', sans-serif;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.about-value-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.about-value-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

.about-value-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.ceo-quote {
  background: rgba(242, 101, 34, 0.1);
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin-top: 25px;
  position: relative;
}

.ceo-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(242, 101, 34, 0.3);
  font-family: serif;
}

.ceo-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

.quote-author {
  display: block;
  font-size: 0.9rem;
  color: #F26522;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

.cta-section {
  text-align: center;
  background: rgba(255,255,255,0.02);
  padding: 100px 0;
  border-radius: 20px;
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 50px;
  color: #cccccc;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 18px 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.btn-orange {
  background: #F26522;
  color: white;
  border: 2px solid #F26522;
  border-radius: 30px;
}

.btn-orange:hover {
  background: #e55a1a;
  border-color: #e55a1a;
  transform: translateY(-3px);
}

/* Responsive para la página NOSOTROS */
@media (max-width: 768px) {
  .hero--half .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero--half .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    min-width: 250px;
  }
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.2rem;
  color: #98b6d3;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .about-main-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.6rem;
  }
  
  .about-value-card {
    padding: 25px 20px;
  }
  
  .value-icon {
    font-size: 2.5rem;
  }
  
  .ceo-quote {
    padding: 20px;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
}

.ceo-profile {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.ceo-photo {
  flex-shrink: 0;
}

.ceo-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.1);
}

.ceo-info {
  flex: 1;
}

.ceo-info h3 {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .ceo-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .ceo-photo img {
    width: 100px;
    height: 100px;
  }
  
  /* Mejorar espaciado de la grilla de servicios en mobile */
  .grid.s2 {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }
  
  .card {
    padding: 25px 20px;
    margin: 0 5px;
  }
}

/* ===== PROJECTS SHOWCASE ===== */
.projects-showcase {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.projects-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(15, 44, 76, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(242, 101, 34, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

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

/* ===== DESCRIPCIÓN DEL SERVICIO ===== */
.service-description {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 60px 0;
}

.service-info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-section h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-section p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 30px;
}

.key-features,
.included-services {
  list-style: none;
  padding: 0;
}

.key-features li,
.included-services li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.key-features li:before,
.included-services li:before {
  content: "•";
  color: #F26522;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Responsive para la descripción del servicio */
@media (max-width: 768px) {
  .service-info-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-section h3 {
    font-size: 1.6rem;
  }
  
  .info-section p {
    font-size: 1.1rem;
  }
  
  .key-features li,
  .included-services li {
    font-size: 1rem;
  }
}

.section-subtitle {
  color: #cccccc;
  font-size: 1.1rem;
  margin-top: 16px;
  opacity: 0.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  align-items: stretch;
}

/* ===== PROJECT CARDS ===== */
.project-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-origin: center;
}

/* Asegurar que todos los videos tengan zoom simétrico desde el centro */
.project-card video,
.service-card video,
.carousel-slide video {
  transform-origin: center;
}

/* Eliminar todos los bordes visibles de las tarjetas */
.project-card,
.service-card,
.carousel-slide .project-card {
  border: 1px solid transparent !important;
}

/* Asegurar que las tarjetas del carrusel no tengan desplazamiento en hover */
.carousel-slide .project-card:hover,
.carousel-slide .service-card:hover {
  transform: none !important;
}

/* Asegurar que solo el video y la cortinilla tengan transiciones */
.carousel-slide .project-card,
.carousel-slide .service-card {
  transition: none;
}

.carousel-slide .card-visual {
  transition: transform 0.4s ease;
  transform-origin: center;
}

.carousel-slide .card-overlay {
  transition: transform 0.4s ease;
  transform-origin: center;
  background: transparent !important;
}

/* Zoom sutil solo en el video y cortinilla, no en los títulos */
.carousel-slide .project-card .card-visual,
.carousel-slide .service-card .card-visual {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.carousel-slide .project-card .card-overlay,
.carousel-slide .service-card .card-overlay {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.carousel-slide .project-card:hover .card-visual,
.carousel-slide .service-card:hover .card-visual {
  transform: scale(1.02) !important;
}

.carousel-slide .project-card:hover .card-overlay,
.carousel-slide .service-card:hover .card-overlay {
  transform: scale(1.02) !important;
}

/* ===== ANIMACIÓN DEL OJO PARPADEANDO ===== */
.eye-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-animation svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  animation: eye-blink 2s infinite;
}

/* Hacer el ojo aún más grande específicamente en las tarjetas de servicio */
.service-card .eye-animation {
  width: 100px;
  height: 100px;
}

@keyframes eye-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* Mostrar el ojo siempre visible en tarjetas de servicio */
.service-card .eye-animation {
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efecto de escala suave en hover para el ojo en tarjetas de servicio */
.service-card:hover .eye-animation {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Asegurar que el overlay del botón de play esté por encima del ojo */
.card-overlay {
  z-index: 10;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.project-card:hover::before {
  opacity: 1;
}

.card-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform-origin: center;
}

/* Eliminado el efecto de zoom del video */

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Regla no utilizada eliminada - .category-badge */

/* Regla duplicada eliminada - consolidada abajo */

.play-button svg {
  width: 80px;
  height: 80px;
  margin-left: 8px;
}

.project-card:hover .play-button {
  background: transparent;
  border-color: transparent;
  transform: scale(1.15);
}

/* Reglas no utilizadas eliminadas - card-stats */

.card-content {
  padding: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.card-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  flex: 1;
}

.project-type {
  background: linear-gradient(135deg, #0F2C4C 0%, #1a4a7a 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.1);
}

.card-content p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* Regla no utilizada eliminada - .tag */

/* Regla no utilizada eliminada - .tag hover */

/* ===== PROJECTS CTA ===== */
.projects-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 44, 76, 0.1) 0%, rgba(242, 101, 34, 0.05) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.projects-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(242, 100, 34, 0.073) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.projects-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.projects-cta p {
  color: #cccccc;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: none;
}

.btn-large:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===== PROJECTS PAGE SPECIFIC ===== */
.projects-page .projects-grid {
  margin-bottom: 60px;
}

.projects-page .projects-cta {
  margin-top: 40px;
}

/* ===== RESPONSIVE PROJECTS ===== */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  
  
  .card-content {
    padding: 20px;
  }
  
  .projects-cta {
    padding: 40px 24px;
  }
  
  .projects-cta h3 {
    font-size: 1.6rem;
  }
  
  .btn-large {
    padding: 16px 28px;
    font-size: 1rem;
  }
}

/* Legacy project cards (keeping for compatibility) */
.pcard {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.project-item { cursor: pointer; }
.clickable { cursor: pointer; }

.pcard video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #000;
}

.pmeta {
  padding: 16px 16px 20px;
}

.pmeta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pmeta p {
  color: #cccccc;
  font-size: 0.95rem;
}

/* ===== CARDS ===== */
.card {
  background: #2a2a2a;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.card p {
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  color: #cccccc;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: #F26522;
  font-weight: bold;
}

.cta-link {
  color: #F26522;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cta-link:hover {
  color: #d54d1a;
}

/* ===== PLACEHOLDERS ===== */
.ph {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #3a3a3a 25%, transparent 25%), 
              linear-gradient(-45deg, #3a3a3a 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #3a3a3a 75%), 
              linear-gradient(-45deg, transparent 75%, #3a3a3a 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-radius: 10px;
  margin-bottom: 20px;
}



.ph.tall {
  height: 250px;
}

/* ===== FILTERS ===== */
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: transparent;
  border: 2px solid #444444;
  color: #cccccc;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.chip:hover,
.chip.active {
  background: #F26522;
  border-color: #F26522;
  color: white;
}

/* ===== SLIDER ===== */
.slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}

.tcard {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  min-width: 300px;
  scroll-snap-align: start;
  border-left: 4px solid #F26522;
}

.tcard p {
  font-style: italic;
  margin-bottom: 15px;
  color: #cccccc;
}

.tcard b {
  color: #ffffff;
  font-weight: 600;
}

/* ===== STEPS ===== */
.steps {
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #444444;
  counter-increment: step;
}

.steps li:last-child {
  border-bottom: none;
}

.steps li b {
  background: #F26522;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== FORM ===== */
.cta-row {
  text-align: center;
  margin-bottom: 60px;
}

.cta-row h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.form input,
.form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #444444;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: #2a2a2a;
  color: #ffffff;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #F26522;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #888888;
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a4a7a;
  color: white;
  padding: 60px 0 30px;
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.f-logo {
  height: 40px;
  margin-bottom: 15px;
}

/* Columna izquierda: logo + slogan centrados entre sí */
.footer .fgrid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer .muted {
  opacity: 0.7;
  font-size: 14px;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer nav h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer nav a {
  color: #e0e7ff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  font-size: 14px;
}

.footer nav a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  color: #e0e7ff;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.9;
  font-size: 14px;
  color: #e0e7ff;
}

/* Unificación tipográfica y color de textos de footer */
.footer .muted,
.footer nav a,
.footer nav span,
.footer .copy {
  font-family: 'Montserrat', sans-serif;
  color: #e0e7ff;
  font-size: 14px;
}

/* Título para redes sociales en footer */
.social-links h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  flex: 1 0 100%;
  text-align: center;
}

/* ===== SKIP LINK ===== */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0F2C4C;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 10000;
}

.skip:focus {
  top: 10px;
  outline: 2px solid #ffffff;
}

/* ===== ESTILOS PARA PÁGINAS DE SERVICIOS ===== */

/* Service Video */
.service-video {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  display: block;
  visibility: visible;
  box-shadow: 0 25px 100px rgba(0,0,0,0.3);
}

.service-video video {
  width: 100%;
  height: auto;
  display: block;
  visibility: visible;
}

/* Service Info */
.service-info {
  display: block;
  visibility: visible;
  opacity: 1;
}

.service-info h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #ffffff;
  display: block;
  visibility: visible;
  font-weight: 600;
}

.service-info p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 40px;
  display: block;
  visibility: visible;
}

/* Features */
.feature {
  margin-bottom: 25px;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  display: block;
  visibility: visible;
  opacity: 1;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff;
  display: block;
  visibility: visible;
  font-weight: 600;
}

.feature p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
  display: block;
  visibility: visible;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
  visibility: visible;
  opacity: 1;
}

.process-step {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  display: block;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 25px;
  visibility: visible;
  opacity: 1;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 600;
}

.process-step p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Service Description */
.service-description .info-section h3 {
  font-size: 1.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}

.service-description .info-section p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #d7e2ee;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Included Services */
.included-services {
  list-style: none;
  padding: 24px;
  margin: 0 auto;
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
}

.included-services li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #cfd8e3;
  transition: transform 0.2s ease, background 0.2s ease;
  margin-bottom: 12px;
}

.included-services li:last-child {
  margin-bottom: 0;
}

.included-services li::before {
  content: "\2713";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(242, 101, 34, 0.25);
}

.included-services li:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
}

/* Service Disclaimer */
.service-disclaimer {
  margin-top: 24px;
  margin-bottom: 10px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(242,101,34,0.12);
  border: 1px solid rgba(242,101,34,0.45);
  color: #ffd7c4;
  font-weight: 600;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.service-disclaimer .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(242, 101, 34, 0.25);
}

.service-disclaimer .content strong {
  color: #ffeadd;
}

/* Section Spacing */
.pricing-section {
  padding-top: 10px;
  padding-bottom: 70px;
}

.requirements-section {
  padding-top: 10px;
  padding-bottom: 70px;
}

.projects-cta {
  padding-top: 50px;
}

.section.cta--compact {
  padding-top: 50px;
}

/* Force visibility for services */
main * {
  visibility: visible;
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero.hero--half { 
    min-height: 45vh; 
    padding-top: 60px; /* Menos espacio para el header */
  }
  
  /* Ajustar posicionamiento de títulos en móvil */
  .hero.hero--half .hero-content {
    padding-top: 120px; /* Desplazar títulos aún más hacia abajo */
  }
  
  /* Home hero: bajar textos en mobile y dejar espacio para la franja naranja */
  .home .hero.hero--half { padding: 150px 0 110px 0; }
  .hero-video { 
    filter: brightness(0.7);
    top: 100px; /* Desplazar el video hacia abajo */
    height: calc(100% - 100px); /* Ajustar altura del video */
    object-fit: cover;
    object-position: center center; /* Centrar el video */
  }
  /* Evitar que la franja naranja (logo-marquee) se recorte en mobile */
  .hero { overflow: visible; }
  
  .logo-marquee {
    bottom: -10px;
    height: 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
  .logo-marquee .track {
    gap: 0;
  }
  
  .logo-marquee .service {
    padding: 0 20px;
    font-size: 12px;
  }
  
  .logo-marquee .loop .service:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
  }

  .logo-marquee .loop:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
  }
  
  .hamb {
    display: block;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 20px;
    cursor: pointer;
    color: white;
    padding: 0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
  }
  
  .hamb:hover {
    background: rgba(242,101,34,0.2);
    border-color: #F26522;
    color: #F26522;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(242, 101, 34, 0.2);
  }
  
  .header-social {
    display: none;
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    background: #0F2C4C;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 120px 20px 80px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    gap: 16px;
    overflow: hidden;
  }
  
  .menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    right: 0;
  }
  
  .menu li {
    margin: 0;
    width: 75%;
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
  }
  
  .menu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 101, 34, 0.1), transparent);
    transition: left 0.6s ease;
  }
  
  .menu li:hover::before {
    left: 100%;
  }
  
  .menu.active li {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  .menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .menu.active li:nth-child(2) { transition-delay: 0.2s; }
  .menu.active li:nth-child(3) { transition-delay: 0.3s; }
  .menu.active li:nth-child(4) { transition-delay: 0.4s; }
  .menu.active li:nth-child(5) { transition-delay: 0.5s; }
  .menu.active li:nth-child(6) { transition-delay: 0.6s; }
  
  /* Mostrar botón INICIO en móvil */
  .mobile-only {
    display: block;
  }
  
  .menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    background: #1a4a7a;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  .menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 44, 76, 0.3), rgba(26, 74, 122, 0.2));
    border-radius: 50px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    transform: scale(0.8);
  }
  
  .menu a:hover::before {
    opacity: 1;
    transform: scale(1);
  }
  
  .menu a:hover {
    color: #ffffff;
    background: #0F2C4C;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(15, 44, 76, 0.4);
  }
  
  .menu .cta {
    background: linear-gradient(135deg, #F26522, #ff8c42);
    color: white;
    margin: 0;
    border-radius: 50px;
    border: none;
    font-size: 1.3rem;
    padding: 16px 24px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
  }
  
  .menu .cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
  }
  
  .menu .cta:hover::before {
    left: 100%;
  }
  
  .menu .cta:hover {
    background: linear-gradient(135deg, #d54d1a, #F26522);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.4);
  }
  
  .mega {
    display: none;
  }
  
  .arrow {
    display: none;
  }
  
  .menu-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1001;
    backdrop-filter: blur(10px);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
  }
  
  .menu.active .menu-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.3s;
  }
  
  .menu-close:hover {
    background: rgba(242,101,34,0.25);
    border-color: #F26522;
    color: #F26522;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 12px 30px rgba(242, 101, 34, 0.4);
  }
  
  .fgrid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links { justify-content: center; }
  
  .section { padding: 48px 0; }
  
  /* Mejoras específicas para mobile del menú */
  .hamb {
    margin-right: 10px;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    padding: 0;
  }
  

  
  .menu {
    padding: 100px 20px 50px;
  }
  
  .menu a {
    padding: 22px 25px;
    font-size: 1.5rem;
  }
  
  .menu .cta {
    padding: 22px 40px;
    font-size: 1.5rem;
    margin: 0;
  }
  
  .menu-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }
  
  .hero {
    padding: 84px 0 48px;
  }
  
  .hero h1 {
    font-size: 3.15rem !important;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 15px;
  }
  
  /* Ajustes adicionales para pantallas muy pequeñas */
  .hero.hero--half { 
    padding-top: 50px; /* Aún menos padding para pantallas pequeñas */
    min-height: 40vh; /* Reducir altura total */
  }
  
  /* Ajustar títulos para pantallas muy pequeñas */
  .hero.hero--half .hero-content {
    padding-top: 90px; /* Desplazar títulos aún más hacia abajo en pantallas pequeñas */
  }
  
  .hero-video { 
    top: 73px; /* Desplazar más hacia abajo en pantallas pequeñas */
    height: calc(100% - 80px);
  }
  
  .card {
    padding: 20px;
  }
  
  .hero h1 {
    font-size: 2.57rem !important;
  }
  
  .cta-row h2 {
    font-size: 2rem;
  }
  
  /* Mejoras para pantallas muy pequeñas */
  .menu {
    padding: 80px 15px 40px;
  }
  
  .menu a {
    padding: 20px 20px;
    font-size: 1.4rem;
  }
  
  .menu .cta {
    padding: 20px 35px;
    font-size: 1.4rem;
    margin: 0;
  }
  
  .hamb {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  

  
  .menu-close {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    top: 15px;
    right: 15px;
  }
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
  text-align: center;
  padding: 18px 40px !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.cta-buttons .btn.primary {
  min-width: 250px !important;
  padding: 18px 50px !important;
  font-size: 1.2rem !important;
  border-radius: 40px !important;
}

.btn.secondary {
  background: #F26522;
  border: 2px solid #F26522;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 40px !important;
}

.btn.secondary:hover {
  background: #e55a1a;
  border-color: #e55a1a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242, 101, 34, 0.3);
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  min-height: auto;
  padding: 120px 0 40px;
}

/* ===== UNIFIED BACKGROUNDS ===== */
:root {
  --page-bg: #0F2C4C; /* color único de fondo del sitio */
}

body {
  background: var(--page-bg) !important;
}

/* Quitar fondos por-sección y gradientes para unificar color */
.section,
section.section,
.hero,
.about-hero,
.projects-showcase,
.projects-cta,
.contact-hero,
.content-section,
.main-content {
  background: transparent !important;
}

/* Quitar overlays decorativos que añaden manchas/gradientes */
.projects-showcase::before {
  background: transparent !important;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Centrado de texto y métodos de contacto en la sección de contacto del home */
#contacto .contact-info { text-align: center; margin-left: auto; margin-right: auto; }
#contacto .contact-method { flex-direction: column; align-items: center !important; text-align: center; }
#contacto .contact-method .contact-icon { margin-right: 0 !important; margin-bottom: 12px; }
#contacto .contact-method h4, 
#contacto .contact-method p { text-align: center; }
/* Forzar el párrafo introductorio a dos líneas aprox (ancho limitado por caracteres) */
#contacto .contact-info p { max-width: 56ch; margin-left: auto; margin-right: auto; }
/* Reducir el ancho de cada tarjeta de método de contacto */
#contacto .contact-method { max-width: 420px; width: 100%; margin-left: auto; margin-right: auto; }

/* Disponer los métodos de contacto uno al lado del otro */
#contacto .contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* En el layout en columnas, que cada tarjeta ocupe todo su espacio */
#contacto .contact-methods .contact-method {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 992px) {
  #contacto .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #contacto .contact-methods { grid-template-columns: 1fr; }
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form {
  max-width: none;
  margin: 0;
}

.contact-aside { position: sticky; top: 120px; }

.btn-whatsapp {
  background: #25D366;
  border: 2px solid #25D366;
  color: #0b2a17;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { padding: 28px; }
  .contact-aside { position: static; }
  
  /* Ajustes específicos para los CTA de contacto en móvil */
  .contact-grid[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 100% !important;
    margin: -10px 0 0 0 !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }
  
  .contact-method {
    min-height: 260px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }
  
  .contact-method h3 {
    font-size: 1.2rem !important;
    margin-bottom: 8px !important;
  }
  
  .contact-method p {
    font-size: 1rem !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
  }
  
  .contact-method a {
    width: 100% !important;
    max-width: 240px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    font-size: 1.0rem !important;
    margin-top: auto !important;
    border-radius: 9999px !important;
  }
}

/* Ajustes adicionales para móviles más pequeños */
@media (max-width: 480px) {
  .contact-grid[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin: -10px 0 0 0 !important;
  }
  
  .contact-method {
    min-height: 220px !important;
    padding: 15px !important;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }
  
  .contact-method h3 {
    font-size: 1.1rem !important;
    margin-bottom: 6px !important;
  }
  
  .contact-method p {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    line-height: 1.45 !important;
  }
  
  .contact-method a {
    width: 100% !important;
    max-width: 220px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    font-size: 1.0rem !important;
  }
}

/* ===== ABOUT HERO (NOSOTROS) ===== */
.about-hero {
  background: linear-gradient(135deg, #0a1a2e 0%, #1a2a3a 100%);
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}


.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-overline {
  color: #98b6d3;
  text-transform: none;
  letter-spacing: 0px;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.2;
}

.about-overline .marker {
  color: #4A9EFF;
}

.about-overline-title {
  color: #98b6d3;
  text-transform: none;
  letter-spacing: 0px;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.2;
}

.about-title {
  font-size: 3rem;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 18px;
}

.about-title .marker {
  position: relative;
  z-index: 1;
}

.about-title .marker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 14px;
  background: linear-gradient(90deg, rgba(242,101,34,0.35), rgba(242,101,34,0));
  z-index: -1;
}

.about-desc {
  color: #d9e6f6;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-visual {
  position: relative;
  min-height: 420px;
}

.about-blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90%;
  height: 90%;
  background: radial-gradient(80% 80% at 70% 30%, rgba(242,101,34,0.25), rgba(255,255,255,0) 70%),
              radial-gradient(60% 60% at 20% 80%, rgba(15,44,76,0.6), rgba(0,0,0,0) 70%);
  border-radius: 46% 54% 58% 42% / 40% 42% 58% 60%;
  filter: blur(0.2px);
}

.about-blob-img {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-dots {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #F26522 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.3;
}

/* CEO caption under the image */
.ceo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  margin: 0 auto;
  width: max(60%, 280px);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  color: #eaf2ff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

.ceo-caption h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #ffffff;
}

.ceo-caption .ceo-role {
  display: inline-block;
  font-size: 0.85rem;
  color: #F26522;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ceo-caption p {
  margin: 0;
  font-size: 0.95rem;
  color: #d9e6f6;
}

@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-title { font-size: 2.4rem; }
  .about-visual { min-height: 320px; }
}

@media (max-width: 768px) {
  .about-hero { padding: 84px 0; }
  .about-title { font-size: 2.1rem; }
  .overline-title { font-size: 22px !important; }
  .about-overline { font-size: 22px; }
  
  /* Unificar el texto de ART3DIA en móvil */
  .about-overline {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    color: #d9e6f6 !important;
    text-align: center !important;
    display: inline !important;
  }
  
  .about-desc {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    color: #d9e6f6 !important;
    text-align: center !important;
    display: inline !important;
  }
  
  /* Asegurar que el contenedor no tenga espaciado entre elementos */
  .about-copy {
    line-height: 1.6 !important;
    text-align: center !important;
  }
  
  /* Centrar el título y botón también */
  .about-copy .unified-title h2 {
    text-align: center !important;
  }
  
  .about-copy .btn {
    display: flex !important;
    margin: 20px auto 0 !important;
    text-align: center !important;
    background: #1a4a7a !important;
    color: white !important;
    min-width: 280px !important;
    width: 280px !important;
    padding: 22px 40px !important;
    height: 70px !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 35px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    font-size: 1.1rem !important;
  }
  
  .about-copy .btn:hover {
    background: #0F2C4C !important;
    transform: translateY(-2px) !important;
  }
  
  /* Color azul claro para el marcador en móvil */
  .about-overline .marker {
    color: #4A9EFF !important;
  }
}

/* Sección con margen inferior reducido (para pegarse a la siguiente) */
.section--tight-bottom { padding-bottom: 0; }

/* Special styling for Â¿QUÃ‰ HACEMOS? section - image on left */
#proceso.about-hero .about-hero-grid {
  grid-template-columns: 1fr 1fr;
}

/* Subir el título "¿Qué hacemos?" */
#proceso .unified-title {
  margin-top: -40px !important;
  margin-bottom: 20px !important;
}

#proceso.about-hero .about-visual {
  order: -1; /* Image first (left side) */
}

#proceso.about-hero .about-copy {
  order: 1; /* Text second (right side) */
}

/* Responsive adjustments for Â¿QUÃ‰ HACEMOS? section */
@media (max-width: 1024px) {
  #proceso.about-hero .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  #proceso.about-hero .about-visual,
  #proceso.about-hero .about-copy {
    order: 0; /* Reset order on mobile */
  }
  
  /* Ajustar título en tablet */
  #proceso .unified-title {
    margin-top: -30px !important;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Ajustar título en móvil */
  #proceso .unified-title {
    margin-top: -50px !important;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Ajustes adicionales para servicios en mobile */
  .services-section .wrap,
  .pricing-section .wrap,
  .requirements-section .wrap {
    padding: 0 20px;
  }
  
  .service-features li {
    padding-left: 25px;
    margin-bottom: 10px;
  }
  
  .cta-link {
    font-size: 16px;
    padding: 8px 0;
    display: inline-block;
  }
}

/* ===== PROJECT LAZY LOADING ===== */
.project-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-video.loaded {
  opacity: 1;
}

.play-overlay {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.project-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 120px;
  height: 120px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 140px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.play-button:hover {
  background: transparent;
  transform: scale(1.1);
}

/* Botón de play mucho más grande solo en desktop */
@media (min-width: 769px) {
  .play-button {
    width: 200px;
    height: 200px;
  }
  
  .play-button svg {
    width: 120px;
    height: 120px;
    margin-left: 16px;
  }
}

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Estilos específicos para imágenes en tarjetas de servicios */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
  border-radius: 0;
  transform-origin: center;
}

/* Asegurar que las imágenes de servicios se vean completas */
.project-card.service-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
  border-radius: 0;
  transform-origin: center;
}

/* Ocultar descripciones en las cards de servicios */
.service-card .card-content p {
  display: none !important;
}

.service-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ===== SERVICE PAGES ===== */
.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.service-video {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 100px rgba(0,0,0,0.3);
}

.service-video video {
  width: 100%;
  height: auto;
  display: block;
}

.service-info h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.service-info p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 40px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.process-step p {
  color: #cccccc;
  line-height: 1.6;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.cta-content p {
  font-size: 1.3rem;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* === Service: Storytelling layout helpers === */
.service-split { 
  display: grid; 
  grid-template-columns: 1.15fr 0.85fr; 
  gap: 60px; 
  align-items: start; 
}
.service-card { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.1); 
  border-radius: 20px; 
  padding: 30px; 
  box-shadow: 0 25px 100px rgba(0,0,0,0.25); 
}
.service-card.alt { 
  background: rgba(10,26,46,0.55); 
  border: 1px solid rgba(255,255,255,0.08); 
}
.option { 
  display: flex; 
  gap: 16px; 
  align-items: flex-start; 
}
.badge-num { 
  min-width: 42px; 
  height: 42px; 
  border-radius: 12px; 
  background: linear-gradient(135deg, #F26522, #ff8c42); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
}

/* Buttons already rounded via .btn; ensure consistency */
.btn { 
  border-radius: 30px; 
}

/* Mobile improvements for service pages */
@media (max-width: 768px) {
  .content-section { padding: 80px 0; }
  .hero-section h1 { font-size: 2.2rem; line-height: 1.15; }
  .hero-section p { font-size: 1.1rem; line-height: 1.6; }
  .service-split { grid-template-columns: 1fr; gap: 24px; }
  .service-card { padding: 20px; }
  .badge-num { min-width: 34px; height: 34px; border-radius: 10px; }
  .cta-buttons { gap: 14px; }
}

/* Service previews use the same look as projects */
.project-card.service-card { padding: 0; }
.project-card.service-card .card-link { 
  display: block; 
  text-decoration: none; 
  color: inherit;
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}
.project-card.service-card .card-visual { 
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
}

/* Asegurar que las tarjetas de servicio sean completamente clickeables */
.project-card.service-card {
  cursor: pointer;
  position: relative;
}

/* Asegurar que el enlace tenga prioridad sobre otros elementos */
.project-card.service-card .card-link {
  z-index: 20 !important;
}

/* Asegurar que el overlay de la cortinilla funcione en las tarjetas de servicio */
.service-card .card-overlay {
  z-index: 6;
}

.service-card .play-button {
  z-index: 7;
}

/* Asegurar que los títulos estén por encima de todos los efectos */
.carousel-slide .card-content {
  z-index: 15;
  position: relative;
  transform: none !important;
  transition: none !important;
}

.carousel-slide .card-header {
  z-index: 16;
  position: relative;
  transform: none !important;
  transition: none !important;
}

.carousel-slide .card-header h3 {
  z-index: 17;
  position: relative;
  transform: none !important;
  transition: none !important;
}

/* Asegurar que solo el video y la cortinilla tengan zoom */
.carousel-slide .card-visual {
  z-index: 5;
  position: relative;
}

.carousel-slide .card-visual video,
.carousel-slide .card-visual img {
  z-index: 5;
}

.carousel-slide .card-overlay {
  z-index: 6;
}
.project-card.service-card video { 
  display:block; 
  width:100%; 
  height:100%; 
  object-fit: cover; 
  transform-origin: center;
}
.project-card.service-card .card-content { 
  padding: 20px 15px 25px; 
  background: #1a4a7a;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 120px;
}

/* Estructura del contenido de las cards de servicios */
.project-card.service-card .card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: center;
  font-weight: 600;
}

.project-card.service-card .card-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Botones naranjas más pequeños y centrados para las cards de servicios */
.project-card.service-card .btn.primary {
  background: #F26522;
  color: white;
  border: 2px solid #F26522;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 20px;
  align-self: center;
  margin-top: 8px;
  max-width: 80px;
}

.project-card.service-card .btn.primary:hover {
  background: #e55a1a;
  border-color: #e55a1a;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .project-card.service-card .card-visual { 
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
  }
  .project-card.service-card .card-content { 
    padding: 4px 4px 8px; 
    min-height: 40px;
  }
  
  .project-card.service-card .card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.2;
    text-align: center;
    font-weight: 600;
  }
  
  .project-card.service-card .card-content p {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .project-card.service-card .btn.primary {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* Ensure cards can host a full overlay link */
.project-card { position: relative; }
.project-card .card-link { display:block; text-decoration:none; color:inherit; }

/* Behind-the-scenes carousel */
.behind-scenes-carousel {
  margin: 60px 0;
}

.carousel-container {
  position: relative;
  width: min(calc(100vw - 60px), 1200px);
  margin-left: auto;
  margin-right: auto;
  max-width: min(calc(100vw - 60px), 1200px);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: none;
}

.carousel-slide img {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide:hover img {
  transform: scale(1.02);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent; /* eliminar degradado oscuro */
  color: white;
  padding: 0;
  text-align: center;
  font-weight: 500;
  font-size: 1.1rem;
  backdrop-filter: none;
  display: none; /* no mostrar caption en el carrusel principal */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(242, 101, 34, 0.9);
  border-color: rgba(242, 101, 34, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.3);
}

.carousel-btn.prev {
  left: 25px;
}

.carousel-btn.next {
  right: 25px;
}

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dots .dot:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.1);
}

.carousel-dots .dot.active {
  background: #F26522;
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(242, 101, 34, 0.5);
}

/* Responsive improvements for carousel */
@media (max-width: 768px) {
  .behind-scenes-carousel {
    margin: 40px 0;
  }
  
  .carousel-container {
    width: calc(100vw - 40px);
    margin-left: calc(-50vw + 50% + 20px);
    margin-right: calc(-50vw + 50% + 20px);
    max-width: calc(100vw - 40px);
    border-radius: 20px;
    box-shadow: none; /* quitar sombra que puede percibirse como fade */
  }
  
  .carousel-wrapper {
    border-radius: 20px;
    overflow: hidden;
  }
  
  .carousel-slide img {
    height: 350px;
  }
  
  .slide-caption {
    padding: 20px;
    font-size: 1rem;
  }
  
  .carousel-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .carousel-btn.prev {
    left: 15px;
  }
  
  .carousel-btn.next {
    right: 15px;
  }
  
  .carousel-dots {
    bottom: 20px;
  }
  
  .carousel-dots .dot {
    width: 12px;
    height: 12px;
  }
}

/* ===== CARRUSEL MODERNO ===== */
.carousel-container {
  position: relative;
  width: min(calc(100vw - 60px), 1200px);
  margin-left: auto;
  margin-right: auto;
  max-width: min(calc(100vw - 60px), 1200px);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: transparent; /* sin gradiente */
  backdrop-filter: none;
  border: none;
  box-shadow: none; /* quitar sombra inferior */
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

/* Nueva tarjeta simplificada */
.carousel-slide .project-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 500px;
  position: relative;
  transform-origin: center;
}

.carousel-slide .card-visual {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide .card-visual video,
.carousel-slide .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

/* Imágenes de servicios en carrusel rellenan completamente */
.carousel-slide .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  transform-origin: center;
}

/* Overlay con gradiente para el contenido */
.carousel-slide .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent; /* eliminar degradado inferior */
  padding: 0;
  color: inherit;
  border: none;
  border-radius: 0;
  display: none; /* ocultar por completo el contenedor si no usamos títulos */
}

.carousel-slide .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.carousel-slide .card-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.carousel-slide .project-type {
  background: linear-gradient(135deg, #F26522, #ff8c42);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
}

.carousel-slide .card-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Controles modernos */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: auto;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #F26522;
  border-color: #F26522;
  box-shadow: 0 10px 30px rgba(242, 101, 34, 0.4);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Indicadores modernos - ahora en la parte superior */
.carousel-indicators {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}

.indicator.active {
  background: #F26522;
  box-shadow: 0 0 20px rgba(242, 101, 34, 0.6);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
  /* Contenedor del carrusel */
  .carousel-container {
    width: calc(100vw - 40px);
    margin-left: calc(-50vw + 50% + 20px);
    margin-right: calc(-50vw + 50% + 20px);
    max-width: calc(100vw - 40px);
    padding: 0;
  }
  
  .carousel-wrapper {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-track {
    width: 100%;
  }
  
  /* Cada slide debe ocupar el 100% del ancho */
  .carousel-slide {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0;
  }
  
  .carousel-slide .project-card {
    height: 350px;
    border-radius: 20px;
    width: 100%;
    margin: 0;
  }
  
  .carousel-slide .service-card {
    border-radius: 20px;
    height: 350px;
    width: 100%;
    margin: 0;
  }
  
  /* Visual del card */
  .carousel-slide .card-visual {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
  }
  
  .carousel-slide .card-visual video,
  .carousel-slide .card-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }
  
  /* Contenido del card */
  .carousel-slide .card-content {
    padding: 15px;
    text-align: center;
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
  }
  
  .carousel-slide .card-header {
    justify-content: center;
    margin-bottom: 8px;
  }
  
  .carousel-slide .card-header h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  }
  
  .carousel-slide .card-content p {
    display: none !important;
  }
  
  /* Controles de navegación */
  .carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    pointer-events: auto;
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 15;
  }
  
  .carousel-btn:hover {
    background: #F26522;
    border-color: #F26522;
  }
  
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  
  /* Indicadores */
  .carousel-indicators {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
  }
  
  .carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .carousel-indicators .indicator.active {
    background: #F26522;
    transform: scale(1.2);
  }
  
  /* Botón de play más pequeño */
  .play-button {
    width: 100px !important;
    height: 100px !important;
    font-size: 24px !important;
    z-index: 5;
  }
  
  /* Centrar el botón de play en el carrusel de proyectos */
  .carousel-slide .play-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
  }
  
  .carousel-slide .play-button {
    position: relative !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ===== CARRUSEL VIDEO 16:9 ===== */
.carousel-container {
  position: relative;
  width: min(calc(100vw - 60px), 1200px);
  margin-left: auto;
  margin-right: auto;
  max-width: min(calc(100vw - 60px), 1200px);
}

/* ===== SECTION DIVIDER (ORANGE) ===== */
.section-divider { 
  width: 60%;
  max-width: 900px;
  height: 2px;
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
}
.section-divider--orange {
  background: linear-gradient(90deg, rgba(242,101,34,0) 0%, rgba(242,101,34,1) 50%, rgba(242,101,34,0) 100%);
  box-shadow: 0 0 16px rgba(242,101,34,0.45);
}
@media (max-width: 768px) {
  .section-divider { width: 72%; }
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

/* Video completo sin contenedores */
.carousel-slide .project-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transform-origin: center;
}

/* Icono de play para el carrusel de la página principal - ELIMINADO */
/* El play button ahora se crea dinámicamente via JavaScript */

/* Centrar el botón de play en el carrusel de proyectos */
.carousel-slide .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-slide .play-button {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide .card-visual {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide .card-visual video,
.carousel-slide .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: #000;
  transform-origin: center;
}

/* Imágenes de servicios en carrusel se ven completas */
.carousel-slide .service-card .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  border-radius: 0;
  transform-origin: center;
}

/* Forzar que los videos del carrusel de servicios ocupen todo el alto */
.carousel-slide .project-card.service-card .card-visual { height: 100% !important; }
.carousel-slide .project-card.service-card video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transform-origin: center;
}

/* Ocultar contenido de texto */
.carousel-slide .card-content {
  display: block;
}

/* ===== MASONRY GALLERY - SOLO PÁGINA PROYECTOS ===== */
.projects-page .masonry-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 8px;
  margin-bottom: 80px;
  padding: 0;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* Elementos de la galería */
.projects-page .masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  background: #000;
}

.projects-page .masonry-item:hover {
  transform: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Línea naranja animada al hover (igual a pricing-card) */
.projects-page .masonry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, #ff8c42);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 3;
}

.projects-page .masonry-item:hover::before {
  transform: scaleX(1);
}

/* Imágenes */
.projects-page .masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}

/* Imágenes de proyectos */
.projects-page .masonry-item .project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
  border-radius: 8px;
}

/* Videos de proyectos */
.projects-page .masonry-item .project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
  border-radius: 8px;
}

.projects-page .masonry-item:hover img,
.projects-page .masonry-item:hover video {
  transform: none;
}

/* Overlay con información */
.projects-page .masonry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.projects-page .masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.projects-page .overlay-content {
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.projects-page .overlay-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.projects-page .project-type {
  font-size: 0.8rem;
  color: #F26522;
  background: rgba(242, 101, 34, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  text-align: center;
  margin: 0 auto;
}

/* Diferentes tamaños de elementos */
.projects-page .masonry-large-h {
  grid-column: span 2;
  grid-row: span 2;
}

.projects-page .masonry-vertical {
  grid-row: span 3;
}

.projects-page .masonry-vertical-small {
  grid-row: span 2;
}

.projects-page .masonry-square {
  grid-row: span 2;
}

.projects-page .masonry-large-square {
  grid-column: span 2;
  grid-row: span 3;
}

.projects-page .masonry-horizontal {
  grid-column: span 2;
  grid-row: span 1;
}

.projects-page .masonry-horizontal-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Posicionamiento específico para evitar espacios vacíos */
.projects-page .masonry-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.projects-page .masonry-item:nth-child(2) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.projects-page .masonry-item:nth-child(3) {
  grid-column: 4 / 5;
  grid-row: 1 / 4;
}

.projects-page .masonry-item:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 3 / 5;
}

.projects-page .masonry-item:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 3 / 5;
}

.projects-page .masonry-item:nth-child(6) {
  grid-column: 4 / 5;
  grid-row: 4 / 5;
}

.projects-page .masonry-item:nth-child(7) {
  grid-column: 1 / 2;
  grid-row: 5 / 7;
}

.projects-page .masonry-item:nth-child(8) {
  grid-column: 2 / 3;
  grid-row: 5 / 6;
}

.projects-page .masonry-item:nth-child(9) {
  grid-column: 3 / 5;
  grid-row: 5 / 7;
}



.projects-page .masonry-item:nth-child(11) {
  grid-column: 2 / 3;
  grid-row: 6 / 9;
}

.projects-page .masonry-item:nth-child(12) {
  grid-column: 3 / 4;
  grid-row: 7 / 10;
}

.projects-page .masonry-item:nth-child(13) {
  grid-column: 4 / 5;
  grid-row: 7 / 10;
}

.projects-page .masonry-item:nth-child(14) {
  grid-column: 1 / 2;
  grid-row: 7 / 10;
}

.projects-page .masonry-item:nth-child(15) {
  grid-column: 2 / 3;
  grid-row: 9 / 12;
}

.projects-page .masonry-item:nth-child(16) {
  grid-column: 3 / 5;
  grid-row: 10 / 12;
}

.projects-page .masonry-item:nth-child(17) {
  grid-column: 1 / 2;
  grid-row: 10 / 12;
}



/* Números de las tarjetas */
.projects-page .masonry-item .card-number {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.projects-page .masonry-item .number-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-direction: column;
  text-align: center;
}

.projects-page .masonry-item .size-label {
  font-size: 12px;
  font-weight: normal;
  opacity: 0.8;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projects-page .masonry-item:hover .number-placeholder {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.projects-page .masonry-item:hover .card-number {
  background: rgba(242, 101, 34, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: #F26522;
}

#lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.lightbox-info {
  /* Centrado absoluto del contenido dentro de la barra azul */
  display: grid;
  place-items: center;
  text-align: center;
  color: white;
  margin: 20px auto 0;
  width: 100%;
  background: #1a4a7a;
  padding: 20px;
  border-radius: 12px;
}

.lightbox-info h3 {
  font-size: 1.8rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #F26522;
  text-align: center;
  width: 100%;
}

#lightbox-title {
  font-size: 1.8rem !important;
  margin: 0 auto !important;
  font-family: 'Poppins', sans-serif !important;
  color: #F26522 !important;
  text-align: center !important;
  display: inline-block !important;
  padding: 0 !important;
  text-align-last: center !important;
}

.lightbox .lightbox-content .lightbox-info #lightbox-title {
  text-align: center !important;
  margin: 0 auto !important;
  display: inline-block !important;
  padding: 0 !important;
}

.lightbox .lightbox-content .lightbox-info {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  margin: 20px auto 0 !important;
  width: 100% !important;
}

.lightbox-info p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Si la descripción está vacía, no ocupar espacio */
#lightbox-description:empty {
  display: none;
}

/* Marca destacada en el título del modal cuando se divide en dos líneas */
.modal .content .modal-brand {
  display: inline-block;
  margin-top: -2px;
  line-height: 0.9;
  font-size: 1em;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-nav-btn {
  background: rgba(242, 101, 34, 0.8);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  pointer-events: auto;
  margin: 0 20px;
}

.lightbox-nav-btn:hover {
  background: rgba(242, 101, 34, 1);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE MASONRY ===== */
@media (max-width: 1400px) {
  .projects-page .masonry-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .projects-page .masonry-large-h,
  .projects-page .masonry-large-square {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .projects-page .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
  }

  /* MOBILE PERFORMANCE OPTIMIZATIONS */
  
  /* Optimize marquee for mobile (keep visible but optimize) */
  .logo-marquee {
    display: block !important;
  }
  
  .logo-marquee .track {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
  }
  
  /* Reduce animation complexity */
  .project-card:hover {
    transform: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
  }
  
  /* Optimize video performance */
  video {
    will-change: auto !important;
  }
  
  /* Reduce animation duration */
  .reveal {
    transition: opacity 0.3s ease !important;
  }
  
  /* Disable parallax effects */
  .hero-video {
    animation: none !important;
  }
  
  /* Optimize carousel performance */
  .carousel-track {
    will-change: auto !important;
  }
  
  /* Reduce shadow complexity */
  .project-card {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2) !important;
  }
  
  /* Optimize text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Reduce backdrop-filter usage */
  .about-value-card {
    backdrop-filter: none !important;
  }

  /* Reset posicionamiento específico en móviles */
  .projects-page .masonry-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Horizontales: ocupar todo el ancho (2 columnas) */
  #p1, #p5, #p6, #p8, #p9, #p17 { grid-column: 1 / -1; }

  /* Verticales y cuadrados: media pantalla (1 columna) */
  #p3, #p12, #p13, #p14, #p15, #p16,
  #p2, #p4, #p7, #p11 { grid-column: span 1; }

  /* Orden para patrón H - V V - C C - H ... */
  #p1 { order: 1; }
  #p3 { order: 2; }
  #p12 { order: 3; }
  #p2 { order: 4; }
  #p4 { order: 5; }
  #p9 { order: 6; }
  #p13 { order: 7; }
  #p14 { order: 8; }
  #p7 { order: 9; }
  #p11 { order: 10; }
  #p5 { order: 11; }
  #p15 { order: 12; }
  #p16 { order: 13; }
  #p6 { order: 14; }
  #p8 { order: 15; }
  #p17 { order: 16; }

  .projects-page .overlay-content h3 {
    font-size: 0.9rem;
  }

  .projects-page .project-type {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .lightbox-info h3 {
    font-size: 1.4rem;
  }

  .lightbox-info p {
    font-size: 0.9rem;
  }

  .lightbox-nav-btn {
    font-size: 1.5rem;
    padding: 10px 15px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  /* Collage móvil de proyectos: 2 columnas iguales */
  .projects-page .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
  }

  /* Horizontales: ocupar todo el ancho (2 columnas) */
  #p1, #p5, #p6, #p8, #p9, #p17 { grid-column: 1 / -1; }

  /* Verticales y cuadrados: media pantalla (1 columna) */
  #p3, #p12, #p13, #p14, #p15, #p16,
  #p2, #p4, #p7, #p11 { grid-column: span 1; }

  /* Orden para patrón H - V V - C C - H ... */
  #p1 { order: 1; }
  #p3 { order: 2; }
  #p12 { order: 3; }
  #p2 { order: 4; }
  #p4 { order: 5; }
  #p9 { order: 6; }
  #p13 { order: 7; }
  #p14 { order: 8; }
  #p7 { order: 9; }
  #p11 { order: 10; }
  #p5 { order: 11; }
  #p15 { order: 12; }
  #p16 { order: 13; }
  #p6 { order: 14; }
  #p8 { order: 15; }
  #p17 { order: 16; }

  .lightbox-content {
    max-width: 95%;
  }

  .lightbox-close {
    top: -40px;
    font-size: 28px;
  }
}

/* Controles minimalistas */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: auto;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  backdrop-filter: blur(10px);
  border: 2px solid #F26522;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.9;
  box-shadow: 0 5px 20px rgba(242, 101, 34, 0.3);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #ff8c42, #F26522);
  border-color: #ff8c42;
  box-shadow: 0 10px 30px rgba(242, 101, 34, 0.5);
  opacity: 1;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Indicadores externos - ahora en la parte superior */
.carousel-indicators {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255,255,255,0.7);
  transform: scale(1.2);
}

.indicator.active {
  background: #F26522;
  box-shadow: 0 0 20px rgba(242, 101, 34, 0.6);
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-btn {
    width: 45px;
    height: 45px;
  }
  
  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .carousel-controls {
    padding: 0 8px;
  }
  
  .carousel-indicators {
    top: 10px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
}

/* ===== ANIMACIONES DEL MENÚ HAMBURGUESA ===== */
@keyframes menuSlideIn {
  0% {
    transform: translateY(-100%) scale(0.98);
    opacity: 0;
  }
  80% {
    transform: translateY(5px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes menuItemFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menuCloseRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

/* Mejoras adicionales para el menú */
.menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(26, 74, 122, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 80%, rgba(15, 44, 76, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ===== BOTÓN CTA PERSONALIZADO ===== */
.cta-btn {
  background: #F26522 !important;
  color: white !important;
  padding: 15px 30px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* ===== BOTÓN AZUL DEL HEADER ===== */
.cta-btn-blue {
  background: #1a4a7a !important;
  color: white !important;
  padding: 15px 30px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.cta-btn-blue:hover {
  background: #0f2c4c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(26, 74, 122, 0.4) !important;
}

.cta-btn:hover {
  background: #d54d1a !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(242, 101, 34, 0.3) !important;
}

.cta-btn .btn-arrow {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.3s ease !important;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(3px) !important;
}

/* ===== ESTILOS PARA PÁGINA DE CREACIÓN DE CONTENIDO ===== */

/* Hero mejorado */
.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #cccccc;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 44, 76, 0.8) 0%, rgba(26, 74, 122, 0.6) 100%);
  z-index: 1;
}

/* Encabezados de sección */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  font-size: 1.15rem;
  color: #d7e2ee;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Grid de servicios */
.services-overview {
  background: linear-gradient(135deg, #0F2C4C 0%, #1a4a7a 100%);
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card.main {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card.main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, #ff8c42);
  transform: scaleX(0);
  transition: none;
}

.service-card.main:hover::before {
  transform: scaleX(1);
}

.service-card.main:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-header {
  text-align: center;
  margin-bottom: 25px;
}

.card-header .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.card-header h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
}

.service-card.main p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  color: #cccccc;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F26522;
  font-weight: bold;
}

/* Sección de precios */
.pricing-section {
  background: #0F2C4C;
  padding: 60px 0 60px 0;
}

.pricing-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 0px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, #ff8c42);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}



.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}




.pricing-header {
  margin-bottom: 20px;
  position: relative;
}

.plan-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #F26522, #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0 auto 20px;
}

.pricing-header h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.pricing-header p {
  color: #cccccc;
  margin: 0;
  font-size: 1rem;
}



.pricing-features {
  margin-bottom: 15px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  color: #cccccc;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pricing-features li:last-child {
  border-bottom: none;
}


.pricing-cta {
  margin-top: auto;
  padding-top: 10px;
}


.pricing-btn {
  background: #F26522;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-btn:hover {
  background: #d54d1a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(242, 101, 34, 0.4);
}



/* Sección de requisitos */
.requirements-section {
  background: linear-gradient(135deg, #1a4a7a 0%, #0F2C4C 100%);
  padding: 50px 0 50px 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop: layout de grilla responsiva */
@media (min-width: 1025px) {
  .requirements-section .wrap {
    max-width: 1400px;
  }
  .requirements-section .requirements-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
}

.requirement-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px 15px;
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.requirement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, #ff8c42);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.requirement-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}

.requirement-card:hover::before {
  transform: scaleX(1);
}

/* Desactivar hover en móvil */
@media (max-width: 768px) {
  .requirement-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
  }
}

.requirement-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: block;
}

.requirement-card h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 20px 0;
  font-weight: 600;
  height: 3.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.requirement-card p {
  color: #cccccc;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .pricing-card {
    flex: 0 0 calc(40% - 12px);
    min-width: 320px;
  }
  
  @media (max-width: 1024px) {
    .pricing-card {
      flex: 0 0 calc(50% - 10px);
      min-width: 300px;
    }
  }
  
  @media (max-width: 768px) {
    .pricing-card {
      flex: 0 0 calc(50% - 10px);
      min-width: 250px;
    }
  }
  
  @media (max-width: 480px) {
    .pricing-card {
      flex: 0 0 100%;
      min-width: 350px;
    }
  }
  
  .requirement-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 220px;
  }
  
  @media (max-width: 1024px) {
    .requirement-card {
      flex: 0 0 calc(33.333% - 14px);
      min-width: 200px;
    }
  }
  
  @media (max-width: 768px) {
    .requirement-card {
      flex: 0 0 calc(50% - 10px);
      min-width: 180px;
    }
  }
  
  @media (max-width: 480px) {
    .requirement-card {
      flex: 0 0 100%;
      min-width: 250px;
    }
  }

}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  width: 60%;
  max-width: 900px;
  height: 2px;
  display: block;
  margin: 20px auto;
  border: none;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

.section-divider--orange {
  width: 60%;
  max-width: 900px;
  height: 2px;
  display: block;
  margin: 20px auto;
  border: none;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(242,101,34,0) 0%, rgba(242,101,34,1) 50%, rgba(242,101,34,0) 100%);
  box-shadow: 0 0 16px rgba(242,101,34,0.45);
}

/* Separar un poco la línea divisora naranja del botón "CONOCE MÁS" */
#proceso + .section-divider {
  margin-top: 80px;
}

/* Misma separación para secciones con botones (carruseles) antes de la divisora */
.section:has(.cta-buttons) + .section-divider {
  margin-top: 80px;
}

/* Misma distancia (80px) entre la divisora y el título de contacto */
.section-divider--orange + #contacto { margin-top: 0 !important; }
#contacto { padding-top: 60px !important; padding-bottom: 80px !important; }

/* Más espacio entre línea naranja y títulos */
.section-divider--orange + .section {
  margin-top: 10px;
}

.section-divider--orange + .section .section-header {
  margin-top: -10px;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-desc {
  font-size: 1.2rem;
  color: #d9e6f6;
  line-height: 1.8;
}

/* Regla duplicada eliminada - consolidada arriba */

/* Regla duplicada eliminada - consolidada arriba */

.about-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Cuadros del ADN creativo en color azul del header */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-value-card {
  background: #1a4a7a;
  padding: 32px 24px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F26522, #ff8c42);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.about-value-card:hover::before {
  transform: scaleX(1);
}

/* Regla duplicada eliminada - consolidada arriba */

.about-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 74, 122, 0.4);
  border-color: rgba(242, 101, 34, 0.3);
}

/* Regla duplicada eliminada - consolidada arriba */

.about-value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.about-value-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-value-card p {
  color: #cccccc;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
}

/* Ajuste de alineación: eliminar desplazamiento para alinear con las demás cards */
.about-values-grid .about-value-card:last-child p {
  transform: none;
}

.ceo-info-card {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(26, 74, 122, 0.1) 0%, rgba(242, 101, 34, 0.05) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.ceo-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(242, 100, 34, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.ceo-info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.ceo-title {
  font-size: 1.1rem;
  color: #F26522;
  font-weight: 500;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ceo-handle {
  font-size: 1rem;
  color: #cccccc;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* ===== CTA STYLES FOR NOSOTROS PAGE ===== */
.projects-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 44, 76, 0.1) 0%, rgba(242, 101, 34, 0.05) 100%);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.projects-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(242, 100, 34, 0.073) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.projects-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.projects-cta p {
  color: #cccccc;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background: #F26522;
  color: white;
  padding: 18px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.1rem;
}

.cta-btn:hover {
  background: #d54d1a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.3);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: none;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===== CONOCE MÁS BUTTON POSITIONING ===== */
#proceso .about-copy .btn {
  margin: 30px auto 0 !important;
  background: #1a4a7a !important;
  color: white !important;
  min-width: 280px !important;
  width: 280px !important;
  padding: 22px 40px !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border-radius: 35px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
  font-size: 1.1rem !important;
}

#proceso .about-copy .btn:hover {
  background: #0F2C4C !important;
  transform: translateY(-2px) !important;
}

/* ===== SERVICIOS PAGE SPACING ===== */
.servicios-page .hero + .section {
  padding-top: 20px;
}

/* Reducir espaciado de la sección CTA en servicios */
.servicios-page .section:has(.projects-cta) {
  padding-top: 50px;
  padding-bottom: 90px;
}

/* ===== PROYECTOS PAGE SPACING ===== */
.projects-page .hero + .section {
  padding-top: 20px;
}

/* Reducir espaciado de la sección CTA en proyectos */
.projects-page .section:has(.projects-cta) {
  padding-top: -40px;
  padding-bottom: 90px;
  margin-top: -40px;
}

/* Separar el texto introductorio de la línea divisora en nosotros */
.nosotros-page .about-intro .about-desc {
  margin-bottom: 90px;
}

/* Unificar distancia: separar 70px antes de cada línea divisora en página Nosotros */
.nosotros-page .section-divider,
.nosotros-page .section-divider--orange {
  margin-top: 50px !important;
}

/* Acercar el título "Quiénes somos" a la línea divisora */
.nosotros-page .section-divider--orange + .section .section-header {
  margin-top: -50px !important;
}

/* Acercar el texto de "Quiénes somos" a la línea divisora */
.nosotros-page .about-hero-grid .about-copy p {
  margin-top: -30px;
}

/* Aumentar distancia entre la foto de "Quiénes somos" y la línea divisora inferior */
.nosotros-page .about-hero-grid {
  margin-bottom: -25px;
}

/* Acercar el CTA al footer en la página de nosotros */
.nosotros-page .section:has(.projects-cta) {
  padding-bottom: 20px;
}

/* ===== TITLES POSITIONING ===== */
.overline-title.center {
  margin-bottom: 25px !important;
}

/* ===== CTA BUTTONS POSITIONING ===== */
.cta-buttons {
  margin-top: 20px !important;
}

/* ===== UNIFIED TITLES STYLE ===== */
.unified-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

.unified-title h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

.unified-title h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

/* Responsive para títulos unificados */
@media (max-width: 768px) {
  .unified-title,
  .unified-title h2,
  .unified-title h3 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  /* Ajustar line-height del título "DESCRIPCIÓN DEL SERVICIO" en móvil */
  .service-description .unified-title,
  .service-description .unified-title h2,
  .service-description .unified-title h3 {
    line-height: 1.1 !important;
  }
  
  /* Ajustar line-height de la descripción del servicio en móvil */
  .service-description .info-section p {
    line-height: 1.4 !important;
  }
  
  /* Ajustar line-height de la descripción de modalidades en móvil */
  .section-header p {
    line-height: 1.4 !important;
  }
  
  /* Margen seguro y texto centrado para descripciones en móvil */
  .service-description .info-section p {
    text-align: center !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: calc(100% - 40px) !important;
  }
  
  .section-header p {
    text-align: left !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: calc(100% - 40px) !important;
  }
  
  /* Reordenar servicios en móvil */
  #s1 { order: 1; } /* CREACIÓN DE CONTENIDO 360 */
  #s2 { order: 2; } /* EDICIÓN DE VIDEO */
  #s5 { order: 3; } /* FOTOGRAFÍA Y EDICIÓN */
  #s4 { order: 4; } /* INFLUENCERS VIRTUALES */
  #s3 { order: 5; } /* EXPERIENCIAS 3D */
  #s6 { order: 6; } /* DISEÑO WEB */
  
  /* Separar descripción de "Quiénes somos" del título en móvil */
  .nosotros-page .about-hero-grid .about-copy p {
    margin-top: 20px !important;
  }
  
  /* Aplicar mismo estilo a la descripción de "Claves para una colaboración exitosa" */
  .requirements-section .section-header p {
    text-align: left !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: calc(100% - 40px) !important;
  }
  
  /* Unificar cards de "¿QUÉ INCLUYE?" en un solo contenedor en móvil */
  .included-services {
    display: block !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin: 0 !important;
  }
  
  .included-services li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 3px !important;
    padding: 4px 0 4px 32px !important;
    position: relative !important;
    list-style: none !important;
  }
  
  .included-services li:last-child {
    margin-bottom: 0 !important;
  }
  
  .included-services li::before {
    content: "\2713" !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    transform: none !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(135deg, #F26522 0%, #e55a1a 100%) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.25) !important;
  }
}

/* ===== CTA TITLES STYLE (más pequeños) ===== */
.cta-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.0rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

.cta-title h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.0rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

.cta-title h3 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.0rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
}

/* Responsive para títulos CTA */
@media (max-width: 768px) {
  .cta-title,
  .cta-title h2,
  .cta-title h3 {
    font-size: 1.7rem !important;
  }
}

/* ===== HOME PAGE CTA BUTTONS SPACING ===== */
.home .cta-buttons {
  margin-top: 40px !important;
}

/* ===== SERVICES CAROUSEL BLUE STRIPE POSITIONING ===== */
#services-carousel .carousel-slide .card-content {
  bottom: -40px;
}

/* ===== SERVICES CAROUSEL TEXT ALIGNMENT AND TYPOGRAPHY ===== */
#services-carousel .carousel-slide .card-content {
  text-align: center;
  padding: 25px 30px 30px;
}

#services-carousel .carousel-slide .card-header {
  text-align: center;
  justify-content: center;
  margin-bottom: 15px;
}

#services-carousel .carousel-slide .card-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

#services-carousel .carousel-slide .card-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0px 0 0 0;
  text-align: center;
  font-weight: 500;
}

#services-carousel .carousel-slide .project-type {
  margin: 0 auto;
  font-size: 0.8rem;
  padding: 6px 14px;
}

/* Responsive para carrusel de servicios */
@media (max-width: 768px) {
  #services-carousel .carousel-slide .card-content {
    bottom: 0;
    padding: 2px 8px 2px;
    text-align: center;
  }
  #services-carousel .carousel-slide .card-header {
    justify-content: center;
    margin-bottom: 0;
  }
  
  #services-carousel .carousel-slide .card-header h3 {
    font-size: 1.0rem;
    line-height: 2.2;
  }
  
  #services-carousel .carousel-slide .card-content p {
    display: none !important;
  }
  
  #services-carousel .carousel-slide .project-type {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin: 0 auto;
  }
}

/* ===== RESPONSIVE ABOUT PAGE ===== */
@media (max-width: 768px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  
  /* Líneas divisoras centradas en móvil */
  .section-divider,
  .section-divider--orange {
    width: 72%;
    max-width: none;
  }
  
  .about-value-card {
    padding: 30px 24px;
  }
  
  /* Ajuste específico para la card "Calidad Premium" en móvil */
  .about-values-grid .about-value-card:last-child p {
    transform: none;
    margin-top: 0;
  }
  
  .ceo-info-card {
    margin-top: 150px;
    padding: 24px 20px;
  }
  
  .ceo-info-card h3 {
    font-size: 1.5rem;
  }
  
  .ceo-title {
    font-size: 1rem;
  }
  
  .ceo-handle {
    font-size: 0.9rem;
  }
  
  .projects-cta {
    padding: 40px 24px;
  }
  
  .projects-cta h3 {
    font-size: 1.5rem;
  }
  
  .projects-cta p {
    font-size: 1rem;
  }
  
  /* Subir CTA en móvil para proyectos */
  .projects-page .section:has(.projects-cta) {
    margin-top: -30px;
  }
  
  .cta-btn {
    padding: 16px 28px;
    font-size: 1rem;
  }
  
  /* Más espacio en móvil entre línea naranja y títulos */
  .section-divider--orange + .section {
    margin-top: 10px;
  }
  
  .section-divider--orange + .section .section-header {
    margin-top: -20px;
  }
}

/* Imagen redonda y más pequeña para la sección "Detrás de ART3DIA" */
.about-hero-grid:has(+ .ceo-quote) .about-visual img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* Imagen redonda más pequeña en móvil para "Detrás de ART3DIA" */
.about-hero-grid:has(+ .ceo-quote) .about-visual img {
  width: 220px;
  height: 220px;
}

/* Requirements: carrusel móvil idéntico al ADN creativo */
@media (max-width: 768px) {
  .requirements-section .wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .requirements-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 20px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth !important;
    scroll-padding-left: 20px !important;
    scroll-padding-right: 20px !important;
    overscroll-behavior-x: contain !important;
  }
  .requirements-grid::-webkit-scrollbar { display: none !important; }
  .requirement-card { 
    flex: 0 0 70% !important; 
    min-width: 70% !important; 
    max-width: 70% !important; 
    scroll-snap-align: center !important; 
    scroll-snap-stop: always !important; 
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  
  .requirements-indicators { 
    display: flex !important; 
    justify-content: center !important; 
    gap: 8px !important; 
    margin-top: 12px !important; 
    position: static !important; 
  }
  .requirements-indicators .indicator { 
    width: 8px !important; 
    height: 8px !important; 
    border-radius: 50% !important; 
    background: rgba(255,255,255,0.3) !important; 
    transition: all 0.3s ease !important; 
  }
  .requirements-indicators .indicator.active { 
    background: #F26522 !important; 
    transform: scale(1.2) !important; 
  }
}

/* Ocultar indicadores en desktop */
@media (min-width: 769px) {
  .requirements-indicators,
  .pricing-indicators {
    display: none;
  }
}

/* Responsive para pricing grid - solo en móvil */
@media (max-width: 1024px) {
  .pricing-grid {
    flex-wrap: wrap;
  }
  
  .pricing-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

/* Modalidades: carrusel móvil similar a requirements */
@media (max-width: 768px) {
  .pricing-section .wrap { padding-left: 0; padding-right: 0; }
  .pricing-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 20px;
    margin: 0;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    overscroll-behavior-x: contain;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card { flex: 0 0 320px; min-width: 320px; max-width: 320px; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; }
  .pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
  }
  .pricing-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 12px; position: static; }
  .pricing-indicators .indicator { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s ease; }
  .pricing-indicators .indicator.active { background: #F26522; transform: scale(1.2); }
}

/* ADN creativo: estilos desktop restaurados */
@media (min-width: 769px) {
  .about-values-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-top: 32px !important;
  }
  .about-value-card {
    background: #1a4a7a !important;
    padding: 32px 24px !important;
    border-radius: 20px !important;
    text-align: center !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 180px !important;
  }
  .about-value-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #F26522, #ff8c42) !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s ease !important;
    transform-origin: center !important;
  }
  .about-value-card:hover::before {
    transform: scaleX(1) !important;
  }
  .about-value-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(26, 74, 122, 0.4) !important;
    border-color: rgba(242, 101, 34, 0.3) !important;
  }
  .value-icon { font-size: 3rem !important; margin-bottom: 12px !important; display: block !important; }
  .about-value-card h4 { font-family: 'Poppins', sans-serif !important; font-size: 1.3rem !important; font-weight: 600 !important; color: #ffffff !important; margin-bottom: 12px !important; position: relative !important; z-index: 1 !important; text-align: center !important; }
  .about-value-card p { color: #cccccc !important; line-height: 1.6 !important; position: relative !important; z-index: 1 !important; margin-top: 0 !important; margin-bottom: 0 !important; text-align: center !important; }
  .about-values-grid .about-value-card:last-child p { transform: none !important; }
  .adn-indicators { display: none !important; }
}

/* ADN creativo: carrusel móvil con cards de ancho completo */
@media (max-width: 768px) {
  .section:has(.about-values-grid) .wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Restaurar márgenes normales para otras secciones de nosotros */
  .nosotros-page .section:not(:has(.about-values-grid)) .wrap {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .about-values-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 20px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth !important;
    scroll-padding-left: 20px !important;
    scroll-padding-right: 20px !important;
    overscroll-behavior-x: contain !important;
  }
  .about-values-grid::-webkit-scrollbar { display: none !important; }
  .about-value-card { 
    flex: 0 0 70% !important; 
    min-width: 70% !important; 
    max-width: 70% !important; 
    scroll-snap-align: center !important; 
    scroll-snap-stop: always !important; 
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  .about-value-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #F26522, #ff8c42) !important;
    transform: scaleX(0) !important;
    transition: transform 0.3s ease !important;
    transform-origin: center !important;
  }
  
  .about-value-card:hover {
    background: #1a4a7a !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .about-value-card:hover::before {
    transform: scaleX(1) !important;
  }
  .adn-indicators { 
    display: flex !important; 
    justify-content: center !important; 
    gap: 8px !important; 
    margin-top: 12px !important; 
    position: static !important; 
  }
  .adn-indicators .indicator { 
    width: 8px !important; 
    height: 8px !important; 
    border-radius: 50% !important; 
    background: rgba(255,255,255,0.3) !important; 
    transition: all 0.3s ease !important; 
  }
  .adn-indicators .indicator.active { 
    background: #F26522 !important; 
    transform: scale(1.2) !important; 
  }
}

/* ===== TÍTULOS DE NOSOTROS - ALINEACIÓN RESPONSIVE ===== */

/* Desktop: alineación a la izquierda */
.about-copy .quienes-somos-container,
.about-copy .detras-art3dia-container {
  text-align: left !important;
}

.about-copy .quienes-somos-title,
.about-copy .detras-art3dia-title {
  text-align: left !important;
}

/* Mobile: alineación centrada - más específico que el existente */
@media (max-width: 768px) {
  .about-copy .quienes-somos-container,
  .about-copy .detras-art3dia-container {
    text-align: center !important;
  }
  
  .about-copy .quienes-somos-title,
  .about-copy .detras-art3dia-title {
    text-align: center !important;
  }
  
  /* Separar "Detrás de ART3DIA" de la barra divisora superior solo en mobile */
  .about-copy .detras-art3dia-container {
    margin-top: -10px !important;
  }
}

