/* ==========================================================================
PORTAFOLIO DE LUIS PORTILLO - HOJA DE ESTILOS PRINCIPAL (style.css)
Diseño de Figma codificado de forma semántica y responsiva.
========================================================================== */

/* --- IMPORTACIÓN DE TIPOGRAFÍA --- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* ==========================================================================

VARIABLES DE SISTEMA (TOKENS DE DISEÑO - FIGMA)
========================================================================== */
:root {
/* --- COLORES PRIMARIOS (Primary Colors) --- */
--pr-green: #548B6C;
--pr-dark-green: #20402E;
--pr-light-green: #8BE5B2;

/* --- COLORES SECUNDARIOS (Secondary Colors) --- */
--sc-blue: #45548C;
--sc-light-blue: #7189E5;
--sc-marine-blue: #262E4D;
--sc-purple: #82548B;
--sc-dark-purple: #3C2740;

/* --- COLORES NEUTROS (Neutral Colors) --- */
--nt-beige: #CACCBF;
--nt-black: #0F0F0F;
--nt-dark-grey: #444444;
--nt-grey: #636363;
--nt-medium-grey: #A2A2A2;
--nt-light-grey: #D3D3D3;
--nt-background-grey: #E3E1E1;
--nt-white: #FFFFFF;

/* --- EFECTOS DE SOMBRA (Shadows) --- */
--shadow-product: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
--shadow-site: 0px 6px 10px 0px rgba(0, 0, 0, 0.35);

/* --- FUENTES DE TEXTO (Typography) --- */
--font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

/* --- TRANSICIONES GLOBALES --- */
--transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
--transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
2. RESET CSS & ESTILOS BASE
========================================================================== */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html {
font-size: 16px;
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body {
font-family: var(--font-family);
background-color: var(--nt-background-grey);
color: var(--nt-black);
line-height: 1.5;
overflow-x: hidden;
}

::selection {
background-color: var(--pr-green);
color: var(--nt-white);
}

img, svg {
display: block;
max-width: 100%;
height: auto;
}

img.horizontal-logo {width: 6.2rem; height:auto;}

a {
text-decoration: none;
color: inherit;
transition: var(--transition-fast);
}

button {
background: none;
border: none;
font-family: inherit;
cursor: pointer;
}

h4 {
  font-size: 1.15rem;
}

h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  line-height: 1.2; 
}

ul li  {
  margin-bottom: 1rem;
} 

/* ==========================================================================
3. ESTILOS DE TIPOGRAFÍA DE FIGMA (Text Styles)
========================================================================== */
.text-principal-title {
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 400;
line-height: 1.15;
letter-spacing: -0.02em;
}
.text-principal-title-semibold {
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 600;
line-height: 1.15;
letter-spacing: -0.02em;
}
.hero-principal-text{
  animation:
    opacity_0 1.200687s linear,
    translate_0 1.200687s linear,
    scale_0 1.200687s linear;
}

.hero-project-title{
  color: var(--pr-dark-green);
  font-family: var(--Principal, "Libre Franklin");
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.52px;
}

.text-principal-subtitle {
font-size: clamp(1.25rem, 3.5vw, 2rem);
font-weight: 400;
line-height: 1.25;
}
.text-principal-subtitle-semibold {
font-size: clamp(1.25rem, 3.5vw, 2rem);
font-weight: 600;
line-height: 1.25;
}

.text-title-item {
font-size: clamp(1.75rem, 4vw, 3.25rem);
font-weight: 500;
line-height: 1.2;
letter-spacing: -0.01em;
}

.text-subtitle {
font-size: clamp(1.35rem, 3vw, 2.25rem);
font-weight: 500;
line-height: 1.3;
}

.text-p-large-regular {
font-size: clamp(1.125rem, 2vw, 1.375rem);
font-weight: 400;
line-height: 1.65;
animation:
    opacity_0 1.200687s linear both,
    translate_0 1.200687s linear both,
    scale_0 1.200687s linear both;
animation-delay: .5s;
}
.text-p-large-semibold {
font-size: clamp(1.125rem, 2vw, 1.375rem);
font-weight: 600;
line-height: 1.65;
animation:
    opacity_0 1.200687s linear both,
    translate_0 1.200687s linear both,
    scale_0 1.200687s linear both;
animation-delay: .5s;
}
.text-p-large-medium {
  color: var(--Neutral---nt-dark-grey);
  /* Paragraph/Large/Medium */
  font-family: var(--Principal, "Libre Franklin");
  font-size: 1.375rem;
  line-height: 1.65rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2.25rem;
  letter-spacing: 0.01375rem;
}

.text-p-normal-regular {
font-size: clamp(1rem, 1.5vw, 1.125rem);
font-weight: 400;
line-height: 1.55;
color: var(--nt-grey);
}
.text-p-normal-semibold {
font-size: clamp(1rem, 1.5vw, 1.125rem);
font-weight: 600;
line-height: 1.55;
}

.text-detail-regular {
font-size: 0.75rem;
font-weight: 400;
line-height: 1.4;
color: var(--nt-grey);
}
.text-detail-semibold {
font-size: 1.1rem;
font-weight: 500;
line-height: 1.4;
}

/* ==========================================================================
4. MAQUETACIÓN ESTRUCTURAL Y LAYOUTS
========================================================================== */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
background-color: var(--nt-black);
color: var(--nt-white);
position: sticky;
top: 0;
z-index: 100;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 1.5rem;
font-weight: 400;
letter-spacing: -0.03em;
}

.logo span {
font-weight: 700;
}

.nav-menu {
display: flex;
gap: 2.5rem;
}

.nav-link {
font-size: 1rem;
font-weight: 500;
color: var(--nt-light-grey);
position: relative;
padding: 1rem 0;
}

.nav-link:hover, .nav-link.active {
color: var(--nt-white);
}

.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--pr-light-green);
transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
width: 100%;
}

/* Botón Hamburguesa */
.menu-toggle {
display: none;
flex-direction: column;
justify-content: space-between;
width: 24px;
height: 18px;
z-index: 110;
}

.menu-toggle span {
display: block;
width: 100%;
height: 2px;
background-color: var(--nt-white);
transition: var(--transition-fast);
border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero-section, .hero-projects-section {
align-items: center;
background-color: var(--nt-beige);
display: flex;
height: 85vh;
padding: 4.5rem 0;
}

.hero-projects-section {
  height: 55vh;
  overflow: hidden;
}

.img-hero-project{
  padding-top:16rem;
  animation: img_principal_project 15s cubic-bezier(0.7, -0.4, 0.4, 1.4) both;
}

.hero-grid {
display: flex;
padding: 0;
gap: 2rem;
align-items: center;
}

.hero-sidebar {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}

.avatar-wrapper {
position: relative;
width: 345px;
height: 345px;
border-radius: 50%;
overflow: hidden;
border: 4px solid var(--pr-dark-green);
box-shadow: var(--shadow-site);
animation:
  opacity_1 2.5s linear both,
  rotate_1 2.5s linear both,
  translate_1 2.5s linear both;
animation-delay: 1s;
}
.avatar-wrapper img {
  width: 100%; height: auto; object-fit: cover;
}

.social-links {
display: flex;
gap: 1.5rem;
animation:
    opacity_0 1.200687s linear both,
    translate_0 1.200687s linear both,
    scale_0 1.200687s linear both;
animation-delay: 1s;
}

.social-icon {
width: 44px;
height: 44px;
background-color: transparent;
display: flex;
align-items: center;
justify-content: center;
color: var(--nt-black);
transition: var(--transition-smooth);
position: relative; /* Clave para el posicionamiento absoluto del tooltip */
}

.social-icon:hover {
transform: translateY(-4px);
}

/* --- EFECTO TOOLTIP (CSS Puro) --- */
/* El globo del texto */
.social-icon::after {
content: attr(data-tooltip);
position: absolute;
bottom: 125%; /* Aparece justo arriba del botón */
left: 50%;
transform: translateX(-50%) translateY(8px);
background-color: var(--nt-black);
color: var(--nt-white);
padding: 6px 12px;
border-radius: 6px;
font-family: var(--font-family);
font-size: 0.75rem; /* Equivalente a un texto detalle (12px) */
font-weight: 500;
white-space: nowrap;
opacity: 0;
pointer-events: none;
box-shadow: var(--shadow-product);
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 50;
}

/* La pequeña flecha indicadora del tooltip */
.social-icon::before {
content: '';
position: absolute;
bottom: 110%;
left: 50%;
transform: translateX(-50%) translateY(8px);
border-width: 6px 6px 0;
border-style: solid;
border-color: var(--nt-black) transparent transparent;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 50;
}

/* Desencadenadores de hover para mostrar el tooltip */
.social-icon:hover::after,
.social-icon:hover::before {
opacity: 1;
transform: translateX(-50%) translateY(0);
}

.hero-content {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.hero-greeting {
color: var(--nt-dark-grey);
}

.hero-greeting span {
color: var(--pr-dark-green);
font-weight: 600;
}

.hero-title {
color: var(--nt-black);
font-weight: 400;
margin-bottom: 0.5rem;
}

.hero-title span {
color: var(--sc-marine-blue);
font-weight: 600;
}

.hero-desc {
color: var(--nt-black);
}

.hero-desc strong {
font-weight: 600;
color: var(--pr-dark-green);
}

/* --- SECCIÓN PROYECTOS (Diseño integrado e impecable) --- */
.projects-section {
background-color: var(--nt-background-grey);
padding: 5rem 0;
}

.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 3.5rem;
}

.section-title {
display: flex;
align-items: center;
gap: 0.75rem;
color: var(--pr-dark-green);
}

.section-title svg {
color: var(--nt-grey);
}

.projects-list {
display: flex;
flex-direction: column;
gap: 10rem;
}

.project-card {
display: flex;
gap: 5rem;
align-items: flex-start;
background-color: transparent;
border-radius: 0;
box-shadow: none;
overflow: visible;
transition: none;
}

.project-info {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 0;
}

.project-details {
display: flex;
flex-direction: column;
gap: 1rem;
}

.brand-badge {
display: inline-flex;
align-items: center;
margin-bottom: 0.5rem;
}

.project-card-title {
color: var(--nt-dark-grey);
}

.project-date {
color: var(--nt-grey);
margin-bottom: 0.75rem;
}

.project-desc {
color: var(--nt-dark-grey);
max-width: 900px;
}

.project-desc strong {
font-weight: 600;
color: var(--nt-black);
}

.project-visual {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--nt-black);
border-radius: 40px;
padding: 3rem;
box-shadow: var(--shadow-product);
transition: var(--transition-smooth);
}

.project-card:hover .project-visual {
transform: translateY(-4px);
box-shadow: var(--shadow-site);
}

.phone-mockup {
width: 280px;
height: 520px;
background-color: var(--nt-white);
border: 12px solid var(--nt-black);
border-radius: 48px;
padding: 0;
box-shadow: var(--shadow-product);
overflow: hidden;
position: relative;
}

.screen-clip {
background-color: #FF5000;
color: var(--nt-white);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 1.5rem;
text-align: center;
}

.screen-tigo {
background-color: var(--nt-white);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 1.5rem;
}

.terminal-svg {
width: 160px;
height: 240px;
margin: auto;
}

.tigo-screen-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 1.5rem;
margin: auto;
}

/* --- SECCIÓN EXPERIENCIA --- */
.experience-section {
background-color: var(--nt-light-grey);
padding: 5rem 0;
}

.experience-list {
display: flex;
flex-direction: column;
gap: 3.5rem;
}

.experience-item {
display: flex;
flex-direction: column;
gap: 1.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
padding-bottom: 2.5rem;
transition: var(--transition-fast);
}

.experience-item:last-child {
border-bottom: none;
padding-bottom: 0;
}

.experience-header {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.company-logo-area {
margin-bottom: 0.25rem;
}

.role-title {
color: var(--nt-black);
}

.experience-meta {
color: var(--nt-grey);
}

.experience-desc {
color: var(--nt-dark-grey);
max-width: 900px;
}

/* --- FOOTER --- */
.site-footer {
background-color: var(--nt-black);
color: var(--nt-white);
padding: 4rem 0;
}

.footer-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}

.footer-socials {
display: flex;
gap: 2rem;
}

.footer-social-link {
color: var(--nt-light-grey);
transition: var(--transition-fast);
}

.footer-social-link:hover {
color: var(--pr-light-green);
transform: scale(1.15);
}

/* ==========================================================================
5. COMPONENTES BOTONES GLOBAL
========================================================================== */
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: var(--pr-dark-green);
color: var(--nt-white);
padding: 0.75rem 2rem;
border-radius: 9999px;
font-size: 1rem;
font-weight: 600;
transition: var(--transition-smooth);
}

.btn-primary:hover {
background-color: var(--pr-green);
box-shadow: var(--shadow-site);
transform: translateY(-2px);
}

.btn-primary:active {
transform: translateY(0);
}

.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
background-color: transparent;
color: var(--nt-black);
border: 1.5px solid var(--nt-medium-grey);
padding: 0.75rem 2.25rem;
border-radius: 9999px;
font-size: 1rem;
font-weight: 600;
transition: var(--transition-smooth);
width: fit-content;
}

.btn-secondary:hover {
color: var(--nt-black);
border-color: var(--nt-black);
box-shadow: var(--shadow-product);
transform: translateY(-2px);
}

.btn-secondary:active {
transform: translateY(0);
}

/**********/
/* Estado inicial oculto y desplazado */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform; /* Le avisa al navegador que optimice estos cálculos */
}

/* Estado activo cuando entra en pantalla */
.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vertical-alignment {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5rem;
}

.vertical-alignment img {
  margin: 0 1rem; /* Espaciado horizontal entre imágenes */
  max-width: 50%; /* Asegura que las imágenes no se desborden */
  height: 52vh; /* Mantiene la proporción de las imágenes */
}

.circle-number-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem; /* Espacio entre el círculo y el texto */
  margin-bottom: 1.5rem;
  flex-grow:1;
}

.circle-number-container p{
  width: 100%;
  margin-bottom: 0.4rem;
}

.circle-number-container .circle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  min-height: 1.6rem;
  max-width: 1.6rem;
  max-height: 1.6rem;
  border-radius: 50%;
  background-color: var(--pr-light-green);
  color: var(--pr-dark-green);
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.5rem; /* Espacio entre el círculo y el texto */
}

.circle-number-container .small-cite p {
  margin-bottom: 0.25rem;
  line-height: 1.2rem;
}

.circle-number-container .small-cite cite {
  font-size: 0.85rem;
}

.img-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-grow:1;
}

.img-container .title-and-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* Espacio entre el título y la imagen */
}

.img-container .title-and-image-container p {
  margin-bottom: 1.3rem;
}

.img-container .title-and-image-container img {
  max-width: none;
  height: 85%;
}

.img-container .title-and-image-container .img-container-vertical {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.img-container .wrap-image {
    margin: 0 1rem;
    height: 36vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.img-container .wrap-image img {
    margin:0;
    max-width: none;
    height: 61rem;
}

.step-list {
  width: 48%;
}

.info-insight {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
line-height: 1.65;
  margin-bottom: 1.5rem;
}



/* Medida crítica de accesibilidad (WCAG) 
  Si el usuario tiene activada la reducción de movimiento en su sistema operativo,
  anulamos la animación y mostramos el contenido inmediatamente.
*/
@media (prefers-reduced-motion: reduce) {
  .reveal-element {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/**********/

/* ==========================================================================
6. RESPONSIVE DESIGN (MEDIA QUERIES)
========================================================================== */

/* Tablet (menor a 992px) */
@media (max-width: 992px) {
.hero-grid {
grid-template-columns: 1fr;
gap: 3rem;
text-align: center;
}

.hero-sidebar {
order: -1;
}

.project-card {
grid-template-columns: 1fr;
gap: 2rem;
}

.project-info {
order: 2;
padding: 0;
}

.project-visual {
order: 1;
min-height: auto;
padding: 2.5rem;
border-radius: 32px;
}

.phone-mockup {
width: 240px;
height: 450px;
}
}

/* Móvil (menor a 768px) */
@media (max-width: 768px) {
.menu-toggle {
display: flex;
}

.nav-menu {
position: fixed;
top: 59px;
left: -100%;
width: 100%;
height: calc(100vh - 59px);
background-color: var(--nt-black);
flex-direction: column;
align-items: center;
justify-content: center;
gap: 3rem;
transition: var(--transition-smooth);
z-index: 100;
}

.nav-menu.active {
left: 0;
}

.menu-toggle.active span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
padding: 3rem 0;
}

.section-header {
flex-direction: column;
align-items: flex-start;
gap: 1.5rem;
margin-bottom: 2.5rem;
}

.section-header .btn-primary {
width: 100%;
}

.projects-list {
gap: 2.5rem;
}
}

@keyframes opacity_0 {
  0% {
    opacity: 0;
  }
  8.414% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes translate_0 {
  0% {
    animation-timing-function: ease-in;
    translate: 0px -80px;
  }
  16.657% {
    animation-timing-function: ease-in-out;
    translate: 0px 10px;
  }
  28.317% {
    animation-timing-function: ease-in-out;
    translate: 0px -5px;
  }
  38.311% {
    animation-timing-function: ease-out;
    translate: 0px 2px;
  }
  46.64% {
    translate: 0px 0px;
  }
  100% {
    translate: 0px 0px;
  }
}
@keyframes scale_0 {
  0% {
    animation-timing-function: ease-in;
    scale: 1.05 1;
  }
  16.657% {
    animation-timing-function: ease-out;
    scale: 0.96 1;
  }
  46.64% {
    scale: 1 1;
  }
  100% {
    scale: 1 1;
  }
}

/*Rotation avatar*/
@keyframes opacity_1 {
  0% {
    opacity: 0;
  }
  8.963% {
    animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
    opacity: 0;
  }
  22.687% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rotate_1 {
  0% {
    /* En lugar de -3.142rad (media vuelta), usamos -1turn para la vuelta completa */
    rotate: -0.5turn; 
  }
  8.963% {
    /* Aquí entra la curva de Bezier que Figma calculó para dar el rebote */
    animation-timing-function: cubic-bezier(0.56, 0, 0.46, 1.41);
    rotate: -0.5turn;
  }
  39.22% {
    /* Termina en 0 (su posición natural) */
    rotate: 0turn; 
  }
  100% {
    rotate: 0turn;
  }
}
@keyframes translate_1 {
  0% {
    translate: -179.5px 0px;
  }
  8.963% {
    animation-timing-function: cubic-bezier(0.563, 0, 0.457, 1.414);
    translate: -179.5px 0px;
  }
  39.22% {
    translate: 0px 0px;
  }
  100% {
    translate: 0px 0px;
  }
}

@keyframes img_principal_project {
  0% {
    animation-timing-function: cubic-bezier(0.7, -0.4, 0.4, 1.4);
    translate: 0px 420px;
  }
  5.372% {
    translate: 0px 0px;
  }
  100% {
    translate: 0px 0px;
  }
}

 /* ==========================================================================
       ESTILOS ADICIONALES: PÁGINA DE DETALLE DE PROYECTO
       ========================================================================== */

    /* --- Cabecera del Proyecto --- */
    .project-hero {
      padding: 4rem 0 3rem;
    }

    .project-meta {
      margin-top: 1rem;
      color: var(--nt-grey);
    }

    .project-meta .company {
      color: var(--pr-dark-green);
      font-weight: 600;
    }

    /* --- Secciones del Proyecto --- */
    .project-section {
      margin-bottom: 4rem;
    }

    .project-section .text-subtitle {
      margin-bottom: 1.5rem;
      color: var(--pr-dark-green);
    }

    .project-detail-content p, .project-detail-content li{
      max-width: 900px;
    }

    .project-process-content {
      background-color: var(--nt-light-grey);
    }

    /* --- Grid de Información (Rol, Área, etc.) --- */
    .project-info-grid {
      display: flex;
      gap: 3rem;
      margin-top: 2.5rem;
      background-color: var(--nt-light-grey);
      padding: 2rem;
      border-radius: 16px;
    }

    .info-item {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .info-item:last-child{width: 35%;}

    .info-value {
      color: var(--nt-black);
    }

    /* --- Listas Personalizadas (Logros, Indicadores) --- */
    .custom-list {
      list-style: none;
      padding-left: 0;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .custom-list li {
      position: relative;
      padding-left: 1.75rem;
    }

    .custom-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--pr-green);
      font-weight: bold;
    }

    .custom-list li strong {
      color: var(--pr-dark-green);
      font-weight: 600;
    }

    /* --- Galería de Proceso (Mockups) --- */
    .process-content h3 {
      margin-bottom: 1rem;
      color: var(--nt-dark-grey);
    }

    .process-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .process-gallery img {
      width: 100%;
      height: auto;
      border-radius: 32px;
      border: 8px solid var(--nt-black);
      box-shadow: var(--shadow-product);
      transition: var(--transition-smooth);
    }

    .process-gallery img:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-site);
    }

    .numbered-step {
      color: var(--pr-green);
      font-family: "Libre Franklin";
      font-size: 6rem;
      font-style: normal;
      font-weight: 600;
      line-height: normal;
    }

    .project-card-type-b {
      display: flex;
      flex-direction: column;
      gap: 3rem;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .project-hero {
        padding: 2rem 0 1.5rem;
      }

      .project-info-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem;
      }
    }

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

/* ==========================================================================
7. TIMELINE DE SESIÓN DE PRUEBAS (Paso 3 - Planeación de pruebas)
========================================================================== */
.session-timeline {
  width: 100%;
  margin-top: 1rem;
}

.session-steps {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.session-steps .session-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

.session-steps::before {
  content: "";
  position: absolute;
  left: calc(100% / 12);
  right: calc(100% / 12);
  top: 137px;
  height: 2px;
  background-color: var(--nt-light-grey);
  z-index: 0;
}

.session-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  gap: .4rem;
}

.session-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--nt-background-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.session-body {
  display: contents;
}

.session-title {
  font-size: 1 rem;
  font-weight: 500;
  color: var(--nt-black);
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-title-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.session-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--pr-green);
  margin: 1rem 0;
}

.session-desc {
  font-size: 0.85rem;
  color: var(--nt-grey);
  line-height: 1.55;
}

/* Tablet: 3 columnas, se pierde la línea conectora (el orden ya está en el título) */
@media (max-width: 992px) {
  .session-steps {
    flex-wrap: wrap;
    row-gap: 2.5rem;
  }

  .session-steps::before {
    display: none;
  }

  .session-step {
    flex: 1 1 30%;
    min-width: 220px;
  }

  .session-dot {
    display: none;
  }
}

/* Mobile: lista vertical con icono a la izquierda y línea conectora lateral */
@media (max-width: 576px) {
  .session-steps {
    flex-direction: column;
    row-gap: 0;
  }

  .session-step {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding-bottom: 1.75rem;
  }

  .session-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background-color: var(--nt-light-grey);
  }

  .session-icon {
    margin-bottom: 0;
  }

  .session-body {
    display: flex;
    flex-direction: column;
  }

  .session-title {
    min-height: 0;
    justify-content: flex-start;
    margin-bottom: 0.4rem;
  }
}

/* ==========================================================================
8. PERFIL DE LOS PARTICIPANTES (Paso 3 - Reclutamiento)
========================================================================== */
.participant-profile {
  margin-top: 1.5rem;
}

.profile-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pr-green);
  margin-bottom: 0.5rem;
}

.profile-heading {
  color: var(--nt-black);
  margin-bottom: 2.5rem;
}

.profile-layout {
  display: flex;
  align-items: stretch;
  gap: 3rem;
}

.profile-list {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.profile-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.profile-avatar {
  height: auto;
  flex-shrink: 0;
  font-size: 6.5rem;
  line-height: 7rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-title {
  color: var(--nt-black);
}

.profile-count {
  color: var(--nt-dark-grey);
}

.profile-desc {
  color: var(--nt-grey);
}

.profile-divider {
  width: 1px;
  align-self: stretch;
  background-color: var(--nt-light-grey);
  flex-shrink: 0;
}

.profile-features {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.features-title {
  color: var(--nt-black);
  margin-bottom: 0.25rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--nt-light-grey);
}

.feature-item p {
  color: var(--nt-dark-grey);
}

.profile-footnote {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--nt-grey);
  font-style: italic;
}

.profile-footnote a {
  color: var(--nt-grey);
  text-decoration: underline;
}

/* Tablet: columnas apiladas con divisor horizontal */
@media (max-width: 768px) {
  .profile-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .profile-divider {
    width: 100%;
    height: 1px;
  }

  .profile-heading {
    margin-bottom: 2rem;
  }
}

/* Mobile: tarjetas de perfil apiladas verticalmente */
@media (max-width: 576px) {
  .profile-card {
    flex-direction: column;
    gap: 1rem;
  }

  .profile-avatar {
    width: 72px;
  }
}

/* ==========================================================================
9. TABLA DE DATOS REUTILIZABLE (data-table)
   Úsala en cualquier sección del sitio envolviendo un <table class="data-table">
   dentro de un <div class="data-table-wrapper"> para permitir scroll horizontal
   en pantallas pequeñas sin romper el layout.
========================================================================== */
.data-table-block {
  width: 100%;
}

.table-section-title {
  color: var(--nt-black);
  margin-bottom: 1.5rem;
}

.data-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--nt-light-grey);
  border-radius: 12px;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table thead tr {
  background-color: rgba(69, 84, 140, 0.08);
}

.data-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nt-black);
  white-space: nowrap;
}

.data-table td {
  padding: 1.25rem 1.5rem;
  vertical-align: top;
  border-top: 1px solid var(--nt-light-grey);
  font-size: 0.9rem;
  color: var(--nt-dark-grey);
  line-height: 1.5;
}

.data-table tbody tr:nth-child(even) {
  background-color: rgba(15, 15, 15, 0.02);
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--nt-black);
  width: 22%;
  white-space: normal;
}

.table-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.table-list li {
  position: relative;
  padding-left: 1.1rem;
}

.table-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--pr-green);
  font-weight: bold;
}

.no-comments {
  font-style: italic;
  color: var(--nt-medium-grey);
}

/* Tablet / Mobile: la tabla conserva su ancho mínimo y se desplaza
   horizontalmente dentro de .data-table-wrapper en vez de apilarse,
   ya que es la forma más legible de mantener datos tabulares densos. */
@media (max-width: 768px) {
  .table-section-title {
    margin-bottom: 1rem;
  }

  .data-table th,
  .data-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }
}