:root {
  --bg-main: #070707;
  --bg-alt: #151515;
  --primary: #ff7a00;
  --primary-soft: rgba(255, 122, 0, 0.25);
  --accent: #ffd54a;
  --text-main: #ffffff;
  --text-muted: #b4b4b4;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.55);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #333 0, #070707 45%);
  color: var(--text-main);
  line-height: 1.5;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 7, 0.96),
    rgba(7, 7, 7, 0.86)
  );
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* DEBAJO DE .nav-logo / ANTES DE .nav-links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-close {
  display: none;
}




.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #ff7a00;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff9a32);
  color: #fff;
  box-shadow: 0 12px 25px rgba(255, 122, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(255, 122, 0, 0.75);
}

.btn-outline {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(21, 21, 21, 0.9);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #ff9a32);

}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #fff, var(--primary));
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.8);
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--accent), #ffffff);
  background-clip: text;          /* ← Versión estándar */
  -webkit-background-clip: text;  /* ← Para navegadores basados en WebKit (Chrome, Safari) */
  color: transparent;
}


.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.hero-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.78rem;
  color: var(--accent);
}

.hero-hashtags span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 213, 74, 0.06);
  border: 1px solid rgba(255, 213, 74, 0.26);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.8rem;
}

.stat-item {
  min-width: 110px;
}

.stat-item h3 {
  font-size: 1.25rem;
  color: var(--accent);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background:
    radial-gradient(circle at top left, #ff7a0014 0, transparent 50%),
    #151515;
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  position: relative;  /* Necesario para que la imagen absoluta se posicione sobre este bloque */
  z-index: 1;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top,
    rgba(255, 122, 0, 0.28),
    transparent 55%
  );
  opacity: 0.6;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.3rem;
}

.hero-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.hero-card-title span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-card-pill {
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  border-radius: 999px;
  background: rgba(15, 237, 177, 0.12);
  border: 1px solid rgba(15, 237, 177, 0.4);
  color: #b1ffe6;
}

.hero-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.preview-card {
  border-radius: 18px;
  padding: 0.75rem;
  background: rgba(7, 7, 7, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}

.preview-tag {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.preview-title {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.preview-metric {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-card-footer span strong {
  color: #ffffff;
}

/* Imagen del dueño en el hero */
.hero-owner {
  position: absolute;
  right: 60px;
  top: 80px;
  bottom: 0;
  width: 320px;
  max-height: 440px;
  object-fit: contain;
  z-index: 10;
  filter: drop-shadow(0 12px 35px rgba(0,0,0,0.45));
}

section {
  padding: 3.5rem 0;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--primary);
}

.section-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

/* Carrusel dinámico */
.carrusel-trabajos {
  padding: 3.5rem 0 3rem;
}

.carrusel-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-window {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.6);
  background: #000;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-item {
  min-width: 100%;
  max-height: 420px;
}

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

.carousel-btn {
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn.prev {
  margin-right: 0.2rem;
}

.carousel-btn.next {
  margin-left: 0.2rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, width 0.2s ease;
}

.carousel-dots .dot.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 18px;
  transform: translateY(-1px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.4);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.6rem;
}

.service-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.service-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.service-tagline {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.service-corner {
  position: absolute;
  right: -16px;
  top: -16px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at center, var(--primary-soft), transparent);
  opacity: 0.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.3rem;
}

.metric-card {
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  background: rgba(21, 21, 21, 0.95);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.metric-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.metric-card p span {
  color: var(--accent);
  font-weight: 500;
}

.industries {
  background: rgba(21, 21, 21, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.industries-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.industries-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.industries-tags span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.about-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  border: 1px solid var(--border-subtle);
}

.about-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
}

.about-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 7, 7, 0.92);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 122, 0, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.5);
}

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

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  background: rgba(21, 21, 21, 0.96);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.contact-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
}

.contact-chip {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 7, 7, 0.9);
}

.contact-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
}

.footer-social a {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 7, 0.9);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .services-grid,
  .metrics-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* SUSTITUYE SOLO LA PARTE SUPERIOR DEL @media (max-width: 768px) POR ESTO */
/* Sustituye el bloque viejo de @media (max-width: 768px) por este */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Contenedor del menú lateral */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80%, 320px);
    background: linear-gradient(
      to bottom,
      rgba(7, 7, 7, 0.98),
      rgba(7, 7, 7, 0.94)
    );
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.7);
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 100;
  }

  body.nav-menu-open .nav-menu {
    transform: translateX(0);
  }

  body.nav-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 90;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-menu-open .nav-links,
  .nav-menu-open .nav-cta {
    display: flex;
  }

  .nav-menu-open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 0.25rem;
  }

  .nav-menu-open .nav-cta {
    padding-bottom: 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

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

  .nav-close {
    display: inline-flex;
    position: relative;
    align-self: flex-end;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }

  .nav-close span:first-child {
    transform: rotate(45deg);
  }

  .nav-close span:last-child {
    transform: rotate(-45deg);
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-owner {
    position: static;
    width: 70%;
    max-height: none;
    margin: 1.8rem auto 0;
    display: block;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel-item {
    max-height: 280px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }
}



.video-section {
  padding-top: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.video-description {
  color: var(--text-muted);
  max-width: 26rem;
}

.video-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at top left, #ff7a0014 0, transparent 50%),
    #151515;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
aspect-ratio: 16 / 9;
}

/* móvil: que el video se vea grande y a todo el ancho */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .video-text {
    text-align: center;
  }

  .video-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .video-player {
    width: 100%;
    height: auto;
  }
}

/* Fondo de video para sección Servicios */
#servicios {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  color: white;
  background: #151515e8;
}


/* VIDEO COMO FONDO */
.bg-video-servicios {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.95; /* Ajusta transparencia */
}


/* CAPA OSCURA PARA DAR CONTRASTE */
#servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Oscurece el video */
  z-index: -1;
}

/* CONTENIDO ENCIMA DEL VIDEO */
.servicios-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 4rem 1rem;
}


/* OPTIMIZACIÓN PARA MÓVILES */
@media (max-width: 768px) {
  .bg-video-servicios {
    display: none;
  }

  #servicios {
    background: url("/img/trabajos/") center/cover no-repeat;
  }

  #servicios::before {
    background: rgb(14, 3, 3); /* Más oscuro para texto claro */
  }

  .servicios-content {
    padding: 3rem 1rem;
  }
}



/* ESTILOS BASE (fuera de media queries) */
.app-nav {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  gap: 0.4rem;
  z-index: 80;
  backdrop-filter: blur(16px);
}

.app-nav-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.app-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.app-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
  color: #ff6b00;              /* Naranja corporativo */
  position: relative;
}

/* Rayas blancas decorativas */
.app-nav-icon::before,
.app-nav-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 80%;
  height: 2px;
  background: white;
  transform: translateX(-50%);
  border-radius: 999px;
}

.app-nav-icon::before {
  top: -4px;
}

.app-nav-icon::after {
  bottom: -4px;
}


/* Responsive para móviles */
.video-carrusel {
  background: #1b1029;
  padding: 3rem 0;
  color: #fff;
}

.video-carrusel-slider {
  position: relative;
  overflow: hidden;
  padding: 0 3rem;
}

.video-carrusel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.video-carrusel .video-card {
  
  position: relative;
  overflow: hidden;

  
  background: #251535;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 260px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-carrusel .video-card img {
  width: 100%;
  height: 340px;     /* ajusta según tu diseño */
  object-fit: cover;
   transform-origin: center;
  transition: transform 6s ease, filter 0.4s ease;
}

/* Efecto tipo YouTube: al pasar el mouse, la miniatura se mueve (zoom lento) */
.video-carrusel .video-card:hover img {
  transform: scale(1.15);
  filter: brightness(1.05);
}


.video-carrusel .video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.video-carrusel .video-title {
  text-align: center;
  padding: 0.6rem;
  font-size: 0.9rem;
  margin: 0;
}

.video-carrusel .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20,10,30,0.9);
  color: white;
  cursor: pointer;
  z-index: 5;
  transition: 0.25s;
}

.slider-btn-prev { left: 0.75rem; }
.slider-btn-next { right: 0.75rem; }

.slider-btn:hover {
  background: rgba(40,20,70,1);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .video-carrusel-slider { padding: 0 1rem; }
  .video-carrusel .video-card { min-width: 75%; }
  .slider-btn { display: none; }
  .video-carrusel .video-card img { height: 260px; }
}


/* Animación automática tipo vista previa */
@keyframes videoPreview {
  0%   { transform: scale(1.05) translateX(0); }
  50%  { transform: scale(1.15) translateX(-12px); }
  100% { transform: scale(1.05) translateX(0); }
}

/* Aplicarla a las miniaturas de video */
.video-carrusel .video-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  animation: videoPreview 7s ease-in-out infinite;
}


/* === SECCIÓN TALLER / QR === */
.taller-section {
  padding: 4rem 0 3.5rem;
  background: #0505051a;         /* o el mismo fondo que estés usando */
  color: #ffffff;
}

.taller-header {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.taller-header h2 {
  margin-bottom: 0.4rem;
}

.taller-header p {
  opacity: 0.88;
}

/* Grid principal: texto + QR */
.taller-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.8rem;
  align-items: center;
}

.taller-copy {
  font-size: 0.95rem;
}

.taller-text {
  margin-bottom: 1.2rem;
  max-width: 30rem;
}

.taller-btn {
  margin-bottom: 0.9rem;
}

.taller-contacto {
  font-size: 0.9rem;
}

.taller-contacto a {
  color: #ff6b00;
  text-decoration: none;
}

.taller-contacto a:hover {
  text-decoration: underline;
}

/* Tarjeta QR */
.taller-qr {
  display: flex;
  justify-content: center;
}

.taller-qr-card {
  background: #111;
  border-radius: 24px;
  padding: 0.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.taller-qr-card img {
  display: block;
  max-width: 260px;
  width: 100%;
  border-radius: 18px;
}

.taller-qr-card figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Caja de tratamiento de datos */
.taller-privacy {
  margin-top: 3rem;
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.taller-privacy h3 {
  margin-bottom: 0.9rem;
}

.taller-privacy ul {
  padding-left: 1.2rem;
  margin: 0 0 0.9rem;
}

.taller-privacy li {
  margin-bottom: 0.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .taller-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .taller-copy {
    order: 2;
  }

  .taller-qr {
    order: 1;
  }

  .taller-text {
    max-width: none;
  }

  .taller-privacy {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .taller-section {
    padding: 3rem 0 3rem;
  }

  .contact-qr-card img,
  .taller-qr-card img {
    max-width: 220px;
  }
}

/* Oculto por defecto */
#dataPrivacyBox {
  display: none;
  margin-top: 1.5rem;
}

/* Cuando se active */
#dataPrivacyBox.visible {
  display: block;
}

/* Ajuste visual dentro de contacto */
.contact-side .taller-privacy {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 1.2rem;
  font-size: 0.85rem;
}
