/* ==============================================================
   NV MARKETING DIGITAL — Todas las Secciones de Contenido
   Archivo: css/sections.css
   
   Incluye: Nosotros · Dolores · Servicios · Proceso
            Dream Team · Partners · Carrusel · Portafolio
            Testimonios · FAQ · CTA Final · Footer · WhatsApp FAB
============================================================== */

  /* ── NOSOTROS SECTION ── */
  .nosotros-section {
    background: var(--bg);
    padding: 7rem 3.5rem;
    position: relative;
    overflow: hidden;
  }

  .nosotros-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90,37,207,0.14) 0%, transparent 65%);
    left: -100px; top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .nos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }


  .nos-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(207,42,177,0.35);
    background: rgba(207,42,177,0.07);
    color: #e08ed5;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.8rem;
  }

  .nos-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--fucsia);
    border-radius: 50%;
  }

  .nos-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
  }

  .nos-title .grad {
    background: linear-gradient(100deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .nos-bio {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(210,195,255,0.6);
    margin-bottom: 1.4rem;
  }

  .nos-bio strong {
    color: var(--white);
    font-weight: 500;
  }

  /* Values list */
  .nos-values {
    list-style: none;
    padding: 0; margin: 0 0 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nos-values li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: rgba(210,195,255,0.7);
  }

  .nos-values li::before {
    content: '';
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .nos-cta-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  /* RIGHT COL */
  .nos-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Stats grid 2x2 */
  .nos-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 6px;
  }

  .nos-stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    transition: border-color 0.2s, background 0.2s;
  }

  .nos-stat-card:hover {
    border-color: rgba(207,42,177,0.25);
    background: rgba(207,42,177,0.05);
  }

  .nos-stat-card:first-child {
    border-color: rgba(207,42,177,0.2);
    background: rgba(207,42,177,0.07);
  }

  .nos-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
  }

  .nos-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    color: rgba(210,195,255,0.55);
    line-height: 1.4;
  }

  /* Historia / quote block */
  .nos-quote {
    background: rgba(90,37,207,0.1);
    border: 1px solid rgba(90,37,207,0.22);
    border-radius: 18px;
    padding: 1.6rem 1.5rem;
    position: relative;
  }

  .nos-quote-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    line-height: 0.5;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
  }

  .nos-quote p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(210,195,255,0.75);
    font-style: italic;
    margin: 0 0 1rem;
  }

  .nos-quote-author {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nos-quote-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
  }

  .nos-quote-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
  }

  .nos-quote-role {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: rgba(210,195,255,0.45);
  }

  /* Certifications */
  .nos-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nos-cert {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.03);
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(210,195,255,0.6);
    transition: border-color 0.2s, color 0.2s;
  }

  .nos-cert:hover {
    border-color: rgba(207,42,177,0.3);
    color: #e08ed5;
  }

  .nos-cert-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* Divider between sections */
  .section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
  }



  /* ── FLOATING CARD RESPONSIVE ── */
  @media (max-width: 1024px) {
    .drag-handle { cursor: default; }
  }

  /* ── WHATSAPP FAB ── */
  @media (max-width: 768px) {
    .wa-btn { width: 50px; height: 50px; bottom: 1.2rem; right: 1.2rem; }
    .wa-btn svg { width: 26px; height: 26px; }
    .wa-tooltip { display: none; }
  }

  /* ── DIAMOND DECO — hide on small screens ── */
  @media (max-width: 768px) {
    .diamond, .diamond-sm, .ring-1, .ring-2, .ring-3 { display: none; }
    .dot-grid { display: none; }
  }



  /* ═══════════════════════════════════
     DOLORES DEL CLIENTE
  ═══════════════════════════════════ */
  .dolores-section {
    background: var(--bg-2);
    padding: 7rem 3.5rem;
    position: relative;
    overflow: hidden;
  }
  .dolores-section::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,19,102,0.10) 0%, transparent 65%);
    right: -60px; bottom: -60px;
    pointer-events: none;
  }
  .dolores-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative; z-index: 2;
  }
  .dolores-left .section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(240,19,102,0.35);
    background: rgba(240,19,102,0.07);
    color: #f08aaa;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 100px;
    margin-bottom: 1.8rem;
  }
  .dolores-left .section-eyebrow-dot {
    width: 6px; height: 6px;
    background: var(--acento); border-radius: 50%;
  }
  .dolores-title {
    font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08; letter-spacing: -0.03em;
    color: var(--white); margin-bottom: 1.2rem;
  }
  .dolores-title .acento { color: var(--acento); }
  .dolores-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; color: var(--muted); line-height: 1.7;
    margin-bottom: 2rem;
  }
  .dolores-cta {
    font-family: 'Poppins', sans-serif; font-size: 0.9rem;
    font-weight: 500; color: var(--acento);
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none; border: none; background: none;
    cursor: pointer; transition: gap 0.2s;
  }
  .dolores-cta:hover { gap: 10px; }
  .dolores-right { display: flex; flex-direction: column; gap: 12px; }
  .dolor-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 1.1rem 1.3rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    cursor: default;
  }
  .dolor-card:hover {
    border-color: rgba(240,19,102,0.3);
    background: rgba(240,19,102,0.05);
    transform: translateX(4px);
  }
  .dolor-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(240,19,102,0.12);
    border: 1px solid rgba(240,19,102,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
  }
  .dolor-text h4 {
    font-family: 'Poppins', sans-serif; font-size: 0.9rem;
    font-weight: 500; color: var(--white); margin: 0 0 3px;
  }
  .dolor-text p {
    font-family: 'Poppins', sans-serif; font-size: 0.82rem;
    color: var(--muted); margin: 0; line-height: 1.5;
  }
  html.light .dolores-section { background: var(--bg-2); }
  html.light .dolor-card { background: rgba(240,19,102,0.04); border-color: rgba(240,19,102,0.12); }
  html.light .dolor-card:hover { background: rgba(240,19,102,0.08); border-color: rgba(240,19,102,0.25); }

  @media (max-width: 1024px) {
    .dolores-section { padding: 5rem 2rem; }
    .dolores-inner { grid-template-columns: 1fr; gap: 3rem; }
  }
  @media (max-width: 768px) {
    .dolores-section { padding: 3.5rem 1.25rem; }
    .dolores-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  }


  /* ═══════════════════════════════════
     SERVICIOS
  ═══════════════════════════════════ */
  .servicios-section {
    background: var(--bg);
    padding: 7rem 3.5rem;
    position: relative; overflow: hidden;
  }
  .servicios-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,37,207,0.12) 0%, transparent 65%);
    left: 50%; top: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
  }
  .servicios-header {
    text-align: center; margin-bottom: 4rem;
    position: relative; z-index: 2;
  }
  .section-eyebrow-center {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(207,42,177,0.35);
    background: rgba(207,42,177,0.07);
    color: #e08ed5;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.4rem 1rem; border-radius: 100px;
    margin-bottom: 1.4rem;
  }
  .section-eyebrow-center-dot {
    width: 6px; height: 6px;
    background: var(--fucsia); border-radius: 50%;
  }
  .section-title-center {
    font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.05; letter-spacing: -0.03em;
    color: var(--white); margin-bottom: 1rem;
  }
  .section-title-center .grad {
    background: linear-gradient(100deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .section-sub-center {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; color: var(--muted); max-width: 500px;
    margin: 0 auto; line-height: 1.7;
  }
  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .servicio-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px; padding: 1.8rem 1.6rem;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative; overflow: hidden;
  }
  .servicio-card::before {
    content: '';
    position: absolute;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(207,42,177,0.15) 0%, transparent 70%);
    top: -30px; right: -30px;
    transition: opacity 0.3s;
    opacity: 0;
  }
  .servicio-card:hover {
    border-color: rgba(207,42,177,0.28);
    background: rgba(207,42,177,0.05);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
  }
  .servicio-card:hover::before { opacity: 1; }
  .servicio-card.featured {
    border-color: rgba(207,42,177,0.3);
    background: rgba(207,42,177,0.07);
    grid-column: span 1;
  }
  .servicio-icon {
    width: 46px; height: 46px; border-radius: 13px;
    background: linear-gradient(135deg, rgba(207,42,177,0.2), rgba(90,37,207,0.2));
    border: 1px solid rgba(207,42,177,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1.2rem;
  }
  .servicio-name {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 1.05rem; color: var(--white);
    margin-bottom: 0.6rem; letter-spacing: -0.01em;
  }
  .servicio-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem; color: var(--muted); line-height: 1.65;
    margin-bottom: 1.2rem;
  }
  .servicio-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .servicio-tag {
    font-size: 0.68rem; font-weight: 500;
    padding: 3px 9px; border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    color: var(--muted);
  }
  html.light .servicio-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.1); }
  html.light .servicio-card:hover { background: rgba(90,37,207,0.08); border-color: rgba(90,37,207,0.22); }
  html.light .servicio-card.featured { background: rgba(207,42,177,0.07); }
  @media (max-width: 1024px) {
    .servicios-section { padding: 5rem 2rem; }
    .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .servicios-section { padding: 3.5rem 1.25rem; }
    .servicios-grid { grid-template-columns: 1fr; }
  }


  /* ═══════════════════════════════════
     PROCESO
  ═══════════════════════════════════ */
  .proceso-section {
    background: var(--bg-2);
    padding: 7rem 3.5rem;
    position: relative; overflow: hidden;
  }
  .proceso-inner {
    max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    position: relative;
  }
  .proceso-steps::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207,42,177,0.4), rgba(90,37,207,0.4), transparent);
  }
  .proceso-step {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 0 1rem;
    position: relative;
  }
  .paso-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem;
    font-weight: 800; color: #fff;
    margin-bottom: 1.4rem;
    box-shadow: 0 0 0 6px rgba(207,42,177,0.1), 0 8px 24px rgba(207,42,177,0.3);
    position: relative; z-index: 2;
    flex-shrink: 0;
  }
  .paso-title {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 1rem; color: var(--white);
    margin-bottom: 0.6rem; letter-spacing: -0.01em;
  }
  .paso-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.83rem; color: var(--muted); line-height: 1.6;
  }
  html.light .proceso-section { background: var(--bg-2); }
  @media (max-width: 768px) {
    .proceso-section { padding: 3.5rem 1.25rem; }
    .proceso-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .proceso-steps::before { display: none; }
  }
  @media (max-width: 480px) {
    .proceso-steps { grid-template-columns: 1fr; }
  }


  /* ═══════════════════════════════════
     TESTIMONIOS
  ═══════════════════════════════════ */
  .testimonios-section {
    background: var(--bg);
    padding: 7rem 3.5rem;
    position: relative; overflow: hidden;
  }
  .testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px; margin: 4rem auto 0;
    position: relative; z-index: 2;
  }
  .testimonio-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px; padding: 1.6rem 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .testimonio-card:hover {
    border-color: rgba(207,42,177,0.25);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  }
  .testimonio-card.featured-t {
    border-color: rgba(207,42,177,0.28);
    background: rgba(207,42,177,0.06);
  }
  .stars {
    display: flex; gap: 3px;
  }
  .star {
    width: 14px; height: 14px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  }
  .testimonio-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; color: var(--muted);
    line-height: 1.75; font-style: italic; flex: 1;
  }
  .testimonio-text::before { content: '"'; }
  .testimonio-text::after  { content: '"'; }
  .testimonio-author {
    display: flex; align-items: center; gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .t-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem;
    font-weight: 800; color: #fff; flex-shrink: 0;
  }
  .t-name {
    font-family: 'Poppins', sans-serif; font-size: 0.85rem;
    font-weight: 500; color: var(--white);
  }
  .t-role {
    font-family: 'Poppins', sans-serif; font-size: 0.72rem;
    color: var(--muted);
  }
  .google-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.65rem; color: var(--muted);
    margin-top: 2px;
  }
  .google-g {
    width: 12px; height: 12px; border-radius: 50%;
    background: #4285F4; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 8px; font-weight: 700; color: #fff;
    font-family: sans-serif;
  }
  html.light .testimonio-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.1); }
  html.light .testimonio-card.featured-t { background: rgba(207,42,177,0.07); }
  @media (max-width: 1024px) {
    .testimonios-section { padding: 5rem 2rem; }
    .testimonios-grid { grid-template-columns: repeat(2,1fr); }
  }
  @media (max-width: 768px) {
    .testimonios-section { padding: 3.5rem 1.25rem; }
    .testimonios-grid { grid-template-columns: 1fr; }
  }


  /* ═══════════════════════════════════
     FAQ
  ═══════════════════════════════════ */
  .faq-section {
    background: var(--bg-2);
    padding: 7rem 3.5rem;
    position: relative; overflow: hidden;
  }
  .faq-inner {
    max-width: 780px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .faq-list { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px; overflow: hidden;
    transition: border-color 0.2s;
  }
  .faq-item.open { border-color: rgba(207,42,177,0.3); }
  .faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.4rem; cursor: pointer;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem;
    font-weight: 500; color: var(--white);
    background: none; border: none; width: 100%; text-align: left;
    transition: color 0.2s; gap: 1rem;
  }
  .faq-question:hover { color: #e08ed5; }
  .faq-item.open .faq-question { color: #e08ed5; }
  .faq-chevron {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(207,42,177,0.1);
    border: 1px solid rgba(207,42,177,0.25);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.3s, background 0.2s;
  }
  .faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: rgba(207,42,177,0.2);
  }
  .faq-chevron svg { width: 10px; height: 10px; }
  .faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem; color: var(--muted); line-height: 1.75;
    padding: 0 1.4rem;
  }
  .faq-item.open .faq-answer { max-height: 300px; padding: 0 1.4rem 1.2rem; }
  html.light .faq-item { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.1); }
  html.light .faq-item.open { border-color: rgba(207,42,177,0.3); }
  @media (max-width: 1024px) { .faq-section { padding: 5rem 2rem; } }
  @media (max-width: 768px) {
    .faq-section { padding: 3.5rem 1.25rem; }
    .faq-question { font-size: 0.88rem; }
  }


  /* ═══════════════════════════════════
     CTA FINAL
  ═══════════════════════════════════ */
  .cta-final {
    background: var(--bg);
    padding: 8rem 3.5rem;
    position: relative; overflow: hidden;
    text-align: center;
  }
  .cta-final::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(207,42,177,0.14) 0%, transparent 65%);
    pointer-events: none;
  }
  .cta-final-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
  .cta-final-title {
    font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05; letter-spacing: -0.03em;
    color: var(--white); margin-bottom: 1.2rem;
  }
  .cta-final-title .grad {
    background: linear-gradient(100deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .cta-final-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; color: var(--muted); line-height: 1.7;
    margin-bottom: 2.5rem;
  }
  .cta-final-actions { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
  .cta-final-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(207,42,177,0.1);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
  }


  /* ═══════════════════════════════════
     FOOTER
  ═══════════════════════════════════ */
  .footer {
    background: #040810;
    padding: 3rem 3.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo {
    font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    font-size: 1.1rem; letter-spacing: 0.08em;
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
  .footer-links a {
    font-family: 'Poppins', sans-serif; font-size: 0.82rem;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--white); }
  .footer-copy {
    font-family: 'Poppins', sans-serif; font-size: 0.75rem;
    color: rgba(210,195,255,0.25); text-align: center;
    padding-top: 2rem; margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    max-width: 1200px; margin: 2rem auto 0;
  }
  html.light .footer { background: #ede9ff; border-top-color: rgba(90,37,207,0.1); }
  @media (max-width: 768px) {
    .footer { padding: 2.5rem 1.25rem 1.5rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .cta-final { padding: 5rem 1.25rem; }
    .cta-final-actions { flex-direction: column; align-items: center; }
    .cta-final-actions .btn-primary,
    .cta-final-actions .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
  }



  /* ═══════════════════════════════════
     PARTNERS
  ═══════════════════════════════════ */
  .partners-section {
    background: var(--bg-2);
    padding: 6rem 3.5rem;
    position: relative; overflow: hidden;
  }

  .partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 1000px; margin: 4rem auto 0;
    position: relative; z-index: 2;
  }

  .partner-logo-card {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    padding: 2rem 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    min-width: 180px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative; overflow: hidden;
  }

  .partner-logo-card::after {
    content: attr(data-label);
    position: absolute; top: 10px; right: 10px;
    font-size: 0.6rem; font-weight: 500;
    padding: 2px 8px; border-radius: 100px;
    background: rgba(207,42,177,0.15);
    border: 1px solid rgba(207,42,177,0.25);
    color: #e08ed5;
    letter-spacing: 0.06em; text-transform: uppercase;
  }

  .partner-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  }

  /* Google Partner */
  .partner-logo-card[data-partner="google"]:hover {
    border-color: rgba(66,133,244,0.4);
    background: rgba(66,133,244,0.06);
  }

  /* Meta Partner */
  .partner-logo-card[data-partner="meta"]:hover {
    border-color: rgba(24,119,242,0.4);
    background: rgba(24,119,242,0.06);
  }

  /* Tienda Nube */
  .partner-logo-card[data-partner="tiendanube"]:hover {
    border-color: rgba(33,150,243,0.4);
    background: rgba(33,150,243,0.06);
  }

  .partner-logo-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s;
  }

  .partner-logo-card:hover .partner-logo-icon { transform: scale(1.1); }

  .partner-logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    color: var(--white); letter-spacing: -0.01em;
  }

  .partner-logo-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem; color: var(--muted);
    text-align: center; line-height: 1.5;
    max-width: 150px;
  }

  html.light .partner-logo-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.1); }

  @media (max-width: 1024px) {
    .partners-section { padding: 4rem 2rem; }
    .partners-logos { gap: 16px; }
    .partner-logo-card { min-width: 150px; padding: 1.6rem 1.8rem; }
  }
  @media (max-width: 768px) {
    .partners-section { padding: 3.5rem 1.25rem; }
    .partners-logos { gap: 12px; }
    .partner-logo-card { min-width: 130px; padding: 1.4rem 1.4rem; }
    .partner-logo-icon { width: 52px; height: 52px; font-size: 1.6rem; }
  }
  @media (max-width: 480px) {
    .partners-logos { gap: 10px; }
    .partner-logo-card { min-width: calc(50% - 10px); padding: 1.2rem; }
  }

  /* ═══════════════════════════════════
     PORTAFOLIO
  ═══════════════════════════════════ */
  .portfolio-section {
    background: var(--bg);
    padding: 7rem 3.5rem;
    position: relative; overflow: hidden;
  }

  .portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
  }

  .filter-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; font-weight: 500;
    padding: 7px 16px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: var(--muted); cursor: pointer;
    transition: all 0.2s;
  }

  .filter-btn:hover, .filter-btn.active {
    border-color: rgba(207,42,177,0.4);
    background: rgba(207,42,177,0.1);
    color: #e08ed5;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px; margin: 0 auto;
    position: relative; z-index: 2;
  }

  .portfolio-card {
    border-radius: 18px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    position: relative;
  }

  .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.3);
    border-color: rgba(207,42,177,0.25);
  }

  .portfolio-card.wide { grid-column: span 2; }

  /* Image placeholder */
  .portfolio-img {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(207,42,177,0.2), rgba(90,37,207,0.25));
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }

  .portfolio-card.wide .portfolio-img { aspect-ratio: 21/9; }

  .portfolio-img-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }

  /* Hover overlay */
  .portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(207,42,177,0.85), rgba(90,37,207,0.85));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
  }

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

  .portfolio-overlay-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem; font-weight: 500;
    color: #fff;
  }

  .portfolio-overlay-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
  }

  .portfolio-info {
    padding: 1.2rem 1.3rem;
  }

  .portfolio-tags {
    display: flex; flex-wrap: wrap; gap: 5px;
    margin-bottom: 0.7rem;
  }

  .portfolio-tag {
    font-size: 0.65rem; font-weight: 500;
    padding: 2px 8px; border-radius: 100px;
    background: rgba(207,42,177,0.1);
    border: 1px solid rgba(207,42,177,0.2);
    color: #e08ed5;
  }

  .portfolio-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    color: var(--white); margin-bottom: 4px;
    letter-spacing: -0.01em;
  }

  .portfolio-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem; color: var(--muted);
  }

  .portfolio-result {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem; font-weight: 500;
    color: #6ee99a;
  }

  .portfolio-result::before {
    content: '↑';
    font-weight: 700;
  }

  html.light .portfolio-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.1); }
  html.light .portfolio-card:hover { border-color: rgba(207,42,177,0.25); }
  html.light .filter-btn { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.12); color: rgba(60,30,100,0.6); }
  html.light .filter-btn:hover, html.light .filter-btn.active { background: rgba(207,42,177,0.08); border-color: rgba(207,42,177,0.3); color: var(--fucsia); }

  @media (max-width: 1024px) {
    .portfolio-section { padding: 5rem 2rem; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-card.wide { grid-column: span 2; }
  }
  @media (max-width: 768px) {
    .portfolio-section { padding: 3.5rem 1.25rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card.wide { grid-column: span 1; }
    .portfolio-card.wide .portfolio-img { aspect-ratio: 16/9; }
  }



  /* ═══════════════════════════════════════
     CARRUSEL — logos con fondo transparente
  ═══════════════════════════════════════ */
  .clients-section {
    background: var(--bg);
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
  }
  .clients-label {
    display: flex; align-items: center;
    justify-content: center; gap: 20px;
    padding: 36px 0 28px;
  }
  .clients-label span {
    font-family: 'Poppins', sans-serif;
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(241,233,255,0.30); white-space: nowrap;
  }
  .clients-label::before, .clients-label::after {
    content: ''; flex: 1; max-width: 200px;
    height: 1px; background: rgba(255,255,255,0.08);
  }
  .carousel-wrapper {
    position: relative; overflow: hidden; padding-bottom: 36px;
  }
  .carousel-wrapper::before, .carousel-wrapper::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 160px;
    z-index: 2; pointer-events: none;
  }
  .carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
  .carousel-wrapper::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
  .carousel-track {
    display: flex; align-items: center;
    gap: 60px; width: max-content; margin-bottom: 24px;
  }
  .carousel-track.row1 { animation: scrollLeft 44s linear infinite; }
  .carousel-track.row2 { animation: scrollRight 36s linear infinite; }
  .carousel-wrapper:hover .carousel-track { animation-play-state: paused; }

  /* CARD: sin borde, sin fondo */
  .logo-card {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; background: none; border: none; padding: 0;
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  }
  .logo-card:hover {
    transform: scale(1.22) translateY(-3px);
    z-index: 10; position: relative;
  }

  /* IMAGEN: fondo transparente real → filter para blanco, hover = color */
  .logo-img {
    height: 38px; width: auto; max-width: 160px;
    object-fit: contain; display: block;
    filter: brightness(0) invert(1);
    opacity: 0.65;
    transition: filter 0.35s ease, opacity 0.35s ease;
  }
  .logo-card:hover .logo-img {
    filter: none;
    opacity: 1;
  }

  /* Light mode */
  html.light .clients-section { background: var(--bg-2); border-color: rgba(90,37,207,0.08); }
  html.light .carousel-wrapper::before { background: linear-gradient(to right, var(--bg-2), transparent); }
  html.light .carousel-wrapper::after  { background: linear-gradient(to left,  var(--bg-2), transparent); }
  html.light .clients-label span { color: rgba(60,30,100,0.35); }
  html.light .clients-label::before,
  html.light .clients-label::after { background: rgba(90,37,207,0.10); }
  html.light .logo-img { filter: brightness(0); opacity: 0.55; }
  html.light .logo-card:hover .logo-img { filter: none; opacity: 1; }

  @media (max-width: 768px) {
    .carousel-track { gap: 36px; margin-bottom: 16px; }
    .logo-img { height: 28px; max-width: 110px; }
    .carousel-track.row1 { animation-duration: 30s; }
    .carousel-track.row2 { animation-duration: 24s; }
  }
  @media (max-width: 480px) {
    .logo-img { height: 22px; max-width: 90px; }
    .carousel-track { gap: 24px; }
  }



  /* ═══════════════════════════════════════
DREAM TEAM — con fotos reales
  ═══════════════════════════════════════ */
  
  
  
  
  
  
  

  /* ── AVATAR con foto real ── */
  

  

  

  /* Badge líder */
  

  

  

  

  

  

  

  

  

  /* Light mode */
  html.light 
  html.light 
  html.light 
  html.light 
  html.light 

  /* Responsive */
  @media (max-width: 1024px) {

  }
  @media (max-width: 768px) {
    
    
    
    
  }
  @media (max-width: 420px) {
    
  }


  /* ═══════════════════════════════════════
     DREAM TEAM
  ═══════════════════════════════════════ */
  .team-section {
    background: var(--bg);
    padding: var(--section-pad);
    position: relative; overflow: hidden;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .team-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(207,42,177,0.10) 0%, transparent 65%);
    right: -100px; top: 50%; transform: translateY(-50%);
    pointer-events: none;
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
    max-width: 1200px; margin: 4rem auto 0;
    position: relative; z-index: 2;
  }

  /* CARD sin padding arriba — foto ocupa todo el ancho */
  .team-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .team-card::before {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    opacity: 0; transition: opacity 0.3s; z-index: 2;
  }
  .team-card:hover {
    border-color: rgba(207,42,177,0.35);
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.35);
  }
  .team-card:hover::before { opacity: 1; }

  /* FOTO — misma altura en todas las cards */
  .team-photo-wrap {
    width: 100%;
    height: 320px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
  }

  .team-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
  }

  .team-card:hover .team-photo-wrap img {
    transform: scale(1.05);
  }

  /* Overlay degradado sobre la foto */
  .team-photo-wrap::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(7,15,30,0.85), transparent);
    pointer-events: none;
  }

  /* Badge líder */
  .team-badge {
    position: absolute;
    top: 12px; right: 12px; z-index: 3;
    background: linear-gradient(135deg, var(--fucsia), var(--violeta));
    color: #fff;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 100px;
    box-shadow: 0 4px 12px rgba(207,42,177,0.4);
  }

  /* INFO debajo de la foto */
  .team-info {
    padding: 1.2rem 1.1rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .team-social {
    margin-top: auto;
  }

  .team-name {
    font-family: var(--font-title);
    font-size: 0.95rem; font-weight: 700;
    color: var(--white); margin-bottom: 4px;
    letter-spacing: -0.01em;
  }

  .team-role {
    font-family: var(--font-body);
    font-size: 0.75rem; margin-bottom: 0.9rem;
  }

  .team-role-grad {
    background: linear-gradient(90deg, var(--fucsia), var(--violeta));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 500;
  }

  .team-skills {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 5px;
    margin-bottom: 1rem;
  }

  .team-skill {
    font-size: 0.62rem; font-weight: 500;
    padding: 3px 8px; border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    color: var(--muted);
  }

  .team-social {
    display: flex; justify-content: center;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .team-social a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    font-size: 0.72rem; font-weight: 500;
    color: var(--muted); text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }

  .team-social a:hover {
    border-color: rgba(207,42,177,0.4);
    color: #e08ed5; background: rgba(207,42,177,0.08);
  }

  /* Light mode */
  html.light .team-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.10); }
  html.light .team-card:hover { border-color: rgba(207,42,177,0.3); }
  html.light .team-photo-wrap::after { background: linear-gradient(to top, rgba(237,233,255,0.7), transparent); }
  html.light .team-social a { background: rgba(90,37,207,0.05); border-color: rgba(90,37,207,0.12); }

  /* Responsive */
  @media (max-width: 1024px) {
    .team-section { padding: 5rem 2rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  }
  @media (max-width: 768px) {
    .team-section { padding: 3.5rem 1.25rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  }
  @media (max-width: 420px) {
    .team-grid { grid-template-columns: 1fr; }
  }


/* ═══════════════════════════════════════════════════════
   LOGO DARK / LIGHT MODE
═══════════════════════════════════════════════════════ */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; }

/* Dark mode (default): mostrar logo gris/blanco */
.logo-dark-mode  { display: block; }
.logo-light-mode { display: none;  }

/* Light mode: mostrar logo color */
html.light .logo-dark-mode  { display: none;  }
html.light .logo-light-mode { display: block; }

/* Footer logo igual */
.footer .nav-logo img { height: 32px; }


/* ═══════════════════════════════════════════════════════
   FORMULARIO DE CONSULTA
═══════════════════════════════════════════════════════ */
.consulta-form {
  width: 100%;
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-input {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input::placeholder { color: rgba(210, 195, 255, 0.3); }

.form-input:focus {
  border-color: rgba(207, 42, 177, 0.5);
  background: rgba(207, 42, 177, 0.06);
  box-shadow: 0 0 0 3px rgba(207, 42, 177, 0.10);
}

.form-input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Error state */
.form-input.error {
  border-color: rgba(240, 19, 102, 0.6);
  background: rgba(240, 19, 102, 0.05);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(210,195,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select option {
  background: #0b2243;
  color: #F0EEFF;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Submit row */
.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.form-submit-btn {
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
  min-width: 220px;
  justify-content: center;
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Mensaje de éxito */
.form-success {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(110, 233, 154, 0.07);
  border: 1px solid rgba(110, 233, 154, 0.25);
  border-radius: 20px;
  margin-top: 1rem;
}

.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(110, 233, 154, 0.2), rgba(110, 233, 154, 0.1));
  border: 1px solid rgba(110, 233, 154, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #6ee99a;
  margin: 0 auto 1.2rem;
}

.form-success-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.6rem;
}

.form-success-text {
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
}

/* Light mode */
html.light .form-input {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(90, 37, 207, 0.15);
  color: #1a0533;
}
html.light .form-input::placeholder { color: rgba(60, 30, 100, 0.35); }
html.light .form-input:focus {
  border-color: rgba(207, 42, 177, 0.45);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(207, 42, 177, 0.08);
}
html.light .form-label { color: rgba(60, 30, 100, 0.7); }
html.light .form-select { background-color: rgba(255, 255, 255, 0.7); }
html.light .form-select option { background: #f5f3ff; color: #1a0533; }

/* Responsive */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit-btn { width: 100%; }
}


/* ═══════════════════════════════════════════════════════
   PARTNER LOGOS — icono más grande, sin fondo de caja
═══════════════════════════════════════════════════════ */
.partner-logo-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  transition: transform 0.3s;
}
.partner-logo-card:hover .partner-logo-icon { transform: scale(1.1); }


/* ═══════════════════════════════════════════════════════
   NOSOTROS — CARDS DEL EQUIPO
═══════════════════════════════════════════════════════ */
.nos-team {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0;
}

.nos-team-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.nos-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.nos-team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.nos-team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fucsia), var(--violeta));
  opacity: 0;
  transition: opacity 0.3s;
}

.nos-team-card:hover {
  border-color: rgba(207,42,177,0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.nos-team-card:hover::before { opacity: 1; }

/* Foto */
.nos-team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.nos-team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.nos-team-card:hover .nos-team-photo img {
  transform: scale(1.04);
}

.nos-team-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(7,15,30,0.9), transparent);
  pointer-events: none;
}

.nos-team-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: linear-gradient(135deg, var(--fucsia), var(--violeta));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(207,42,177,0.4);
}

/* Info */
.nos-team-info {
  padding: 1.2rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nos-team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.nos-team-role {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--fucsia), var(--violeta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.85rem;
}

.nos-team-bio {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
  flex: 1;
}

.nos-team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1rem;
}

.nos-team-skill {
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--muted);
}

.nos-team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  margin-top: auto;
  align-self: flex-start;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nos-team-linkedin:hover {
  border-color: rgba(207,42,177,0.4);
  color: #e08ed5;
  background: rgba(207,42,177,0.08);
}

/* Light mode */
html.light .nos-team-card { background: rgba(90,37,207,0.04); border-color: rgba(90,37,207,0.10); }
html.light .nos-team-card:hover { border-color: rgba(207,42,177,0.3); }
html.light .nos-team-photo::after { background: linear-gradient(to top, rgba(245,243,255,0.7), transparent); }
html.light .nos-team-bio { color: rgba(60,30,100,0.65); }
html.light .nos-team-linkedin { background: rgba(90,37,207,0.05); border-color: rgba(90,37,207,0.12); }

/* Responsive */
@media (max-width: 1024px) {
  .nos-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nos-team-grid { grid-template-columns: 1fr; }
  .nos-team-photo { aspect-ratio: 4/3; }
}


/* ═══════════════════════════════════════════════════════
   PORTFOLIO — PLACEHOLDER + BOTÓN GALERÍA
═══════════════════════════════════════════════════════ */
.portfolio-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(207,42,177,0.15), rgba(90,37,207,0.20));
}

.portfolio-img-icon { font-size: 2rem; }

.portfolio-img-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.portfolio-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.portfolio-gallery-btn:hover {
  border-color: rgba(207,42,177,0.4);
  color: #e08ed5;
  background: rgba(207,42,177,0.08);
}

html.light .portfolio-gallery-btn {
  background: rgba(90,37,207,0.05);
  border-color: rgba(90,37,207,0.12);
  color: rgba(60,30,100,0.6);
}


/* ═══════════════════════════════════════════════════════
   LIGHTBOX GALLERY
═══════════════════════════════════════════════════════ */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 8, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.gallery-modal {
  position: relative;
  width: 90vw;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 2rem;
  background: rgba(11, 34, 67, 0.6);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.gallery-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.gallery-close:hover {
  background: rgba(240,19,102,0.3);
  transform: rotate(90deg);
}

.gallery-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-align: center;
  padding-right: 2rem;
}

.gallery-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.gallery-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}

.gallery-nav:hover {
  background: rgba(207,42,177,0.2);
  border-color: rgba(207,42,177,0.4);
  transform: scale(1.1);
}

.gallery-nav:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
}

.gallery-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 55vh;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}

.gallery-img {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 12px;
  display: none;
}

.gallery-img.loaded { display: block; }

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 2.5rem;
  text-align: center;
  width: 100%;
}

.gallery-placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.gallery-placeholder-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(210,195,255,0.5);
}

.gallery-placeholder-hint {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: rgba(210,195,255,0.35);
  line-height: 1.7;
  max-width: 360px;
}

.gallery-placeholder-hint code {
  font-family: 'Courier New', monospace;
  background: rgba(207,42,177,0.12);
  border: 1px solid rgba(207,42,177,0.2);
  padding: 1px 5px;
  border-radius: 4px;
  color: #e08ed5;
  font-size: 0.72rem;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.10);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.gallery-thumb:hover { border-color: rgba(207,42,177,0.5); transform: scale(1.08); }
.gallery-thumb.active { border-color: var(--fucsia); box-shadow: 0 0 0 2px rgba(207,42,177,0.25); }

.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-counter {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Light mode */
html.light .gallery-overlay { background: rgba(245,243,255,0.85); }
html.light .gallery-modal { background: rgba(255,255,255,0.9); border-color: rgba(90,37,207,0.15); }
html.light .gallery-title { color: #1a0533; }
html.light .gallery-counter { color: rgba(60,30,100,0.5); }
html.light .gallery-nav { background: rgba(90,37,207,0.07); border-color: rgba(90,37,207,0.15); color: #1a0533; }
html.light .gallery-placeholder-text { color: rgba(60,30,100,0.5); }
html.light .gallery-placeholder-hint { color: rgba(60,30,100,0.4); }

/* Responsive */
@media (max-width: 768px) {
  .gallery-modal { padding: 1.2rem; gap: 12px; width: 95vw; }
  .gallery-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .gallery-title { font-size: 0.88rem; }
  .gallery-img-wrap { min-height: 200px; max-height: 45vh; }
}

/* ═══════════════════════════════════════════════════════
   TEAM CARDS — Sección Nosotros
═══════════════════════════════════════════════════════ */

.nos-team {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.nos-team-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 3rem;
}

.nos-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Card ── */
.nos-team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.nos-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  border-color: rgba(207,42,177,0.3);
}

/* ── Foto ── */
.nos-team-photo-wrap {
  position: relative;
}

.nos-team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(207,42,177,0.15), rgba(90,37,207,0.2));
}

.nos-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

.nos-team-card:hover .nos-team-photo img {
  transform: scale(1.04);
}

.nos-team-role-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--fucsia), var(--violeta));
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(207,42,177,0.4);
}

/* ── Info ── */
.nos-team-info {
  padding: 1.2rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nos-team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nos-team-specialty {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(207,42,177,0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nos-team-bio {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 4px 0 2px;
  flex: 1;
}

/* ── Skills pills ── */
.nos-team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.nos-team-skill {
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(207,42,177,0.08);
  border: 1px solid rgba(207,42,177,0.2);
  color: rgba(210,195,255,0.7);
  transition: background 0.2s, color 0.2s;
}

.nos-team-card:hover .nos-team-skill {
  background: rgba(207,42,177,0.13);
  color: #e08ed5;
}

/* ── Años de experiencia ── */
.nos-team-exp {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.nos-team-exp-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--fucsia), var(--violeta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nos-team-exp-label {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── LinkedIn link ── */
.nos-team-links {
  margin-top: 4px;
}

.nos-team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(210,195,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
}

.nos-team-linkedin:hover {
  color: #0a66c2;
}

.nos-team-linkedin svg {
  transition: transform 0.2s;
}

.nos-team-linkedin:hover svg {
  transform: scale(1.1);
}

/* ── Light mode ── */
html.light .nos-team-card {
  background: rgba(255,255,255,0.6);
  border-color: rgba(90,37,207,0.12);
}
html.light .nos-team-card:hover {
  border-color: rgba(207,42,177,0.3);
  box-shadow: 0 20px 40px rgba(90,37,207,0.12);
}
html.light .nos-team-name { color: #1a0533; }
html.light .nos-team-bio { color: rgba(60,30,100,0.65); }
html.light .nos-team-exp-label { color: rgba(60,30,100,0.5); }
html.light .nos-team-skill {
  background: rgba(90,37,207,0.06);
  border-color: rgba(90,37,207,0.15);
  color: rgba(60,30,100,0.6);
}
html.light .nos-team-linkedin { color: rgba(60,30,100,0.45); }
html.light .nos-team-exp { border-top-color: rgba(90,37,207,0.1); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nos-team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
  .nos-team-grid { grid-template-columns: 1fr; max-width: 360px; }
  .nos-team { padding-top: 3rem; margin-top: 3rem; }
}


/* ═══════════════════════════════════════════════════════
   PORTFOLIO GALLERY — Lightbox mejorado
═══════════════════════════════════════════════════════ */

/* Overlay de fondo */
.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 24, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal */
.gallery-modal {
  background: rgba(11,34,67,0.95);
  border: 1px solid rgba(207,42,177,0.2);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.5rem;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

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

/* Close button */
.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.gallery-close:hover { background: rgba(207,42,177,0.25); }

/* Title */
.gallery-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-right: 2.5rem;
  letter-spacing: -0.02em;
}

/* Main image area */
.gallery-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.gallery-img-wrap {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

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

.gallery-img.loading { opacity: 0; }

/* Placeholder cuando no hay imagen real */
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2rem;
  text-align: center;
}

.gallery-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.gallery-placeholder-text {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.gallery-placeholder-hint {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}
.gallery-placeholder-hint code {
  font-family: monospace;
  background: rgba(207,42,177,0.12);
  padding: 1px 5px;
  border-radius: 4px;
  color: #e08ed5;
  font-size: 0.7rem;
}

/* Nav arrows */
.gallery-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.gallery-nav:hover { background: rgba(207,42,177,0.2); transform: scale(1.08); }
.gallery-nav:disabled { opacity: 0.25; pointer-events: none; }

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-thumb {
  width: 64px; height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: rgba(255,255,255,0.06);
}

.gallery-thumb.active { border-color: var(--fucsia); transform: scale(1.05); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Counter */
.gallery-counter {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.8rem;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .gallery-modal { padding: 1.5rem 1rem 1.2rem; border-radius: 18px; }
  .gallery-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .gallery-title { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════
   TEAM CAROUSEL — estilo quote card de Enderson
═══════════════════════════════════════════════════════ */

/* Wrap general */
.team-carousel-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

/* El track (1 slide visible a la vez, mismo ancho) */
.team-carousel {
  position: relative;
  overflow: hidden;
}

/* Cada slide */
.team-slide {
  display: none;
  animation: teamFadeIn 0.4s ease;
}
.team-slide.active { display: block; }

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

/* La card — mismos estilos que .nos-quote */
.team-quote-card {
  position: relative;
  /* hereda todo de .nos-quote */
}

/* Header con avatar + nombre + badge */
.team-quote-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.team-avatar {
  /* hereda .nos-quote-avatar */
  flex-shrink: 0;
}

.team-quote-meta {
  flex: 1;
}

.team-quote-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.team-quote-role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.team-quote-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--fucsia), var(--violeta));
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

/* El texto de la bio — usa el <p> de .nos-quote */
.team-quote-card p {
  font-style: italic;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0 0 1.2rem;
}

/* Fila de skills (reusa .nos-certs / .nos-cert) */
.team-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.1rem;
}

/* Link LinkedIn en la card */
.team-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(210,195,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
}
.team-linkedin-link:hover { color: #0a66c2; }

/* ── Controles del carrusel ── */
.team-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1.4rem;
}

.team-carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.team-carousel-btn:hover {
  background: rgba(207,42,177,0.18);
  border-color: rgba(207,42,177,0.35);
  transform: scale(1.08);
}

/* Dots */
.team-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.team-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}
.team-dot.active {
  background: var(--fucsia);
  width: 22px;
  border-radius: 4px;
  transform: none;
}

/* Light mode */
html.light .team-quote-card { background: rgba(90,37,207,0.07); border-color: rgba(90,37,207,0.15); }
html.light .team-quote-name { color: #1a0533; }
html.light .team-quote-card p { color: rgba(60,30,100,0.7); }
html.light .team-linkedin-link { color: rgba(60,30,100,0.45); }
html.light .team-carousel-btn {
  background: rgba(90,37,207,0.07);
  border-color: rgba(90,37,207,0.15);
  color: #1a0533;
}
html.light .team-dot { background: rgba(90,37,207,0.2); }
html.light .team-dot.active { background: var(--fucsia); }

/* Responsive */
@media (max-width: 768px) {
  .team-carousel-wrap { max-width: 100%; }
  .team-quote-card p { font-size: 0.88rem; }
  .team-quote-badge { display: none; }
}

/* ═══════════════════════════════════════════════════════
   TEAM CAROUSEL — dentro del recuadro .nos-quote
═══════════════════════════════════════════════════════ */

/* El wrapper reutiliza .nos-quote — no necesita estilos propios de caja */
.nos-team-carousel-wrap {
  cursor: default;
}

/* Slides — solo el active es visible */
.nos-team-slide {
  display: none;
}
.nos-team-slide.active {
  display: block;
  animation: nosSlideIn 0.35s ease;
}

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

/* Fila de skills debajo del texto */
.nos-team-slide-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1.1rem;
}

/* Autor: avatar + nombre + linkedin alineados */
.nos-quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LinkedIn icon dentro del autor */
.nos-slide-li {
  margin-left: auto;
  color: rgba(210,195,255,0.35);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nos-slide-li:hover { color: #0a66c2; }

/* Controles: flechas + dots — centrados abajo */
.nos-team-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.nos-team-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nos-team-arrow:hover {
  background: rgba(207,42,177,0.15);
  border-color: rgba(207,42,177,0.3);
  color: #e08ed5;
}

.nos-team-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nos-team-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.nos-team-dot.active {
  background: var(--fucsia);
  width: 20px;
  border-radius: 4px;
}

/* Light mode */
html.light .nos-team-controls { border-top-color: rgba(90,37,207,0.1); }
html.light .nos-team-arrow { border-color: rgba(90,37,207,0.15); color: rgba(60,30,100,0.5); }
html.light .nos-team-arrow:hover { background: rgba(207,42,177,0.1); color: var(--fucsia); }
html.light .nos-team-dot { background: rgba(90,37,207,0.2); }
html.light .nos-team-dot.active { background: var(--fucsia); }
html.light .nos-slide-li { color: rgba(60,30,100,0.3); }

/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — nosotros grid + footer
═══════════════════════════════════════════════════════ */

/* Nosotros: en mobile apila left y right */
@media (max-width: 900px) {
  .nos-grid {
    grid-template-columns: 1fr !important;
  }
  .nos-right {
    width: 100%;
  }
}

/* Footer: columnas en mobile */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
  }
  .footer-cols {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-logo-col {
    width: 100%;
  }
  .nav-logo img {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}
