  /*
  body {
      margin: 0;
      padding: 0;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(145deg, #003049, #2c3e50);
      color: #ffffff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100vh;
      text-align: center;
    }

    h1 {
      font-size: 3rem;
      margin-bottom: 0.5rem;
    }

    p {
      font-size: 1.2rem;
      max-width: 600px;
      margin-bottom: 2rem;
    }

    .icono {
      font-size: 5rem;
      margin-bottom: 1rem;
    }

    .footer {
      position: absolute;
      bottom: 10px;
      font-size: 0.9rem;
      opacity: 0.7;
    }
    */


/* === Fuentes === */ 


/* Thin */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueThin.otf');
  font-weight: 200;
  font-style: normal;
}


/* Light */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueLight.otf');
  font-weight: 300;
  font-style: normal;
}


/* Regular / Roman */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueRoman.otf');
  font-weight: 400;
  font-style: normal;
}


/* Medium */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueMedium.otf');
  font-weight: 500;
  font-style: normal;
}


/* Bold */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueBold.otf');
  font-weight: 700;
  font-style: normal;
}


/* Black (Extra Bold) */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueBlack.otf');
  font-weight: 900;
  font-style: normal;
}


/* Italic Regular */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueItalic.otf');
  font-weight: 400;
  font-style: italic;
}

/* Italic Medium */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueMediumItalic.otf');
  font-weight: 500;
  font-style: italic;
}


/* Bold Italic */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('./fonts/HelveticaNeueBoldItalic.otf');
  font-weight: 700;
  font-style: italic;
}




    
body {
  background-image: url("./images/fondo_blanco.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 100vh;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}



/* Header */

 .hamburger-menu {
     padding-right:10px;
     display:none;
 }
 
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Menú de navegación */

.nav-link{
    color: #000 !important;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Efecto hover elegante */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #7400c5, #8d06a5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #8004b6;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Indicador de página activa */
.nav-link.active {
    color: #8004b6;
}

.nav-link.active::before {
    transform: scaleX(1);
}

/* Botones especiales */
.nav-button {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.nav-button::before {
    display: none;
}

/* Menú hamburguesa para móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: linear-gradient(45deg, #7600c3, #8304b1);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-link {
    display: block;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    color: #3498db;
    padding-left: 2rem;
}

/* Iconos (usando emojis como ejemplo) */
.icon {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        display: none;
        padding-left: 1rem;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Animación del hamburger */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }
}

/* Contenido de ejemplo */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
}


/* ===== Banner ===== */
.profile-banner {
  position: relative;
  width: 100%;
  height: 260px;
  background: url("./images/fondo1.webp") center / cover no-repeat;
}



/* Foto de perfil */
.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  transform: translateY(50%);
  background: #fff;
}




/* ===== Bloque 1 ===== */

.block-1 {
  padding-top: 90px;
}

.name {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 30px;
  color: #5F00CD !important;
}

.description-profile {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 20px;
}

.btn-1 {
  border: 1px solid #5F00CD;
  color: #000;
  font-size: 20px;
  width: 85%;
  font-weight: 400;
}


/* ===== Redes sociales ===== */
.socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 35px;
}

.socials img {
  width: 35px;
  height: 35px;
  cursor: pointer;
}




.buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}



/* ===== Bloque 2 ===== */
.block-2-image {
  margin-top: 50px;
}


.img-nave {
  width: 86%;
  height: auto;
  display: block;
  margin-left: 6.5%;
}



/* ===== Bloque 3 ===== */

.title-team {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 17px !important;
  display: block;
}


.btn-block3{
  border:1px solid #94089D; 
  color: #000;
  font-size: 20px;
  width: 85%;
  font-weight: 400;
  margin-bottom: 20px !important;
}

.block-3 {
  margin-top: 30px;
  padding-bottom: 40px;
}

.btn-3{
  border: 1px solid #000000;
  color: #000;
  font-size: 20px;
  width: 85%;
  font-weight: 400; 
}

.btn-todo {
  border: 1px solid #5F00CD;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  background: #fff;
}



@property --angle {
  syntax: '<angle>';
  initial-value: 90deg;
  inherits: true;
}

@property --gradX {
  syntax: '<percentage>';
  initial-value: 50%;
  inherits: true;
}

@property --gradY {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: true;
}

:root {
  --d: 8000ms; 
  --angle: 90deg;
  --gradX: 50%;
  --gradY: 0%;
  --c1: #5F00CD;
  --c2: rgba(95, 0, 205, 0.1);
  
  --c3: #94089D;
  --c4: rgba(95, 0, 205, 0.1);
  
  
  --c5: #000000;
  --c6: rgba(0, 0, 0, 0.1);
}

.animated-border-1 {
  font-size: 20px;
  border: 1px solid;
  padding: 12px;
  border-image: conic-gradient(from var(--angle), var(--c2), var(--c1) 0.1turn, var(--c1) 0.15turn, var(--c2) 0.25turn) 1;
  animation: borderRotate var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.animated-border-1:nth-child(2) {
  border-image: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--c1), var(--c1) 10%, var(--c2) 40%) 1;
  animation: borderRadial var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}



.animated-border-2 {
  font-size: 20px;
  border: 1px solid;
  padding: 12px;
  border-image: conic-gradient(from var(--angle), var(--c4), var(--c3) 0.1turn, var(--c3) 0.15turn, var(--c4) 0.25turn) 1;
  animation: borderRotate var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.animated-border-2:nth-child(2) {
  border-image: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--c3), var(--c3) 10%, var(--c4) 40%) 1;
  animation: borderRadial var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}


.animated-border-3 {
  font-size: 20px;
  border: 1px solid;
  padding: 12px;
  border-image: conic-gradient(from var(--angle), var(--c6), var(--c5) 0.1turn, var(--c5) 0.15turn, var(--c6) 0.25turn) 1;
  animation: borderRotate var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.animated-border-3:nth-child(2) {
  border-image: radial-gradient(ellipse at var(--gradX) var(--gradY), var(--c5), var(--c5) 10%, var(--c6) 40%) 1;
  animation: borderRadial var(--d) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes borderRotate {
  0% {
    --angle: 0deg;
  }
  100% {
    --angle: 360deg;
  }
}

@keyframes borderRadial {
  0% {
    --gradX: 0%;
    --gradY: 50%;
  }
  20% {
    --gradX: 100%;
    --gradY: 30%;
  }
  40% {
    --gradX: 80%;
    --gradY: 80%;
  }
  60% {
    --gradX: 20%;
    --gradY: 90%;
  }
  80% {
    --gradX: 0%;
    --gradY: 50%;
  }
  100% {
    --gradX: 50%;
    --gradY: 0%;
  }
}


/* ===== Proyectos ===== */

.title-page{
  font-size: 65px;
  font-weight: 700;
  color: #fff;
  transform: translateY(-70px);    
}


.block-proyects {
  display: block;
  margin: auto;
  padding-top: 5%;
  padding-bottom: 5%;
}

.filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 65px;
}

.filtro-btn {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  background: #e5e5e500;
  transition: all .25s ease;
  font-weight: 500;
  border: 1px solid #7a02c1;
}

.filtro-btn:hover {
  transform: translateY(-2px);
  background: #7a02c1;
  color: #ffffff;
}

.filtro-btn.active {
  background: #7a02c1;
  color: white;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}


/* TARJETA */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  height: 260px;
    transition:
    opacity .4s cubic-bezier(.22,.61,.36,1),
    transform .4s cubic-bezier(.22,.61,.36,1);
}

.card:hover {
  transform: scale(1.02);
}


.glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  opacity: 0;
  transition: opacity .2s ease;

  background: radial-gradient(circle 120px at 50% 50%,
      rgba(255,255,255,.75),
      rgba(255,255,255,.15) 40%,
      transparent 70%);
  
  mix-blend-mode: overlay;
}



/* IMÁGENES */
.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bw {
  filter: grayscale(100%);
}

.color {
  position: absolute;
  inset: 0;
  z-index: 2;
  mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 100%);
}


/* OVERLAY INFO */
.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: white;
  padding: 16px;
}

.info h3 {
  margin: 0;
  font-size: 16px;
}

.info span {
  font-size: 12px;
  opacity: .85;
}

/* FILTRO OCULTO */
.card.oculta {
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
  position: absolute;
}


.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



/* ====== Mobile ====== */
@media screen and (max-width: 768px){

 .hamburger-menu {
     display:block;
 }
 
 
 
 .title-page {
      font-size: 55px;
      font-weight: 700;
      color: #fff;
      transform: translateY(-70px);
 }
 
 .logo{
     font-size: 16px !important;
 }
 
 .logo img{
     width: 16% !important;
 }
  
}
