/* About page styles — same aesthetic as home */

/* ============================================= */
/* HERO */
/* ============================================= */

.about-hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
  padding-top: 15vh;
  overflow: hidden;
}

/* .moving ya viene de project-styles pero lo redefinimos aquí */
.moving {
  position: absolute;
  top: 30%;
  left: var(--tx, 60%);
  font-size: 12vw;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.08;
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-lead {
  font-size: 2.5vw;
  font-weight: 300;
  max-width: 55%;
  line-height: 1.3;
  letter-spacing: -0.015em;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* ============================================= */
/* BIO */
/* ============================================= */

.about-bio {
  padding: 4vh 2rem;
}

.about-bio-text {
  font-size: 4vw;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 85%;
}

/* ============================================= */
/* PERSONAL */
/* ============================================= */

.about-personal {
  padding: 10vh 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-personal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.about-paragraph-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.4;
  font-weight: 500;
}

.about-paragraph-block p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.01em;
  opacity: 0.85;
}

/* ============================================= */
/* SKILLS */
/* ============================================= */

.about-skills {
  padding: 4vh 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}

.skills-block h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.4;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.skills-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skills-block li {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.85;
  line-height: 1.4;
}

/* ============================================= */
/* EXPERIENCE LOOP */
/* ============================================= */

.about-loop-section {
  padding: 8vh 0;
  overflow: hidden; /* overflow aquí, no en el hijo */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 12vw; /* altura fija para contener el texto absoluto */
  position: relative;
  display: flex;
  align-items: center;
}

.exp-item {
  position: absolute; /* igual que .item en la home */
  top: 50%;
  transform: translateX(0%) translateY(-50%);
  font-size: 5vw;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}

/* ============================================= */
/* EXPERIENCE */
/* ============================================= */

.about-experience {
  padding: 4vh 2rem;
}

.exp-title {
  font-size: 4vw;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 8rem;
  opacity: 0.5;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  padding: 3rem 0;
  transition: all 0.3s ease;
}

.exp-row:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.exp-date {
  font-size: 0.85rem;
  opacity: 0.4;
  font-weight: 400;
  padding-top: 0.3rem;
  letter-spacing: 0.02em;
}

.exp-company {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.exp-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-bottom: 1rem;
  font-weight: 400;
}

.exp-info p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 600px;
}

/* ============================================= */
/* LANGUAGES */
/* ============================================= */

.about-languages {
  padding: 10vh 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-grid {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

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

.lang-name {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lang-level {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.4;
  font-weight: 400;
}

/* ============================================= */
/* FOOTER / CONTACT */
/* ============================================= */

.about-footer {
  padding: 15vh 2rem 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-big-text {
  font-size: 10vw;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
  transition: opacity 0.3s;
  letter-spacing: -0.01em;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.3;
  font-weight: 300;
}

p strong {
  font-weight: 700;
  font-style: italic;
}

.accent {
  font-style: italic;
  font-weight: 700;
  color: rgb(226, 43, 116);
}
/* ============================================= */
/* RESPONSIVE */
/* ============================================= */

@media (max-width: 768px) {
  .about-title {
    font-size: 20vw;
  }

  .about-lead {
    font-size: 5vw;
    max-width: 100%;
  }

  .about-bio-text {
    font-size: 6vw;
    max-width: 100%;
  }

  .about-personal-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-paragraph-block p {
    font-size: 1rem;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .exp-title {
    font-size: 8vw;
    margin-bottom: 2rem;
  }

  .exp-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 0;
  }

  .exp-company {
    font-size: 1.4rem;
  }

  .lang-grid {
    gap: 2.5rem;
  }

  .footer-big-text {
    font-size: 14vw;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .exp-item {
    font-size: 8vw;
  }

  .moving {
    top: 18%;
  }
  .about-hero {
    align-items: flex-start;
    justify-content: flex-start;
    height: 70vh;
  }
}

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