/* ========================================
   VARIABLES DE COLOR - IDENTIDAD DE MARCA
   ======================================== */

:root {
  /* Colores Base - Paleta de Marca */
  --color-primary: #65812C;        /* Verde oscuro - Acento primario */
  --color-secondary: #9FCC3D;      /* Verde limón - Acento secundario */
  --color-light: #E9E9E9;          /* Gris claro - Fondo light mode */
  --color-dark: #101010;           /* Negro profundo - Fondo dark mode */
  --color-gray-dark: #232323;      /* Gris oscuro - Texto light mode */

  /* Dark Mode (por defecto) */
  --bg-primary: #101010;
  --bg-secondary: #1b1b1b;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #333333;
  --card-bg: #1b1b1b;
}

/* Light Mode */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#menuToggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

img::selection {
  background: transparent;
}

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

button,
a.cta-btn {
  transition: all 0.3s ease;
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-container img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  flex-shrink: 0;
}

.navbar h1 {
  font-size: clamp(1.05rem, 2vw + 0.8rem, 1.6rem);
  line-height: 1.1;
}

/* ========================================
   NAVBAR - BARRA DE NAVEGACIÓN
   ======================================== */

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: var(--bg-secondary);
  padding: 20px 40px;
  position: sticky;
  top: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.navbar:hover {
  transform: translateY(-1px);
}

.navbar h1 {
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.navbar ul li {
  list-style: none;
}

.navbar ul a {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.navbar ul a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
}

.navbar ul a:hover::after {
  width: 100%;
}

.navbar ul a:hover {
  color: var(--color-secondary);
}

.navbar ul a.active {
  color: var(--color-secondary);
}

.navbar ul a.active::after {
  width: 100%;
}

.navbar ul.active {
  display: flex;
}

.navbar ul.active {
  display: flex;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.navbar a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s ease;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

.navbar a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
}

.navbar a:hover {
  color: var(--color-secondary);
}

.navbar a:hover::after {
  width: 100%;
}

/* Contenedor derecho de la navbar */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* dark-mode button removed from project; styles cleaned */

#menuToggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

#menuToggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* ========================================
   HERO VIDEO - SECCIÓN PRINCIPAL
   ======================================== */

.hero-video {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.55);
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 15, 0.82), rgba(6, 10, 15, 0.62) 60%, rgba(6, 10, 15, 0.84));
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) brightness(0.55);
}

.hero-slider-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.hero-slider-dot.active {
  background: var(--color-secondary);
  transform: scale(1.3);
}

@media (max-width: 700px) {
  .navbar {
    padding: 18px 20px;
    position: relative;
  }

  .navbar ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: min(320px, calc(100% - 40px));
    background-color: var(--bg-secondary);
    padding: 24px 20px;
    gap: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 110;
  }

  .navbar ul.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar ul a {
    display: block;
    width: 100%;
    padding: 14px 0;
  }

  #menuToggle {
    display: block;
  }

  .navbar .logo-container {
    min-width: 0;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .navbar {
    padding: 18px 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 6vw, 3.4rem);
  }

  /* AQUI ANEXO EL DEGENERE */




  /* AQUI TERMINA EL DEGENERE */

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

  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.wide {
    grid-column: auto;
  }

  .gallery-card.large {
    grid-row: auto;
    min-height: 360px;
  }

  .gallery-card.medium:nth-of-type(2),
  .gallery-card.medium:nth-of-type(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-right {
    margin-left: auto;
  }

  .navbar ul {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-container,
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  section {
    padding: 72px 0;
  }

  .navbar {
    padding: 14px 16px;
  }

  .logo-container h1 {
    display: none;
  }

  .hero-video {
    min-height: 76vh;
  }

  .contenido {
    padding: 0 16px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.08;
  }

  .hero-copy p,
  section p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .servicios,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card,
  .contact-form,
  .detail-page .detail-text {
    padding: 18px;
    border-radius: 20px;
  }

  .card-image img,
  .card img,
  .work-item img,
  .gallery-card img,
  .detail-page .detail-media img {
    height: auto;
    max-height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: 220px;
  }

  .detail-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .detail-page .detail-media,
  .detail-page .detail-copy,
  .detail-page .detail-text {
    width: 100%;
  }

  .detail-overlay {
    padding: 18px;
  }

  .footer-container {
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .container,
  .content,
  .contenido {
    width: calc(100% - 18px);
    padding-left: 0;
    padding-right: 0;
  }

  .nav-right {
    gap: 8px;
  }

  .cta-btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
  }

  section h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    margin-bottom: 28px;
  }

  .card h3,
  .detail-page .detail-text h3 {
    font-size: 1.15rem;
  }

  .gallery-overlay {
    padding: 14px;
  }

  .gallery-overlay h3 {
    font-size: 1.1rem;
  }
}

.contenido {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-copy .eyebrow {
  color: var(--color-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: #ffffff;
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -1px;
  max-width: 780px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 680px;
  line-height: 1.9;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.light-mode .hero-copy h1 {
  color: var(--text-primary) !important;
}

.light-mode .hero-copy p {
  color: var(--text-primary) !important;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #101010;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(159, 204, 61, 0.25);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(159, 204, 61, 0.28);
}

/* Estilo específico para botones secundarios tipo 'Ver Galería' */
.cta-btn.secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.95) !important;
  padding: 12px 28px !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

.cta-btn.secondary:hover,
.cta-btn.secondary:active,
.cta-btn.secondary:focus {
  background: var(--color-secondary) !important;
  color: #101010 !important;
  border-color: transparent !important;
  box-shadow: 0 12px 30px rgba(159,204,61,0.16) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 767px) {
  .contenido h2 {
    font-size: 28px;
  }
}

.hero-subtitulo {
  font-size: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 30px;
  opacity: 1;
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================OVERRIDE====================*/

body {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

body.light-mode {
  background: #E9E9E9 !important;
  color: #232323 !important;
}

body.light-mode header {
  background: #f5f5f5 !important;
}

body.light-mode .navbar ul a,
body.light-mode .navbar h1,
body.light-mode #menuToggle {
  color: #232323 !important;
}

header {
  background: var(--bg-secondary) !important;
}

.navbar {
  padding: 22px 40px !important;
}

.navbar ul a:hover {
  color: var(--color-secondary) !important;
}

#menuToggle {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
}

.hero-video {
  min-height: 88vh !important;
}

.hero-video::before {
  background: linear-gradient(180deg, rgba(101, 129, 44, 0.72), rgba(159, 204, 61, 0.18)) !important;
}

.light-mode .hero-video::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)) !important;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.4rem) !important;
}

.light-mode .hero-copy h1 {
  color: var(--text-primary) !important;
}

.cta-btn {
  background: var(--color-secondary) !important;
  color: #ffffff !important;
  padding: 16px 32px !important;
}

.card {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 60px rgba(101, 129, 44, 0.10) !important;
  padding: 0 32px 32px 32px !important;
}

.card img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 24px 24px 0 0 !important;
  margin-bottom: 16px !important;
}

/* Estilos para las imágenes principales en la página de detalle */
.detail-page .detail-media {
  width: 100%;
  position: relative;
}

.detail-page .detail-media img#detailImg,
.detail-page .detail-media img.extra-main-img {
  width: 100%;
  height: var(--main-img-height, 550px);
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Por defecto (escritorio) ocultamos imágenes extra, solo se muestra la principal */
.detail-page .detail-media img.extra-main-img {
  display: none;
}

/* En tablets: mostrar todas las imágenes en columna, misma altura */
@media (max-width: 992px) {
  .detail-page {
    gap: 18px;
  }

  .detail-page .detail-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .detail-page .detail-media img#detailImg,
  .detail-page .detail-media img.extra-main-img {
    height: var(--main-img-height-tablet, 420px);
    border-radius: 14px;
    object-fit: cover;
    width: 100%;
  }

  .detail-page .detail-media img.extra-main-img {
    display: block;
  }
}

/* En dispositivos móviles: ajustar altura proporcionalmente */
@media (max-width: 768px) {
  .detail-page .detail-media {
    gap: 14px;
  }

  .detail-page .detail-media img#detailImg,
  .detail-page .detail-media img.extra-main-img {
    height: var(--main-img-height-mobile, 340px);
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .detail-page .detail-media img#detailImg,
  .detail-page .detail-media img.extra-main-img {
    height: 280px;
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
  }
}

.testimonios .card img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 16px auto !important;
  display: block !important;
}

.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 28px 75px rgba(101, 129, 44, 0.12) !important;
}

footer {
  background: var(--color-dark) !important;
  color: #ffffff !important;
}

.footer-item a:hover {
  color: var(--color-secondary) !important;
}

.whatsapp-btn {
  background: var(--color-secondary) !important;
  border: 3px solid #ffffff !important;
}

@media (max-width: 900px) {
  .navbar ul {
    display: none !important;
  }

  .navbar ul.active {
    display: flex !important;
  }

  #menuToggle {
    display: inline-flex !important;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 18px 20px !important;
  }

  .hero-copy h1 {
    font-size: 2.6rem !important;
  }

  .servicios,
  .footer-content {
    grid-template-columns: 1fr !important;
  }

  section {
    padding: 70px 0 !important;
  }
}


/* ========================================
   SECCIONES GENERALES
   ======================================== */

section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

section + section {
  background-color: var(--bg-secondary);
}

.section-intro,
#testimonios,
#actividades,
#galeria-actividades {
  padding-top: 0px;
}

section .container {
  padding: 0 12px;
}

section p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 15px;
  opacity: 1;
}

section h2 {
  text-align: center;
  margin-bottom: 55px;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 22px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 999px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

section h3 {
  color: var(--text-primary);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   SERVICIOS - TARJETAS
   ======================================== */

.servicios {
  display: grid;
  grid-template-columns: repeat(6, minmax(0px, 1fr));
  gap: 28px;
  justify-items: center;
  grid-auto-rows: minmax(120px, auto);
  align-items: stretch;
  grid-auto-flow: dense;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.95));
  padding: 32px;
  border-radius: 24px;
  width: 100%;
  max-width: 360px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(92, 92, 92, 0.08);
  box-shadow: 0 18px 45px rgba(6, 18, 20, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(101, 129, 44, 0.3);
}

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

.card-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.card-image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 20px;
  background: rgba(117, 116, 116, 0.95);
  border-radius: 20px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 18px 45px rgba(6, 18, 20, 0.12);
}

.card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-overlay h4 {
  margin: 0;
  font-size: 1rem;
  color: #0d0d0d;
  line-height: 1.3;
  font-weight: 800;
}

.card-overlay .overlay-meta {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

#galeria-actividades .section-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  grid-auto-flow: dense;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  min-height: 120px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.gallery-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 260px;
}

.gallery-card.medium {
  grid-column: span 2;
  min-height: 140px;
}

.gallery-card.wide {
  grid-column: span 3;
  min-height: 140px;
}

.gallery-card.tall {
  grid-row: span 2;
  min-height: 260px;
}

.gallery-card.medium:nth-of-type(2) {
  grid-column: span 2;
  grid-row: auto;
  min-height: 140px;
}

.gallery-card.medium:nth-of-type(3) {
  grid-column: span 2;
  grid-row: auto;
  min-height: 140px;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.gallery-overlay h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  color: #ffffff;
  line-height: 1.05;
  font-weight: 800;
}

.gallery-overlay p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 70%;
}

/* ========================================
   DETALLE DE EVENTO - GALERÍA EXPANDIDA
   ======================================== */

   section#event-gallery {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 42px 24px 54px;
  background: linear-gradient(180deg, rgba(20,20,20,.98), rgba(36,36,36,.98));

  opacity: 1;
  transform: scale(1);
}

section#event-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, auto);
  gap: 14px;
  align-items: stretch;
  grid-auto-flow: dense;
}

section#event-gallery .gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(6, 18, 20, 0.14);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  width: 100%;
}

section#event-gallery .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

section#event-gallery .gallery-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 260px;
}

section#event-gallery .gallery-card.wide {
  grid-column: span 3;
  min-height: 140px;
}

section#event-gallery .gallery-card.tall {
  grid-row: span 2;
  min-height: 260px;
}

section#event-gallery.open {
  transform: scale(1);
  opacity: 1;
  padding: 42px 24px 54px;
}

.event-gallery.hidden {
  display: none;
}

.detail-text.hidden {
  display: none;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cta-btn.secondary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(101, 129, 44, 0.25);
  border: 2px solid var(--color-primary);
}

.cta-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(101, 129, 44, 0.28);
  background: transparent;
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  section#event-gallery .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 100px;
    gap: 12px;
  }

  section#event-gallery .gallery-card.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 220px;
  }

  section#event-gallery .gallery-card.wide {
    grid-column: span 2;
    min-height: 120px;
  }

  section#event-gallery .gallery-card.tall {
    grid-row: span 2;
    min-height: 220px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(100px, auto);
    gap: 14px;
  }

  .gallery-card.large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 220px;
  }

  .gallery-card.medium {
    grid-column: span 2;
    grid-row: auto;
    min-height: 120px;
  }

  .gallery-card.medium:nth-of-type(2),
  .gallery-card.medium:nth-of-type(3) {
    grid-column: span 2;
  }

  .gallery-card.wide {
    grid-column: span 2;
    min-height: 120px;
  }

  .gallery-card.tall {
    grid-row: span 2;
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  section#event-gallery {
    padding: 18px 10px 28px;
  }

  section#event-gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 90px;
    gap: 10px;
  }

  section#event-gallery .gallery-card,
  section#event-gallery .gallery-card.large,
  section#event-gallery .gallery-card.wide,
  section#event-gallery .gallery-card.tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 140px;
  }

  section#event-gallery.open {
    padding: 24px 12px 36px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(100px, auto);
    gap: 10px;
  }

  .gallery-card,
  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 140px;
  }

  .gallery-card.large {
    min-height: 140px;
  }

  .gallery-card.wide {
    min-height: 140px;
  }
}

@media (max-width: 520px) {
  section#event-gallery .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(80px, auto);
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(100px, auto);
    gap: 8px;
  }

  .gallery-card,
  .gallery-card.large,
  .gallery-card.medium,
  .gallery-card.wide,
  .gallery-card.tall {
    min-height: 140px;
  }

  .gallery-overlay p {
    max-width: 100%;
  }
}

.detail-page .detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.detail-page .detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.detail-page .detail-media img {
 /* width: 100%;*/
  display: block;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 30px 90px rgba(6, 18, 20, 0.16);
}

.detail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 28px;
}

.overlay-logo {
  position: absolute;
  top: clamp(8px, 1.5vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 100%;
}

.overlay-logo img {
  display: block;
  height: auto;
  width: clamp(20%, 28vw, 35%);
  max-width: 220px;
  object-fit: contain;
}

/* Tablet adjustments: keep logo between ~15% and 25% of image width */
@media (min-width: 768px) and (max-width: 1024px) {
  .overlay-logo img {
    width: clamp(15%, 20vw, 25%);
    max-width: 240px;
  }
}

/* Desktop: keep logo moderate size */
@media (min-width: 1025px) {
  .overlay-logo img {
    width: clamp(80px, 8vw, 160px);
    max-width: 260px;
  }
}

.overlay-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  min-height: 100%;

}

.overlay-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.detail-page .detail-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-page .detail-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
}

.detail-page .detail-copy p {
  max-width: 720px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.detail-page .detail-text {
  background: rgba(65, 63, 63, 0.96);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(6, 18, 20, 0.08);
}

.detail-page .detail-text h3 {
  margin-bottom: 18px;
  font-size: 2rem;
  color: var(--text-primary);
}

.detail-page .detail-text p {
  margin-bottom: 30px;
  line-height: 1.9;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .detail-page .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .detail-page .detail-badge {
    left: 16px;
    top: 16px;
  }

  .overlay-logo img {
    width: clamp(52px, 12vw, 72px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
  }

  .overlay-content h2 {
    font-size: 1.6rem;
  }

  .detail-overlay {
    padding: 20px;
  }
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 800;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 22px;
}

.card .evento-fecha,
.card .cliente {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.card .precio {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 10px;
}

.card .evento-fecha {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 10px;
}

.card .cliente {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 10px;
  font-style: italic;
}

/* ========================================
   CONTACTO - FORMULARIO
   ======================================== */

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

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(159, 204, 61, 0.1);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #101010;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item h4 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

.contact-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Controles del slider */
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   ANIMACIONES
   ======================================== */

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   BOTONES
   ======================================== */

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(101, 129, 44, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(159, 204, 61, 0.4);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(159, 204, 61, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(101, 129, 44, 0.4);
}

/* ========================================
   RESPONSIVIDAD - MÓVILES Y TABLETS
   ======================================== */

/* ========================================
   TABLETS (768px - 1024px)
   ======================================== */

@media (max-width: 1024px) {
  .navbar {
    padding: 20px 30px;
  }

  .navbar ul {
    gap: 20px;
  }

  section {
    padding: 70px 8%;
  }

  section h2 {
    font-size: 32px;
  }

  .contenido h2 {
    font-size: 42px;
  }

  .hero-subtitulo {
    font-size: 17px;
  }

  .card {
    width: 250px;
  }

  .footer-content {
    padding: 40px 8%;
  }
}

/* ========================================
   TABLET (768px - 1024px)
   ======================================== */

@media (max-width: 1024px) and (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto repeat(3, auto);
    gap: 30px;
    padding: 40px 8%;
  }

  .footer-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .footer-item {
    padding: 15px;
    gap: 12px;
  }

  .footer-item h4 {
    font-size: 16px;
  }

  .footer-item p {
    font-size: 13px;
  }
}

/* ========================================
   MÓVILES GRANDES (481px - 767px)
   ======================================== */

@media (max-width: 767px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .navbar h1 {
    font-size: 18px;
    flex: 1;
  }

  #menuToggle {
    display: block;
  }

  .navbar a {
    font-size: 14px;
    padding-bottom: 3px;
  }

  /* Hero Section */
  section {
    padding: 60px 5%;
  }

  section h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  section h2::after {
    width: 50px;
    height: 2px;
  }

  .contenido h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-subtitulo {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  /* Servicios */
  .servicios {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .card {
    width: 100%;
    max-width: 320px;
    padding: 25px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card .precio {
    font-size: 16px;
  }

  .card .evento-fecha {
    font-size: 12px;
  }

  .card .cliente {
    font-size: 12px;
  }

  /* Galería */
  .slides {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  /* Contacto */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-info {
    gap: 20px;
  }

  .contact-item {
    padding: 15px;
    gap: 15px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .contact-item h4 {
    font-size: 16px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto repeat(3, auto);
    gap: 18px;
    padding: 30px 5%;
  }

  .footer-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .footer-item {
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-item h4 {
    font-size: 15px;
  }

  .footer-item p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
  }

  .footer-item.social-link a {
    padding: 6px;
    font-size: 12px;
    gap: 6px;
  }

  .footer-item.social-link img {
    width: 35px;
    height: 35px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    padding: 15px 20px;
    font-size: 12px;
  }
}

/* ========================================
   MÓVILES PEQUEÑOS (320px - 480px)
   ======================================== */

@media (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
  }

  .navbar {
    padding: 12px 15px;
  }

  .navbar h1 {
    font-size: 16px;
    flex: 1;
  }

  .navbar ul {
    width: 200px;
    top: 60px;
  }

  .navbar a {
    font-size: 14px;
  }

  /* dark-mode button removed */

  #menuToggle {
    padding: 6px 10px;
    font-size: 20px;
  }

  .navbar ul {
    width: 200px;
    top: 60px;
  }

  /* Hero */
  .contenido h2 {
    font-size: 28px;
  }

  .hero-subtitulo {
    font-size: 14px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  /* Secciones */
  section {
    padding: 50px 4%;
  }

  section h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }

  section p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Cards */
  .card {
    padding: 20px;
  }

  .card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .card p {
    font-size: 12px;
  }

  .card .precio {
    font-size: 14px;
  }

  .card .evento-fecha {
    font-size: 11px;
  }

  .card .cliente {
    font-size: 11px;
  }

  /* Contacto */
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .contact-icon {
    margin-bottom: 10px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(6, auto);
    gap: 12px;
    padding: 20px 4%;
  }

  .footer-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .footer-item {
    padding: 10px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-item h4 {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .footer-item p {
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
  }

  .contact-icon {
    font-size: 20px;
    width: 30px;
    height: 30px;
  }

  .footer-item.social-link a {
    padding: 6px;
    font-size: 12px;
    gap: 6px;
  }

  .footer-item.social-link img {
    width: 35px;
    height: 35px;
  }

  /* Galería */
  .slider .slides {
    display: flex;
    gap: 12px;
  }
  .slider .slide {
    min-width: calc((100% - 36px) / 2);
  }
}

/* ========================================
   DISEÑO PROFESIONAL - CAPA FINAL
   ======================================== */

body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

header {
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(35, 35, 35, 0.08);
}

.navbar {
  padding: 22px 40px;
}

.navbar h1 {
  color: var(--color-primary);
}

.navbar ul a:hover {
  color: var(--color-secondary);
}

#menuToggle {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(35, 35, 35, 0.12);
  color: var(--text-primary);
}

.hero-video {
  min-height: 88vh;
}

.hero-video::before {
  background: linear-gradient(180deg, rgba(101, 129, 44, 0.72), rgba(159, 204, 61, 0.18));
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.4rem);
}

.cta-btn {
  background: var(--color-secondary);
  color: #101010;
  padding: 16px 32px;
}

.section-intro h2,
#galeria-actividades h2 {
  color: var(--color-primary);
}

.section-intro p {
  color: var(--text-secondary);
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(35, 35, 35, 0.08);
  padding: 32px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 75px rgba(35, 35, 35, 0.1);
}

  .socials-section {
    margin-top: 45px;
    display: grid;
    gap: 30px;
    padding: 0 10px;
  }

  .socials-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-primary);
  }

  .socials-intro span {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-secondary);
  }

  .socials-intro p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto;
  }

  .socials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 24px;
  }

  .social-card {
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(159, 204, 61, 0.18);
    background: var(--card-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.14);
  }

  .social-card-media {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(159, 204, 61, 0.16), rgba(101, 129, 44, 0.08));
  }

  .social-card-media img {
    width: 70px;
    height: 70px;
    object-fit: contain;
  }

  .social-card-body {
    padding: 28px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
  }

  .social-card-body h4 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .social-card-body p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.98rem;
  }

  .social-card-body a {
    margin-top: auto;
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .social-card-body a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
  }

  .social-card.facebook .social-card-media {
    background: linear-gradient(180deg, rgba(59, 89, 152, 0.18), rgba(59, 89, 152, 0.06));
  }

  .social-card.instagram .social-card-media {
    background: linear-gradient(180deg, rgba(225, 48, 108, 0.18), rgba(131, 58, 180, 0.06));
  }

  .social-card.tiktok .social-card-media {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(255, 255, 255, 0.04));
  }

  .social-card.whatsapp .social-card-media {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.06));
  }

  @media (max-width: 1100px) {
    .socials-grid {
      grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
  }

  @media (max-width: 680px) {
    .socials-grid {
      grid-template-columns: 1fr;
    }

    .social-card-body {
      padding: 24px 20px 26px;
    }
  }

.footer-content {
  gap: 28px;
  padding: 60px 0 24px;
}

.footer-item a:hover {
  color: var(--color-secondary);
}

.whatsapp-btn {
  background: var(--color-secondary);
  border: 3px solid #ffffff;
}

@media (max-width: 1100px) {
  .navbar {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
  }

  .navbar h1 {
    font-size: 1.4rem;
  }

  .hero-video {
    min-height: 70vh;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .navbar ul {
    display: none;
  }

  .navbar ul.active {
    display: flex;
    width: calc(100% - 40px);
    margin-top: 12px;
    right: 0;
    left: 0;
    position: absolute;
    background: var(--bg-secondary);
    padding: 22px;
    border-radius: 24px;
  }

  #menuToggle {
    display: inline-flex;
  }

  .hero-copy {
    padding: 0 18px;
  }

  .socials-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 18px 20px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .servicios,
  .footer-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 70px 0;
  }
}


/* ========================================
   MÓVILES MUY PEQUEÑOS (320px y menos)
   ======================================== */

@media (max-width: 320px) {
  .navbar {
    padding: 10px 12px;
  }

  .navbar h1 {
    font-size: 16px;
  }

  .navbar ul {
    gap: 10px;
  }

  .navbar a {
    font-size: 12px;
  }

  /* small screens: no dark-mode button present */

  .contenido h2 {
    font-size: 24px;
  }

  .hero-subtitulo {
    font-size: 13px;
  }

  .btn {
    padding: 6px 16px;
    font-size: 12px;
  }

  section {
    padding: 40px 3%;
  }

  section h2 {
    font-size: 20px;
  }

  .card {
    padding: 15px;
  }

  .contact-item {
    padding: 10px;
  }

  .footer-content {
    padding: 20px 3%;
  }
}

/* ========================================
   UTILIDADES PARA MÓVILES
   ======================================== */

/* Ocultar elementos en móviles si es necesario */
@media (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }
}

/* Mostrar elementos solo en móviles */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* Ajustes de touch para móviles */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .navbar a:hover::after {
    width: 0;
  }

  .social-link:hover {
    transform: none;
  }

  /* Aumentar áreas de toque */
  .navbar a {
    padding: 8px 12px;
    margin: -8px -12px;
  }

  .btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========================================
   CONTACTO
   ======================================== */

#contacto {
  text-align: center;
  background-color: var(--bg-secondary);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(101, 129, 44, 0.2);
}

.contact-icon {
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--color-primary);
  margin-bottom: 5px;
  font-size: 19px;
  font-weight: 800;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.contact-item a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   SECCIÓN DE CONTACTANOS
   ======================================== */

#contactanos {
  background-color: var(--bg-secondary);
  padding: 0;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  border-top: 2px solid var(--color-primary);
  transition: background-color 0.3s ease;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto repeat(2, auto);
  gap: 40px;
  padding: 50px 10%;
}

.footer-content h3 {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 800;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.footer-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(101, 129, 44, 0.12);
}

.footer-item h4 {
  color: var(--color-primary);
  margin-bottom: 3px;
  font-size: 18px;
  font-weight: 700;
}

.footer-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 700;
}

.footer-item a:hover {
  color: var(--color-secondary);
}

.footer-item.social-link {
  background-color: transparent;
  padding: 12px 10px;
  gap: 12px;
  justify-content: flex-start;
}

.footer-item.social-link a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.footer-item.social-link a:hover {
  background: var(--color-secondary);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.footer-item.social-link img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.footer-item.social-link a:hover img {
  transform: scale(1.1);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: flex-start;
}



.footer-bottom {
  text-align: center;
  padding: 22px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom p {
  margin: 0;
}

/* NEW FOOTER LAYOUT */
footer {
  position: relative;
  overflow: hidden;
  background: #0b1117;
  color: #f5f7fb;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(159, 204, 61, 0.08), transparent 35%);
  pointer-events: none;
}

.footer-main-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  padding: 44px 24px 18px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-col {
  flex: 1 1 0;
  min-width: 0;
}

.footer-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #e7c45a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  display: block;
}

.footer-center-col {
  display: flex;
  justify-content: center;
}

.footer-center-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

.footer-contact-block,
.footer-links-block {
  flex: 1 1 0;
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-block h3,
.footer-links-block h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.footer-contact-info,
.footer-contact-info a,
.footer-quick-links a {
  color: #f5f7fb;
  text-decoration: none;
}

.footer-contact-info {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
  text-align: center;
}

.footer-contact-info a {
  font-weight: 700;
}

.footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-quick-links li + li {
  margin-top: 10px;
}

.footer-quick-links a {
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-quick-links a:hover {
  color: #9fcc3d;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto;
  max-width: 1180px;
}

.footer-bottom p {
  margin: 0;
  color: #f5f7fb;
  font-size: 0.95rem;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.footer-social-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .footer-main-row {
    flex-direction: column;
    align-items: center;
    padding: 34px 18px 12px;
  }

  .footer-logo-col {
    width: 100%;
  }

  .footer-center-inner {
    flex-direction: column;
    gap: 18px;
  }

  .footer-contact-block,
  .footer-links-block {
    width: min(100%, 420px);
  }

  .footer-bottom {
    padding-bottom: 22px;
  }
}

@media (max-width: 620px) {
  .footer-logo-img {
    width: 84px;
    height: 84px;
  }

  .footer-main-row {
    gap: 18px;
    padding: 28px 14px 10px;
  }

  .footer-contact-block,
  .footer-links-block {
    padding: 14px;
  }

  .footer-bottom p {
    font-size: 0.88rem;
  }
}

/* =========================
   FOOTER VISIBILIDAD
   ========================= */

footer {
  background: linear-gradient(180deg, #090f16 0%, #111827 100%);
  color: #f8fafc;
  padding: 0;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 28px;
  align-items: center;
  padding: 42px 24px 24px;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(159, 204, 61, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.footer-contact,
.footer-links {
  text-align: left;
}

.footer-contact h3,
.footer-links h3 {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-contact p,
.footer-links li,
.footer-contact a,
.footer-links a {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.9;
  text-decoration: none;
}

.footer-contact p {
  margin-bottom: 6px;
}

.footer-contact-logo {
  display: block;
  width: 90px;
  max-width: 100%;
  margin-top: 18px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.footer-contact a {
  font-weight: 700;
  color: #ffffff;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #9fcc3d;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-bottom p {
  color: #f8fafc;
  font-size: 0.95rem;
  margin: 0;
}

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

.footer-social a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-social a:hover {
  transform: scale(1.08);
  opacity: 0.95;
}

.footer-social img,
.footer-social svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-contact,
  .footer-links {
    text-align: center;
  }
}

/* ========================================
   SOBRE NOSOTROS - QUIENES SOMOS
   ======================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 30px;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.about-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(159, 204, 61, 0.12);
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 14px;
}

.about-card h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

.about-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(159, 204, 61, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 30px;
  margin: 18px 0 40px;
}

.about-banner-tag {
  color: var(--color-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.about-banner h2 {
  text-align: left;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  padding-bottom: 0;
}

.about-banner h2::after {
  display: none;
}

.about-banner p:last-child {
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-banner {
    grid-template-columns: 1fr;
  }
}

.hero-video .hero-copy h1,
.expertise-left h1,
.about-banner h2,
.curated-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
}

.about-mentor-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 40px;
  align-items: center;
  margin: 56px 0 40px;
  padding: 0 24px;
}

.about-mentor-text {
  color: var(--text-secondary);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about-mentor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-mentor-text h2 {
  color: var(--text-primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 2.4vw, 2.45rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.18;
}

.about-mentor-text p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.95;
}

.about-mentor-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-mentor-video-pair {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: 18px;
}

.about-mentor-video-pair .testimonial-image {
  width: calc(50% - 7px);
  height: auto;
  flex: 1 1 0;
  border-radius: 18px;
  overflow: hidden;
  object-fit: cover;
  background: #000;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.about-mentor-video-pair video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.about-mentor-video-pair .left-img,
.about-mentor-video-pair .right-img {
  margin: 0;
}

.about-mentor-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.07);
  filter: saturate(1.05) contrast(1.03);
}

.about-mentor-img:last-child {
  height: 300px;
}

@media (max-width: 1100px) {
  .about-mentor-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .about-mentor-img,
  .about-mentor-img:last-child {
    height: 210px;
  }
}

@media (max-width: 700px) {
  .about-mentor-video-pair {
    flex-direction: column;
  }

  .about-mentor-video-pair .testimonial-image,
  .about-mentor-video-pair video {
    width: 100%;
    height: 180px;
  }

  .about-mentor-section {
    gap: 18px;
    margin: 36px 0 24px;
    padding: 0 12px;
  }

  .about-mentor-text {
    padding: 22px;
  }

  .about-mentor-images {
    grid-template-columns: 1fr;
  }

  .about-mentor-img,
  .about-mentor-img:last-child {
    width: 100%;
    height: 180px;
  }

  .about-mentor-text h2 {
    font-size: 1.75rem;
  }

  .about-mentor-text p {
    font-size: 1rem;
  }
}

/* =========================
   VISIBILIDAD MEJORADA
   ========================= */

.expertise-section {
  padding-top: 70px;
}

.expertise-header {
  margin-bottom: 50px;
}

.expertise-left h1 {
  font-size: clamp(2.4rem, 3.9vw, 3.6rem);
  line-height: 1.02;
  max-width: 640px;
  color: #fff;
}

.expertise-right {
  max-width: 440px;
  font-size: 1.06rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.9);
}

.about-banner {
  background: linear-gradient(135deg, rgba(159, 204, 61, 0.2), rgba(255,255,255,0.045));
  border: 1px solid rgba(159, 204, 61, 0.22);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
  padding: 34px;
  border-radius: 28px;
}

.about-banner p:last-child {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.95);
}

/* ========================================
   GALERÍA
   ======================================== */

.slider {
  position: relative;
  margin-top: 40px;
  padding-bottom: 100px;
}

.slides {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slide {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: calc((100% - 72px) / 4);
}

.slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.slide img:hover {
  transform: translateY(-4px) scale(1.03);
}

.slider .slider-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(10, 10, 10, 0.65);
  padding: 12px 18px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  z-index: 5;
}

.slider .slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #101010;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.slider .slider-dots {
  display: flex;
  gap: 10px;
}

.slider .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.slider .slider-dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

@media (max-width: 1100px) {
  .slide {
    flex: 0 0 calc((100% - 30px) / 2);
    min-width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 700px) {
  .slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .slider {
    padding-bottom: 90px;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--color-secondary);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: var(--color-primary);
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Pequeña animación de pulso */
.whatsapp-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(159, 204, 61, 0.3);
  opacity: 0.3;
  animation: pulse 2s infinite;
  z-index: -1;
}
.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.15);
}

.facebook-btn img {
    border-radius: 8px;   /* o 50% si quieres que sea redondo */
}
/* BOTÓN SUBIR */
#btnTop{
    position:fixed;
    bottom:20px;
    left:20px;
    background:#00c3ff;
    color:#000;
    border:none;
    padding:12px 16px;
    border-radius:50%;
    font-size:18px;
    cursor:pointer;
    
    display:none; /* clave */
    z-index:999;
}

#btnTop:hover{
    background:#0099cc;
}
#btnTop{
    bottom: 100px;
}
/* =========================
NOSOTROS PREMIUM EDITORIAL
========================= 
.expertise-section{
    background:#f4f4f1;
    color:#111;
    padding:80px 40px;
}
/*de aqui en adelante el oscuro*/

/* =========================================================
   NEXT LEVEL PRODUCCIONES
   NOSOTROS + CURATED PREMIUM
   COMPATIBLE CON DARK / LIGHT MODE
   RESPETA TU BOTÓN ORIGINAL DE CAMBIO DE TEMA
========================================================= */

/* =========================
NOSOTROS PREMIUM
========================= 
.expertise-section{
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 100px 50px;
    position: relative;
    transition: all 0.3s ease;
}*/

.expertise-section{
    width: 100%;
    max-width: 100%;
    padding: 100px 20px;
    box-sizing: border-box;
}

.expertise-header{
    width: 100%;
    max-width: 100%;
    display:grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items:end;
    gap:40px;
    margin-bottom:80px;
    box-sizing: border-box;
    padding: 0 24px;
}

.expertise-left{
    max-width:680px;
}

.subtitulo{
    display:block;
    font-size:0.75rem;
    letter-spacing:4px;
    text-transform:uppercase;
    color: var(--color-secondary);
    margin-bottom:18px;
    font-weight:600;
}

.expertise-left h1{
    font-size:clamp(2.5rem, 3.6vw, 3.8rem);
    line-height:1.03;
    font-weight:300;
    font-family:Georgia, 'Times New Roman', serif;
    color: var(--text-primary);
}

.expertise-right{
    max-width: 100%;
    color: rgba(255,255,255,0.88);
    font-size:1.06rem;
    line-height:1.95;
}

/* =========================
CATEGORÍAS
========================= */
.expertise-categories{
    display:flex;
    gap:18px;
    overflow-x:auto;
    padding-bottom:15px;
    margin-bottom:100px;
    scrollbar-width:thin;
    scrollbar-color: var(--color-primary) var(--bg-secondary);
}

.expertise-categories::-webkit-scrollbar{
    height:8px;
}

.expertise-categories::-webkit-scrollbar-track{
    background: var(--bg-secondary);
}

.expertise-categories::-webkit-scrollbar-thumb{
    background: var(--color-primary);
    border-radius:10px;
}

.category-card{
    position:relative;
    min-width:190px;
    height:380px;
    overflow:hidden;
    cursor:pointer;
    border-radius:8px;
    transition:all 0.5s ease;
    background: var(--card-bg);
    flex-shrink:0;
}

.category-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(0.75);
    transition:all 0.6s ease;
}

.category-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    z-index:1;
}

.category-card span{
    position:absolute;
    bottom:20px;
    left:18px;
    color:#fff;
    font-size:1.35rem;
    font-family:serif;
    z-index:2;
}

.category-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.25);
}

.category-card:hover img{
    transform:scale(1.08);
    filter:brightness(0.95);
}

/* =========================
CURATED GALLERY PREMIUM (este reemplazar)
========================= */

/* =========================================================
   CURATED WORKS + LIGHTBOX RESTAURADO
   REEMPLAZA SOLO DESDE .curated-section HASTA LIGHTBOX
   CONSERVA DARK/LIGHT MODE
========================================================= */

/* =========================
CURATED SECTION
========================= */
.curated-section{
    text-align:center;
    margin-top:80px;
}

.curated-section h2{
    font-size:3.2rem;
    font-family:serif;
    font-weight:300;
    color: var(--text-primary);
    margin-bottom:60px;
}

/* =========================
GRID GALERÍA de aqui cambio el codigo
========================= */
/* =========================
CURATED GALLERY FUNCIONAL - PROFESSIONAL MOSAIC
========================= */
.curated-grid {
    display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(120px, auto);
    gap: 16px;
    grid-auto-flow: dense;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    min-height: 120px;
    background: #111;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.work-item:hover img {
    transform: scale(1.05);
}

/* Size variations for mosaic effect */
.work-item.large {
  grid-column: span 1;
  grid-row: span 1;
    min-height: 260px;
}

.work-item.medium {
  grid-column: span 1;
    min-height: 140px;
}

.work-item.wide {
  grid-column: span 1;
    min-height: 140px;
}

.work-item.tall {
  grid-row: span 1;
    min-height: 260px;
}

.service-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 16px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-caption h3 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-caption p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.96);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 20px;
}

#lightbox.active {
    display: flex;
}

#lightboxImg {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(255,255,255,0.08);
}

/* CERRAR */
#closeLightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 55px;
    color: white;
    cursor: pointer;
    z-index: 100001;
}

/* BOTONES */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: white;
    border: none;
    font-size: 45px;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 100001;
    transition: 0.3s;
}

.lightbox-btn:hover {
    background: #9FCC3D;
    color: black;
}

#prevBtn {
    left: 25px;
}

#nextBtn {
    right: 25px;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
    .curated-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(100px, auto);
    }
}

@media(max-width: 992px) {
    .curated-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(90px, auto);
    }
    
    .work-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .work-item.wide {
        grid-column: span 2;
    }
}

@media(max-width: 768px) {
    .curated-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(80px, auto);
        gap: 12px;
    }
    
    .work-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .work-item.medium {
        grid-column: span 1;
    }
    
    .work-item.wide {
        grid-column: span 2;
    }
    
    .work-item.tall {
        grid-row: span 1;
    }

    .lightbox-btn {
        font-size: 32px;
    }
}

@media(max-width: 480px) {
    .curated-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 10px;
    }
    
    .work-item,
    .work-item.large,
    .work-item.medium,
    .work-item.wide,
    .work-item.tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px;
    }

    #closeLightbox {
        font-size: 42px;
    }

    .lightbox-btn {
        font-size: 28px;
        padding: 8px 14px;
    }
}

/* =========================
BOTÓN SUBIR
========================= */
#btnTop{
    position:fixed;
    bottom:100px;
    right:45%;
    background: var(--color-secondary);
    color:#000;
    border:none;
    width:55px;
    height:55px;
    border-radius:50%;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:9999;
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    transition:all 0.3s ease;
}

#btnTop:hover{
    background: var(--color-primary);
    color:#fff;
    transform:translateY(-4px);
}

/* =========================
LIGHT MODE AJUSTES
========================= */
.light-mode .category-card::before{
    background:linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
}

.light-mode .work-item::after{
    background:rgba(0,0,0,0.35);
}

.light-mode #btnTop{
    color:#fff;
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:1200px){
    .curated-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(100px, auto);
    }
}

@media(max-width:992px){
    .expertise-left h1{
        font-size:3rem;
    }

    .curated-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(90px, auto);
    }

    .category-card{
        min-width:160px;
        height:300px;
    }
}

@media(max-width:768px){
    .expertise-section{
        padding:70px 20px;
    }

    .expertise-header{
        flex-direction:column;
    }

    .expertise-left h1{
        font-size:2.5rem;
    }

    .curated-section h2{
        font-size:2.3rem;
    }

    .curated-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(80px, auto);
        gap: 12px;
    }

    .category-card{
        min-width:140px;
        height:250px;
    }

    .lightbox-btn{
        font-size:32px;
        padding:10px 14px;
    }

    #btnTop{
        left:20px;
        width:50px;
        height:50px;
    }
}

@media(max-width:480px){
    #closeLightbox{
        font-size:40px;
        top:15px;
        right:20px;
    }

    .lightbox-btn{
        font-size:26px;
        padding:8px 14px;
    }

    #btnTop{
        left:20px;
        width:48px;
        height:48px;
    }
}
/* =========================
LOGO EMPRESARIAL NAVBAR
========================= */

.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo{
    width:55px;          /* Tamaño profesional */
    height:55px;
    object-fit:contain;  /* Ajusta sin deformar */
    border-radius:8px;   /* Opcional */
    transition:transform 0.3s ease;
}

.logo:hover{
    transform:scale(1.05);
}

/* Ajuste del texto */
.logo-container h1{
    font-size:26px;
    color:var(--color-primary);
    margin:0;
    font-weight:800;
    line-height:1;
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:768px){
    .logo{
        width:42px;
        height:42px;
    }

    .logo-container h1{
        font-size:18px;
    }
}

@media(max-width:480px){
    .logo{
        width:36px;
        height:36px;
    }

    .logo-container h1{
        font-size:15px;
    }
}

/* =========================
EXPERTISE CATEGORIES SLIDER PROFESIONAL
Reemplaza tu bloque actual de .expertise-categories
========================= */

.expertise-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 100px;
}

.expertise-categories {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
}

.expertise-categories::-webkit-scrollbar {
    display: none;
}

.category-card {
    position: relative;
    min-width: 240px;
    height: 420px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    background: #111;
    transition: all 0.5s ease;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.72);
    transition: all 0.6s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88), transparent 60%);
    z-index: 1;
}

.category-card span {
    position: absolute;
    bottom: 20px;
    left: 18px;
    color: #fff;
    font-size: 1.35rem;
    font-family: serif;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}



.slider-arrow:hover {
    background: var(--color-secondary);
    color: black;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .category-card {
        min-width: 200px;
        height: 340px;
    }
}

@media(max-width: 768px) {
    .category-card {
        min-width: 170px;
        height: 280px;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}

@media(max-width: 480px) {
    .category-card {
        min-width: 150px;
        height: 240px;
    }
}
/* =========================
BOTONES/ZONAS HOVER VISIBLES
AGREGA AL FINAL DE TU CSS
========================= */

.expertise-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ZONAS LATERALES */
.hover-speed-zone {
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 20;
    border: none;
    background: rgba(0,0,0,0.15); /* visible */
    cursor: pointer;
    transition: background 0.3s ease;
}

/* IZQUIERDA */
.hover-speed-zone.left {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.35), transparent);
}

/* DERECHA */
.hover-speed-zone.right {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.35), transparent);
}

/* EFECTO AL PASAR */
.hover-speed-zone:hover {
    background-color: rgba(159, 204, 61, 0.15);
}

/* FLECHAS VISUALES */
.hover-speed-zone.left::after,
.hover-speed-zone.right::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: rgba(255,255,255,0.75);
    font-weight: bold;
}

.hover-speed-zone.left::after {
    content: "❮";
    left: 20px;
}

.hover-speed-zone.right::after {
    content: "❯";
    right: 20px;
}
#servicios .card video {
    width: 100%;
    height: 250px; /* Ajusta según el diseño */
    object-fit: cover; /* Hace que el video se adapte sin deformarse */
    border-radius: 10px;
    display: block;
}
/* SECCIÓN 
.narrativa-section{
    background: #050505;
    padding: 100px 8%;
    overflow: hidden;
}*/

/* CONTENEDOR 
.narrativa-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* CUADROS 
.info-box{
    background: linear-gradient(
        145deg,
        rgba(20,20,20,0.95),
        rgba(8,8,8,0.98)
    );
    
    border: 1px solid rgba(255,255,255,0.08);

    padding: 45px;
    border-radius: 22px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 25px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255,255,255,0.02);

    transition: 0.4s ease;
}

/* EFECTO HOVER 
.info-box:hover{
    transform: translateY(-6px);

    border-color: rgba(180,255,0,0.35);

    box-shadow:
        0 0 35px rgba(180,255,0,0.08),
        0 0 60px rgba(0,0,0,0.6);
}

/* CAJA IZQUIERDA 
.title-box{
    flex: 1;
    min-width: 320px;
}

/* CAJA DERECHA 
.text-box{
    width: 420px;
    min-width: 280px;
}

/* MINI TITULO 
.mini-title{
    color: #b7ff00;
    font-size: 13px;
    letter-spacing: 5px;
    font-weight: 600;
    display: block;
    margin-bottom: 25px;
}*/

/* TITULO 
.title-box h1{
    color: white;
    font-size: 72px;
    line-height: 1.05;
    font-weight: 500;
    margin: 0;
}

/* TEXTO 
.text-box p{
    color: rgba(255,255,255,0.82);
    font-size: 24px;
    line-height: 1.9;
    margin: 0;
}

/* RESPONSIVE 
@media(max-width: 950px){

    .narrativa-container{
        flex-direction: column;
        align-items: flex-start;
    }

    .title-box h1{
        font-size: 52px;
    }

    .text-box{
        width: 100%;
    }

    .text-box p{
        font-size: 20px;
    }
}*/

/* SECCION */

/* SECCION */

.narrativa-banner{

background:#020202;

padding:100px 6%;

}

/* CUADRO PRINCIPAL */

.banner-card{

position:relative;

overflow:hidden;

border-radius:10px;

height:480px;

background:

linear-gradient(
90deg,
#090c11 0%,
#0c1016 48%,
#3c4048 49%,
#454a52 100%
);

box-shadow:

0 15px 40px rgba(0,0,0,.45),

inset 0 1px 0 rgba(255,255,255,.04);

}

/* DIVISION DIAGONAL */

.diagonal{

position:absolute;

top:-10%;

left:47%;

width:180px;

height:140%;

background:

linear-gradient(
90deg,
rgba(0,0,0,.7),
rgba(255,255,255,.05)
);

transform:skewX(-20deg);

box-shadow:

0 0 25px rgba(0,0,0,.5);

}

/* CONTENIDO */

.banner-content{

position:relative;

z-index:2;

height:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:70px;

}

/* IZQUIERDA */

.left-content{

width:58%;

}

.tag{

color:#C7FF1A;

font-size:15px;

letter-spacing:5px;

font-weight:700;

display:block;

margin-bottom:35px;

}

.left-content h1{

color:white;

font-size:88px;

font-weight:500;

line-height:1;

margin:0;

font-family:Georgia, serif;

}

/* DERECHA */

.right-content{

width:28%;

}

.right-content p{

color:#ECECEC;

font-size:28px;

line-height:1.9;

font-weight:300;

}

/* RESPONSIVE */

@media(max-width:950px){

.banner-card{

height:auto;

}

.banner-content{

flex-direction:column;

padding:50px;

gap:50px;

}

.left-content,
.right-content{

width:100%;

}

.left-content h1{

font-size:58px;

}

.diagonal{

display:none;

}

}

/* SECCIÓN de comentarios */

/* =========================
   RESET
========================= */

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

/* =========================
   SECCIÓN
========================= */

.testimonials-section{
    width: 100%;
    padding: 80px 0;

    background: linear-gradient(
        135deg,
        #050505 0%,
        #101010 40%,
        #1b1b1b 70%,
        #050505 100%
    );

    overflow: hidden;
}

/* =========================
   FILAS
========================= */

.testimonial-row{
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 120px;
}

/* =========================
   IMÁGENES
========================= */

.testimonial-image{
    width: 38%;
}

.testimonial-image img{
    width: 100%;
    height: auto;
    max-height: 420px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* POSICIONES EXACTAS */
.left-img{
    margin-left: 0;
}

.right-img{
    margin-right: 0;
    display: flex;
    justify-content: flex-end;
}

/* =========================
   TEXTOS
========================= */

.testimonial-content{
    width: 42%;
    color: #ffffff;
}

/* TEXTO DERECHA */
.right-text{
    margin-right: 9%;
    margin-top: 10px;
}

/* TEXTO IZQUIERDA */
.left-text{
    margin-left: 8%;
    margin-top: 20px;
}

/* =========================
   TÍTULOS
========================= */

.testimonial-content h2{
    font-size: 58px;
    font-weight: 300;

    margin-bottom: 12px;

    color: #f5f5f5;

    font-family: 'Poppins', sans-serif;
}

/* SUBTÍTULO */
.testimonial-content span{
    display: block;

    margin-bottom: 35px;

    color: #9f9f9f;

    font-size: 14px;
    font-style: italic;

    font-family: 'Poppins', sans-serif;
}

/* PÁRRAFO */
.testimonial-content p{
    color: #d0d0d0;

    font-size: 19px;
    line-height: 2;

    font-weight: 300;

    font-family: 'Poppins', sans-serif;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width: 991px){

    .testimonial-row{
        flex-direction: column;
        gap: 40px;

        padding: 0 6%;
    }

    .second-row{
        flex-direction: column-reverse;
    }

    .testimonial-image,
    .testimonial-content{
        width: 100%;
        margin: 0;
    }

    .testimonial-image img{
        height: auto;
    }

    .testimonial-content h2{
        font-size: 42px;
    }

    .testimonial-content p{
        font-size: 16px;
        line-height: 1.8;
    }
}



/* IMAGENES DE SERVICIOS */

/* =========================
   BANNER PUBLICITARIO
========================= */

.promo-banner{
    width: 100%;
    
    background: linear-gradient(
        135deg,
        #050505,
        #101010,
        #1a1a1a
    );

    padding: 60px 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-banner img{
    width: 92%;
    max-width: 1400px;

    border-radius: 12px;

    object-fit: cover;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.7),
    0 0 30px rgba(132,255,0,0.15);

    transition: 0.4s ease;
}

.promo-banner img:hover{
    transform: scale(1.01);
}

/* RESPONSIVE */
@media(max-width: 768px){

    .promo-banner{
        padding: 30px 0;
    }

    .promo-banner img{
        width: 96%;
        border-radius: 8px;
    }

}

/* ========================================
   RESPONSIVE OVERRIDES FOR MOBILE AND TABLET
   ======================================== */

html {
  scroll-behavior: smooth;
}

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

.navbar .logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.navbar h1 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .navbar ul {
    display: none !important;
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    width: min(340px, calc(100% - 40px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-secondary);
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 120;
  }

  .navbar ul.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  #menuToggle {
    display: inline-flex !important;
  }

  .navbar .nav-right {
    margin-left: auto;
  }

  .navbar ul a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .navbar ul li {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-video {
    min-height: 65vh !important;
  }

  .contenido {
    padding: 0 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 7vw, 3.4rem) !important;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 1rem !important;
    max-width: 100%;
  }

  .section-intro,
  .expertise-section,
  .curated-section,
  .promo-banner,
  .testimonials-section,
  .socials-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .expertise-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .banner-content {
    flex-direction: column;
    padding: 40px 22px;
    gap: 28px;
  }

  .banner-card {
    height: auto;
  }

  .banner-content .left-content,
  .banner-content .right-content {
    width: 100%;
  }

  .banner-content .left-content h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .right-content p {
    font-size: 1rem;
  }

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

  .socials-grid,
  .servicios,
  .contact-container,
  .footer-content {
    grid-template-columns: 1fr !important;
  }

  .social-card,
  .card,
  .contact-item,
  .footer-item {
    width: 100%;
  }

  .social-card-body {
    padding: 22px 20px 24px;
  }

  .promo-banner img {
    width: 100%;
  }

  #btnTop {
    left: 20px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 14px 16px !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
  }

  .hero-copy .eyebrow,
  .hero-copy p,
  .cta-btn,
  .navbar ul a {
    font-size: 0.95rem !important;
  }

  .navbar ul {
    right: 12px;
    width: calc(100% - 24px);
    top: calc(100% + 10px);
  }

  .navbar ul a {
    padding: 14px 0;
  }

  .category-card,
  .work-item,
  .social-card,
  .card,
  .testimonial-image,
  .testimonial-content {
    width: 100% !important;
  }

  .testimonial-row {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .testimonial-content h2 {
    font-size: 2.8rem;
  }

  .promo-banner {
    padding: 24px 0;
  }
}

/* Ajustes adicionales para actividades y servicios en móvil */
@media (max-width: 900px) {
  section#actividades .servicios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  section#actividades .card img,
  .card img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .testimonial-image img,
  .testimonial-image {
    width: 100% !important;
    height: auto !important;
  }

  .hero-video {
    min-height: 60vh !important;
  }

  .hero-copy {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  #servicios .curated-grid,
  .curated-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }

  .work-item {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .work-item img,
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
  }

  .slide {
    flex: 0 0 calc((100% - 36px) / 2);
    min-width: calc((100% - 36px) / 2);
  }
}

@media (max-width: 600px) {
  .slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .slide img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .servicios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 2.4rem !important;
  }

  .hero-copy p,
  .hero-copy .eyebrow,
  .cta-btn {
    font-size: 0.95rem !important;
  }
}

/* ========================================
   GALERÍA SERVICIOS - RESPONSIVE COMPLETO
   ======================================== */

#galeria-servicios {
  padding: 90px 0;
  background: var(--bg-primary);
}

#galeria-servicios h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 50px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

#galeria-servicios .slider {
  position: relative;
  margin: 0;
  padding: 0 0 90px 0;
  width: 100%;
  overflow: hidden;
}

#galeria-servicios .slides {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

#galeria-servicios .slide {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: calc((100% - 72px) / 4);
  aspect-ratio: 1;
}

#galeria-servicios .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

#galeria-servicios .slide img:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

#galeria-servicios .slider .slider-controls {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 10, 10, 0.78);
  padding: 14px 20px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  z-index: 10;
}

#galeria-servicios .slider .slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  background: transparent;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#galeria-servicios .slider .slider-btn:hover {
  background: var(--color-secondary);
  color: #101010;
  transform: scale(1.1);
}

#galeria-servicios .slider .slider-dots {
  display: flex;
  gap: 8px;
  margin: 0 8px;
}

#galeria-servicios .slider .slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

#galeria-servicios .slider .slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

#galeria-servicios .slider .slider-dot.active {
  background: var(--color-secondary);
  transform: scale(1.3);
}

/* Tablets grandes (1024px - 1300px) */
@media (max-width: 1300px) and (min-width: 769px) {
  #galeria-servicios .slide {
    flex: 0 0 calc((100% - 54px) / 3);
    min-width: calc((100% - 54px) / 3);
  }
}

/* Tablets medianas (768px - 1023px) */
@media (max-width: 1024px) {
  #galeria-servicios {
    padding: 70px 0;
  }

  #galeria-servicios h2 {
    margin-bottom: 40px;
    font-size: 2.4rem;
  }

  #galeria-servicios .slide {
    flex: 0 0 calc((100% - 36px) / 2);
    min-width: calc((100% - 36px) / 2);
  }

  #galeria-servicios .slider {
    padding: 0 0 80px 0;
  }
}

/* Tablets pequeñas y móviles (600px - 768px) */
@media (max-width: 768px) {
  #galeria-servicios {
    padding: 60px 20px;
  }

  #galeria-servicios h2 {
    margin-bottom: 35px;
    font-size: 2rem;
  }

  #galeria-servicios .slide {
    flex: 0 0 100%;
    min-width: 100%;
    aspect-ratio: 16 / 9;
  }

  #galeria-servicios .slide img {
    border-radius: 16px;
  }

  #galeria-servicios .slider {
    padding: 0 0 70px 0;
    margin: 0;
  }

  #galeria-servicios .slider .slider-controls {
    bottom: 15px;
    padding: 12px 16px;
    gap: 10px;
  }

  #galeria-servicios .slider .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  #galeria-servicios .slider .slider-dot {
    width: 8px;
    height: 8px;
  }
}

/* Móviles (máximo 600px) */
@media (max-width: 600px) {
  #galeria-servicios {
    padding: 50px 16px;
  }

  #galeria-servicios h2 {
    margin-bottom: 28px;
    font-size: 1.8rem;
  }

  #galeria-servicios .slide {
    flex: 0 0 100%;
    min-width: 100%;
    aspect-ratio: 4 / 3;
  }

  #galeria-servicios .slide img {
    border-radius: 12px;
  }

  #galeria-servicios .slider {
    padding: 0 0 65px 0;
  }

  #galeria-servicios .slider .slider-controls {
    bottom: 12px;
    padding: 10px 14px;
    gap: 8px;
  }

  #galeria-servicios .slider .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-width: 1px;
  }

  #galeria-servicios .slider .slider-dot {
    width: 7px;
    height: 7px;
  }

  #galeria-servicios .slider .slider-dot.active {
    transform: scale(1.2);
  }
}

/* Móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {
  #galeria-servicios {
    padding: 40px 12px;
  }

  #galeria-servicios h2 {
    margin-bottom: 24px;
    font-size: 1.6rem;
  }

  #galeria-servicios .slide {
    aspect-ratio: 3 / 2;
  }

  #galeria-servicios .slider {
    padding: 0 0 60px 0;
  }

  #galeria-servicios .slider .slider-controls {
    bottom: 10px;
    padding: 8px 12px;
  }

  #galeria-servicios .slider .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}
