/* ─────────────────────────────────────────────────────────────
   Pasifae Arquitech — Sobre nosotros (página independiente)
   Mismo lenguaje visual que la home y /proyectos/
   ───────────────────────────────────────────────────────────── */

:root {
  --cream: #faf6ef;
  --cream-deep: #f3ede2;
  --ink: #1c1917;
  --ink-soft: #4a4440;
  --terra: #b75c4c;
  --terra-dark: #71362e;
  --terra-soft: #ead3cb;
  --radius: 24px;
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--terra);
  color: var(--cream);
}

em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.label-caps {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ── Navegación (idéntica a /proyectos/) ────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(28 25 23 / 0.08);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.nav-brand-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.6;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.55;
}

.nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--terra);
}

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  background: var(--terra);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--terra-dark);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 44px;
  color: var(--cream);
  text-decoration: none;
  padding: 8px 0;
}

body.menu-open .nav-burger span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

body.menu-open .nav-burger span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────────── */

.about-hero {
  padding: calc(var(--nav-h) + clamp(56px, 12vh, 128px)) 40px clamp(48px, 8vh, 96px);
  max-width: 1680px;
  margin-inline: auto;
}

.about-hero .label-caps {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.about-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: clamp(32px, 6vh, 64px);
}

.about-lead {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 52ch;
  text-wrap: balance;
}

/* ── Manifiesto ─────────────────────────────────────────────── */

.about-manifesto {
  padding: 0 40px clamp(56px, 10vh, 112px);
  max-width: 1680px;
  margin-inline: auto;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  max-width: 1100px;
}

.about-columns p {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.about-statement {
  margin-top: clamp(48px, 9vh, 104px);
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  max-width: 24ch;
  text-wrap: balance;
}

/* ── Full-bleed ─────────────────────────────────────────────── */

.about-fullbleed {
  height: min(78svh, 820px);
  overflow: hidden;
}

.about-fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Equipo ─────────────────────────────────────────────────── */

.about-team {
  padding: clamp(64px, 12vh, 136px) 40px;
  max-width: 1680px;
  margin-inline: auto;
}

.about-team > .label-caps {
  color: var(--terra);
  margin-bottom: 20px;
}

.about-team-title {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: clamp(40px, 7vh, 88px);
  max-width: 20ch;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
}

.team-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terra);
  margin-bottom: clamp(24px, 4vh, 48px);
}

.team-name {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.team-role {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.team-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── CTA final ──────────────────────────────────────────────── */

.about-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(80px, 16vh, 176px) 24px;
}

.about-cta-text {
  font-size: clamp(1.9rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 22ch;
  margin: 0 auto clamp(32px, 6vh, 56px);
  text-wrap: balance;
}

.about-cta-btn {
  display: inline-block;
  background: var(--terra);
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: 999px;
  transition: background 0.3s;
}

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

/* ── Footer ─────────────────────────────────────────────────── */

.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 40px;
  font-size: 13px;
  color: var(--ink-soft);
}

.about-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s;
}

.about-footer a:hover {
  color: var(--terra);
}

/* ── Reveal al hacer scroll ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.32, 0.94, 0.6, 1),
    transform 0.8s cubic-bezier(0.32, 0.94, 0.6, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav {
    padding: 0 20px;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .about-hero,
  .about-manifesto,
  .about-team {
    padding-inline: 20px;
  }

  .about-columns {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-footer {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }
}

/* ── Movimiento reducido ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ── Footer de página (consistente en todo el sitio) ───────── */
.page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  padding: 44px 40px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid rgb(28 25 23 / 0.1);
}
.page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.page-footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.page-footer-nav a:hover { color: var(--terra); }
.page-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: center;
  color: var(--ink-soft);
}
.page-footer-contact a { color: var(--ink-soft); text-decoration: none; transition: color 0.3s; }
.page-footer-contact a:hover { color: var(--terra); }
.page-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgb(28 25 23 / 0.08);
}
.page-footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-footer-legal a { color: var(--ink-soft); text-decoration: none; transition: color 0.3s; }
.page-footer-legal a:hover { color: var(--terra); }


/* ── Roll-over del navbar: el texto sube y entra su duplicado serif terracota ── */
.nav-roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 3px 10px;
  margin: -3px -10px;
}
.nav-roll:hover { opacity: 1; }
.nav-roll-base {
  display: block;
  transition: transform 0.5s cubic-bezier(0.32, 0.94, 0.6, 1);
}
.nav-roll-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18em;
  transform: translateY(115%);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
  transition: transform 0.5s cubic-bezier(0.32, 0.94, 0.6, 1);
}
.nav-roll:hover .nav-roll-base { transform: translateY(-115%); }
.nav-roll:hover .nav-roll-hover { transform: translateY(0); }
