:root {
    --bg: #4d60c0;
    --text: green;



}

.page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 24px 56px;
}
body {
    background: black;
    font-family: Verdana, sans-serif;
    margin: 0; /* 🔥 importante */
    padding: 0; /* 🔥 importante */
    overflow-x: hidden;
}

.section header{
    display: grid;
    gap: 24px;
    align-items: center;
    grid-template-columns: 1fr auto;
    padding: 30px 0 0px;
}
header h1{
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: rgb(255, 255, 255);
}

header h2{
    margin: 15px 0 0;
    font-family: "Inter", sans-serif;
    font-weight: 10;
    font-size: 20px;
    color: rgb(255, 255, 255);
}

header h3{
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: rgb(255, 255, 255);
}

section.section2 > h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: rgb(255, 255, 255);
    margin-bottom: 32px;
}

section.section2 > ul {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgb(255, 255, 255);
    margin-top: 0;
    padding-left: 20px;
}


h4 {
    font-family: "Inter", sans-serif;
    font-weight: 100;
    font-size: 18px;
    color: rgb(255, 255, 255);
}

h5 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: rgb(255, 255, 255);
    margin: 0;
    text-align: center;
}

h6 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 30px 0 10px;
    text-align: center;
}


h7 {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: rgb(255, 255, 255);
    padding: 0px 0 0px;
}

hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid rgb(255, 255, 255);
}

h8 {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-size: 18px;
    color: rgb(255, 255, 255);
    padding: 20px 0 10px;
}

h8 li {
    margin-bottom: 10px;
}

div {
    display: block;
    unicode-bidi: isolate;
}
.avatar {
    width: 200px;
    height: 200px;
    border-radius: 38px;
    overflow: hidden;
    border: 4px solid rgba(59, 130, 246, 0.2);
    background: var(--primary-soft);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
* {
    box-sizing: border-box;
}
user agent stylesheet
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

.section {
    background: orangered;
    border-radius: 28px;
    border: 1px solid rgba(172, 168, 168, 0.788);
    box-shadow: whitesmoke;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 20px;
    margin-bottom: -40px;
}

.section2 {
    background: rgba(255, 68, 0, 0);
    border-radius: 28px;
    border: 1px solid orangered;
    box-shadow: rgb(253, 253, 253);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 20px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 50px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    color: rgb(255, 255, 255);
    background: orangered ;
    margin-top: -30px;
    border-top: 1px solid orangered;
    display: flex;
  justify-content: center;
  align-items: center;
}

.footer-legal {
  background-color: orangered;
  color: white;

  padding: 30px 20px;
  
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: -30px;
}

.footer-legal p {
  max-width: 1000px;       /* controla el ancho para que no quede larguísimo */
  text-align: center;     /* centra el texto */
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  
  margin: 0;
  opacity: 0.9;           /* un toque más fino visualmente */
}

.cards-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    margin-bottom: 10px;
}

.cards-container::-webkit-scrollbar {
    height: 8px;
}
.cards-container::-webkit-scrollbar-thumb {
    background: orangered;
    border-radius: 10px;
}


.card {
    min-width: 250px;
    flex: 0 0 auto;
    background: orangered; /* 🔴 fondo sólido */
    border-radius: 20px;
    padding: 20px;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.4);
}


.card h6 {
    text-align: left;
    margin-bottom: 10px;
    color: white; /* ⚪ */
}


.card ul {
    padding-left: 18px;
}


.card li {
    margin-bottom: 6px;
    color: white; /* ⚪ */
}

.team-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

/* CONTENEDOR */
.team-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: nowrap; 
}

/* CARD */
.team-card {
    background: #e5e5e5;
    border-radius: 20px;
    padding: 30px 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}


.team-card h4 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #111;
}


.team-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}


.team-card a {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid orangered;
    border-radius: 30px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
}

.team-card a:hover {
    background:     orangered;
    color: white;
}

.team-section {
    border: none;
    background: transparent;
    margin-top: 60px; /* 🔥 separación */
}

.team-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.header {
    position: sticky;
    top: 0px;
    z-index: 1000;
    background: black;
    width: 100%;
    border-bottom: 1px solid rgba(255, 68, 0, 0.253);
    transition: all 0.3s ease;
    padding-bottom: 0px 
}

.nav-list {
    display: flex;
    gap: 35px;
    list-style: none;
   
}

.nav-list a {
    text-decoration: none;      /* ❌ saca subrayado */
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-list a:hover {
    color: orangered;
}

.nav-list a:hover {
    transform: scale(1.2);  /* 🔥 se agranda */
}
.nav-list a {
    display: inline-block; /* 🔥 clave para animación */
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* 🔥 hace la imagen circular */
    object-fit: cover;  /* 🔥 evita deformación */
    margin-bottom: 15px;
}

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

/* LOGOS */
.logo {
    height: 105px; /* 🔥 mucho más lógico */
    object-fit: contain;
}


/* MENÚ CENTRADO REAL */
.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;

    margin-left: auto; /* 🔥 ESTA ES LA MAGIA */
}


.header.shrink {
    padding: 2px 0;
}



.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 30px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.2);
}

.trabajos {
    margin: 80px auto;
    width: 90%; /* 👈 más ancho */
}

.trabajos h2 {
    color: white;
    margin-bottom: 30px;
    text-align: center; /* 👈 centrado */
    font-size: 32px;     /* 👈 un poco más grande */
}

/* CONTENEDOR SCROLL */
.trabajos-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    
}

/* ocultar scrollbar (opcional) */
.trabajos-container::-webkit-scrollbar {
    height: 8px;
}

.trabajos-container::-webkit-scrollbar-thumb {
    background: #ff4d00;
    border-radius: 10px;
}

.trabajo-link {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 20px;
}

/* TARJETAS */
.trabajo-card {
    min-width: 450px;   /* 👈 antes 250px */
    flex: 0 0 auto;
    background: orangered; /* 🔴 fondo sólido */
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: 0.3s ease;
}

.trabajo-card img {
    width: 100%;
    height: 260px;   /* 👈 antes 160px */
    object-fit: cover;
}

.trabajo-card p {
    color: white;
    padding: 20px;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    font-weight: 500px;
}

/* HOVER PRO */
.trabajo-card:hover {
    transform: scale(1.00);
}

.trabajo-card {
    cursor: pointer;
}

.trabajo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.portfolio-subtitulo {
    text-align: center;
    color: white;
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    text-decoration: underline; /* 👈 subrayado */
    cursor: pointer;
}

/* ============ RESPONSIVE MÓVIL ============ */
@media (max-width: 348px) {
    /* HEADER Y NAVEGACIÓN */
   .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔥 clave */
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

    .logo {
        height: 50px;
    }

    .logo.right {
        display: none;
    }

    .nav-list {
        gap: 15px;
        font-size: 14px;
    }

    .nav-list a {
        font-size: 14px;
    }

    /* SECTION PRINCIPAL */
    .section header {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    header h1 {
        font-size: 28px;
    }

    header h2 {
        font-size: 16px;
    }

    .avatar {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }

    /* PÁGINA GENERAL */
    .page {
        padding: 20px 12px 30px;
    }

    .section, .section2 {
        padding: 15px;
        border-radius: 15px;
    }

    /* EQUIPO */
    .team-container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .team-card {
        width: 100%;
        max-width: 280px;
    }

    .team-title {
        font-size: 24px;
    }

    /* TARJETAS ACADÉMICAS */
    .cards-container {
        gap: 12px;
        padding: 15px 0;
    }

    .card {
        min-width: 200px;
        padding: 15px;
    }

    h5 {
        font-size: 24px;
    }

    h6 {
        font-size: 20px;
        padding: 15px 0 8px;
    }

    h8 {
        font-size: 16px;
    }

    /* TRABAJOS */
    .trabajos {
        width: 100%;
        margin: 40px auto;
    }

    .trabajos h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .trabajo-card {
        min-width: 280px;
    }

    .trabajo-card img {
        height: 180px;
    }

    /* FOOTER */
    footer {
        font-size: 12px;
        padding: 15px;
        margin-top: -50px;
    }

    h7 {
        font-size: 24px;
    }
}

/* ============ RESPONSIVE EXTRA PEQUEÑO (Phones) ============ */
@media (max-width: 348px) {
   .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔥 clave */
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

    .logo.left {
        display: none;
    }

    .nav-list {
        gap: 8px;
        font-size: 12px;
    }

    .nav-list a {
        font-size: 12px;
    }

    header h1 {
        font-size: 22px;
    }

    header h2 {
        font-size: 14px;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        font-size: 24px;
    }

    .page {
        padding: 15px 8px 20px;
    }

    .cards-container {
        gap: 8px;
    }

    .card {
        min-width: 180px;
        padding: 12px;
    }

    .trabajo-card {
        min-width: 240px;
    }

    .trabajo-card img {
        height: 150px;
    }

    .team-card {
        max-width: 100%;
        padding: 20px 15px;
    }

    h5, h7 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    section.section2 > h3 {
        font-size: 20px;
    }
}

/* BIENVENIDA */
.bienvenida {
    text-align: center;
    padding: 80px 20px;
}



.bienvenida h1 {
     text-align: center;
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.bienvenida p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
     text-align: center;
    color: white;
}

.cierre {
    text-align: center;
    padding: 80px 20px;
    margin-top: -80px;
}


.cierre h1 {
     text-align: center;
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.cierre p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
     text-align: center;
    color: white;
}



/* PORTFOLIO VERTICAL */
.portfolio-vertical {
    width: 100%;
}

/* PROYECTO */
.proyecto {
    max-width: 1000px;   /* 🔥 limita el ancho */
    margin: 0 auto 80px auto; /* 🔥 centra */
}

/* TARJETA */
.proyecto img {
    width: 100%;
    height: 80vh;
    object-fit: cover;

    border: 3px solid orangered; /* 🔥 borde naranja */
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.15);
}

/* INFO ALINEADA CON LA TARJETA */
.info {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: left;
  
}

.info h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: white;
    font-family: "Inter", sans-serif;
}

.info p {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
    font-family: "Inter", sans-serif;
}

/* BOTÓN */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}


/* BOTÓN ARRIBA */
.volver-arriba {
    text-align: center;
    margin: 60px 0;
    margin-bottom: 20px;
    justify-self: end; margin-right: 0px;
}

.btn-volver {
    display: block;
    margin: 40px auto; /* 🔥 centra horizontal */
    text-align: center;
}

.btn-arriba {
    text-decoration: none;
    padding: 12px 25px;
    background: black;
    color: white;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: orangered;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

/* HOVER (cuando pasás el mouse) */
.btn:hover {
    background: white;
    color: orangered;
    border: 1px solid orangered;
}

.btn, .btn-arriba {
    display: inline-block;
    padding: 10px 20px;
    background: orangered;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

/* HOVER */
.btn:hover, .btn-arriba:hover {
    background: white;
    color: orangered;
    border: 1px solid orangered;
    transform: translateY(-2px);
}

.portfolio-photo {
width: 250px;
    height: 250px;
    border-radius: 38px;
    overflow: hidden;
    border: 4px solid orangered;
    background: var(--primary-soft);
    align-items: center;
    margin: 50px auto;
    margin-bottom: -50px;
}

.portfolio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

@media (max-width: 348px) {

  /* CONTENEDOR DEL HEADER */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 🔥 clave */
    
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

  /* LOGOS */
 .logo {
    height: 200px;
}


  /* MENÚ */
 .nav-list {
    display: flex;
    gap: 40px;
    margin-right: 10px;
    text-align: center;
    margin: 60px 0;
    margin-bottom: 20px;
    justify-self: end; margin-right: 0px

}

  .nav-list a {
    font-size: 16px;
  }

}
.nav-list {
  flex-wrap: wrap;
}

.header-container {
    max-width: 1100px; /* mismo que tu card */
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px;
}

@media (max-width: 348px) {
    .nav-list {
        display: none;
    }
}

.proceso {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px;
}

.proceso__title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
}

.proceso__subtitle {
  text-align: center;
  opacity: 0.6;
  margin-bottom: 80px;
}

.proceso__block {
  margin-bottom: 60px;
}

.proceso__heading {
  font-size: 20px;
  margin-bottom: 15px;
}

.proceso__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.nav__back {
  position: fixed;
  top: 20px;
  left: 20px;
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 40px 20px;
}

