   @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Montserrat', sans-serif;
            scroll-behavior: smooth;
            background-color: #0a0a0a;
            color: #ffffff;
        }

        /* Scroll Animations */
        [data-scroll] {
            opacity: 0;
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        [data-scroll="fade-up"] {
            transform: translateY(50px);
        }

        [data-scroll="fade-down"] {
            transform: translateY(-50px);
        }

        [data-scroll="fade-left"] {
            transform: translateX(50px);
        }

        [data-scroll="fade-right"] {
            transform: translateX(-50px);
        }

        [data-scroll].is-visible {
            opacity: 1;
            transform: translate(0);
        }

        /* Enhanced Buttons */
        .btn {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: rgba(255,255,255,0.1);
            transition: all 0.3s ease;
            z-index: -1;
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn-primary:active {
            transform: translateY(0);
        }
        
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            height: 100vh;
        }
        
        .card-hover:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        
        .team-container {
            position: relative;
            padding-bottom: 40px;
        }

        .team-scroll {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 20px;
        }

        .team-scroll::-webkit-scrollbar {
            display: none;
        }

        .team-item {
            flex: 0 0 auto;
            width: 300px;
            padding: 0 20px;
        }

        .team-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 20px;
        }

        .team-nav-btn {
            background: #333;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .team-nav-btn:hover {
            background: #555;
            transform: scale(1.1);
        }

        .team-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }

        .team-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #333;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .team-dot.active {
            background: white;
            transform: scale(1.2);
        }

        .team-card:hover .team-overlay {
            opacity: 1;
        }
        
        .team-overlay {
            background: rgba(0, 0, 0, 0.7);
            transition: all 0.3s ease;
            opacity: 0;
        }
        
        .timeline-container {
            position: relative;
            padding-bottom: 40px;
        }

        .timeline-scroll {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 20px;
        }

        .timeline-scroll::-webkit-scrollbar {
            display: none;
        }

        .timeline-item {
            flex: 0 0 auto;
            width: 300px;
            position: relative;
            padding: 0 40px;
        }

        .timeline-item:not(:last-child):after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 60%;
            background: linear-gradient(to bottom, transparent, #555, transparent);
        }

        .timeline-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 20px;
        }

        .timeline-nav-btn {
            background: #333;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .timeline-nav-btn:hover {
            background: #555;
            transform: scale(1.1);
        }

        .timeline-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }

        .timeline-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #333;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .timeline-dot.active {
            background: white;
            transform: scale(1.2);
        }
        
        .contact-input {
            background-color: #1a1a1a;
            border: 1px solid #333333;
        }
        
        .contact-input:focus {
            outline: none;
            border-color: #ffffff;
        }
        
        .scroll-down {
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-20px);
            }
            60% {
                transform: translateY(-10px);
            }
        }
.navbar-background{
    background-color: #000000;
}

.hero-img {
  transition: transform 0.8s ease, opacity 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.15);
  opacity: 0.95;
}

:root{
  /* separación y animación */
  --team-gap: clamp(2.25rem, 5vw, 3.25rem);
  --team-pad-x: clamp(1.25rem, 2.5vw, 2rem);   /* padding interno de cada slide */
  --team-pad-y: clamp(1rem, 2.5vw, 1.5rem);
  --edge-gutter: clamp(48px, 6vw, 88px);       /* gutters en extremos (dentro del track) */
  --team-ease: cubic-bezier(.22,.61,.36,1);
      --gh-amber: #f59e0b;   /* ámbar */
  --gh-gold:  #facc15;   /* dorado */
  --gh-ink:   #0a0a0a;   /* fondo negro tinta */
  --gh-silver:#a3a3a3;

  /* tamaño “considerable” de card */
  --card-w-max: 360px;
  --card-w-min: 290px;
  --card-radius: 16px;

  /* colores */
  --black:#000;
  --white:#fff;

  /* sombras realistas */
  --card-shadow:        0 18px 28px -10px rgba(0,0,0,.22),
                        0 34px 60px -20px rgba(0,0,0,.28),
                        0 1px 0 rgba(255,255,255,.04) inset;
  --card-shadow-hover:  0 24px 40px -12px rgba(0,0,0,.26),
                        0 44px 80px -22px rgba(0,0,0,.34),
                        0 1px 0 rgba(255,255,255,.05) inset;

                          --fade-left: 190px;      /* cuánto muerde por la izquierda */
  --fade-left-soft: 90px;  /* transición suave izquierda */
  --fade-top: 120px;       /* cuánto muerde por arriba */
  --fade-top-soft: 80px;   /* transición suave arriba */
  --corner: 240px;        
}
/* ===== viewport: CLIP DURO sin padding ===== */
#team .team-viewport{
  position: relative;
  overflow: hidden;                /* recorta TODO en los bordes */
  margin-bottom: 1rem;
}

/* ===== track: flex + gutters internos (¡ya no en el viewport!) ===== */
#team .team-track{
  display: flex;
  width: 100%;
  padding-left: var(--edge-gutter);
  padding-right: var(--edge-gutter);          /* ← los gutters viven aquí */
  transition: transform .6s var(--team-ease);
  will-change: transform;
  box-sizing: content-box;                    /* padding no reduce espacio de flex */
}

/* ===== slide: 3 por fila, bien separados ===== */
#team .team-slide{
  flex: 0 0 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--team-gap);
  padding: var(--team-pad-y) var(--team-pad-x) calc(var(--team-pad-y) + 2.75rem);
}

#team .team-item{ flex: 0 0 auto; margin: 0 !important; }

/* ===== cards ===== */
#team .team-card{
  position: relative;
  overflow: hidden;
  /* caben 3 + gaps + pad-x siempre; pero no bajan de un mínimo cómodo */
  width: min(
    var(--card-w-max),
    calc((100% - (2 * var(--team-gap)) - (2 * var(--team-pad-x))) / 3)
  );
  max-width: var(--card-w-max);
  min-width: var(--card-w-min);
  aspect-ratio: 3 / 4;
  border-radius: var(--card-radius);
  background: var(--black);
  box-shadow: var(--card-shadow);
  border: none !important;
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}
#team .team-card:hover{
  transform: translateY(-4px) scale(1.008);
  box-shadow: var(--card-shadow-hover);
}

#team .team-card img{
  width: 100%; height: 100%; display:block;
  object-fit: cover; object-position: center;
  filter: grayscale(100%);
  background:#0a0a0a;
  transition: transform .6s ease, filter .6s ease;
}
#team .team-card:hover img{ transform: scale(1.06); filter: grayscale(0%); }

/* overlay */
#team .team-overlay{
  position: absolute; inset: 0;
  display:flex; flex-direction:column; justify-content:flex-end;
  gap:.35rem; padding:1rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 60%);
  transition: background .35s ease; pointer-events:none;
}
#team .team-card:hover .team-overlay{
  background: linear-gradient(to top, rgba(0,0,0,.95), rgba(0,0,0,.15) 65%);
}
#team .team-overlay h3{
  color:#fff; font-weight:800; line-height:1.1;
  font-size: clamp(1.1rem, 1.4vw + .6rem, 1.5rem); margin:0;
}
#team .team-overlay p{ margin:0; }
#team .team-overlay .text-gray-300{ color: rgba(255,255,255,.85) !important; }
#team .team-overlay .text-gray-400{ color: rgba(255,255,255,.70) !important; }

/* navegación (flechas) */
#team .team-nav{
  display:flex; justify-content:center; align-items:center; gap:16px; margin-top:.75rem;
}
#team .team-nav-btn{
  background:#000; color:#fff; border:none; width:44px; height:44px; border-radius:50%;
  cursor:pointer; font-size:1.1rem; display:grid; place-items:center;
  transition: background .3s ease, transform .3s ease, opacity .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
#team .team-nav-btn:hover{ background:#333; transform:scale(1.07); }
#team .team-nav-btn[disabled]{ opacity:.4; cursor:not-allowed; transform:none !important; }

/* motion reduce */
@media (prefers-reduced-motion: reduce){
  #team .team-track,
  #team .team-card,
  #team .team-card img{ transition:none !important; }
}

/* responsivo */
@media (max-width: 1024px){
  :root{ --card-w-max: 340px; --card-w-min: 270px; }
}
@media (max-width: 768px){
  :root{ --card-w-max: 320px; --card-w-min: 240px; }
  #team .team-slide{ padding-bottom: calc(var(--team-pad-y) + 3rem); }
}


  .footer-hero{
    position: relative;
    isolation: isolate;
    color: #fff;
  }
  .footer-hero::before{
    content:"";
    position:absolute; inset:0;
    background-image: var(--footer-image);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    z-index:-2;
  }
  .footer-hero::after{
    content:"";
    position:absolute; inset:0;
    /* overlay con degradado para legibilidad */
    background:
      radial-gradient(1200px 400px at 50% 120%, rgba(0,0,0,.55), transparent 60%),
      linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.90));
    z-index:-1;
  }
  /* inputs oscuros elegantes */
  .footer-input{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color:#fff;
  }
  .footer-input::placeholder{ color: rgba(255,255,255,.65); }
  .footer-input:focus{
    outline: none;
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 0 0 4px rgba(255,255,255,.15);
  }


  /* Fondo del navbar + blur cuando se comprime */
#navRoot {
  backdrop-filter: none;
  transition: box-shadow .25s ease, transform .25s ease, padding .25s ease, background .25s ease;
  background: rgba(0,0,0,.85);
  position: sticky; top:0; z-index:50;
}
#navRoot.nav--compact .max-w-7xl { padding-top: .5rem !important; padding-bottom: .5rem !important; }
#navRoot.nav--compact { backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }

/* Crown Beam: barra de “imponencia” que crece con el scroll */
#crownBeam {
  position: absolute;
  left: 0; bottom: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gh-amber), var(--gh-gold));
  box-shadow: 0 0 18px var(--gh-gold);
  transition: width .12s linear, opacity .25s ease;
  opacity: .9;
}

/* POWER-ON sequence (cascada inicial) */
.nav-ignite .nav-minimal {
  position: relative; color: #d4d4d4;
  --ignite-delay: 0s;
  opacity: 0; transform: translateY(6px);
  transition: color .25s ease;
}
.nav-ignite.ready .nav-minimal {
  animation: navPowerOn .6s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: var(--ignite-delay);
}
@keyframes navPowerOn {
  0% { opacity: 0; transform: translateY(8px) }
  60%{ opacity: 1; transform: translateY(-1px) }
  100%{ opacity: 1; transform: translateY(0) }
}

/* Split-letters + Neon Sweep */
.nav-minimal .letters {
  display: inline-flex; gap: .02em; position: relative;
}
.nav-minimal .letters span {
  display: inline-block; transform: translateY(0); transition: transform .18s ease, text-shadow .18s ease, color .18s ease;
}
.nav-minimal::after {
  content:""; position:absolute; left:-10%; top:50%;
  width:120%; height:2.2em; transform: translateY(-50%) skewX(-20deg);
  background: radial-gradient(ellipse at 30% 50%, rgba(250,204,21,.18), transparent 55%);
  opacity: 0; pointer-events: none; filter: blur(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-minimal:hover::after {
  opacity: .9; transform: translateY(-50%) skewX(-16deg);
}
.nav-minimal:hover .letters span {
  transform: translateY(-1px);
  text-shadow: 0 0 8px rgba(250,204,21,.45);
  color: #fff;
}

/* Magnetic hover (el brillo se acerca al cursor) */
.nav-minimal {
  --mx: 0.5; /* 0..1 */
}
.nav-minimal .letters {
  mask-image: radial-gradient(120px 80px at calc(var(--mx)*100%) 50%, #000 55%, transparent 65%);
  -webkit-mask-image: radial-gradient(120px 80px at calc(var(--mx)*100%) 50%, #000 55%, transparent 65%);
}

/* Línea inferior viva */
.nav-minimal .underline-live {
  content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0%;
  background: linear-gradient(90deg, var(--gh-amber), var(--gh-gold));
  box-shadow: 0 0 8px var(--gh-gold);
  transition: width .28s ease;
}
.nav-minimal:hover .underline-live { width:100%; }

/* Logo halo (rotación sutil + brillo en hover) */
#logoHalo {
  background: conic-gradient(from 0deg, transparent 0 40%, rgba(250,204,21,.15) 45% 55%, transparent 60% 100%);
  animation: haloSpin 8s linear infinite;
  filter: blur(8px);
  opacity: .6;
}
#logoWrap:hover #logoHalo { opacity: .9; filter: blur(6px); }
@keyframes haloSpin {
  to { transform: rotate(360deg); }
}

/* Mobile shutter (persiana) */
#mobile-menu.shutter-enter {
  display: block !important;
  animation: shutterOpen .35s cubic-bezier(.2,.8,.2,1);
  transform-origin: top;
}
#mobile-menu.shutter-leave {
  animation: shutterClose .3s ease; transform-origin: top;
}
@keyframes shutterOpen {
  0% { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
@keyframes shutterClose {
  0% { transform: rotateX(0deg); opacity: 1; }
  100% { transform: rotateX(-90deg); opacity: 0; }
}

/* Accesibilidad: respeta reduce motion */
@media (prefers-reduced-motion: reduce) {
  #logoHalo, .nav-ignite .nav-minimal, #mobile-menu { animation: none !important; }
  .nav-minimal, #crownBeam, #navRoot { transition: none !important; }
}

/* Base ligera por si no tenías .nav-minimal definida */
.nav-minimal { text-decoration: none; font-weight: 500; }

/* Animación de fade + blur al cargar */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.98); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Links con efecto elegante */
.nav-link {
  position: relative;
  color: #d1d5db; /* gris claro */
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
:root{
  --glass-bg: rgba(255,255,255,0.08);
  --glass-brd: rgba(255,255,255,0.18);
  --glass-halo: rgba(250,204,21,0.18);
  --gold-1:#f59e0b; /* amber-500 */
  --gold-2:#facc15; /* amber-300 */
}

/* CARD GLASS con halo y borde translúcido */
.glass{
  background: linear-gradient(180deg, var(--glass-bg), rgba(255,255,255,0.05));
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.glass::before{
  /* halo superior sutil */
  content:"";
  position:absolute; inset: -30% -10% auto -10%; height: 60%;
  background: radial-gradient(120% 60% at 50% 0%,
              var(--glass-halo) 0%, transparent 60%);
  pointer-events:none; filter: blur(14px); opacity: .8;
  transition: opacity .35s ease, transform .35s ease;
}
.glass::after{
  /* borde con brillo dinámico */
  content:"";
  position:absolute; inset:0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding:1px; border-radius: inherit;
  background: conic-gradient(from 140deg, rgba(255,255,255,.2), rgba(255,255,255,.05), rgba(255,255,255,.2));
  opacity:.6;
  pointer-events:none;
}
.glass:hover{
  transform: translateY(-8px);
  border-color: rgba(250,204,21,0.35);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.glass:hover::before{ opacity: 1; transform: translateY(-4px); }

/* BOTÓN GLASS */
.btn-glass{
  display:inline-block; padding:.9rem 1.2rem; border-radius:.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border:1px solid rgba(255,255,255,0.28);
  color:#fff; font-weight:600; letter-spacing:.2px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.btn-glass:hover{
  transform: translateY(-2px);
  border-color: rgba(250,204,21,0.45);
  box-shadow: 0 8px 26px rgba(0,0,0,0.45);
}

/* BOTÓN DORADO (opcional) */
.btn-gold{
  display:inline-block; padding:.95rem 1.25rem; border-radius:.8rem;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color:#0a0a0a; font-weight:700; letter-spacing:.2px;
  box-shadow: 0 10px 24px rgba(250,204,21,0.35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-gold:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(250,204,21,0.45);
  filter: brightness(1.02);
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .glass, .btn-glass, .btn-gold{ transition: none !important; }
  .glass::before{ transition: none !important; }
}

/* Asegúrate de que detrás haya negro para que se "pierda" ahí */
.about-img-wrap { position: relative; background:#000; overflow:hidden; }
.about-mask-img { display:block; width:100%; height:100%; object-fit:cover; }

/* Máscara: transparente = desaparece, opaco = se ve */
.about-mask-img{
  /* Safari/WebKit */
  -webkit-mask-image:
    radial-gradient(var(--corner) var(--corner) at 0 0,
      transparent 0 42%, #000 70%),
    linear-gradient(to right,
      transparent 0 var(--fade-left),
      #000 calc(var(--fade-left) + var(--fade-left-soft))),
    linear-gradient(to bottom,
      transparent 0 var(--fade-top),
      #000 calc(var(--fade-top) + var(--fade-top-soft)));
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat;
  -webkit-mask-position: 0 0, 0 0, 0 0;
  -webkit-mask-size:
    var(--corner) var(--corner), 100% 100%, 100% 100%;

  /* Estándar */
  mask-image:
    radial-gradient(var(--corner) var(--corner) at 0 0,
      transparent 0 42%, #000 70%),
    linear-gradient(to right,
      transparent 0 var(--fade-left),
      #000 calc(var(--fade-left) + var(--fade-left-soft))),
    linear-gradient(to bottom,
      transparent 0 var(--fade-top),
      #000 calc(var(--fade-top) + var(--fade-top-soft)));
  mask-repeat: no-repeat, no-repeat, no-repeat;
  mask-position: 0 0, 0 0, 0 0;
  mask-size:
    var(--corner) var(--corner), 100% 100%, 100% 100%;
}

/* Por si tuviste versiones anteriores con overlays oscuros, los anulamos: */
.about-img-wrap::before,
.about-img-wrap::after { content:none !important; display:none !important; }

/* Responsive: muerde un poco menos en móvil */
@media (max-width: 768px){
  :root{
    --fade-left: 150px;
    --fade-left-soft: 70px;
    --fade-top: 100px;
    --fade-top-soft: 60px;
    --corner: 200px;
  }
}


/* ========= Pro Cards (borde plata + glow sutil + shimmer discreto) ========= */
.pro-card {
  position: relative;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.40), inset 0 0 0 1px rgba(255,255,255,0.035);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  /* Variables para afinar el “carácter” del brillo */
  --border-alpha: .28;         /* intensidad del borde cromado (base) */
  --glow-alpha: .14;           /* halo suave base */
  --glow-alpha-hover: .26;     /* halo al pasar el mouse */
  --sheen-opacity: .16;        /* brillo que recorre la card (base) */
  --sheen-opacity-hover: .26;  /* brillo al hover */
  --sheen-speed: 7.5s;         /* velocidad del recorrido (base, más lento = más discreto) */
  --sheen-speed-hover: 3.2s;   /* velocidad al hover */
  --glow-speed: 6.5s;          /* respiración del halo */
}

.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.50);
}

/* Borde cromado plateado (fino) usando conic-gradient + máscara */
.pro-card::before{
  content:"";
  position:absolute; inset:0;
  padding: 1px; /* grosor del borde */
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.3)) 0deg,
      rgba(210,210,210,var(--border-alpha)) 90deg,
      rgba(255,255,255,calc(var(--border-alpha)*.9)) 180deg,
      rgba(190,190,190,var(--border-alpha)) 270deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.2)) 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .9; /* ya es fino; mantenlo cercano a 1 para definición del borde */
}

/* Halo suave alrededor (respira discretamente) */
.pro-card::after{
  content:"";
  position:absolute; inset:-22px;
  border-radius: inherit;
  background:
    radial-gradient(55% 110% at 50% -15%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(55% 110% at -10% 50%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(55% 110% at 110% 60%, rgba(255,255,255,.12), transparent 40%);
  filter: blur(16px);
  opacity: var(--glow-alpha);
  animation: proGlow var(--glow-speed) ease-in-out infinite;
  pointer-events: none;
}
.pro-card:hover::after{ opacity: var(--glow-alpha-hover); }

/* Brillo que “pasa” por encima (sheen) – discreto */
.pro-card__shine{
  position:absolute; inset:0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.10) 55%,
    transparent 80%
  );
  transform: translateX(-140%);
  animation: proSheen var(--sheen-speed) ease-in-out infinite;
  animation-delay: var(--sheen-delay, 0s);
  mix-blend-mode: screen;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--sheen-opacity);
}
.pro-card:hover .pro-card__shine{
  opacity: var(--sheen-opacity-hover);
  animation-duration: var(--sheen-speed-hover);
}

/* Contenido */
.pro-card__inner { position: relative; z-index: 1; }

/* Botón metálico – más sobrio */
.btn-metal{
  position: relative;
  display:inline-block;
  padding: .625rem 1rem;
  border-radius: .75rem;
  color:#111;
  font-weight:600;
  background: linear-gradient(180deg,#ffffff,#eaeaea 55%,#d5d5d5);
  border:1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 8px 24px rgba(0,0,0,.38);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  overflow:hidden;
}
.btn-metal::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(120deg,transparent 30%,rgba(255,255,255,.7) 50%,transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  mix-blend-mode: screen;
  opacity: .75;
}
.btn-metal:hover::after{ transform: translateX(120%); }
.btn-metal:hover{ transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 32px rgba(0,0,0,.5); }
.btn-metal:active{ transform: translateY(0); }
.btn-metal:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.22); }

/* Acordeón suave */
.collapsible{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
}
.collapsible.open{
  max-height: 360px;
  opacity: 1;
}

/* Animaciones */
@keyframes proGlow{
  0%,100%{ opacity: var(--glow-alpha) }
  50%    { opacity: calc(var(--glow-alpha) + .12) }
}
@keyframes proSheen{
  0%  { transform: translateX(-140%); }
  60% { transform: translateX(140%);  }
  100%{ transform: translateX(140%);  }
}

/* Desfase sutil entre cards para que no brillen a la vez */
#expertise .pro-card:nth-child(3n+1){ --sheen-delay: .0s; }
#expertise .pro-card:nth-child(3n+2){ --sheen-delay: .9s; }
#expertise .pro-card:nth-child(3n+3){ --sheen-delay: 1.8s; }

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce){
  .pro-card,.btn-metal{ transition: none; }
  .pro-card__shine{ animation: none; opacity:.18; }
  .pro-card::after{ animation: none; opacity: .16; }
}

/* ============ Expertise: ajustes de tamaño + overlay hover + mostrar más ============ */

/* Icono más grande dentro del medallón */
.lex-medallion{
  --m-size: 3.9rem;        /* antes ~3.25rem */
  width: var(--m-size); height: var(--m-size);
  font-size: 1.8rem;       /* tamaño del ícono */
}

/* Título más grande y jerarquizado */

@media (min-width: 768px){
  .lex-title{ font-size: 1.7rem; }
}

/* Overlay de información al hover (sutil, elegante) */
.pro-card { position: relative; }
.pro-card__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:1.25rem 1.1rem;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(0,0,0,.55), rgba(0,0,0,.85));
  color:#e9e9e9;
  opacity:0; transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
  border-radius: inherit;
  pointer-events:none;           /* no bloquea el click si luego quieres link */
}
.pro-card:hover .pro-card__overlay{
  opacity:1; transform: translateY(0);
}
.pro-card__overlay h4{
  font-weight:800; font-size:1.05rem; letter-spacing:.04em; margin-bottom:.35rem;
}
.pro-card__overlay p{
  font-size:.92rem; color:rgba(255,255,255,.85);
}

/* Contenedor de “más tarjetas” con acordeón vertical */
.expertise-more{
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
}
.expertise-more.open{
  max-height: 2200px;  /* suficiente para varias filas */
}

/* ====== PRO CARDS — Borde plateado con brillo sutil y face-swap en hover ====== */
.pro-card{
  position: relative;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.40), inset 0 0 0 1px rgba(255,255,255,0.035);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  /* controles finos */
  --border-alpha: .38;          /* ↑ un poco para que se vea más “plata” */
  --border-width: 1.5px;        /* borde ligeramente más grueso */
  --border-speed: 10s;          /* brillo recorriendo el borde (lento) */
  --border-speed-hover: 3.6s;   /* más rápido al hover */
  --halo-opacity: .18;          /* halo alrededor */
  --halo-opacity-hover: .28;    /* halo al hover */
}

.pro-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

/* Marco cromado animado (conic-gradient + máscara) */
.pro-card::before{
  content:"";
  position:absolute; inset:0;
  padding: var(--border-width);
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.2)) 0deg,
      rgba(220,220,220,var(--border-alpha)) 75deg,
      rgba(255,255,255,calc(var(--border-alpha)*.9)) 150deg,
      rgba(195,195,195,var(--border-alpha)) 225deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.25)) 300deg,
      rgba(235,235,235,var(--border-alpha)) 360deg
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  animation: borderShine var(--border-speed) linear infinite;
  opacity:.95;
}
.pro-card:hover::before{ animation-duration: var(--border-speed-hover); }

/* Halo respirando (muy sutil) */
.pro-card::after{
  content:"";
  position:absolute; inset:-22px;
  border-radius: inherit;
  background:
    radial-gradient(55% 110% at 50% -15%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(55% 110% at -10% 50%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(55% 110% at 110% 60%, rgba(255,255,255,.12), transparent 40%);
  filter: blur(16px);
  opacity: var(--halo-opacity);
  animation: proGlow 6.5s ease-in-out infinite;
  pointer-events:none;
}
.pro-card:hover::after{ opacity: var(--halo-opacity-hover); }

/* Sheen (brillo que cruza la tarjeta) — se mantiene discreto */
.pro-card__shine{
  position:absolute; inset:0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.10) 55%,
    transparent 80%
  );
  transform: translateX(-140%);
  animation: proSheen 7.5s ease-in-out infinite;
  mix-blend-mode: screen;
  border-radius: inherit;
  pointer-events:none;
  opacity:.16;
}
.pro-card:hover .pro-card__shine{
  animation-duration: 3.2s;
  opacity:.26;
}

/* Contenido interno + sistema de dos caras */
.pro-card__inner{ position: relative; z-index: 1; padding: 2rem; }

/* Frente */
.card-face{ transition: opacity .26s ease, transform .26s ease, filter .26s ease; }
.face--front{ position:relative; }

/* Dorso (contenido alterno) */
.face--back{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:center;
  padding: 2rem;
  opacity:0; transform: translateY(10px);
  pointer-events:none;
}

/* Al hover: escondemos el frente y mostramos el dorso */
.pro-card:hover .face--front{
  opacity:0; transform: translateY(-6px) scale(.98); filter: blur(1px);
}
.pro-card:hover .face--back{
  opacity:1; transform: translateY(0); pointer-events:auto;
}

/* Medallón del ícono (un poco más grande) */
.lex-medallion{
  --m-size: 3.9rem;
  width: var(--m-size); height: var(--m-size);
  border-radius: 999px;
  display:grid; place-items:center;
  color:#111; font-size: 1.8rem;
  background: radial-gradient(120% 120% at 30% 25%, #ffffff 0%, #eeeeee 42%, #dbdbdb 70%, #c9c9c9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -6px 12px rgba(0,0,0,.08),
    0 10px 26px rgba(0,0,0,.35);
  position:relative;
}
.lex-medallion::before{
  content:"";
  position:absolute; inset:-1px; border-radius:inherit;
  padding:1px;
  background: conic-gradient(from 0deg,
      rgba(255,255,255,.85), rgba(210,210,210,.7),
      rgba(255,255,255,.9), rgba(190,190,190,.7),
      rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
  opacity:.95;
}




/* Línea divisora: más tenue, pero visible */
.lex-divider{
  height:1px; width:100%;
  margin:.85rem 0 1rem 0;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.16), rgba(255,255,255,.06));
  opacity:.9;
  transform: scaleY(.8); /* “medio pixel” visual */
}

/* Cabecera */
.lex-head{ display:flex; align-items:center; gap:1rem; margin-bottom:.75rem; }
.lex-eyebrow{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,.65); margin-bottom:.15rem; }
.lex-teaser{ color:#cfcfcf; line-height:1.55; }

/* Animaciones utilitarias */
@keyframes borderShine { to { transform: rotate(360deg); } }
@keyframes proGlow{ 0%,100%{ opacity: var(--halo-opacity) } 50%{ opacity: calc(var(--halo-opacity) + .10) } }
@keyframes proSheen{ 0%{ transform: translateX(-140%);} 60%{ transform: translateX(140%);} 100%{ transform: translateX(140%);} }

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce){
  .pro-card,.pro-card__shine{ animation:none; transition:none; }
  .pro-card::after{ animation:none; }
}


/* ===== Pro Cards – FINAL: borde plata estático + glow sutil + face-swap + orb ===== */
.pro-card{
  position: relative;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.40), inset 0 0 0 1px rgba(255,255,255,0.035);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  /* Ajustes finos */
  --border-alpha: .42;      /* intensidad cromada (sube/baja para más/menos plata) */
  --border-width: 1.6px;    /* grosor del marco cromado */
  --halo-opacity: .18;      /* halo base alrededor */
  --halo-opacity-hover: .28;/* halo al hover */
}
.pro-card:hover{
  transform: translateY(-6px) scale(1.03);     /* crece un poco al hover */
  box-shadow: 0 18px 46px rgba(0,0,0,.55);
}

/* Marco cromado ESTÁTICO (sin animación) pegado al borde */
.pro-card::before{
  content:"";
  position:absolute; inset:0;
  padding: var(--border-width);
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.15)) 0deg,
      rgba(225,225,225,var(--border-alpha)) 72deg,
      rgba(255,255,255,calc(var(--border-alpha)*.95)) 144deg,
      rgba(200,200,200,var(--border-alpha)) 216deg,
      rgba(255,255,255,calc(var(--border-alpha)*1.20)) 288deg,
      rgba(240,240,240,var(--border-alpha)) 360deg
    );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
  opacity:.98;
}

/* Halo sutil respirando */
.pro-card::after{
  content:"";
  position:absolute; inset:-22px;
  border-radius: inherit;
  background:
    radial-gradient(55% 110% at 50% -15%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(55% 110% at -10% 50%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(55% 110% at 110% 60%, rgba(255,255,255,.12), transparent 40%);
  filter: blur(16px);
  opacity: var(--halo-opacity);
  animation: proGlow 6.5s ease-in-out infinite;
  pointer-events:none;
}
.pro-card:hover::after{ opacity: var(--halo-opacity-hover); }

/* Brillo (sheen) cruzando la card – discreto */
.pro-card__shine{
  position:absolute; inset:0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,.10) 55%,
    transparent 80%
  );
  transform: translateX(-140%);
  animation: proSheen 7.5s ease-in-out infinite;
  mix-blend-mode: screen;
  border-radius: inherit;
  pointer-events:none;
  opacity:.16;
}
.pro-card:hover .pro-card__shine{ animation-duration: 3.2s; opacity:.26; }

/* ORB flotante (figura suave en movimiento) */
.pro-card__orb{
  position:absolute; top:-40px; right:-32px;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  filter: blur(12px);
  opacity: .18;
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 50%;
  animation: orbDrift 9s ease-in-out infinite alternate;
}

/* Contenido interno y sistema de dos caras (face-swap) */
.pro-card__inner{ position: relative; z-index: 1; padding: 2rem; }
.card-face{ transition: opacity .26s ease, transform .26s ease, filter .26s ease; }
.face--front{ position:relative; }
.face--back{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:center;
  padding: 2rem;
  opacity:0; transform: translateY(10px);
  pointer-events:none;
}
/* Hover: oculta frente y muestra dorso con info distinta */
.pro-card:hover .face--front{
  opacity:0; transform: translateY(-6px) scale(.98); filter: blur(1px);
}
.pro-card:hover .face--back{
  opacity:1; transform: translateY(0); pointer-events:auto;
}

/* Tipografía/estructura ejecutiva */

.lex-eyebrow{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,.65); margin-bottom:.15rem; }

@media (min-width: 768px){ .lex-title{ font-size: 1.7rem; } }
.lex-teaser{ color:#cfcfcf; line-height:1.55; }

/* Medallón del ícono */
.lex-medallion{
  --m-size: 3.9rem;
  width: var(--m-size); height: var(--m-size);
  border-radius: 999px;
  display:grid; place-items:center;
  color:#111; font-size: 1.8rem;
  background: radial-gradient(120% 120% at 30% 25%, #ffffff 0%, #eeeeee 42%, #dbdbdb 70%, #c9c9c9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -6px 12px rgba(0,0,0,.08),
    0 10px 26px rgba(0,0,0,.35);
  position:relative;
}
.lex-medallion::before{
  content:"";
  position:absolute; inset:-1px; border-radius:inherit;
  padding:1px;
  background: conic-gradient(from 0deg,
      rgba(255,255,255,.85), rgba(210,210,210,.7),
      rgba(255,255,255,.9), rgba(190,190,190,.7),
      rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none; opacity:.95;
}

/* Línea divisora más tenue, pero perceptible */
.lex-divider{
  height:1px; width:100%;
  margin:.85rem 0 1rem 0;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.12), rgba(255,255,255,.04));
  opacity:.9; transform: scaleY(.7);
}

/* Animaciones */
@keyframes proGlow{
  0%,100%{ opacity: var(--halo-opacity) }
  50%    { opacity: calc(var(--halo-opacity) + .10) }
}
@keyframes proSheen{
  0%  { transform: translateX(-140%); }
  60% { transform: translateX(140%);  }
  100%{ transform: translateX(140%);  }
}
@keyframes orbDrift{
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-18px, 10px) scale(1.06); }
  100% { transform: translate(-36px,-8px) scale(1.1); }
}

/* Accesibilidad: menos movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce){
  .pro-card,.pro-card__shine{ animation:none; transition:none; }
  .pro-card::after{ animation:none; }
}

/* 1) Sheen (la diagonal brillante) — estático por defecto */
.pro-card__shine{
  animation: none !important;       /* sin movimiento constante */
  opacity: .12;                     /* más discreto */
}
/* En hover: una sola pasada sutil */
.pro-card:hover .pro-card__shine{
  animation: proSheen 2.6s ease-in-out 1 !important; /* 1 = una vez */
  opacity: .22;
}

/* 2) Halo “respirando” — estático por defecto */
.pro-card::after{
  animation: none !important;       /* sin respiración constante */
  opacity: var(--halo-opacity, .16);
}
.pro-card:hover::after{
  animation: proGlow 5.2s ease-in-out 1 !important;  /* solo 1 ciclo en hover */
  opacity: var(--halo-opacity-hover, .26);
}

/* 3) Orb flotante — quieto por defecto, se mueve solo en hover */
.pro-card__orb{
  animation: none !important;
  opacity: .14;                     /* muy sutil */
}
.pro-card:hover .pro-card__orb{
  animation: orbDrift 6s ease-in-out 1 alternate !important;
  opacity: .18;
}

/* 4) Por si quedó algún borde girando de CSS viejo, lo “apagamos” */
.pro-card::before{
  animation: none !important;       /* borde cromado ESTÁTICO */
}

/* 5) La card sigue creciendo en hover (ya lo traes en tu CSS) */
.pro-card:hover{
  transform: translateY(-6px) scale(1.03);
}


/* ===== Expertise: buscador elegante ===== */
.expertise-search{
  position: relative;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}
.filter-input{
  width: 100%;
  padding: 0.9rem 3rem 0.9rem 2.6rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.filter-input::placeholder{ color: rgba(255,255,255,.45); }
.filter-input:focus{
  outline: none;
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 6px 22px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  background: rgba(255,255,255,.08);
}
.filter-icon{
  position:absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.65); font-size: 1rem; pointer-events: none;
}
.filter-clear{
  position:absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor: pointer; opacity:0; pointer-events:none; transition: opacity .15s ease, transform .15s ease;
}
.filter-clear.is-visible{ opacity:1; pointer-events:auto; }

