/* ==========================================
   ABOUT (Sobre mí)
   ========================================== */
.about-section {
  position: relative;
  isolation: isolate;
  min-height: min(860px, 100dvh);
  background: #fff;
  color: var(--darker-green);
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 65% at 80% 45%, rgba(4, 68, 52, 0.09) 0%, rgba(4, 68, 52, 0) 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(198, 221, 83, 0.14) 0%, rgba(198, 221, 83, 0) 70%),
    #fff;
}

.about-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0.2  0 0 0 0 0.1  1.2 0 0 0 -0.45'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 260px 260px;
}

.about-word {
  position: absolute;
  left: 50%;
  bottom: 2%;
  z-index: 3;
  translate: -50% 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 3vw;
  font-size: clamp(72px, 10.5vw, 190px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.about-inner {
  position: relative;
  z-index: 3;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

.about-copy {
  max-width: min(540px, 46%);
}

.about-copy .section-tag .dot {
  background: var(--dark-green);
}

.about-heading {
  margin: 10px 0 26px;
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.about-copy p {
  margin-bottom: 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: rgba(1, 12, 5, 0.78);
}

.about-tools-label {
  margin: 30px 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(1, 12, 5, 0.6);
}

.about-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 34px;
}

.about-tools li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--darker-green);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 7px 7px 7px 26px;
  border-radius: 999px;
  background: var(--darker-green);
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.about-cta .arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--darker-green);
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-cta:hover {
  background: var(--dark-green);
}

.about-cta:hover .arrow {
  transform: rotate(45deg);
}

.about-link {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(1, 12, 5, 0.25);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-link:hover {
  background: rgba(1, 12, 5, 0.08);
  border-color: var(--darker-green);
}

.about-cta:focus-visible,
.about-link:focus-visible {
  outline: 3px solid var(--darker-green);
  outline-offset: 4px;
}

/* ---------- Stage ---------- */
.about-stage {
  position: absolute;
  right: -2vw;
  bottom: 0;
  z-index: 2;
  height: min(94%, 78vw);
  aspect-ratio: 1358 / 1811;
  pointer-events: none;
}

.about-portrait {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.about-browser {
  position: absolute;
  z-index: 1;
  left: -14%;
  top: 20%;
  width: 66%;
  rotate: -5deg;
  border-radius: 18px;
  overflow: hidden;
  background: var(--darker-green);
  box-shadow: 0 34px 70px rgba(1, 12, 5, 0.32);
}

.about-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(1, 12, 5, 0.92);
}

.about-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.about-browser-bar span {
  flex: 1;
  height: 14px;
  margin-left: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.about-browser img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(1, 12, 5, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(1, 12, 5, 0.25);
}

.about-chip::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 2px;
  background: var(--accent);
  rotate: 45deg;
}

.about-chip-1 { left: -6%; top: 12%; }
.about-chip-2 { left: 52%; top: 4%; }
.about-chip-3 { left: -16%; top: 63%; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-section {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .about-copy {
    max-width: 640px;
  }

  .about-inner {
    padding-bottom: 28px;
  }

  .about-stage {
    position: relative;
    right: auto;
    align-self: flex-end;
    width: min(88vw, 520px);
    height: auto;
    margin-right: -6vw;
  }

  .about-word {
    bottom: 3%;
    top: auto;
    font-size: clamp(56px, 17vw, 120px);
  }

  .about-browser { left: -4%; top: 14%; width: 62%; }
  .about-chip-1 { left: 4%; top: 6%; }
  .about-chip-2 { display: none; }
  .about-chip-3 { left: 2%; top: 58%; }
}

@media (max-width: 520px) {
  .about-chip { padding: 8px 12px; }
  .about-chip-3 { display: none; }
  .about-actions { gap: 10px; }
  .about-cta { font-size: 16px; padding-left: 22px; gap: 14px; }
  .about-link { min-height: 58px; padding: 0 20px; font-size: 15px; }
}
