/* ============================================
   WITLINK - Custom Styles
   Inspired by Indra Group & LPS Grupo
   ============================================ */

:root {
  --primary: #0a2240;
  --primary-light: #0e3060;
  --accent: #00a8e8;
  --accent-dark: #0082b8;
  --accent-light: #e6f7ff;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7a;
  --bg-light: #f5f8fc;
  --bg-dark: #0a2240;
  --white: #ffffff;
  --border: #e0e8f0;
  --shadow: 0 4px 24px rgba(10,34,64,0.10);
  --shadow-hover: 0 8px 40px rgba(10,34,64,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,232,0.35);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-primary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--primary);
  box-shadow: 0 2px 24px rgba(10,34,64,0.25);
  transition: var(--transition);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.nav-inner > *:not(.nav-toggle):not(.nav-logo) {
  flex-shrink: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  /* Fallback vh → dvh → variable JS --vh (fix iOS Safari) */
  min-height: calc(100vh - 72px - 44px);
  min-height: calc(100dvh - 72px - 44px);
  min-height: calc(var(--vh, 1vh) * 100 - 72px - 44px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
  padding: 80px 0;
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/bg_1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,34,64,0.95) 0%, rgba(10,34,64,0.7) 60%, rgba(0,168,232,0.15) 100%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -100px;
}
.hero-shape-2 {
  width: 300px; height: 300px;
  background: var(--white);
  bottom: -100px; left: 10%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-pretitle::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent); }
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.1rem; color: var(--accent); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   STRIP / MARQUEE
   ======================================== */
.strip {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.strip-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.strip-item i { font-size: 1rem; opacity: 0.8; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-icon i {
  font-size: 1.4rem;
  color: var(--accent);
}
.service-card:hover .service-icon {
  background: var(--accent);
}
.service-card:hover .service-icon i { color: var(--white); }
.service-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   ABOUT / WHY WITLINK
   ======================================== */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 480px;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: 0 8px 32px rgba(0,168,232,0.35);
  text-align: center;
}
.about-badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.78rem;
  opacity: 0.9;
  line-height: 1.3;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}
.about-feature:hover {
  background: var(--accent-light);
  transform: translateX(4px);
}
.about-feature i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   NUMBERS / STATS
   ======================================== */
.stats {
  padding: 80px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(0,168,232,0.07);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
}
.btn-white {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,34,64,0.3);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 100px 0;
  background: var(--bg-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon i {
  font-size: 1.15rem;
  color: var(--accent);
}
.contact-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.contact-item a:hover { color: var(--accent); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,168,232,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-contact-list i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--accent); }

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

  /* Ocultar imagen del logo en móvil, dejar solo el texto */
  .nav-logo img { display: none; }

  /* Ocultar el botón CTA del menú en móvil (se mueve al menú desplegable) */
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 16px 20px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 13px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  /* Mostrar CTA dentro del menú desplegable en móvil */
  .nav-cta-mobile {
    display: block !important;
    margin-top: 8px;
  }
  .nav-cta-mobile a {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px !important;
    background: var(--accent);
    color: var(--white) !important;
    border-radius: 8px;
    padding: 13px 16px !important;
    font-weight: 700;
    line-height: 1 !important;
  }
  .nav-cta-mobile a i {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1;
    position: static !important;
    vertical-align: middle;
  }
  .nav-cta-mobile a:hover {
    background: var(--accent-dark) !important;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-main { height: 340px; }
  .about-badge { left: 16px; bottom: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner .btn { width: 100%; justify-content: center; }
}

/* ========================================
   NOSOTROS — REDISEÑO PROFESIONAL
   ======================================== */

/* ---- INTRO: Quiénes Somos ---- */
.nos-intro {
  padding: 100px 0;
  background: var(--white);
}
.nos-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.nos-header .section-title { margin-bottom: 16px; }
.nos-accent { color: var(--accent); }

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

/* Foto principal + secundaria */
.nos-photo-side {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.nos-photo-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
}
.nos-photo-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow);
}
.nos-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(0,168,232,0.4);
}
.nos-badge i { font-size: 1.6rem; opacity: 0.9; }
.nos-badge strong { display: block; font-size: 1.1rem; font-weight: 800; line-height: 1; }
.nos-badge span { font-size: 0.78rem; opacity: 0.85; }

.nos-photo-secondary {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  align-self: end;
}
.nos-photo-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow);
}

/* Features del lado derecho */
.nos-text-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.nos-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.nos-feature:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateX(6px);
}
.nos-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nos-feature-icon i { color: var(--accent); font-size: 1.2rem; }
.nos-feature:hover .nos-feature-icon { background: var(--accent); }
.nos-feature:hover .nos-feature-icon i { color: #fff; }
.nos-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 5px;
}
.nos-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---- MVV ---- */
.nos-mvv {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.nos-mvv::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,168,232,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.nos-mvv-header {
  text-align: center;
  margin-bottom: 56px;
}
.nos-mvv-header .section-title { color: #fff; margin-bottom: 0; }
.nos-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nos-mvv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.nos-mvv-card:hover {
  background: rgba(0,168,232,0.08);
  border-color: rgba(0,168,232,0.35);
  transform: translateY(-6px);
}
.nos-mvv-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}
.nos-mvv-card--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-6px);
}
.nos-mvv-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.nos-mvv-card--accent .nos-mvv-num { color: rgba(255,255,255,0.2); }
.nos-mvv-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.nos-mvv-icon i { color: #fff; font-size: 1.3rem; }
.nos-mvv-card--accent .nos-mvv-icon { background: rgba(255,255,255,0.25); }
.nos-mvv-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.nos-mvv-card > p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0;
}
.nos-mvv-list {
  list-style: none;
  padding: 0; margin: 0;
}
.nos-mvv-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.93rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.nos-mvv-list li:last-child { border-bottom: none; }
.nos-mvv-list li i { color: rgba(255,255,255,0.5); font-size: 0.6rem; }

/* ---- EQUIPO — 2 fotos ---- */
.nos-team {
  padding: 100px 0;
  background: var(--bg-light);
}
.nos-team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.nos-team-header .section-title { margin-bottom: 14px; }
.nos-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.nos-team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 380px;
}
.nos-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.nos-team-photo:hover img { transform: scale(1.05); }
.nos-team-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,34,64,0.9) 0%, transparent 100%);
  padding: 48px 28px 28px;
  transition: var(--transition);
}
.nos-team-overlay span {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.nos-team-overlay p {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}

/* ---- VIDEO ---- */
.nos-video {
  padding: 100px 0;
  background: var(--white);
}
.nos-video-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}
.nos-video-header .section-title { margin-bottom: 14px; }
.nos-video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(10,34,64,0.18);
  background: #000;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  margin: 0 auto;
}
.nos-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nos-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,34,64,0.55) 0%, rgba(0,168,232,0.18) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.nos-video-overlay:hover { background: rgba(10,34,64,0.35); }
.nos-play-btn {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 36px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}
.nos-play-btn i { color: var(--primary); font-size: 1.7rem; margin-left: 5px; }
.nos-play-btn:hover { transform: scale(1.12); background: var(--accent); }
.nos-play-btn:hover i { color: #fff; }
.nos-play-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .nos-two-col { grid-template-columns: 1fr; gap: 48px; }
  .nos-photo-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .nos-photo-main { grid-column: 1/2; grid-row: 1/2; }
  .nos-photo-main img { height: 300px; }
  .nos-photo-secondary { grid-column: 2/3; grid-row: 1/2; align-self: start; }
  .nos-photo-secondary img { height: 300px; }
  .nos-badge { right: 0; }
  .nos-mvv-grid { grid-template-columns: 1fr; gap: 18px; }
  .nos-team-grid { grid-template-columns: 1fr; }
  .nos-team-photo { height: 280px; }
  .nos-team-overlay { padding-top: 24px; transform: none; }
}
@media (max-width: 767px) {
  .nos-intro, .nos-mvv, .nos-team, .nos-video { padding: 64px 0; }
  .nos-photo-side { grid-template-columns: 1fr; }
  .nos-photo-main { grid-column: 1/2; }
  .nos-photo-main img { height: 260px; }
  .nos-photo-secondary { display: none; }
  .nos-badge { right: 12px; bottom: 12px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0.0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
