:root {
  --red: #E30613;
  --black: #000000;
  --dark: #111111;
  --dark2: #1a1a1a;
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.85);
  --white-mid: rgba(255,255,255,0.55);
  --white-faint: rgba(255,255,255,0.38);
  --yellow: #f7d22f;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Montserrat', sans-serif;
  --nav-h: 97px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 13px;
}

.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(255,197,22,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  white-space: nowrap;
}

.nav-right-spacer {
  flex-shrink: 0;
  width: 54px;
}

.nav-item {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s;
}

.nav-item:hover {
  color: var(--white);
  animation: navBounce 0.38s var(--ease);
}

@keyframes navBounce {
  0%   { transform: translateY(0); }
  38%  { transform: translateY(-5px); }
  68%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

.nav-item.active { color: var(--white); }
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 100%; height: 2.5px;
  background: var(--red);
  border-radius: 2px;
}

.has-dropdown { position: relative; }
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: calc(100% + 40px);
  height: 20px;
  display: block;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(6,6,6,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  min-width: 280px;
  list-style: none;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.42);
  z-index: 10000;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -14px; left: 0;
  width: 100%; height: 14px;
  background: transparent;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  transition: color 0.18s, padding-left 0.18s;
  border-left: 2px solid transparent;
}
.dropdown li a:hover {
  color: var(--white);
  padding-left: 28px;
  border-left-color: var(--red);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: opacity 0.35s ease;
}

.hero-fade {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,1) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(54px, 8.5vw, 120px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  white-space: nowrap;
  animation: heroSlide 0.9s var(--ease) both;
}

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

.hero-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 860px;
  margin-bottom: 36px;
  animation: heroSlide 0.9s 0.15s var(--ease) both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: heroSlide 0.9s 0.28s var(--ease) both;
}

.btn-primary {
  min-width: 120px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
}

.btn-outline {
  min-width: 120px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}

.btn-primary:active, .btn-outline:active { transform: scale(0.97); }

.hero-socials {
  position: absolute;
  right: 44px; bottom: 44px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-icon img {
  width: 34px; height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-icon:hover { opacity: 1; transform: scale(1.12); }

.conocenos {
  background: var(--black);
  padding: 80px 48px 100px;
}

.conocenos-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 50px;
}

.video-wrap {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.conocenos-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--white-mid);
  max-width: 800px;
}

.reencuentrate {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 48px;
}

.reencuentrate-bg { position: absolute; inset: 0; z-index: 0; }
.reencuentrate-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reencuentrate-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.reencuentrate-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.reencuentrate-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.reencuentrate-flex {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.reencuentrate-text { flex: 1.2; display: flex; flex-direction: column; gap: 16px; }
.reencuentrate-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.9); }
.reencuentrate-image { flex: 0.85; }

.photo-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 30px rgba(0,0,0,0.4);
}

.photo-carousel-track { position: relative; width: 100%; height: 100%; }

.photo-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.photo-slide.active { opacity: 1; transform: scale(1); }

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.52);
  border: none; border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--white); font-size: 13px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.carousel-btn:hover { background: rgba(0,0,0,0.85); transform: translateY(-50%) scale(1.07); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

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

.carousel-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
  cursor: pointer; border: none;
  transition: background 0.28s, width 0.28s;
}

.carousel-dot.active { background: var(--white); width: 20px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.mv-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.mv-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.2); }

.mv-title {
  font-size: 24px; font-weight: 800;
  color: var(--white); margin-bottom: 20px;
  position: relative; display: inline-block;
}

.mv-title::after {
  content: ''; position: absolute;
  bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 2px; background: var(--red);
}

.mv-text { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.95); }

body.page-segmentos { overflow: hidden; height: 100vh; }

.seg-bg { position: fixed; inset: 0; z-index: 0; transition: background-color 0.82s var(--ease); }

.seg-scene {
  position: relative; z-index: 10;
  height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

.seg-header {
  position: absolute;
  top: calc(var(--nav-h) + 22px + 1.2%);
  left: 0; right: 0;
  text-align: center;
  pointer-events: none; z-index: 20;
}

.seg-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.seg-headline { font-size: clamp(18px, 2.6vw, 28px); font-weight: 900; color: var(--white); letter-spacing: -0.02em; }

.seg-track-wrap {
  position: relative;
  width: 100%; height: clamp(340px, 56vh, 580px);
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px; overflow: hidden;
  margin-top: 56px;
}

.seg-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }

.c-card {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(188px, 22vw, 306px);
  aspect-ratio: 3/4;
  border-radius: 18px; overflow: hidden;
  cursor: pointer; transform-origin: center center;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease), opacity 0.65s var(--ease), filter 0.65s var(--ease);
  user-select: none;
}

.c-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.c-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.18) 52%, transparent 100%); z-index: 2; }
.c-card-badge { position: absolute; top: 14px; right: 14px; z-index: 3; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.88); background: rgba(0,0,0,0.44); backdrop-filter: blur(8px); padding: 4px 10px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.18); opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.c-card-text { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 18px 18px 20px; transform: translateY(4px); transition: transform 0.34s ease; }
.c-card-name { font-size: clamp(12px, 1.35vw, 15px); font-weight: 800; color: var(--white); line-height: 1.25; }
.c-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.28); padding: 5px 12px; border-radius: 100px; opacity: 0; transform: translateY(6px); transition: opacity 0.28s 0.04s, transform 0.28s 0.04s, background 0.18s; text-decoration: none; }

.c-card[data-pos="0"] { transform: translate(-50%, -50%) scale(1) rotateY(0deg); opacity: 1; filter: brightness(1) saturate(1); pointer-events: all; box-shadow: 0 28px 60px rgba(0,0,0,0.4); }
.c-card[data-pos="0"] .c-card-badge { opacity: 1; transform: translateY(0); }
.c-card[data-pos="0"] .c-card-text { transform: translateY(0); }
.c-card[data-pos="0"]:hover .c-card-cta { opacity: 1; transform: translateY(0); }
.c-card[data-pos="0"]:hover .c-card-cta:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.55); }

.c-card[data-pos="-1"] { transform: translate(-50%, -50%) translateX(clamp(-270px,-21vw,-158px)) scale(0.73) rotateY(22deg); opacity: 0.68; filter: brightness(0.55) saturate(0.65); pointer-events: all; }
.c-card[data-pos="1"]  { transform: translate(-50%, -50%) translateX(clamp(158px,21vw,270px)) scale(0.73) rotateY(-22deg); opacity: 0.68; filter: brightness(0.55) saturate(0.65); pointer-events: all; }
.c-card[data-pos="-2"] { transform: translate(-50%, -50%) translateX(clamp(-448px,-38.5vw,-278px)) scale(0.49) rotateY(31deg); opacity: 0.28; filter: brightness(0.35) saturate(0.42); pointer-events: all; }
.c-card[data-pos="2"]  { transform: translate(-50%, -50%) translateX(clamp(278px,38.5vw,448px)) scale(0.49) rotateY(-31deg); opacity: 0.28; filter: brightness(0.35) saturate(0.42); pointer-events: all; }
.c-card[data-pos="-3"],.c-card[data-pos="3"],.c-card[data-pos="hidden"] { opacity: 0; pointer-events: none; }
.c-card[data-pos="-3"] { transform: translate(-50%,-50%) translateX(clamp(-448px,-38.5vw,-278px)) scale(0.49) rotateY(31deg); }
.c-card[data-pos="3"]  { transform: translate(-50%,-50%) translateX(clamp(278px,38.5vw,448px)) scale(0.49) rotateY(-31deg); }
.c-card[data-pos="hidden"] { transform: translate(-50%,-50%) scale(0.49); }

.seg-info { position: absolute; bottom: clamp(52px,8vh,90px); left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; z-index: 20; pointer-events: none; }
.seg-info-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); text-align: center; }
.seg-info-name { font-size: clamp(13px,1.9vw,20px); font-weight: 900; color: var(--white); letter-spacing: -0.02em; text-align: center; }
.seg-dots { display: flex; align-items: center; gap: 7px; pointer-events: all; }
.seg-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.28); cursor: pointer; border: none; transition: background 0.28s, width 0.28s; }
.seg-dot.active { background: var(--white); width: 20px; }

.seg-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; background: rgba(0,0,0,0.32); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(12px); color: var(--white); border-radius: 50%; width: clamp(38px,3.8vw,48px); height: clamp(38px,3.8vw,48px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.seg-arrow:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.44); transform: translateY(-50%) scale(1.08); }
.seg-arrow.prev { left: clamp(14px,2.6vw,44px); }
.seg-arrow.next { right: clamp(14px,2.6vw,44px); }

.drag-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.2); z-index: 20; pointer-events: none; display: flex; align-items: center; gap: 7px; }

@keyframes pageIn {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

.seg-detail {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 48px 80px;
  color: var(--white);
  animation: pageIn 0.42s cubic-bezier(0.4,0,0.2,1) both;
}

.seg-detail.page-exit {
  animation: pageOut 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}

.seg-detail.empresas       { background-color: #c18d0c; }
.seg-detail.cultura        { background-color: #e01a55; }
.seg-detail.desarrollo     { background-color: #e05e20; }
.seg-detail.centroamericanos { background-color: #7e3880; }
.seg-detail.salud          { background-color: #1678a0; }
.seg-detail.pueblos        { background-color: #6a8720; }
.seg-detail.turismo        { background-color: #cc1e3c; }

.seg-container { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.seg-info-col { padding-right: 20px; }

.seg-img-row { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 40px;
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; color: var(--white); white-space: nowrap;
  background: rgba(0,0,0,0.55);
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: transform 0.22s, background 0.22s;
}
.back-btn:hover { transform: translateY(-3px); background: rgba(0,0,0,0.78); }

.seg-thumb { width: clamp(80px,10vw,130px); aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,0.22); box-shadow: 0 10px 28px rgba(0,0,0,0.3); flex-shrink: 0; }
.seg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.seg-title { font-size: clamp(32px, 5vw, 62px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--white); margin-bottom: 20px; }
.seg-subtitle { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.9); line-height: 1.65; margin-bottom: 26px; }
.seg-meta { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); border-left: 3px solid var(--white); padding-left: 14px; margin-bottom: 36px; }

.seg-yt-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; background: transparent; border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--white); text-decoration: none; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.seg-yt-btn:hover { background: rgba(255,255,255,0.18); border-color: var(--white); transform: translateY(-2px); }

.seg-playlist { background: rgba(0,0,0,0.45); backdrop-filter: blur(10px); border-radius: 26px; padding: 0; border: 1px solid rgba(255,255,255,0.18); overflow: hidden; }
.playlist-header { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); padding: 14px 22px; background: rgba(0,0,0,0.4); border-bottom: 1px solid rgba(255,255,255,0.12); }
.playlist-scroll { max-height: 520px; overflow-y: auto; padding: 16px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.3) transparent; }
.playlist-scroll::-webkit-scrollbar { width: 4px; }
.playlist-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }

.playlist-item { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; background: rgba(0,0,0,0.4); border-radius: 16px; padding: 10px 14px; transition: background 0.2s, transform 0.2s; cursor: pointer; }
.playlist-item:last-child { margin-bottom: 0; }
.playlist-item:hover { background: rgba(255,255,255,0.14); transform: translateX(5px); }
.playlist-video { width: 180px; height: 106px; object-fit: cover; border-radius: 12px; background: #000; flex-shrink: 0; }
.playlist-info { flex: 1; }
.playlist-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 7px; line-height: 1.35; }
.playlist-duration { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 500; background: rgba(0,0,0,0.5); padding: 3px 9px; border-radius: 20px; display: inline-block; }

.single-video-wrap { background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); border-radius: 26px; padding: 24px; border: 1px solid rgba(255,255,255,0.18); }
.single-video-box { border-radius: 14px; overflow: hidden; background: #000; }
.single-video-box video { width: 100%; height: auto; aspect-ratio: 16/9; display: block; }
.single-video-info { margin-top: 18px; text-align: center; }
.single-video-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.single-video-dur { font-size: 12px; color: rgba(255,255,255,0.8); background: rgba(0,0,0,0.5); padding: 3px 9px; border-radius: 20px; display: inline-block; }

.seg-nav-cards { max-width: 1380px; margin: 60px auto 0; display: flex; gap: 14px; justify-content: space-between; }
.seg-nav-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--dark2); border-radius: 12px; text-decoration: none; color: var(--white); border: 1px solid rgba(255,255,255,0.07); transition: background 0.22s, border-color 0.22s, transform 0.22s; flex: 1; max-width: 340px; cursor: pointer; }
.seg-nav-card:hover { background: var(--dark); border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.seg-nav-card img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.seg-nav-card svg { flex-shrink: 0; color: var(--white-faint); }
.seg-nav-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.seg-nav-info span { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-faint); }
.seg-nav-info strong { font-size: 12.5px; font-weight: 600; color: var(--white); }
.seg-nav-card.prev { order: -1; }

.cadenas-wrapper {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: url('../img/6.png') center center / cover no-repeat fixed;
  background-color: #0a0a0a;
  position: relative;
}

.cadenas-wrapper::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.25); }

.cadenas-content { position: relative; z-index: 2; max-width: 1200px; width: 90%; margin: 0 auto; padding: 50px 0 60px; display: flex; flex-direction: column; gap: 48px; }

.glass-block { background: rgba(255,255,255,0.06); backdrop-filter: blur(22px); border-radius: 36px; padding: 46px 40px; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.14); transition: transform 0.3s; }
.glass-block:hover { transform: translateY(-4px); }

.cadenas-title { font-size: 36px; font-weight: 800; text-align: center; color: var(--white); margin-bottom: 18px; }
.cadenas-desc { text-align: center; color: rgba(255,255,255,0.9); max-width: 800px; margin: 0 auto 36px; line-height: 1.65; font-size: 17px; }

.operadores-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.operador-item { padding: 9px 20px; border-radius: 40px; font-weight: 600; font-size: 14px; border: none; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transition: filter 0.2s, transform 0.2s; cursor: default; }
.operador-item:hover { filter: brightness(0.88); transform: translateY(-2px); }
.op-1 { background: #1c88b7; color: white; }
.op-2 { background: #914391; color: white; }
.op-3 { background: #ff2266; color: white; }
.op-4 { background: #f16a26; color: white; }
.op-5 { background: #ffc516; color: #000; }
.op-6 { background: #b3d136; color: #000; }

.productora-title { font-size: 30px; font-weight: 800; text-align: center; color: var(--white); margin-bottom: 20px; }
.productora-text { color: rgba(255,255,255,0.9); line-height: 1.72; font-size: 15.5px; text-align: center; }

.contact-block { text-align: center; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.contact-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.contact-links a { font-size: 14.5px; font-weight: 500; color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; transition: color 0.18s; }
.contact-links a:hover { color: var(--yellow); }
.contact-address { display: flex; flex-direction: column; gap: 5px; color: rgba(255,255,255,0.7); font-size: 12.5px; line-height: 1.55; }

.logos-footer { background: var(--black); padding: 28px 20px; width: 100%; overflow-x: auto; }
.logos-container { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 28px; max-width: 1200px; margin: 0 auto; min-width: max-content; width: 100%; }
.logo-item { flex-shrink: 0; transition: transform 0.2s; }
.logo-item:hover { transform: scale(1.05); }
.logo-item img { height: 46px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.logo-item.gs img { height: 62px; }

.prog-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.prog-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.prog-overlay-icon { font-size: 52px; }

.prog-overlay-title {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.prog-overlay-sub {
  font-size: clamp(15px, 2.5vw, 20px);
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.prog-page {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, #f7d22f 0%, #E30613 100%);
  position: relative;
  overflow: hidden;
}

body:has(.prog-page) { background: #E30613; }

.prog-page::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(0,0,0,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,0,0,0.2) 0%, transparent 60%);
}

.prog-inner { position: relative; z-index: 10; max-width: 860px; margin: 0 auto; padding: 52px 40px 80px; }

.prog-header { text-align: center; margin-bottom: 36px; }

.prog-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px; border-radius: 40px; margin-bottom: 20px;
}

.prog-label .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--white);
  animation: progPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes progPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.prog-title { font-size: clamp(28px, 5vw, 50px); font-weight: 900; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.prog-sub { font-size: 15px; color: rgba(255,255,255,0.8); }

.player-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000; border-radius: 18px; overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.player-wrap iframe, .player-wrap video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}

.live-badge {
  display: none;
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  padding: 5px 13px 5px 10px; border-radius: 40px;
  align-items: center; gap: 7px; z-index: 10;
  box-shadow: 0 2px 12px rgba(200,0,0,0.5);
}

.live-badge.visible { display: flex; }

.live-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--white);
  animation: progPulse 1.3s ease-in-out infinite;
}

.offline-state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; padding: 24px;
  background: rgba(0,0,0,0.6);
}

.offline-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
}

.offline-title { font-size: 17px; font-weight: 700; color: rgba(255,255,255,0.8); }
.offline-desc { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; max-width: 320px; line-height: 1.6; }

.prog-status-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

.prog-status-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 40px; font-size: 13px; font-weight: 600;
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

.prog-status-chip.live {
  background: rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.prog-info-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px; padding: 26px 28px; max-width: 700px; margin: 0 auto;
}

.prog-info-card h3 {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}

.prog-info-card h3::before {
  content: ''; display: block; width: 3px; height: 14px;
  background: rgba(255,255,255,0.6); border-radius: 2px; flex-shrink: 0;
}

.prog-info-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }

.prog-info-card code {
  display: block; margin-top: 14px;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 16px; border-radius: 8px; font-family: monospace;
  font-size: 12px; color: rgba(255,255,255,0.9); word-break: break-all;
}

.notas-main { background: #0a0a0a; min-height: 100vh; }

.notas-header {
  position: relative;
  min-height: 260px;
  padding-top: var(--nav-h);
  background-color: #1a0000;
  background-image: url('../img/mansS.JPG');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
}

.notas-header::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55); z-index: 1;
}

.notas-header::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 80px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  z-index: 2; pointer-events: none;
}

.notas-header-text { position: relative; z-index: 3; text-align: center; padding: 60px 20px 80px; }
.notas-header-text h1 { font-size: clamp(26px, 5vw, 48px); font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.notas-header-text p { font-size: 16px; color: rgba(255,255,255,0.8); }

.notas-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 28px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nota-card {
  display: flex;
  flex-direction: row;
  background: var(--dark2);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  align-items: stretch;
}

.nota-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.nota-img {
  flex-shrink: 0;
  width: 320px;
  position: relative;
  background: var(--dark2);
}

.nota-img-bg {
  position: absolute;
  inset: 16px 8px 16px 24px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.nota-body {
  flex: 1;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.nota-fecha {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.nota-titulo {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
}

.nota-texto {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.nota-texto + .nota-texto {
  margin-top: 12px;
}

@media (max-width: 700px) {
  .nota-card { flex-direction: column; }
  .nota-img { width: 100%; height: 260px; }
  .nota-body { padding: 22px 20px; }
  .notas-container { padding: 16px 14px 60px; }
}


.banner-construccion {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 9998;
  background: rgba(22,22,22,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 16px;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.banner-construccion-icon { font-size: 11px; flex-shrink: 0; }

.banner-construccion-text {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-construccion-text strong {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.banner-construccion-text span { font-size: 9.5px; color: rgba(255,255,255,0.38); }
.banner-construccion-sep { color: rgba(255,255,255,0.18); }

body.page-segmentos { padding-top: 0; }

@media (max-width: 600px) {
  .banner-construccion { padding: 4px 10px; gap: 5px; }
  .banner-construccion-text strong,
  .banner-construccion-text span { font-size: 9px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.58s var(--ease), transform 0.58s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  :root { --nav-h: 97px; }
  .navbar {
    padding: 16px 20px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,197,22,1);
  }
  .dropdown {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6,6,6,0.99);
  }
  .nav-links { gap: 24px; }
  .nav-item { font-size: 15px; }

  .hero-title { font-size: clamp(40px, 10vw, 80px); white-space: normal; }
  .hero-desc { font-size: 18px; }
  .hero-socials { right: 20px; bottom: 24px; gap: 16px; }

  .conocenos { padding: 64px 24px 80px; }
  .reencuentrate { padding: 60px 32px; }
  .reencuentrate-flex { flex-direction: column; }
  .reencuentrate-image { max-width: 80%; margin: 0 auto; }
  .mv-grid { gap: 24px; }

  .seg-detail { padding: 100px 28px 60px; }
  .seg-container { grid-template-columns: 1fr; gap: 36px; }
  .seg-info-col { padding-right: 0; }
  .playlist-video { width: 150px; height: 90px; }

  .cadenas-wrapper { background-attachment: scroll; }
  .cadenas-content { width: 95%; padding: 40px 0; }
  .glass-block {
    padding: 34px 26px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.08);
  }
  .cadenas-title { font-size: 28px; }

  .seg-playlist,
  .single-video-wrap,
  .mv-card,
  .banner-construccion {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .noticias-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .prog-inner { padding: 40px 24px 64px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 56px; }

  .navbar {
    padding: 0 8px;
    height: 56px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,197,22,1);
  }

  .logo-img { height: 32px; flex-shrink: 0; }

  .nav-links {
    position: static;
    transform: none;
    gap: 0;
    margin: 0 0 0 8px;
    flex: 1;
    justify-content: space-evenly;
    background: transparent;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .nav-item {
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 500;
    letter-spacing: 0;
    padding: 4px 0;
    white-space: nowrap;
  }

  .nav-right-spacer { display: none; }

  .dropdown { display: none !important; pointer-events: none !important; }
  .has-dropdown::after { display: none; }

  .seg-playlist,
  .single-video-wrap,
  .glass-block { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero-title { font-size: clamp(32px, 12vw, 56px); white-space: normal; }
  .hero-desc { font-size: 16px; }
  .hero-socials { right: 14px; bottom: 18px; gap: 12px; }
  .social-icon img { width: 26px; height: 26px; }

  .reencuentrate { padding: 50px 20px; }
  .reencuentrate-image { max-width: 100%; }
  .mv-grid { grid-template-columns: 1fr; gap: 20px; }

  .seg-track-wrap { height: 50vh; margin-top: 28px; perspective: none; }
  .seg-track { transform-style: flat; }
  .c-card { transform-style: flat; width: clamp(160px, 45vw, 220px); }
  .c-card[data-pos="-1"] { transform: translate(-50%,-50%) translateX(-118px) scale(0.65) rotateY(18deg); }
  .c-card[data-pos="1"]  { transform: translate(-50%,-50%) translateX(118px) scale(0.65) rotateY(-18deg); }
  .c-card[data-pos="-2"],.c-card[data-pos="-3"] { transform: translate(-50%,-50%) translateX(-220px) scale(0.44) rotateY(28deg); }
  .c-card[data-pos="2"],.c-card[data-pos="3"]  { transform: translate(-50%,-50%) translateX(220px) scale(0.44) rotateY(-28deg); }
  .seg-arrow.prev { left: 6px; }
  .seg-arrow.next { right: 6px; }

  .seg-detail { padding: 80px 16px 50px; }
  .seg-nav-cards { flex-direction: column; }
  .seg-nav-card { max-width: none; }
  .seg-title { font-size: clamp(26px, 8vw, 40px); }
  .playlist-item { flex-direction: column; text-align: center; gap: 10px; padding: 14px; }
  .playlist-video { width: 100%; height: auto; aspect-ratio: 16/9; }
  .playlist-scroll { max-height: none; }
  .seg-yt-btn { width: 100%; justify-content: center; }

  .cadenas-wrapper { background-attachment: scroll; }
  .cadenas-content { gap: 28px; padding: 28px 0; }
  .glass-block { padding: 26px 18px; border-radius: 26px; }
  .cadenas-title { font-size: 22px; }
  .cadenas-desc { font-size: 14px; }
  .operador-item { font-size: 12px; padding: 6px 13px; }
  .contact-links { flex-direction: column; gap: 8px; align-items: center; }
  .logo-item img { height: 30px; }
  .logo-item.gs img { height: 42px; }
  .logos-container { gap: 16px; }
  .logos-footer { padding: 20px 12px; }

  .noticias-grid { grid-template-columns: 1fr; gap: 18px; }
  .noticias-container { padding: 16px 14px 56px; }
  .noticias-header { min-height: 220px; background-attachment: scroll; }

  .prog-inner { padding: 32px 14px 52px; }
  .prog-title { font-size: 26px; }
  .prog-status-row { flex-direction: column; gap: 10px; }
  .prog-info-card { padding: 20px 16px; }
}
