/* ============================================
   ABOUT PAGE - Theme & Layout
   Externalizado desde about/index.html <style> block
   ============================================ */

:root {
  --about-bg: var(--bg-0);
  --about-text: var(--text-primary);
  --about-muted: var(--text-secondary);
  --about-soft: rgba(242, 239, 234, 0.48);
  --about-gold: var(--accent-primary);
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--about-bg);
}

body.about-page {
  color: var(--about-text);
  background:
    radial-gradient(circle at 82% 4%, rgba(212, 174, 89, 0.08), transparent 26%),
    linear-gradient(180deg, #070707 0%, var(--bg-0) 42%, #030303 100%);
}

.about-shell {
  position: relative;
  min-height: 100vh;
}

.about-nav {
  position: fixed;
  top: 30px;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.about-nav a,
.about-nav .lang-selector {
  pointer-events: auto;
}

.about-brand {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-page .lang-selector {
  position: static !important;
}

.about-hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  padding: clamp(118px, 15vh, 170px) clamp(24px, 7vw, 112px) clamp(64px, 10vh, 118px);
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(5,5,5,0), var(--about-bg));
  pointer-events: none;
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.about-kicker {
  margin: 0 0 22px;
  color: var(--about-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--about-text);
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.about-subtitle {
  max-width: 700px;
  margin: clamp(28px, 4vw, 46px) 0 0;
  color: var(--text-secondary);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.38;
}

.about-intro {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--about-muted);
  font-size: clamp(18px, 1.42vw, 21px);
  line-height: 1.72;
}

.about-portrait {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(420px, 100%);
  min-height: clamp(520px, 64vh, 720px);
  border-radius: 10px;
  overflow: hidden;
  background: #111 url('../media/joia-portrait-bw.jpg') center/cover no-repeat;
  box-shadow: 0 42px 140px rgba(0,0,0,0.58);
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.02), rgba(5,5,5,0.42)),
    linear-gradient(90deg, rgba(5,5,5,0.2), rgba(5,5,5,0));
}

.about-main {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vw, 72px) 0 clamp(84px, 12vw, 150px);
}

.about-section {
  width: min(700px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-section:first-child {
  border-top: 0;
}

.about-section h2 {
  margin: 0 0 28px;
  color: var(--about-text);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

.about-section p {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.82;
}

.about-section p + p {
  margin-top: 24px;
}

.about-statement {
  margin-top: 34px !important;
  padding-left: 22px;
  border-left: 1px solid rgba(216,180,93,0.58);
  color: rgba(247,242,232,0.88) !important;
}

.about-current-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.about-current-list li {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.035);
  color: rgba(247,242,232,0.78);
  font-size: 15px;
  line-height: 1.45;
}

.about-contact.contacto-fullscreen {
  position: relative;
  min-height: 86vh;
  margin-top: clamp(24px, 5vw, 80px);
}

.about-contact .contacto-inner {
  margin: 0 auto;
}

.about-contact .contacto-title {
  margin: 0;
}

.about-contact .contacto-action {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 126px;
  }

  .about-portrait {
    justify-self: start;
    width: min(360px, 82vw);
    min-height: 470px;
  }
}

@media (max-width: 640px) {
  .about-nav {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .about-brand {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .about-hero {
    min-height: auto;
    padding: 112px 20px 52px;
  }

  .about-hero h1 {
    font-size: clamp(46px, 17vw, 68px);
    line-height: 0.98;
  }

  .about-subtitle {
    font-size: 19px;
  }

  .about-portrait {
    width: 100%;
    min-height: 420px;
  }

  .about-section {
    width: min(100% - 40px, 700px);
    padding: 58px 0;
  }

  .about-contact.contacto-fullscreen {
    padding-left: 20px;
    padding-right: 20px;
  }
}
