/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #00AEEF;
  --blue-dark: #0088cc;
  --green: #00B36B;
  --dark: #0a0f1a;
  --dark-light: #111827;
  --gray-900: #1a1f2e;
  --gray-800: #242938;
  --gray-600: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --white: #f8fafc;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--gray-200);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 40px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 38px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
}

.nav-cta.active::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ===== HERO (index) ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video-wrap {
  background: url('../assets/hero-poster.jpg') center/cover no-repeat;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-video-wrap video.is-playing {
  opacity: 1;
}

video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 26, 0.3) 0%,
    rgba(10, 15, 26, 0.5) 50%,
    rgba(10, 15, 26, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  max-width: clamp(280px, 50vw, 600px);
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--dark-light), var(--dark));
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--gray-400);
  font-weight: 300;
}

.page-hero-blobs {
  background: #eef5fb;
  position: relative;
  overflow: hidden;
}

.page-hero-blobs .galeria-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero-blobs h1 {
  position: relative;
  z-index: 1;
  color: #1a2a3a;
}

.page-hero-blobs p {
  position: relative;
  z-index: 1;
  color: #4a6b80;
}

.page-hero-srv {
  background: url('../assets/img/geo1.webp') center/cover no-repeat;
  position: relative;
}

.page-hero-srv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.7);
}

.page-hero-srv h1,
.page-hero-srv p {
  position: relative;
  z-index: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-header h2,
.info-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
}

/* ===== ABOUT HERO ===== */
.about-hero {
  background: #ffffff;
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-hero-left {
  display: flex;
  flex-direction: column;
}

.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a1a2e;
  line-height: 1.2;
  margin-top: 8px;
  margin-bottom: 20px;
}

.about-hero-title span {
  color: #8B6914;
}

.about-hero-subtitle {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-outline {
  border: 1px solid #ccc;
  color: #333;
  background: transparent;
}

.btn-outline:hover {
  border-color: #333;
  color: #111;
  transform: translateY(-2px);
}

.about-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-stat:nth-child(2) {
  margin-left: 80px;
}

.about-stat:nth-child(3) {
  margin-left: 160px;
}

.about-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #648fad;
  background: #f0f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #648fad;
  flex-shrink: 0;
  transition: var(--transition);
}

.about-stat:hover .about-stat-icon {
  transform: scale(1.15);
  background: #648fad;
  color: #fff;
  box-shadow: 0 4px 16px rgba(100, 143, 173, 0.35);
}

.about-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

.about-stat-label {
  font-size: 0.8rem;
  color: #777;
}

.about-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 18%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.about-hero-grid {
  padding-left: 20%;
}

.about-hero-img img,
.about-hero-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Water waves */
.about-waves {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: -20px;
}

.about-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave {
  fill: #648fad;
}

.wave-1 {
  opacity: 0.15;
  animation: waveMove1 6s ease-in-out infinite;
}

.wave-2 {
  opacity: 0.1;
  animation: waveMove2 8s ease-in-out infinite;
}

.wave-3 {
  opacity: 0.2;
  animation: waveMove3 5s ease-in-out infinite;
}

@keyframes waveMove1 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-30px); }
}

@keyframes waveMove2 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(25px); }
}

@keyframes waveMove3 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

/* Collage right side */
.about-hero-right {
  position: relative;
  height: 500px;
  width: 100%;
}

.collage-float {
  position: absolute;
  border-radius: 50%;
  animation: collageFloat 3s ease-in-out infinite;
}

.collage-float-1 {
  width: 64px;
  height: 64px;
  background: rgba(0, 174, 239, 0.15);
  top: -16px;
  left: 25%;
}

.collage-float-2 {
  width: 48px;
  height: 48px;
  background: rgba(0, 179, 107, 0.15);
  border-radius: 10px;
  bottom: 0;
  right: 25%;
  animation-delay: 0.5s;
}

.collage-float-3 {
  width: 24px;
  height: 24px;
  background: rgba(0, 174, 239, 0.2);
  bottom: 25%;
  left: 16px;
  animation-delay: 1s;
}

@keyframes collageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Collage swirl line */
.collage-swirl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.swirl-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  opacity: 0.4;
  transition: none;
}

.collage-swirl.animate .swirl-path {
  animation: drawSwirl 3s ease forwards;
}

@keyframes drawSwirl {
  to { stroke-dashoffset: 0; }
}

.collage-img {
  position: absolute;
  background: #fff;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.collage-img-1 {
  width: 220px;
  height: 180px;
  top: 2%;
  left: 18%;
  transform: rotate(-3deg);
  z-index: 2;
}

.collage-img-2 {
  width: 200px;
  height: 150px;
  top: 0;
  right: 5%;
  transform: rotate(2deg);
  z-index: 1;
}

.collage-img-3 {
  width: 240px;
  height: 170px;
  top: 35%;
  right: 0;
  transform: rotate(-2deg);
  z-index: 3;
}

.collage-img-4 {
  width: 190px;
  height: 170px;
  top: 30%;
  left: 0;
  transform: rotate(3deg);
  z-index: 4;
}

.collage-img-5 {
  width: 230px;
  height: 160px;
  bottom: 2%;
  left: 15%;
  transform: rotate(-1deg);
  z-index: 5;
}

/* ===== EJES ===== */
.ejes {
  position: relative;
  overflow: hidden;
}

.ejes-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}

.ejes-hero-left {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ejes-hero-left {
  background: url('../assets/ejes-poster.jpg') center/cover no-repeat;
}

.ejes-hero-left video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ejes-hero-left video.is-playing {
  opacity: 1;
}

.ejes-hero-divider {
  display: none;
}

.ejes-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.55);
  z-index: 1;
}

.ejes-header {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 48px;
}

.ejes-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ejes-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ejes-cards-area {
  position: relative;
  z-index: 2;
  padding: 0 0 80px;
}

.ejes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.eje-card {
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.eje-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.eje-card-img {
  overflow: hidden;
}

.eje-card-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.eje-card-body {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.eje-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a2e;
}

.eje-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  flex-shrink: 0;
  transition: var(--transition);
}

.eje-card:hover .eje-arrow {
  background: #648fad;
  color: #fff;
}

.eje-card:hover .eje-arrow svg {
  transform: translateX(2px);
  transition: transform 0.3s ease;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: url('../assets/img/cascada.webp') center/cover no-repeat;
  text-align: center;
  padding: 80px 24px;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

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

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--dark);
}

.cta-section .btn-primary:hover {
  background: var(--gray-200);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== SERVICIOS PAGE ===== */
.srv-page {
  background: #fff;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.srv-card {
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.srv-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.srv-card-img {
  overflow: hidden;
}

.srv-card-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 70%;
  transition: transform 0.3s ease;
}

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

.srv-card-info {
  padding: 20px 24px 0;
}

.srv-card-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a2e;
  min-height: 48px;
}

.srv-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.srv-card-detail.open {
  max-height: 400px;
  padding: 16px 24px;
}

.srv-card-detail ul {
  list-style: none;
}

.srv-card-detail li {
  color: #555;
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.srv-card-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #648fad;
  border-radius: 50%;
  transform: translateY(-50%);
}

.srv-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  border: none;
  background: #f7f7f7;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.3s ease;
  border-top: 1px solid #eee;
  text-decoration: none;
}

.srv-card-btn:hover {
  background: #eee;
}

.srv-card-btn span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.srv-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #648fad;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.srv-card-btn[aria-expanded="true"] .srv-card-arrow {
  transform: rotate(90deg);
}

/* ===== SERVICE MODAL ===== */
.srv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.srv-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.srv-modal {
  background: #fff;
  width: 92vw;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s ease;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.srv-modal-overlay.open .srv-modal {
  transform: translateY(0) scale(1);
}

.srv-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  line-height: 1;
}

.srv-modal-close:hover {
  background: rgba(0,0,0,0.75);
}

.srv-modal-hero {
  position: relative;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.srv-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srv-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,26,0.8) 0%, rgba(10,15,26,0.3) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.srv-modal-hero-overlay h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 8px;
}

.srv-modal-hero-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.srv-modal-hero-overlay p span:last-child {
  color: #fff;
  font-weight: 500;
}

.srv-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  flex: 1;
  overflow: hidden;
}

.srv-modal-sidebar {
  background: #f5f5f5;
  border-right: 1px solid #e5e5e5;
  overflow-y: auto;
  padding: 8px 0;
}

.srv-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
}

.srv-modal-nav:hover {
  background: #eee;
}

.srv-modal-nav.active {
  background: #648fad;
  color: #fff;
  border-left-color: #4a7591;
}

.srv-modal-nav svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.srv-modal-nav.active svg {
  opacity: 1;
}

.srv-modal-content {
  padding: 40px;
  overflow-y: auto;
}

.srv-modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.srv-modal-content > p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.srv-modal-content ul {
  list-style: none;
  margin: 24px 0;
}

.srv-modal-content li {
  color: #444;
  font-size: 0.95rem;
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
}

.srv-modal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border: 2px solid #648fad;
  border-radius: 50%;
}

.srv-modal-content .srv-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  background: #648fad;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.srv-modal-content .srv-modal-cta:hover {
  background: #4a7591;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .srv-modal {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .srv-modal-hero {
    height: 160px;
  }

  .srv-modal-body {
    grid-template-columns: 1fr;
  }

  .srv-modal-sidebar {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    gap: 0;
  }

  .srv-modal-nav {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
    font-size: 0.8rem;
  }

  .srv-modal-nav.active {
    border-bottom-color: #4a7591;
    border-left: none;
  }

  .srv-modal-nav svg {
    display: none;
  }

  .srv-modal-content {
    padding: 24px 20px;
  }

  .srv-modal-content h3 {
    font-size: 1.4rem;
  }
}

/* ===================== */
/* Service Detail Page   */
/* ===================== */

.srvd-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

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

.srvd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.3) 100%);
  display: flex;
  align-items: flex-end;
}

.srvd-hero-overlay .container {
  padding-bottom: 48px;
}

.srvd-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.srvd-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.srvd-breadcrumb a:hover {
  color: #fff;
}

.srvd-breadcrumb span {
  color: #648fad;
}

.srvd-hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.srvd-body {
  background: #f8fafb;
}

.srvd-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.srvd-sidebar {
  position: sticky;
  top: 100px;
}

.srvd-sidebar > h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #0E4D92;
  margin-bottom: 16px;
}

.srvd-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.srvd-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.srvd-nav-link:hover {
  background: #fff;
  color: #0E4D92;
  border-color: #e8edf2;
}

.srvd-nav-link.active {
  background: #0E4D92;
  color: #fff;
  font-weight: 600;
}

.srvd-nav-link svg {
  opacity: 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.srvd-nav-link:hover svg,
.srvd-nav-link.active svg {
  opacity: 1;
}

.srvd-nav-link.active svg {
  stroke: #fff;
}

.srvd-sidebar-cta {
  background: #0E4D92;
  border-radius: 16px;
  padding: 28px 24px;
  color: #fff;
}

.srvd-sidebar-cta h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.srvd-sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.srvd-sidebar-cta .inf-btn {
  background: #fff;
  color: #0E4D92;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
}

.srvd-sidebar-cta .inf-btn:hover {
  background: #e8edf2;
}

.srvd-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0f1729;
  margin-bottom: 20px;
}

.srvd-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

.srvd-services-box {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.srvd-services-box h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f1729;
  margin-bottom: 20px;
}

.srvd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.srvd-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #334155;
  padding: 10px 14px;
  background: #f8fafb;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.srvd-list li:hover {
  background: #e8f0fe;
  transform: translateX(4px);
}

.srvd-list li svg {
  flex-shrink: 0;
}

.srvd-content .inf-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0E4D92, #1a6fb5);
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(14, 77, 146, 0.3);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.srvd-content .inf-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(14, 77, 146, 0.4);
  background: linear-gradient(135deg, #0b3d75, #0E4D92);
}

/* Service Detail — enriched sections */
.srvd-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.srvd-anim.srvd-visible {
  opacity: 1;
  transform: translateY(0);
}

.srvd-gallery-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
  border-radius: 16px;
  overflow: hidden;
}

.srvd-mosaic-big {
  grid-row: 1 / 3;
}

.srvd-gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.srvd-gallery-mosaic img:hover {
  transform: scale(1.04);
}

.srvd-highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 40px 0;
}

.srvd-highlight-row-reverse {
  direction: rtl;
}

.srvd-highlight-row-reverse > * {
  direction: ltr;
}

.srvd-highlight-img {
  border-radius: 16px;
  overflow: hidden;
}

.srvd-highlight-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.srvd-highlight-img img:hover {
  transform: scale(1.04);
}

.srvd-highlight-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #0f1729;
  margin-bottom: 12px;
}

.srvd-highlight-text p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

.srvd-video-section {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.srvd-video-section video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.srvd-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 100%);
}

.srvd-video-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.srvd-video-caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.srvd-cta {
  background: linear-gradient(135deg, #0a1628 0%, #0E4D92 50%, #1a6fb5 100%);
  text-align: center;
}

.srvd-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 12px;
}

.srvd-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 968px) {
  .srvd-layout {
    grid-template-columns: 1fr;
  }

  .srvd-sidebar {
    position: static;
  }

  .srvd-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .srvd-nav-link {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .srvd-nav-link svg {
    display: none;
  }

  .srvd-list {
    grid-template-columns: 1fr;
  }

  .srvd-hero {
    height: 300px;
  }

  .srvd-highlight-row,
  .srvd-highlight-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .srvd-gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .srvd-mosaic-big {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .srvd-hero {
    height: 240px;
  }

  .srvd-hero-overlay .container {
    padding-bottom: 28px;
  }

  .srvd-services-box {
    padding: 20px;
  }

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

  .srvd-video-section video {
    height: 260px;
  }

  .srvd-highlight-img img {
    height: 240px;
  }

  .srvd-sidebar-cta {
    padding: 20px;
  }
}

/* Amnistia section */
.amnistia-section {
  background: url('../assets/img/perforacion.png') center/cover no-repeat fixed;
  position: relative;
}

.amnistia-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.75);
}

.amnistia-section .container {
  position: relative;
  z-index: 1;
}

.amnistia-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.amnistia-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
}

.amnistia-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== AMNISTIA ===== */
.amnistia {
  background: var(--dark-light);
}

.amnistia-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.amnistia-content p {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ===== INFORMACIÓN PAGE — PREMIUM ===== */

/* Info Hero */
.inf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inf-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.inf-hero-video-wrap {
  background: url('../assets/img/inf-hero-poster.jpg') center/cover no-repeat;
}

.inf-hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.inf-hero-video-wrap video.is-playing {
  opacity: 1;
}

.inf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(14, 77, 146, 0.55) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.inf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-top: 100px;
  margin-left: 0;
}

.inf-hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
}

.inf-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.inf-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.inf-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.inf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.inf-btn-solid {
  background: #fff;
  color: #0E4D92;
}

.inf-btn-solid:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.inf-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.inf-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.inf-btn-white {
  background: #fff;
  color: #0E4D92;
  font-size: 1rem;
  padding: 16px 40px;
}

.inf-btn-white:hover {
  background: #f0f4f8;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* Shared section styles */
.inf-section {
  padding: 120px 0;
}

.inf-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0E4D92;
  font-weight: 600;
  margin-bottom: 12px;
}

.inf-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0f1729;
  line-height: 1.2;
  margin-bottom: 20px;
}

.inf-heading-sub {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

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

.inf-section-header .inf-heading-sub {
  margin: 0 auto;
}

.inf-text {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.inf-text strong {
  color: #0f1729;
}

/* Permisos — Two column */
.inf-permisos {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.inf-permisos .container {
  position: relative;
  z-index: 2;
}

.inf-raindrops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.inf-drop {
  position: absolute;
  top: -40px;
  width: 18px;
  height: 26px;
  background: radial-gradient(ellipse at 35% 30%, rgba(135, 206, 250, 0.9) 0%, rgba(70, 170, 240, 0.7) 50%, rgba(30, 144, 255, 0.4) 100%);
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  animation: infDropFall linear infinite;
  opacity: 0;
  filter: blur(0.3px);
}

.inf-drop::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 5px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.inf-drop::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 28px;
  height: 6px;
  background: radial-gradient(ellipse, rgba(100, 190, 255, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: infDropSplash linear infinite;
  animation-duration: inherit;
  animation-delay: inherit;
}

@keyframes infDropFall {
  0% {
    top: -30px;
    opacity: 0;
    transform: scaleY(1);
  }
  5% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.6;
    transform: scaleY(1.3);
  }
  100% {
    top: calc(100% - 10px);
    opacity: 0;
    transform: scaleY(0.5);
  }
}

@keyframes infDropSplash {
  0%, 90% {
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  95% {
    transform: translateX(-50%) scale(1.5);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(2.5);
    opacity: 0;
  }
}

.inf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.inf-two-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inf-visual-card {
  background: #f8fafb;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.35s ease;
}

.inf-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 77, 146, 0.08);
  border-color: rgba(14, 77, 146, 0.2);
}

.inf-visual-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(14, 77, 146, 0.08), rgba(14, 77, 146, 0.04));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inf-visual-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f1729;
  margin-bottom: 4px;
}

.inf-visual-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* Sabía usted */
.inf-sabia {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.inf-sabia .inf-tag {
  color: #648fad;
}

.inf-sabia .inf-heading {
  color: #fff;
}

.inf-sabia .inf-heading-sub {
  color: rgba(255, 255, 255, 0.65);
}

.inf-sabia-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.inf-sabia-video {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.inf-sabia-video {
  background: url('../assets/sabia-poster.jpg') center/cover no-repeat;
}

.inf-sabia-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.inf-sabia-video video.is-playing {
  opacity: 1;
}

.inf-sabia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.inf-sabia-card {
  display: block;
  position: relative;
  background: linear-gradient(to bottom, #c3e6ec, #a7d1d9);
  border-radius: 10px;
  padding: 2em 1.2em;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  cursor: default;
  font-family: 'Inter', sans-serif;
}

.inf-sabia-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -16px;
  right: -16px;
  background: linear-gradient(135deg, #364a60, #384c6c);
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease-out;
}

.inf-sabia-card:hover::before {
  transform: scale(28);
}

.inf-sabia-card-title {
  color: #262626;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: normal;
  transition: all 0.5s ease-out;
}

.inf-sabia-card:hover .inf-sabia-card-title {
  color: #ffffff;
}

.inf-sabia-card-desc {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.6;
  color: #452c2c;
  transition: all 0.5s ease-out;
}

.inf-sabia-card-desc strong {
  color: #0f1729;
  transition: all 0.5s ease-out;
}

.inf-sabia-card:hover .inf-sabia-card-desc,
.inf-sabia-card:hover .inf-sabia-card-desc strong {
  color: rgba(255, 255, 255, 0.8);
}

.inf-sabia-go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 2em;
  height: 2em;
  overflow: hidden;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #6293c8, #384c6c);
  border-radius: 0 10px 0 32px;
}

.inf-sabia-go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans-serif;
}

/* Amnistía */
.inf-amnistia {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  overflow: hidden;
  position: relative;
}

.inf-amnistia .container {
  position: relative;
  z-index: 2;
}

.inf-amnistia .inf-tag {
  color: #648fad;
}

.inf-amnistia .inf-heading {
  color: #fff;
}

.inf-amnistia .inf-heading-sub {
  color: rgba(255,255,255,0.65);
}

.amnistia-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#amnistiaStars1 {
  width: 1px;
  height: 1px;
  background: transparent;
  box-shadow:
    501px 811px #fff, 1450px 324px #fff, 1093px 780px #fff, 1469px 678px #fff,
    904px 741px #fff, 1160px 181px #fff, 1841px 962px #fff, 1630px 667px #fff,
    1788px 676px #fff, 367px 734px #fff, 1343px 156px #fff, 1283px 142px #fff,
    1062px 378px #fff, 1395px 467px #fff, 1017px 891px #fff, 137px 114px #fff,
    1767px 403px #fff, 1543px 11px #fff, 1078px 181px #fff, 1189px 574px #fff,
    1697px 551px #fff, 439px 472px #fff, 1491px 677px #fff, 1364px 599px #fff,
    34px 382px #fff, 1221px 584px #fff, 1266px 499px #fff, 169px 907px #fff,
    1219px 125px #fff, 659px 18px #fff, 1731px 959px #fff, 332px 216px #fff,
    1913px 788px #fff, 80px 712px #fff, 326px 605px #fff, 574px 502px #fff,
    473px 653px #fff, 404px 975px #fff, 322px 797px #fff, 425px 321px #fff,
    1121px 797px #fff, 731px 647px #fff, 891px 584px #fff, 1523px 109px #fff,
    1379px 244px #fff, 865px 64px #fff, 493px 956px #fff, 624px 380px #fff,
    440px 619px #fff, 1630px 767px #fff, 955px 196px #fff, 62px 729px #fff,
    126px 946px #fff, 1256px 896px #fff, 1444px 256px #fff, 661px 628px #fff,
    1078px 716px #fff, 300px 737px #fff, 1734px 413px #fff, 1296px 129px #fff,
    1771px 678px #fff, 977px 764px #fff, 1879px 549px #fff, 665px 531px #fff,
    89px 701px #fff, 1084px 183px #fff, 1597px 576px #fff, 1354px 774px #fff,
    554px 471px #fff, 1469px 287px #fff, 887px 106px #fff, 1962px 766px #fff,
    638px 805px #fff, 1651px 741px #fff, 1517px 826px #fff, 24px 152px #fff,
    507px 558px #fff, 1262px 652px #fff, 246px 48px #fff, 1077px 421px #fff;
  animation: amnistiaStarMove 50s linear infinite;
}

#amnistiaStars2 {
  width: 2px;
  height: 2px;
  background: transparent;
  box-shadow:
    1925px 320px #fff, 693px 778px #fff, 1016px 711px #fff, 1171px 563px #fff,
    661px 919px #fff, 1610px 44px #fff, 1275px 140px #fff, 1208px 802px #fff,
    1473px 587px #fff, 11px 117px #fff, 853px 757px #fff, 1149px 937px #fff,
    1353px 428px #fff, 270px 279px #fff, 258px 404px #fff, 417px 188px #fff,
    286px 561px #fff, 393px 765px #fff, 147px 881px #fff, 666px 97px #fff,
    1425px 278px #fff, 806px 156px #fff, 1252px 561px #fff, 218px 52px #fff,
    1371px 980px #fff, 171px 745px #fff, 1424px 89px #fff, 137px 244px #fff,
    939px 922px #fff, 137px 80px #fff, 1757px 50px #fff, 904px 536px #fff,
    1938px 1px #fff, 1172px 440px #fff, 72px 475px #fff, 102px 121px #fff,
    804px 671px #fff, 1314px 270px #fff, 440px 341px #fff, 1216px 511px #fff;
  animation: amnistiaStarMove 100s linear infinite;
}

#amnistiaStars3 {
  width: 3px;
  height: 3px;
  background: transparent;
  box-shadow:
    200px 981px #fff, 1731px 521px #fff, 132px 39px #fff, 1888px 547px #fff,
    899px 226px #fff, 1887px 580px #fff, 1548px 92px #fff, 1626px 689px #fff,
    254px 72px #fff, 1684px 211px #fff, 672px 267px #fff, 939px 668px #fff,
    1969px 645px #fff, 1126px 983px #fff, 457px 568px #fff, 476px 876px #fff,
    829px 896px #fff, 1364px 846px #fff, 1507px 120px #fff, 936px 948px #fff;
  animation: amnistiaStarMove 150s linear infinite;
}

@keyframes amnistiaStarMove {
  from { transform: translateY(0); }
  to { transform: translateY(-1000px); }
}

.inf-amnistia-top {
  text-align: center;
  margin-bottom: 64px;
}

.inf-amnistia-top .inf-heading-sub {
  max-width: 700px;
  margin: 0 auto;
}

.inf-amnistia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.inf-amnistia-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 260px;
  border-radius: 16px;
  background: #243137;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover {
  transform: scale(1.05);
  border-radius: 0;
}

.amnistia-card-border {
  position: absolute;
  inset: 0;
  border: 2px solid #bd9f67;
  border-radius: 16px;
  opacity: 0;
  transform: rotate(10deg);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover .amnistia-card-border {
  inset: 12px;
  opacity: 1;
  transform: rotate(0);
  border-radius: 0;
}

.amnistia-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 24px;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover .amnistia-card-content {
  transform: translateY(-8px);
}

.inf-amnistia-check {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #bd9f67, #d4b87a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #243137;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover .inf-amnistia-check {
  background: linear-gradient(135deg, #d4b87a, #e8cc8e);
  transform: scale(1.1);
}

.inf-amnistia-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover h4 {
  color: #bd9f67;
}

.inf-amnistia-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.amnistia-card-bottom {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bd9f67;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.inf-amnistia-card:hover .amnistia-card-bottom {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: 6px;
}

/* Proceso — Zigzag */
.inf-proceso {
  background: #f8fafb;
  position: relative;
  overflow: hidden;
}

.inf-proceso-mascot {
  position: absolute;
  left: calc(50% - 620px);
  top: 220px;
  height: 250px;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

.inf-proceso-mascot-bottom {
  position: absolute;
  left: calc(50% - 540px);
  bottom: 80px;
  height: 150px;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

.inf-proceso-mascot-right {
  position: absolute;
  right: calc(50% - 550px);
  top: 580px;
  height: 400px;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

.inf-zigzag {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.inf-zz-row {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  min-height: 120px;
}

.inf-zz-row.inf-zz-row-right {
  grid-template-columns: 1fr 100px 1fr;
}

.inf-zz-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.inf-zz-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(14, 77, 146, 0.15), 0 8px 20px rgba(14, 77, 146, 0.08);
  border-color: #0E4D92;
}

.inf-zz-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.inf-zz-row-right .inf-zz-icon-wrap {
  justify-content: flex-end;
}

.inf-zz-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 2px solid #e0e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(14, 77, 146, 0.06);
}

.inf-zz-icon svg {
  width: 34px;
  height: 34px;
}

.inf-zz-row:hover .inf-zz-icon {
  background: #0E4D92;
  border-color: #0E4D92;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(14, 77, 146, 0.25);
}

.inf-zz-row:hover .inf-zz-icon svg {
  stroke: #fff;
}

.inf-zz-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(14, 77, 146, 0.07);
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  transition: color 0.4s ease;
}

.inf-zz-card:hover .inf-zz-num {
  color: rgba(14, 77, 146, 0.15);
}

.inf-zz-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f1729;
  margin-bottom: 8px;
}

.inf-zz-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

.inf-zz-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.inf-zz-connector svg {
  width: 100%;
  height: 60px;
  opacity: 0.4;
}


@media (max-width: 768px) {
  .inf-zz-row,
  .inf-zz-row.inf-zz-row-right {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .inf-zz-connector,
  .inf-zz-icon-wrap {
    display: none;
  }

  .inf-zigzag {
    gap: 20px;
  }
}

/* Elegir Hidros */
.inf-elegir {
  background: #fff;
}

.inf-elegir-marquee {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.inf-elegir-row {
  overflow: hidden;
  width: 100%;
}

.inf-elegir-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.inf-elegir-row-left .inf-elegir-track {
  animation: marqueeLeft 60s linear infinite;
}

.inf-elegir-row-right .inf-elegir-track {
  animation: marqueeRight 60s linear infinite;
}

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

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

.inf-elegir-card {
  background: #f8fafb;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease;
  min-width: 340px;
  flex-shrink: 0;
}

.inf-elegir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(14, 77, 146, 0.1);
  border-color: rgba(14, 77, 146, 0.15);
}

.inf-elegir-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(14, 77, 146, 0.1), rgba(14, 77, 146, 0.04));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0E4D92;
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}

.inf-elegir-card:hover .inf-elegir-icon {
  background: #0E4D92;
  color: #fff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 24px rgba(14, 77, 146, 0.25);
}

.inf-elegir-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f1729;
  margin-bottom: 8px;
}

.inf-elegir-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.inf-elegir-stat {
  background: linear-gradient(135deg, #0E4D92, #1a6fb5);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inf-elegir-stat:hover {
  background: linear-gradient(135deg, #0a3d78, #0E4D92);
}

.inf-elegir-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: inline;
}

.inf-elegir-stat span {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.inf-elegir-stat h4 {
  color: #fff;
  margin-top: 8px;
}

.inf-elegir-stat p {
  color: rgba(255,255,255,0.7);
}

/* CTA */
.inf-cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #0a1628 0%, #0E4D92 50%, #1a6fb5 100%);
  text-align: center;
  overflow: hidden;
}

.inf-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inf-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

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

.inf-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.inf-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Info page responsive */
@media (max-width: 968px) {
  .inf-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .inf-sabia-layout {
    grid-template-columns: 1fr;
  }

  .inf-sabia-video {
    position: relative;
    top: 0;
    max-height: 400px;
  }

  .inf-sabia-grid,
  .inf-amnistia-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inf-hero-content {
    padding-top: 120px;
  }
}

@media (max-width: 640px) {
  .inf-hero {
    min-height: 80vh;
    align-items: flex-start;
  }

  .inf-hero-content {
    padding-top: 70px;
  }

  .inf-section {
    padding: 80px 0;
  }

  .inf-sabia-grid,
  .inf-amnistia-grid,
  .inf-elegir-grid {
    grid-template-columns: 1fr;
  }

  .inf-hero-sub {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .inf-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .inf-btn {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .inf-timeline {
    padding-left: 40px;
  }

  .inf-step-dot {
    left: -40px;
    width: 36px;
    height: 36px;
  }

  .inf-timeline-line {
    left: 17px;
  }
}

/* ===== EQUIPO ===== */
.equipo-full {
  display: flex;
  min-height: 550px;
  background: #eef5fb;
}

.equipo-full-photo {
  position: relative;
  width: 45%;
  flex-shrink: 0;
}

.equipo-full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equipo-full-curve {
  position: absolute;
  top: 0;
  right: -1px;
  width: 80px;
  height: 100%;
}

.equipo-full-info {
  flex: 1;
  padding: 60px 60px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.equipo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.equipo-full-info > *:not(.equipo-bg) {
  position: relative;
  z-index: 1;
}

.equipo-split-label {
  display: inline-block;
  color: #0E4D92;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.equipo-full-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #1a2a3a;
  margin-bottom: 6px;
}

.equipo-title-dark {
  display: block;
  color: #648fad;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.equipo-full-desc {
  color: #4a6070;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}

.equipo-title {
  display: block;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.equipo-credentials {
  list-style: none;
  text-align: left;
}

.equipo-credentials li {
  color: #3d5565;
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.equipo-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #648fad;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ===== GALERIA ===== */
.galeria-section {
  background: #eef5fb;
  position: relative;
  overflow: hidden;
}

.galeria-section .container {
  position: relative;
  z-index: 2;
}

.galeria-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.galeria-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gblob-1 { animation: gblobMove1 14s ease-in-out infinite; transform-origin: 5% 50%; }
.gblob-2 { animation: gblobMove2 16s ease-in-out infinite; transform-origin: 10% 50%; }
.gblob-3 { animation: gblobMove3 15s ease-in-out infinite; transform-origin: 95% 50%; }
.gblob-4 { animation: gblobMove4 13s ease-in-out infinite; transform-origin: 95% 50%; }
.gblob-5 { animation: gblobMove5 12s ease-in-out infinite; transform-origin: 50% 95%; }

.gline-1 { animation: glineMove1 10s ease-in-out infinite; transform-origin: 10% 50%; stroke-opacity: 0.4; }
.gline-2 { animation: glineMove2 12s ease-in-out infinite; transform-origin: 90% 50%; stroke-opacity: 0.4; }

@keyframes gblobMove1 {
  0%, 100% { d: path("M-80,0 C60,80 200,200 160,400 C120,600 -40,500 -80,700 L-80,0Z"); }
  50% { d: path("M-80,0 C80,120 240,250 180,450 C120,650 -20,550 -80,750 L-80,0Z"); }
}
@keyframes gblobMove2 {
  0%, 100% { d: path("M-20,0 C180,120 280,300 220,520 C160,740 20,600 -20,800 L-20,0Z"); }
  50% { d: path("M-20,0 C200,160 300,340 260,560 C200,780 40,640 -20,850 L-20,0Z"); }
}
@keyframes gblobMove3 {
  0%, 100% { d: path("M1200,0 C1350,100 1500,280 1460,500 C1420,720 1280,600 1200,800 L1540,800 L1540,0Z"); }
  50% { d: path("M1200,0 C1330,140 1480,320 1440,540 C1400,760 1260,640 1200,840 L1540,840 L1540,0Z"); }
}
@keyframes gblobMove4 {
  0%, 100% { d: path("M1300,0 C1420,150 1520,350 1500,550 C1480,750 1380,650 1300,850 L1540,850 L1540,0Z"); }
  50% { d: path("M1300,0 C1440,180 1540,380 1520,580 C1500,780 1400,680 1300,880 L1540,880 L1540,0Z"); }
}
@keyframes gblobMove5 {
  0%, 100% { d: path("M600,700 C750,650 950,680 1050,750 C1150,820 1100,900 900,900 L500,900 C400,900 450,750 600,700Z"); }
  50% { d: path("M550,720 C700,660 900,690 1000,760 C1100,830 1060,900 850,900 L450,900 C350,900 400,770 550,720Z"); }
}

@keyframes glineMove1 {
  0%, 100% { d: path("M120,-20 C200,150 320,350 260,550 C200,750 80,650 40,920"); }
  33% { d: path("M130,-20 C230,170 300,380 240,580 C180,780 100,680 60,920"); }
  66% { d: path("M110,-20 C180,130 340,320 280,520 C220,720 60,620 20,920"); }
}
@keyframes glineMove2 {
  0%, 100% { d: path("M1320,-20 C1260,120 1380,350 1340,550 C1300,750 1200,680 1180,920"); }
  33% { d: path("M1330,-20 C1280,140 1400,380 1360,580 C1320,780 1220,700 1200,920"); }
  66% { d: path("M1310,-20 C1240,100 1360,320 1320,520 C1280,720 1180,660 1160,920"); }
}

.galeria-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.galeria-filter-btn {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(100,143,173,0.25);
  color: #3a6b8a;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.galeria-filter-btn:hover,
.galeria-filter-btn.active {
  background: #648fad;
  border-color: #648fad;
  color: #fff;
}

.galeria-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 0;
  color: #5a8aaa;
}

.galeria-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(100,143,173,0.2);
  border-top-color: #648fad;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.galeria-empty {
  text-align: center;
  color: #5a8aaa;
  padding: 60px 0;
  grid-column: 1 / -1;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeria-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.galeria-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

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

.galeria-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: var(--transition);
}

.galeria-item:hover .galeria-item-overlay {
  opacity: 1;
}

.galeria-item-overlay p {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

.galeria-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 2;
}

.galeria-item:hover .galeria-video-badge {
  opacity: 0;
}

/* Lightbox */
.galeria-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.galeria-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-title {
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== CONTACTO PAGE ===== */
.ct-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.8) 0%, rgba(14, 77, 146, 0.6) 100%);
}

.ct-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 60px;
}

.ct-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 12px;
}

.ct-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Floating card */
.ct-card-section {
  background: #f5f7fa;
  padding: 0 0 80px;
}

.ct-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.ct-card-info {
  padding: 48px 40px;
  border-right: 1px solid #eee;
}

.ct-card-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #0f1729;
  margin-bottom: 8px;
}

.ct-card-info > p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.ct-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.ct-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #0E4D92;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ct-item strong {
  display: block;
  font-size: 0.9rem;
  color: #0f1729;
  margin-bottom: 2px;
}

.ct-item p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ct-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.ct-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ct-socials a:nth-child(1) {
  background: #25D366;
  color: #fff;
}

.ct-socials a:nth-child(2) {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.ct-socials a:nth-child(3) {
  background: #1877F2;
  color: #fff;
}

.ct-socials a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Form */
.ct-card-form {
  padding: 48px 40px;
}

.ct-card-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #0f1729;
  margin-bottom: 24px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-form-group {
  margin-bottom: 16px;
}

.ct-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ct-form-group input,
.ct-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #0f1729;
  background: #f8fafb;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder {
  color: #94a3b8;
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
  border-color: #0E4D92;
  box-shadow: 0 0 0 3px rgba(14, 77, 146, 0.1);
  background: #fff;
}

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

.ct-form-btn {
  width: 100%;
  padding: 14px;
  background: #0E4D92;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.ct-form-btn:hover {
  background: #0a3d78;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 77, 146, 0.3);
}

/* Map */
.ct-mapa {
  height: 400px;
  width: 100%;
}

.ct-mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 968px) {
  .ct-card {
    grid-template-columns: 1fr;
  }

  .ct-card-info {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 640px) {
  .ct-hero {
    height: 320px;
  }

  .ct-card-info,
  .ct-card-form {
    padding: 32px 24px;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-mapa {
    height: 300px;
  }
}

/* ===== CONTACTO HOME ===== */
.contacto-home {
  background: #f9f9f9;
}

.contacto-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacto-home-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #1a1a2e;
  margin-bottom: 24px;
}

.contacto-home-details {
  margin-top: 28px;
}

.contacto-home-details h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.contacto-home-details p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contacto-home-persona {
  margin-top: 16px;
}

.contacto-home-details a {
  color: #648fad;
  text-decoration: none;
  transition: var(--transition);
}

.contacto-home-details a:hover {
  color: #4a7591;
}

.contacto-home-mapa-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.contacto-home-mapa-link:hover {
  transform: scale(1.03);
}

.contacto-home-mapa-link img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-light);
  border-top: 1px solid var(--gray-800);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.cta-section-blobs {
  background: #eef5fb;
  overflow: hidden;
}

.cta-section-blobs::before {
  display: none;
}

.cta-section-blobs .galeria-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-section-blobs h2 {
  color: #1a2a3a;
}

.cta-section-blobs p {
  color: #4a6b80;
}

.footer-blobs {
  background: #eef5fb;
  border-top: 1px solid rgba(100,143,173,0.15);
}

.footer-blobs .galeria-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-blobs .container,
.footer-blobs .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-blobs .footer-brand p,
.footer-blobs .footer-links a,
.footer-blobs .footer-contact p {
  color: #4a6b80;
}

.footer-blobs .footer-links h4,
.footer-blobs .footer-contact h4 {
  color: #1a2a3a;
}

.footer-blobs .footer-links a:hover {
  color: #648fad;
}

.footer-blobs .footer-bottom {
  border-top-color: rgba(100,143,173,0.15);
}

.footer-blobs .footer-bottom p {
  color: #6a8a9a;
}

.footer-video {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
}

.footer-has-video .footer-grid,
.footer-has-video .footer-bottom {
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8rem;
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-powered a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-powered a:hover {
  color: #fff;
}

.footer-codefy-logo {
  height: 22px;
  width: auto;
  vertical-align: middle;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-powered a:hover .footer-codefy-logo {
  opacity: 1;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25D366;
}

.float-whatsapp:hover {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.float-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.float-instagram:hover {
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.5);
}

.float-facebook {
  background: #1877F2;
}

.float-facebook:hover {
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.5);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-light);
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transition: var(--transition);
    border-left: 1px solid var(--gray-800);
  }

  .nav-links.open {
    right: 0;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 0;
  }

  .about-hero-left {
    align-items: center;
    text-align: center;
  }

  .about-hero-actions {
    justify-content: center;
  }

  .about-hero-stats {
    justify-content: center;
  }

  .about-stat:nth-child(2),
  .about-stat:nth-child(3) {
    margin-left: 0;
  }

  .about-hero-right {
    height: 400px;
  }

  .collage-img-1 { width: 170px; height: 140px; }
  .collage-img-2 { width: 155px; height: 120px; }
  .collage-img-3 { width: 185px; height: 130px; }
  .collage-img-4 { width: 150px; height: 130px; }
  .collage-img-5 { width: 175px; height: 125px; }

  .about-hero-img {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
  }

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

  .ejes-hero-divider {
    width: 60px;
  }

  .srv-grid,
  .info-cards,
  .proceso-steps,
  .confiable-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contacto-grid,
  .contacto-home-grid {
    grid-template-columns: 1fr;
  }

  .contacto-home-mapa-link img {
    width: 100%;
  }

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

  .footer-video {
    width: 30%;
    opacity: 0.25;
  }

  .inf-proceso-mascot,
  .inf-proceso-mascot-right,
  .inf-proceso-mascot-bottom {
    display: none;
  }

  .inf-elegir-card {
    min-width: 280px;
  }
}

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

  .ejes-grid,
  .srv-grid,
  .info-cards,
  .proceso-steps,
  .confiable-grid,
  .galeria-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-title {
    letter-spacing: 4px;
  }

  .section {
    padding: 60px 0;
  }

  .about-hero-right {
    display: none;
  }

  .about-hero-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .about-hero-img video {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .about-waves {
    height: 80px;
  }

  .ejes-hero-left {
    width: 100%;
    background: url('../assets/img/seccion1pozos.webp') center/cover no-repeat;
  }

  .ejes-hero-left video {
    display: none;
  }

  .ejes-hero {
    flex-direction: column;
  }

  .ejes-hero-divider {
    display: none;
  }

  .ejes-header {
    padding-top: 60px;
    padding-bottom: 32px;
  }

  .ejes-cards-area {
    padding-bottom: 60px;
  }

  .eje-card-img {
    height: 180px;
  }

  .footer-video {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-hero,
  .page-hero-srv {
    padding: 100px 20px 60px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .inf-elegir-card {
    min-width: 240px;
  }

  .contacto-home-grid {
    gap: 32px;
  }

  .btn-whatsapp {
    font-size: 0.9rem;
  }

  .equipo-full {
    flex-direction: column;
  }

  .equipo-full-photo {
    width: 100%;
    height: 320px;
  }

  .equipo-full-curve {
    top: auto;
    bottom: -1px;
    left: 0;
    right: auto;
    width: 100%;
    height: 50px;
    transform: rotate(90deg) scaleX(-1);
    transform-origin: bottom left;
  }

  .equipo-full-info {
    padding: 32px 24px;
  }

  .equipo-full-info h3 {
    font-size: 1.6rem;
  }

  .amnistia-box {
    padding: 32px 20px;
  }

}
