/* ==========================================================================
   CSS FOR NEW SECTIONS (newinformation, newservices, newworks, newmission)
   All classes, IDs, and variables are prefixed with "new" to avoid conflicts.
   Encapsulated, Responsive, and Modern (Vanilla CSS).
   ========================================================================== */

/* Design Tokens & Variables scoped to the new sections */
.newinformation, 
.newservices, 
.newworks, 
.newmission,
.newlightbox-modal,
.newservices-modal-container {
  --newprimary: #a3c34c;
  --newsecondary: #345c5c;
  --newaccent: #ff7b54;
  --newbackground-light: #f8fafc;
  --newbackground-white: #ffffff;
  --newtext-dark: #1e293b;
  --newtext-light: #f8fafc;
  --newtext-muted-dark: #64748b;
  --newtext-muted-light: #94a3b8;
  --newglass-bg: rgba(255, 255, 255, 0.45);
  --newglass-border: rgba(255, 255, 255, 0.35);
  --newglass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --newshadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --newshadow-hover: 0 20px 45px rgba(163, 195, 76, 0.12);
  --newshadow-card-light: 0 10px 30px -10px rgba(52, 92, 92, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  --newradius: 20px;
  --newtransition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --newfont-family: 'Merriweather', 'Oswald', system-ui, -apple-system, sans-serif;
  
  font-family: var(--newfont-family);
  box-sizing: border-box;
}

/* Reset-like selectors scoped to the new sections */
.newinformation *, 
.newservices *, 
.newworks *, 
.newmission *,
.newlightbox-modal *,
.newservices-modal-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Pure CSS & JS Triggered)
   ========================================================================== */
.newreveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.newreveal.newvisible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Delay grid elements for cascading entry */
.newinfo-grid .newinfo-card:nth-child(1) { transition-delay: 0.05s; }
.newinfo-grid .newinfo-card:nth-child(2) { transition-delay: 0.15s; }
.newinfo-grid .newinfo-card:nth-child(3) { transition-delay: 0.25s; }
.newinfo-grid .newinfo-card:nth-child(4) { transition-delay: 0.35s; }
.newinfo-grid .newinfo-card:nth-child(5) { transition-delay: 0.45s; }
.newinfo-grid .newinfo-card:nth-child(6) { transition-delay: 0.55s; }

.newservices-grid .newservices-card:nth-child(1) { transition-delay: 0.05s; }
.newservices-grid .newservices-card:nth-child(2) { transition-delay: 0.15s; }
.newservices-grid .newservices-card:nth-child(3) { transition-delay: 0.25s; }

.newworks-grid .newworks-item:nth-child(1) { transition-delay: 0.05s; }
.newworks-grid .newworks-item:nth-child(2) { transition-delay: 0.10s; }
.newworks-grid .newworks-item:nth-child(3) { transition-delay: 0.15s; }
.newworks-grid .newworks-item:nth-child(4) { transition-delay: 0.20s; }
.newworks-grid .newworks-item:nth-child(5) { transition-delay: 0.25s; }
.newworks-grid .newworks-item:nth-child(6) { transition-delay: 0.30s; }

.newmission-grid .newmission-card:nth-child(1) { transition-delay: 0.1s; }
.newmission-grid .newmission-card:nth-child(2) { transition-delay: 0.25s; }

/* ==========================================================================
   AMBIENT BACKGROUND FLOATING BLOBS (PREMIUM DESIGN LIFT)
   ========================================================================== */
.new-ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  animation: newFloatBlob 20s infinite alternate ease-in-out;
}

.new-blob-primary {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(163, 195, 76, 0.18) 0%, transparent 80%);
  top: -120px;
  right: -80px;
}

.new-blob-secondary {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 92, 92, 0.12) 0%, transparent 80%);
  bottom: -150px;
  left: -120px;
  animation-delay: -5s;
}

.new-blob-accent {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 123, 84, 0.08) 0%, transparent 80%);
  top: 35%;
  left: 20%;
  animation-delay: -10s;
}

@keyframes newFloatBlob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(40px, -60px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

/* ==========================================================================
   SIGN LANGUAGE GIF PLACEHOLDERS (ACCESSIBILITY LAYOUTS)
   ========================================================================== */
.newsection-gif-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  min-height: 80px;
}

/* Glowing halo behind header GIFs */
.newsection-gif-container::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(163, 195, 76, 0.28) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.newsection-gif {
  height: 180px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(52, 92, 92, 0.15));
  transition: var(--newtransition-smooth);
}

.newsection-gif:hover {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 18px 30px rgba(163, 195, 76, 0.3));
}

.newcard-gif-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  min-height: 60px;
}

.newcard-gif-container::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(163, 195, 76, 0.22) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.newcard-gif {
  height: 150px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(52, 92, 92, 0.1));
  transition: var(--newtransition-smooth);
}

.newcard-gif:hover {
  transform: scale(1.06) translateY(-3px);
  filter: drop-shadow(0 14px 24px rgba(163, 195, 76, 0.22));
}

/* Services card-specific LSC GIF space (above Saber Más button) */
.newservices-card-gif-container {
  width: 100%;
  height: 200px;
  background: #1e2828; /* Dark elegant container background */
  border-radius: var(--newradius);
  overflow: hidden;
  margin-bottom: 25px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Glowing border relief */
  border: 2px solid transparent;
  background-image: linear-gradient(#1e2828, #1e2828), 
                    linear-gradient(135deg, rgba(163, 195, 76, 0.35), rgba(52, 92, 92, 0.35));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  
  /* Prominent elevated shadows */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 
              0 0 20px rgba(163, 195, 76, 0.06),
              inset 0 2px 8px rgba(0,0,0,0.25);
  transition: var(--newtransition-smooth);
}

/* Diagonal reflection shine effect */
.newservices-card-gif-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.newservices-card:hover .newservices-card-gif-container {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 35px rgba(163, 195, 76, 0.15), 
              0 0 25px rgba(163, 195, 76, 0.15),
              inset 0 2px 8px rgba(0,0,0,0.2);
  background-image: linear-gradient(#1e2828, #1e2828), 
                    linear-gradient(135deg, var(--newprimary), var(--newaccent));
}

.newservices-card-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: var(--newtransition-smooth);
}

.newservices-card:hover .newservices-card-gif {
  transform: scale(1.03);
}

/* LSC Indicator Tag overlay inside GIF container */
.newservices-gif-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--newprimary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: var(--newtransition-smooth);
}

.newservices-gif-tag svg {
  width: 13px;
  height: 13px;
}

.newservices-card:hover .newservices-gif-tag {
  background: var(--newprimary);
  color: #0f172a;
  border-color: var(--newprimary);
  box-shadow: 0 4px 12px rgba(163, 195, 76, 0.4);
}

/* ==========================================================================
   SECCIÓN 1: newinformation
   ========================================================================== */
.newinformation {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.newinfo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.newinfo-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--newsecondary);
  letter-spacing: -0.5px;
}

.newinfo-title span {
  color: var(--newprimary);
}

.newinfo-subtitle {
  font-size: 1.1rem;
  color: var(--newtext-muted-dark);
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.newinfo-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Grid Layout: Desktop 3 cols, Tablet 2 cols, Mobile 1 col */
.newinfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card Styling: Glassmorphism, reliefs, soft shadow */
.newinfo-card {
  background: var(--newglass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--newglass-border);
  border-radius: var(--newradius);
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--newglass-shadow), 
              inset 0 1px 2px rgba(255, 255, 255, 0.7);
  transition: var(--newtransition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glow line highlight on top of card */
.newinfo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects: elevation, dynamic shadow, glow border */
.newinfo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--newshadow-hover), 
              inset 0 1px 2px rgba(255, 255, 255, 0.9);
  border-color: rgba(163, 195, 76, 0.35);
  background: rgba(255, 255, 255, 0.65);
}

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

/* Icon style & animations */
.newinfo-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(163, 195, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--newtransition-smooth);
  border: 1px solid rgba(163, 195, 76, 0.2);
}

.newinfo-icon {
  width: 32px;
  height: 32px;
  color: var(--newsecondary);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newinfo-card:hover .newinfo-icon-wrapper {
  background: var(--newprimary);
  border-color: var(--newprimary);
  box-shadow: 0 8px 20px rgba(163, 195, 76, 0.3);
}

.newinfo-card:hover .newinfo-icon {
  color: #fff;
  transform: scale(1.18) rotate(8deg);
}

.newinfo-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--newtext-muted-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.newinfo-card-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.newinfo-card-desc {
  font-size: 0.95rem;
  color: var(--newtext-muted-dark);
  line-height: 1.55;
}

/* ==========================================================================
   SECCIÓN 2: newservices
   ========================================================================== */
.newservices {
  background: var(--newbackground-white);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.newservices-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.newservices-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--newsecondary);
  letter-spacing: -0.5px;
}

.newservices-title span {
  color: var(--newprimary);
}

.newservices-subtitle {
  font-size: 1.1rem;
  color: var(--newtext-muted-dark);
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.newservices-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  margin: 0 auto;
  border-radius: 2px;
}

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

/* Card: Refined layout with GIF centered, and organic icon box */
.newservices-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: var(--newradius);
  overflow: hidden;
  box-shadow: var(--newshadow-card-light);
  transition: var(--newtransition-smooth);
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  position: relative;
}

/* Premium gradient border overlay (inset relief) */
.newservices-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--newradius);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(52, 92, 92, 0.15), transparent, rgba(163, 195, 76, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: var(--newtransition-smooth);
}

/* Card Hover actions: Elevate & Glow border */
.newservices-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--newshadow-hover), 0 10px 20px rgba(52, 92, 92, 0.05);
  border-color: rgba(163, 195, 76, 0.3);
  background: #ffffff;
}

.newservices-card:hover::before {
  background: linear-gradient(135deg, var(--newprimary), transparent, var(--newsecondary));
}

/* Organic fluid icon box, centered */
.newservices-icon-box {
  width: 70px;
  height: 70px;
  background: #000000;
  border-radius: 43% 57% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: var(--newtransition-smooth);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.newservices-icon {
  width: 32px;
  height: 32px;
  color: var(--newprimary);
  transition: var(--newtransition-smooth);
}

.newservices-card:hover .newservices-icon-box {
  transform: scale(1.1) rotate(5deg);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

/* Card body details */
.newservices-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--newsecondary);
  text-align: center;
  margin-bottom: 12px;
}

.newservices-card-title span {
  color: var(--newprimary);
}

.newservices-card-desc {
  font-size: 0.95rem;
  color: var(--newtext-muted-dark);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Button style - Centered Pill Button */
.newservices-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--newsecondary);
  border: none;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--newtransition-smooth);
  margin: 0 auto;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(52, 92, 92, 0.15);
}

.newservices-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.newservices-button:hover {
  background: var(--newprimary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(163, 195, 76, 0.3);
  transform: translateY(-2px);
}

.newservices-button:hover svg {
  transform: translateX(5px);
}

/* Hidden services system styling */
.newservices-card.newservices-hidden-card {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}

.newservices-card.newservices-hidden-card.newshow {
  display: flex;
  animation: newSlideFadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes newSlideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Load More Button Styles */
.newservices-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.newservices-load-more-btn {
  padding: 14px 35px;
  background: var(--newsecondary);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(52, 92, 92, 0.15);
  transition: var(--newtransition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.newservices-load-more-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s ease;
}

.newservices-load-more-btn:hover {
  background: var(--newprimary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(163, 195, 76, 0.25);
}

.newservices-load-more-btn.newexpanded svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   SERVICES DETAIL MODAL
   ========================================================================== */
.newservices-modal-container {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.newservices-modal-container.newactive {
  opacity: 1;
  pointer-events: auto;
}

.newservices-modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 
              inset 0 1px 2px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow-y: auto;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 45px;
}

.newservices-modal-container.newactive .newservices-modal-box {
  transform: scale(1);
}

.newservices-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--newsecondary);
  transition: var(--newtransition-smooth);
  z-index: 10;
  line-height: 1;
}

.newservices-modal-close-btn:hover {
  background: var(--newprimary);
  color: #ffffff;
  transform: rotate(90deg);
}

.newservices-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
}

.newservices-modal-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(163, 195, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--newprimary);
}

.newservices-modal-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.newservices-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--newsecondary);
  line-height: 1.25;
}

/* Dedicated video iframe container in the modal */
.newservices-modal-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--newradius);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  border: 1.5px solid rgba(163, 195, 76, 0.25);
  position: relative;
}

.newservices-modal-video-container iframe,
.newservices-modal-video-container video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal Grid */
.newservices-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  margin-top: 20px;
}

/* Detailed long description styling */
.newservices-modal-long-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--newtext-muted-dark);
  margin-bottom: 22px;
  text-align: justify;
}

.newservices-modal-details-list {
  background: #f8fafc;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.newservices-modal-detail-item {
  margin-bottom: 18px;
}

.newservices-modal-detail-item:last-child {
  margin-bottom: 0;
}

.newservices-modal-detail-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--newtext-muted-dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.newservices-modal-detail-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--newsecondary);
  line-height: 1.45;
}

.newservices-modal-main {
  display: flex;
  flex-direction: column;
}

.newservices-modal-intro {
  font-size: 1.05rem;
  color: var(--newtext-dark);
  line-height: 1.6;
  margin-bottom: 22px;
  font-weight: 500;
}

.newservices-modal-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.newservices-modal-list {
  list-style: none;
  margin-bottom: 30px;
}

.newservices-modal-list-item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--newtext-muted-dark);
  line-height: 1.5;
}

.newservices-modal-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a3c34c'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.newservices-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--newprimary);
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--newtransition-smooth);
  align-self: flex-start;
  box-shadow: 0 6px 18px rgba(163, 195, 76, 0.25);
  border: none;
  cursor: pointer;
}

.newservices-modal-cta:hover {
  background: var(--newsecondary);
  box-shadow: 0 6px 18px rgba(52, 92, 92, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN 3: newworks (Gallery)
   ========================================================================== */
.newworks {
  background: var(--newbackground-light);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.newworks-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newworks-header {
  text-align: center;
  margin-bottom: 50px;
}

.newworks-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--newsecondary);
  letter-spacing: -0.5px;
}

.newworks-title span {
  color: var(--newprimary);
}

.newworks-subtitle {
  font-size: 1.1rem;
  color: var(--newtext-muted-dark);
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.newworks-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Filter controls style */
.newworks-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.newworks-filter-btn {
  padding: 11px 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  color: var(--newtext-muted-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--newtransition-smooth);
}

.newworks-filter-btn:hover {
  background: rgba(163, 195, 76, 0.05);
  color: var(--newsecondary);
  border-color: rgba(163, 195, 76, 0.3);
}

.newworks-filter-btn.newactive {
  background: var(--newprimary);
  border-color: var(--newprimary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(163, 195, 76, 0.3);
}

/* Grid Layout: perfectly uniform */
.newworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.newworks-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--newradius);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  visibility: visible;
  height: 410px;
}

.newworks-item.newhidden {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  position: absolute;
  pointer-events: none;
  visibility: hidden;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.newworks-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--newradius);
  overflow: hidden;
  box-shadow: var(--newshadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--newtransition-smooth);
}

.newworks-media-card {
  cursor: pointer;
}

.newworks-media-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  flex-grow: 1;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newworks-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.newworks-placeholder-svg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.newworks-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.newworks-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 10%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.newworks-category-badge {
  background: var(--newprimary);
  color: #0f172a;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(163, 195, 76, 0.3);
}

.newworks-category-badge.newupcoming-badge {
  background: var(--newaccent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 123, 84, 0.3);
}

.newworks-item-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.newworks-item-desc {
  color: var(--newtext-muted-light);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.newworks-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--newsecondary);
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--newtransition-smooth);
  align-self: flex-start;
}

.newworks-action-btn svg {
  width: 20px;
  height: 20px;
}

.newworks-action-btn:hover {
  background: var(--newprimary);
  color: #0f172a;
  transform: scale(1.12);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.newworks-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(163, 195, 76, 0.25);
}

.newworks-card:hover .newworks-img, 
.newworks-card:hover .newworks-placeholder-svg {
  transform: scale(1.08);
}

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

.newworks-project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.newworks-project-card .newworks-media-wrapper {
  height: 200px;
  flex-grow: 0;
  flex-shrink: 0;
}

.newworks-project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--newsecondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.newworks-project-badge.newupcoming-badge {
  background: var(--newaccent);
}

.newworks-project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background: #fff;
}

.newworks-project-title {
  font-size: 1.25rem;
  color: var(--newsecondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.newworks-project-desc {
  font-size: 0.88rem;
  color: var(--newtext-muted-dark);
  line-height: 1.55;
  margin-bottom: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.newworks-project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--newprimary);
  text-decoration: none;
  transition: var(--newtransition-smooth);
  align-self: flex-start;
}

.newworks-project-link.newupcoming-link {
  color: var(--newaccent);
  cursor: pointer;
}

.newworks-project-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.newworks-project-link:hover {
  color: var(--newsecondary);
}

.newworks-project-link.newupcoming-link:hover {
  color: var(--newaccent);
  opacity: 0.8;
}

.newworks-project-link:hover svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   SECCIÓN 4: newmission (MISSION & OBJECTIVES STRATEGIC SECTION)
   ========================================================================== */
.newmission {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.newmission-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.newmission-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--newsecondary);
  letter-spacing: -0.5px;
}

.newmission-title span {
  color: var(--newprimary);
}

.newmission-subtitle {
  font-size: 1.1rem;
  color: var(--newtext-muted-dark);
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.newmission-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Grid: 2 equal columns on desktop, 1 on mobile */
.newmission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: stretch;
}

/* Mission card: Quote layout, premium white outline border, green quote accent */
.newmission-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--newradius);
  padding: 45px;
  box-shadow: 0 15px 35px rgba(52, 92, 92, 0.06), 
              inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transition: var(--newtransition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.newmission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--newshadow-hover), 0 10px 20px rgba(52, 92, 92, 0.05);
  border-color: rgba(163, 195, 76, 0.3);
  background: #ffffff;
}

/* Quote Layout decorations inside Mission card */
.newmission-quote-icon {
  position: absolute;
  top: 35px;
  right: 45px;
  width: 70px;
  height: 70px;
  color: rgba(163, 195, 76, 0.15);
  pointer-events: none;
}

.newmission-icon-box {
  width: 75px;
  height: 75px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--newprimary) 0%, var(--newsecondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(52, 92, 92, 0.15);
}

.newmission-icon-box svg {
  width: 38px;
  height: 38px;
}

.newmission-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 20px;
}

.newmission-desc {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--newtext-dark);
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  font-family: 'Merriweather', Georgia, serif;
}

.newmission-footer-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--newprimary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}

/* Strategic objectives list & dynamic collapse */
.newmission-objectives-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.newmission-objective-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Hidden objectives collapse animations */
.newmission-objective-item.newmission-hidden-objective {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.newmission-objective-item.newmission-hidden-objective.newshow {
  display: flex;
  animation: newSlideFadeIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.newmission-obj-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(163, 195, 76, 0.1);
  border: 1px solid rgba(163, 195, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--newprimary);
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--newtransition-smooth);
}

.newmission-objective-item:hover .newmission-obj-bullet {
  background: var(--newprimary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(163, 195, 76, 0.3);
}

.newmission-obj-bullet svg {
  width: 18px;
  height: 18px;
}

.newmission-obj-content {
  flex-grow: 1;
}

.newmission-obj-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 5px;
}

.newmission-obj-desc {
  font-size: 0.95rem;
  color: var(--newtext-muted-dark);
  line-height: 1.5;
}

/* Objectives load more button styling */
.newmission-load-more-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 25px;
}

.newmission-load-more-btn {
  padding: 10px 22px;
  background: #f1f5f9;
  color: var(--newsecondary);
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--newtransition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newmission-load-more-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s ease;
}

.newmission-load-more-btn:hover {
  background: var(--newprimary);
  color: #ffffff;
  border-color: var(--newprimary);
  box-shadow: 0 4px 12px rgba(163, 195, 76, 0.2);
}

.newmission-load-more-btn.newexpanded svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.newlightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.newlightbox-modal.newactive {
  opacity: 1;
  pointer-events: auto;
}

.newlightbox-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--newtransition-smooth);
  z-index: 100000;
  line-height: 1;
}

.newlightbox-close-btn:hover {
  background: var(--newprimary);
  border-color: var(--newprimary);
  color: #0f172a;
  transform: rotate(90deg);
}

.newlightbox-content {
  max-width: 960px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.newlightbox-modal.newactive .newlightbox-content {
  transform: scale(1);
}

.newlightbox-media-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
  background: #000;
}

.newlightbox-media-container img, 
.newlightbox-media-container video, 
.newlightbox-media-container iframe {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: none;
}

.newlightbox-caption {
  margin-top: 20px;
  text-align: center;
  color: #fff;
}

#newlightbox-title {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Grid Adaptability & Breakpoints)
   ========================================================================== */
@media (max-width: 1100px) {
  .newworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .newinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newservices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .newservices-modal-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .newmission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .newinfo-title, 
  .newservices-title, 
  .newworks-title,
  .newmission-title {
    font-size: 2.1rem;
  }

  .newworks-grid {
    gap: 20px;
  }

  .newworks-filters {
    gap: 10px;
    margin-bottom: 35px;
  }

  .newworks-filter-btn {
    padding: 9px 20px;
    font-size: 0.88rem;
  }

  .newservices-modal-box {
    padding: 30px 20px;
  }

  .newservices-modal-title {
    font-size: 1.45rem;
  }

  .newmission-card {
    padding: 30px 20px;
  }
}

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

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

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

  .newworks-item {
    height: 380px;
  }

  .newquienessomos,
  .newinformation, 
  .newservices, 
  .newworks,
  .newmission {
    padding: 70px 15px;
  }
}

/* ==========================================================================
   SECCIÓN 5: newquienessomos
   ========================================================================== */
.newquienessomos {
  background: var(--newbackground-white);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.newquienes-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.newquienes-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--newsecondary);
  letter-spacing: -0.5px;
}

.newquienes-title span {
  color: var(--newprimary);
}

.newquienes-subtitle {
  font-size: 1.1rem;
  color: var(--newtext-muted-dark);
  max-width: 600px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

.newquienes-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--newprimary), var(--newsecondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* Grid layout for Quienes Somos */
.newquienes-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Info Panel styling */
.newquienes-info-panel {
  display: flex;
  flex-direction: column;
}

.newquienes-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 20px;
}

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

.newquienes-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--newtext-muted-dark);
  margin-bottom: 20px;
  text-align: justify;
}

.newquienes-desc strong {
  color: var(--newsecondary);
}

/* Stats styling */
.newquienes-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid #f1f5f9;
  padding-top: 30px;
}

.newquienes-stat-item {
  text-align: center;
}

.newquienes-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--newprimary);
  font-family: 'Oswald', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}

.newquienes-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--newsecondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Media Panel styling */
.newquienes-media-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.newquienes-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--newradius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(52, 92, 92, 0.12);
  border: 1.5px solid rgba(163, 195, 76, 0.2);
  position: relative;
}

.newquienes-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.newquienes-mini-card {
  background: var(--newbackground-light);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: var(--newtransition-smooth);
}

.newquienes-mini-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(163, 195, 76, 0.25);
  box-shadow: var(--newshadow-soft);
}

.newquienes-mini-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.newquienes-mini-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--newsecondary);
  margin-bottom: 8px;
}

.newquienes-mini-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--newtext-muted-dark);
}

@media (max-width: 991px) {
  .newquienes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
