:root {
  --ink: #1e1e1e;
  --aubergine: #3f244a;
  --plum: #6b3f7a;
  --purple: #9a63b5;
  --lavender: #d7c3e3;
  --paper: #f7f2f8;
  --white: #ffffff;
  --line: #dacfe0;
  --blue: #466ffd;
  --yellow: #fdcc0f;
  --red: #b73932;
  --green: #8fc261;
  --radius: 28px;
  --shadow: 0 20px 55px rgba(63, 36, 74, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: var(--ink); color: white; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.site-header {
  min-height: 92px;
  max-width: 1240px;
  margin: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; }
.monogram { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; letter-spacing: -.16em; padding-right: .12em; }
nav { display: flex; gap: 28px; font-size: .94rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { color: var(--plum); }

main { overflow: hidden; }
.hero {
  max-width: 1240px;
  min-height: 650px;
  margin: auto;
  padding: 68px 32px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(330px, .73fr);
  align-items: center;
  gap: 72px;
}
.eyebrow { margin: 0 0 14px; color: var(--plum); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: "Manrope", system-ui, sans-serif; letter-spacing: -.05em; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(3.15rem, 5.2vw, 5rem); font-weight: 720; }
h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 4.5vw, 4.2rem); }
h3 { margin-bottom: 18px; font-size: clamp(2rem, 3.3vw, 3.25rem); }
.lead { max-width: 680px; margin: 0 0 34px; color: #514756; font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.phase-note { width: fit-content; margin: -14px 0 28px; border: 1px solid var(--lavender); border-radius: 999px; padding: 8px 13px; background: rgba(255,255,255,.68); color: var(--plum); font-size: .88rem; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 22px; text-decoration: none; font-weight: 750; }
.primary { background: var(--plum); color: white; }
.primary:hover { background: var(--aubergine); }
.text-button { border: 1px solid var(--line); background: rgba(255,255,255,.68); }
.portrait-wrap { position: relative; }
.portrait-wrap::before { content: ""; position: absolute; inset: -28px 26px 54px -28px; border: 1px solid var(--lavender); border-radius: 48% 52% 44% 56%; transform: rotate(-5deg); }
.portrait-frame { position: relative; aspect-ratio: 1 / 1.13; overflow: hidden; border-radius: 46% 46% 28px 28px; background: var(--white); box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-note { position: relative; width: max-content; max-width: 90%; margin: -22px 0 0 auto; padding: 12px 18px; background: var(--aubergine); color: white; border-radius: 999px; font-weight: 700; }

.section { max-width: 1240px; margin: auto; padding: 100px 32px; }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.project-card { position: relative; min-height: 340px; padding: 42px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card + .project-card { margin-top: 24px; }
.project-card p { max-width: 680px; font-size: 1.07rem; }
.status { width: max-content; margin: 0 0 28px; padding: 7px 11px; border-radius: 999px; font-size: .72rem !important; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.active { background: #e8edff; color: #294ac4; }
.developing { background: rgba(255,255,255,.16); color: white; }
.myopo-card { background: white; border: 1px solid #dbe2fb; }
.project-content { position: relative; z-index: 1; }
.myopo-logo { width: min(520px, 100%); margin-bottom: 24px; }
.myopo-button { margin-top: 12px; background: var(--blue); color: white; }
.consulting-card { background: var(--aubergine); color: white; }
.consulting-card > div { position: relative; z-index: 1; max-width: 760px; }
.large-mark { position: absolute; right: 34px; bottom: -70px; color: rgba(255,255,255,.08); font-family: Georgia, serif; font-size: 15rem; line-height: 1; letter-spacing: -.14em; }

.word-highlight,
.soft-highlight {
  position: relative;
  z-index: 0;
  display: inline;
  padding: 0 .1em .06em;
}
.word-highlight::after,
.soft-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: .02em;
  height: .38em;
  border-radius: 7px;
}
.word-highlight::after { background: rgba(215, 195, 227, .9); }
.soft-highlight::after { background: rgba(231, 188, 207, .72); }

.pasante-card,
.nexo-card,
.oposia-card,
.menuopos-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.myopo-card { border-top: 6px solid var(--blue); }
.pasante-card { border-top: 6px solid var(--plum); }
.nexo-card { border-top: 6px solid #4f7c78; }
.oposia-card { border-top: 6px solid #c7789f; }
.menuopos-card { border-top: 6px solid var(--green); }
.completed { background: rgba(79, 124, 120, .15); color: #315d59; }
.validating { background: rgba(107, 63, 122, .12); color: var(--aubergine); }
.studying { background: rgba(199, 120, 159, .16); color: #7c3458; }
.idea { background: rgba(143, 194, 97, .18); color: #3f6e23; }
.pasante-card .large-mark,
.nexo-card .large-mark,
.oposia-card .large-mark,
.menuopos-card .large-mark {
  right: 12px;
  bottom: -34px;
  color: rgba(63, 36, 74, .055);
  font-size: 9rem;
}

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-copy { border-left: 1px solid var(--lavender); padding-left: 46px; color: #514756; font-size: 1.08rem; }
.about-copy p:first-child { margin-top: 0; }
.contact { max-width: 1176px; margin: 30px auto 90px; padding: 54px 58px; background: var(--plum); color: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.contact h2 { margin-bottom: 10px; font-size: clamp(2.2rem, 4vw, 4rem); }
.contact p { margin-bottom: 0; }
.light { color: var(--lavender); }
.light-button { flex: 0 0 auto; background: white; color: var(--aubergine); }
.contact-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.outline-light-button { border: 1px solid rgba(255,255,255,.68); color: white; }
.outline-light-button:hover { background: rgba(255,255,255,.12); }

footer { max-width: 1240px; margin: auto; padding: 28px 32px 42px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #635769; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* Portada en tres pantallas: cada avance de página encuadra un bloque completo. */
@supports selector(html:has(body.home-page)) {
  html:has(body.home-page) { scroll-snap-type: y mandatory; }
}
.home-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  max-width: none;
  min-height: 82px;
  background: rgba(247, 242, 248, .92);
  border-bottom: 1px solid rgba(218, 207, 224, .72);
  backdrop-filter: blur(14px);
}
.home-page main { overflow: visible; }
.home-page .page {
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.home-page .page-one {
  min-height: 100svh;
  padding-top: 116px;
  padding-bottom: 44px;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .62fr);
  gap: 48px;
}
.home-page .page-one h1 { font-size: clamp(2.8rem, 4.3vw, 4.35rem); }
.home-page .portrait-wrap {
  width: min(100%, 340px);
  justify-self: center;
}
.home-page .page-two {
  padding: 110px 32px 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 22px;
}
.home-page .page-two .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}
.home-page .page-two h2 { font-size: clamp(2.25rem, 3.7vw, 3.5rem); }
.home-page .page-two .project-card {
  min-height: 320px;
  padding: 34px;
}
.home-page .page-two .project-card + .project-card { margin-top: 0; }
.home-page .page-two .status { margin-bottom: 18px; }
.home-page .page-two .myopo-logo { width: min(430px, 100%); margin-bottom: 18px; }
.home-page .page-two .project-card h3 { font-size: clamp(2rem, 2.8vw, 2.8rem); }
.home-page .page-three {
  padding-top: 112px;
  display: flex;
  flex-direction: column;
}
.home-page .page-three .about { padding: 0 32px 34px; }
.home-page .page-three .about h2 { font-size: clamp(2.2rem, 3.6vw, 3.5rem); }
.home-page .page-three .contact { margin: 0 auto 28px; }
.home-page .page-three footer { width: 100%; margin-top: auto; }

.legal-header { max-width: 940px; margin: auto; padding: 24px 28px; }
.legal-main { max-width: 940px; min-height: 65vh; margin: 30px auto 70px; padding: 48px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-main h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.legal-main h2 { margin-top: 38px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-main li + li { margin-top: 8px; }
.notice { padding: 18px 20px; background: var(--paper); border-left: 4px solid var(--plum); }
.back { font-weight: 750; text-decoration: none; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 16px 20px; }
  nav { gap: 14px; font-size: .84rem; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding: 38px 20px 52px; grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(2.55rem, 10vw, 3.65rem); }
  .portrait-wrap { max-width: 470px; }
  .section { padding: 58px 20px; }
  .section-heading { margin-bottom: 32px; }
  .project-card { padding: 28px; }
  .project-card + .project-card { margin-top: 18px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .about-copy { padding-left: 24px; }
  .contact { margin: 8px 20px 46px; padding: 34px 28px; align-items: flex-start; flex-direction: column; }
  footer { margin: 0 20px; padding-inline: 0; flex-direction: column; }
  .legal-main { margin: 10px 14px 50px; padding: 28px 22px; }

  .home-page .site-header { min-height: 76px; align-items: center; padding: 12px 20px; }
  .home-page .page-one {
    min-height: 100svh;
    padding: 92px 20px 22px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
  }
  .home-page .page-one h1 { margin-bottom: 16px; font-size: clamp(2.25rem, 9vw, 3rem); }
  .home-page .page-one .lead { margin-bottom: 22px; font-size: 1rem; }
  .home-page .page-one .phase-note { margin: -10px 0 18px; font-size: .78rem; }
  .home-page .portrait-wrap { width: min(66vw, 235px); margin: 0 auto; }
  .home-page .portrait-wrap::before { inset: -12px 12px 28px -12px; }
  .home-page .portrait-frame { aspect-ratio: 1 / 1.04; }
  .home-page .portrait-note { display: none; }
  .home-page .page-two {
    min-height: 100svh;
    padding: 90px 20px 24px;
    display: block;
  }
  .home-page .page-two .section-heading { margin-bottom: 18px; }
  .home-page .page-two h2 { margin-bottom: 0; font-size: clamp(1.85rem, 7vw, 2.35rem); }
  .home-page .page-two .project-card { min-height: 0; padding: 22px; }
  .home-page .page-two .project-card + .project-card { margin-top: 14px; }
  .home-page .page-two .status { margin-bottom: 10px; }
  .home-page .page-two .myopo-logo { max-height: 68px; margin-bottom: 10px; object-fit: contain; object-position: left center; }
  .home-page .page-two .project-card p { margin-block: 10px; font-size: .96rem; }
  .home-page .page-two .project-card h3 { margin-bottom: 10px; font-size: 1.65rem; }
  .home-page .page-two .button { min-height: 44px; margin-top: 4px; padding-block: 9px; }
  .home-page .page-three { min-height: 100svh; padding-top: 90px; }
  .home-page .page-three .about { padding: 0 20px 24px; gap: 10px; }
  .home-page .page-three .about h2 { margin-bottom: 6px; font-size: clamp(1.85rem, 7vw, 2.3rem); }
  .home-page .page-three .about-copy { padding-left: 18px; font-size: .98rem; }
  .home-page .page-three .about-copy p { margin-block: 0 10px; }
  .home-page .page-three .contact { margin: 0 20px 18px; padding: 24px; gap: 18px; }
  .home-page .page-three .contact h2 { font-size: 1.9rem; }
  .home-page .page-three footer { margin: auto 20px 0; width: calc(100% - 40px); padding-bottom: 20px; }
}

@media (max-width: 520px) {
  .wordmark > span:last-child { display: none; }
  nav { gap: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .project-card { min-height: 0; }
  .home-page .hero-actions { gap: 8px; }
  .home-page .page { height: 100svh; min-height: 100svh; }
  .home-page .page-one {
    padding: 88px 20px 14px;
    grid-template-rows: auto auto;
    gap: 10px;
    overflow: hidden;
  }
  .home-page .page-one .eyebrow { margin-bottom: 8px; font-size: .67rem; }
  .home-page .page-one h1 { margin-bottom: 10px; font-size: clamp(2rem, 10vw, 2.35rem); }
  .home-page .page-one .lead { margin-bottom: 12px; font-size: .9rem; line-height: 1.42; }
  .home-page .page-one .phase-note { margin: 0 0 10px; padding: 6px 10px; font-size: .7rem; line-height: 1.25; }
  .home-page .hero-actions { flex-direction: row; align-items: center; }
  .home-page .hero-actions .button { width: auto; min-height: 42px; flex: 1 1 0; padding: 8px 9px; font-size: .76rem; white-space: nowrap; }
  .home-page .portrait-wrap { width: 148px; }
  .home-page .portrait-frame { aspect-ratio: 1 / 1; }
  .home-page .page-two { padding: 84px 20px 14px; overflow: hidden; }
  .home-page .page-two .section-heading { margin-bottom: 10px; }
  .home-page .page-two h2 { font-size: 1.65rem; }
  .home-page .page-two .project-card { padding: 16px 20px; border-radius: 22px; }
  .home-page .page-two .project-card + .project-card { margin-top: 10px; }
  .home-page .page-two .status { margin-bottom: 6px; padding: 5px 9px; }
  .home-page .page-two .myopo-logo { max-height: 52px; margin-bottom: 4px; }
  .home-page .page-two .project-card p { margin-block: 6px; font-size: .86rem; line-height: 1.38; }
  .home-page .page-two .project-card h3 { margin-bottom: 6px; font-size: 1.38rem; }
  .home-page .page-two .button { width: auto; min-height: 40px; padding: 7px 14px; font-size: .8rem; }
  .home-page .page-three { padding-top: 84px; overflow: hidden; }
  .home-page .page-three .about { padding: 0 20px 10px; gap: 6px; }
  .home-page .page-three .about h2 { font-size: 1.65rem; }
  .home-page .page-three .about-copy { padding-left: 14px; font-size: .82rem; line-height: 1.38; }
  .home-page .page-three .about-copy p { margin-bottom: 6px; }
  .home-page .page-three .contact { margin: 0 20px 10px; padding: 18px 20px; gap: 10px; border-radius: 22px; }
  .home-page .page-three .contact h2 { margin-bottom: 5px; font-size: 1.55rem; }
  .home-page .page-three .contact p { font-size: .84rem; line-height: 1.35; }
  .home-page .page-three .contact .button { width: auto; min-height: 40px; padding: 7px 14px; font-size: .78rem; }
  .home-page .page-three footer { padding: 10px 0 14px; gap: 6px; font-size: .76rem; }
  .home-page .page-three .footer-links { gap: 14px; }
  .home-page .page-two .eyebrow,
  .home-page .page-three .eyebrow { margin-bottom: 8px; }
}

/* Portada final en dos pantallas. */
.home-page .page-one {
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 100svh;
  padding: 82px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.home-page .page-one .hero {
  width: 100%;
  max-width: 1240px;
  min-height: 0;
  margin: 0 auto;
  padding: 20px 32px 10px;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, .45fr);
  gap: 30px;
}
.home-page .page-one .hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 3.45vw, 3.35rem);
}
.home-page .page-one .hero .lead { margin-bottom: 14px; font-size: 1rem; }
.home-page .page-one .hero .phase-note { margin: 0 0 12px; padding: 6px 11px; font-size: .72rem; }
.home-page .page-one .hero .button { min-height: 42px; padding: 8px 16px; font-size: .84rem; }
.home-page .page-one .portrait-wrap { width: min(100%, 205px); }
.home-page .page-one .portrait-wrap::before { inset: -12px 12px 24px -12px; }
.home-page .page-one .portrait-frame { aspect-ratio: 1 / 1.04; }
.home-page .page-one .portrait-note { display: none; }
.home-page .page-one .projects {
  width: 100%;
  max-width: 1240px;
  min-height: 0;
  margin: 0 auto;
  padding: 8px 32px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}
.home-page .page-one .projects .section-heading { grid-column: 1 / -1; margin: 0; }
.home-page .page-one .projects .section-heading .eyebrow { margin-bottom: 4px; }
.home-page .page-one .projects h2 { margin-bottom: 0; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.home-page .page-one .project-card { min-height: 0; padding: 18px 22px; border-radius: 22px; }
.home-page .page-one .project-card + .project-card { margin-top: 0; }
.home-page .page-one .status { margin-bottom: 7px; padding: 5px 9px; }
.home-page .page-one .myopo-logo { width: min(300px, 100%); max-height: 50px; margin-bottom: 5px; object-fit: contain; object-position: left center; }
.home-page .page-one .project-card p { margin-block: 6px; font-size: .86rem; line-height: 1.35; }
.home-page .page-one .project-card h3 { margin-bottom: 6px; font-size: 1.5rem; }
.home-page .page-one .project-card .button { min-height: 38px; margin-top: 2px; padding: 6px 13px; font-size: .78rem; }

.home-page #ana.page-two {
  height: 100svh;
  min-height: 100svh;
  padding: 108px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.home-page #ana.page-two .about { margin: 0 auto; padding: 0 32px 24px; }
.home-page #ana.page-two .about h2 { font-size: clamp(2.1rem, 3.5vw, 3.3rem); }
.home-page #ana.page-two .contact { margin: 0 auto 20px; padding: 34px 40px; }
.home-page #ana.page-two .contact h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.home-page #ana.page-two footer { width: 100%; margin-top: 18px; }

@media (max-width: 820px) {
  .home-page .page-one { padding-top: 76px; }
  .home-page .page-one .hero {
    padding: 12px 20px 6px;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
  }
  .home-page .page-one .hero h1 { font-size: 2rem; }
  .home-page .page-one .portrait-wrap { width: 145px; }
  .home-page .page-one .projects { padding: 6px 20px 14px; }
  .home-page #ana.page-two { padding-top: 88px; }
  .home-page #ana.page-two .about { padding: 0 20px 18px; }
  .home-page #ana.page-two .contact { margin: 0 20px 14px; padding: 24px; }
  .home-page #ana.page-two footer { margin: 16px 20px 0; width: calc(100% - 40px); padding-bottom: 16px; }
}

@media (max-width: 520px) {
  .home-page .page-one .hero {
    padding: 10px 16px 4px;
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 10px;
  }
  .home-page .page-one .hero .eyebrow { margin-bottom: 4px; font-size: .58rem; }
  .home-page .page-one .hero h1 { margin-bottom: 6px; font-size: 1.52rem; }
  .home-page .page-one .hero .lead { margin-bottom: 6px; font-size: .7rem; line-height: 1.3; }
  .home-page .page-one .hero .phase-note { margin-bottom: 6px; padding: 4px 7px; font-size: .55rem; }
  .home-page .page-one .hero-actions { gap: 5px; }
  .home-page .page-one .hero .button { min-height: 34px; padding: 5px 6px; font-size: .62rem; }
  .home-page .page-one .portrait-wrap { width: 96px; align-self: center; }
  .home-page .page-one .projects {
    padding: 4px 16px 10px;
    display: block;
  }
  .home-page .page-one .projects .section-heading { margin-bottom: 6px; }
  .home-page .page-one .projects .section-heading .eyebrow { display: none; }
  .home-page .page-one .projects h2 { font-size: 1.2rem; }
  .home-page .page-one .project-card { padding: 11px 14px; border-radius: 18px; }
  .home-page .page-one .project-card + .project-card { margin-top: 7px; }
  .home-page .page-one .status { margin-bottom: 3px; padding: 3px 6px; font-size: .55rem !important; }
  .home-page .page-one .myopo-logo { max-height: 34px; margin-bottom: 2px; }
  .home-page .page-one .project-card p { margin-block: 3px; font-size: .68rem; line-height: 1.27; }
  .home-page .page-one .project-card h3 { margin-bottom: 2px; font-size: 1rem; }
  .home-page .page-one .project-card .button { min-height: 30px; padding: 4px 9px; font-size: .62rem; }
  .home-page #ana.page-two { padding-top: 82px; }
  .home-page #ana.page-two .about { padding: 0 16px 10px; gap: 4px; }
  .home-page #ana.page-two .about h2 { margin-bottom: 4px; font-size: 1.45rem; }
  .home-page #ana.page-two .about-copy { padding-left: 12px; font-size: .75rem; line-height: 1.32; }
  .home-page #ana.page-two .about-copy p { margin-bottom: 5px; }
  .home-page #ana.page-two .contact { margin: 0 16px 8px; padding: 16px 18px; gap: 8px; border-radius: 18px; }
  .home-page #ana.page-two .contact h2 { margin-bottom: 4px; font-size: 1.4rem; }
  .home-page #ana.page-two .contact p { font-size: .74rem; }
  .home-page #ana.page-two .contact .button { min-height: 34px; padding: 5px 10px; font-size: .68rem; }
  .home-page #ana.page-two footer { margin-top: 12px; padding: 8px 0 12px; gap: 4px; font-size: .68rem; }
}

/* Alineación final con la estructura de MyOpoVisual. */
.home-page .site-header {
  position: relative;
  inset: auto;
}
.home-page .page-one { padding-top: 0; }
.home-page #ana.page-two { padding-top: 58px; }
.home-page #ana.page-two .contact h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}

@media (max-width: 820px) {
  .home-page .page-one { padding-top: 0; }
  .home-page #ana.page-two { padding-top: 46px; }
}

@media (max-width: 520px) {
  .home-page #ana.page-two { padding-top: 38px; }
}

/* Composición pública definitiva: ritmo de secciones equivalente a MyOpoVisual. */
.home-page .page-one,
.home-page #ana.page-two {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.home-page #ana.page-two { padding-top: 0; }
.home-page .brand-banner {
  width: min(1176px, calc(100% - 64px));
  margin: 28px auto 34px;
}
.home-page .page-one .projects {
  width: 100%;
  max-width: none;
  padding: 54px max(32px, calc((100vw - 1176px) / 2)) 62px;
  grid-auto-rows: 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.home-page .page-one .project-card {
  display: flex;
  min-height: 245px;
  height: 100%;
  padding: 26px 28px;
}
.home-page .page-one .project-card p {
  font-size: 1.05rem;
  line-height: 1.48;
}
.home-page .page-one .project-card h3 {
  font-size: clamp(1.65rem, 2.2vw, 2rem);
}
.home-page .page-one .project-card .project-type {
  margin: -2px 0 8px;
  color: #4f7c78;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-page .page-one .status {
  margin-bottom: 12px;
  font-size: .72rem !important;
}
.home-page .page-one .myopo-logo {
  width: min(320px, 100%);
  max-height: 58px;
  margin-bottom: 10px;
}
.home-page #ana.page-two .about {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 70px max(32px, calc((100vw - 1176px) / 2));
  border-bottom: 1px solid var(--line);
  background: #f6eff8;
}
.home-page .interest-section {
  margin: 0;
  padding-block: 64px;
  background: #fff;
}
.home-page #ana.page-two .contact { margin-top: 48px; }

@media (max-width: 820px) {
  .home-page .brand-banner { width: calc(100% - 32px); margin: 18px auto 26px; }
  .home-page .page-one .projects { padding: 42px 16px 48px; }
  .home-page .page-one .project-card { min-height: 220px; padding: 20px; }
  .home-page .page-one .project-card p { font-size: .95rem; }
  .home-page #ana.page-two { padding-top: 0; }
  .home-page #ana.page-two .about { padding: 52px 20px; }
}

@media (max-width: 520px) {
  .home-page .brand-banner { width: calc(100% - 24px); margin: 12px auto 22px; }
  .home-page .page-one .projects { display: block; padding: 36px 16px 40px; }
  .home-page .page-one .project-card { min-height: 0; }
  .home-page .page-one .project-card + .project-card { margin-top: 12px; }
  .home-page .page-one .project-card p { font-size: 1rem; }
  .home-page #ana.page-two { padding-top: 0; }
  .home-page #ana.page-two .about { padding: 42px 16px; }
}

/* Ajuste final: misma escala visual que MyOpoVisual. */
.home-page .brand-banner {
  width: min(1176px, calc(100% - 64px));
  margin: 28px auto 22px;
}
.home-page .page-one .projects {
  grid-auto-rows: 1fr;
  padding-top: 18px;
  gap: 16px;
}
.home-page .page-one .project-card {
  display: flex;
  min-height: 245px;
  height: 100%;
  padding: 26px 28px;
}
.home-page .page-one .project-card p {
  font-size: 1.05rem;
  line-height: 1.48;
}
.home-page .page-one .project-card h3 {
  font-size: clamp(1.65rem, 2.2vw, 2rem);
}
.home-page .page-one .status {
  margin-bottom: 12px;
  font-size: .72rem !important;
}
.home-page .page-one .myopo-logo {
  width: min(320px, 100%);
  max-height: 58px;
  margin-bottom: 10px;
}

@media (max-width: 820px) {
  .home-page .brand-banner { width: calc(100% - 32px); margin-top: 18px; }
  .home-page .page-one .project-card { min-height: 220px; padding: 20px; }
  .home-page .page-one .project-card p { font-size: .95rem; }
}

@media (max-width: 520px) {
  .home-page .brand-banner { width: calc(100% - 24px); margin-top: 12px; }
  .home-page .page-one .project-card { min-height: 0; }
  .home-page .page-one .project-card p { font-size: 1rem; }
}

/* Imagen de portada y retrato en su contexto correspondiente. */
.home-page .page-one .hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}
.linkedin-cover-wrap {
  width: 100%;
  max-width: 470px;
  aspect-ratio: 4 / 1;
  align-self: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}
.linkedin-cover-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
}
.home-page #ana.page-two .about {
  grid-template-columns: 190px minmax(0, .8fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: center;
}
.about-portrait {
  width: 180px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

@media (max-width: 820px) {
  .home-page .page-one .hero { grid-template-columns: minmax(0, 1fr) 230px; }
  .home-page #ana.page-two .about {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }
  .home-page #ana.page-two .about-copy { grid-column: 1 / -1; }
  .about-portrait { width: 104px; border-radius: 24px; }
}

@media (max-width: 520px) {
  .home-page .page-one .hero {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .linkedin-cover-wrap {
    max-width: none;
    justify-self: stretch;
    border-radius: 14px;
  }
  .home-page #ana.page-two .about {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }
  .about-portrait { width: 78px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lectura continua: el contenido puede crecer sin quedar atrapado en pantallas fijas. */
@supports selector(html:has(body.home-page)) {
  html:has(body.home-page) { scroll-snap-type: none; }
}
.home-page .page {
  height: auto;
  min-height: auto;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}
.home-page .page-one {
  height: auto;
  min-height: auto;
  overflow: visible;
  padding-bottom: 54px;
}
.home-page .page-one .hero { grid-template-columns: minmax(0, 1fr); }
.home-page #ana.page-two {
  height: auto;
  min-height: auto;
  overflow: visible;
  padding-bottom: 36px;
}
#proyectos,
#ana,
#contacto { scroll-margin-top: 94px; }

@media (max-width: 520px) {
  .contact-actions { width: 100%; }
  .contact-actions .button { flex: 1 1 130px; }
}

/* Escala editorial compartida con MyOpoVisual; la identidad cromática sigue siendo AO. */
body { line-height: 1.62; }
.site-header { max-width: 1180px; }
.wordmark { font-family: "Manrope", system-ui, sans-serif; }
.home-page .site-header nav { gap: 10px; }
.home-page .site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--lavender);
  border-radius: 999px;
  background: var(--white);
  color: var(--plum);
  font-size: .92rem;
  font-weight: 700;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--plum);
  font-size: 1rem;
  letter-spacing: .14em;
}
.home-page h1,
.home-page h2,
.home-page h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  line-height: 1.08;
}
.home-page .lead,
.home-page .project-card p,
.home-page .about-copy,
.home-page .contact p {
  font-size: 1.18rem;
  line-height: 1.62;
}
.home-page .page-one .hero {
  padding-top: 54px;
  padding-bottom: 16px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 42px;
}

.brand-banner {
  width: calc(100% - 40px);
  max-width: 1500px;
  margin: 26px auto 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(63, 36, 74, .10);
}
.brand-banner img {
  width: 100%;
  height: auto;
}

.interest-section {
  width: 100%;
  margin: 36px 0 48px;
  padding: 58px 0;
  border-top: 1px solid var(--lavender);
  border-bottom: 1px solid var(--lavender);
  background: linear-gradient(180deg, #faf7fb 0%, #f1e9f4 100%);
  min-width: 0;
}
.interest-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(480px, 1.22fr);
  gap: 48px;
  align-items: start;
  width: min(1176px, calc(100% - 56px));
  margin: 0 auto;
  min-width: 0;
}
.interest-grid > * { min-width: 0; }
.interest-copy { padding-top: 18px; }
.interest-copy h2 { margin-bottom: 18px; }
.interest-copy p { font-size: 1.08rem; line-height: 1.65; }
.interest-form-wrap {
  width: 100%;
  max-width: 100%;
  padding: 18px;
  overflow: hidden;
  min-height: 720px;
  border: 1px solid var(--lavender);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(76, 38, 83, .10);
}
.interest-form {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 720px;
  border: 0;
}
.home-page .contact {
  width: min(860px, calc(100% - 64px));
  margin-inline: auto;
  padding: 26px 30px;
}
.home-page .contact h2 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.home-page .contact p { font-size: 1rem; line-height: 1.45; }

@media (max-width: 820px) {
  .brand-banner { width: calc(100% - 32px); margin-top: 18px; border-radius: 16px; }
  .interest-section { padding: 42px 0; }
  .interest-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 32px);
  }
  .interest-copy { padding-top: 0; }
  .home-page .contact { width: calc(100% - 32px); }
}

@media (max-width: 520px) {
  .brand-banner { width: calc(100% - 24px); margin-top: 12px; border-radius: 12px; }
  .interest-form-wrap,
  .interest-form { min-height: 790px; }
}
.home-page .page-one .hero h1 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
}
.home-page .page-one .hero .lead { margin-bottom: 14px; }
.home-page .page-one .projects { padding-top: 12px; }
.home-page .page-one .projects h2 { font-size: clamp(1.8rem, 2.4vw, 2.45rem); }
.home-page .page-one .project-card { padding: 22px 26px; }
.home-page .page-one .project-card h3 { font-size: clamp(1.55rem, 2vw, 1.9rem); }
.home-page .page-one .pasante-card,
.home-page .page-one .oposia-card,
.home-page .page-one .menuopos-card { min-width: 0; }
.linkedin-cover-wrap {
  max-width: 520px;
  aspect-ratio: 2.35 / 1;
}
.linkedin-cover-wrap img {
  aspect-ratio: 2.35 / 1;
  object-position: center 58%;
}
.home-page #ana.page-two .about h2,
.home-page #ana.page-two .contact h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(63,36,74,.24);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.back-to-top:hover { background: var(--aubergine); }

@media (max-width: 820px) {
  nav a:nth-child(2) { display: inline-flex; }
  .home-page .site-header nav a { min-height: 36px; padding: 7px 10px; font-size: .82rem; }
  .home-page .page-one .hero { grid-template-columns: minmax(0, 1fr) minmax(230px, .8fr); gap: 22px; }
  .home-page .page-one .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-page .page-one .project-card { padding: 16px; }
  .home-page .page-one .project-card p { font-size: .78rem; line-height: 1.35; }
  .home-page .page-one .project-card h3 { font-size: 1.28rem; }
}

@media (max-width: 520px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }
  .home-page .site-header nav a { min-height: 34px; padding: 6px 9px; font-size: .78rem; }
  .home-page .page-one {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  .home-page .page-one .hero {
    padding: 14px 16px 8px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-page .page-one .hero h1,
  .home-page .page-one .projects h2,
  .home-page #ana.page-two .about h2,
  .home-page #ana.page-two .contact h2 {
    font-size: 2.3rem;
  }
  .home-page .page-one .hero .lead,
  .home-page .page-one .project-card p {
    font-size: 1.18rem;
    line-height: 1.55;
  }
  .home-page .page-one .hero .lead { margin-bottom: 10px; }
  .home-page .page-one .hero .phase-note { font-size: .78rem; }
  .home-page .page-one .hero .button,
  .home-page .page-one .project-card .button,
  .home-page #ana.page-two .contact .button { font-size: .82rem; }
  .linkedin-cover-wrap { aspect-ratio: 2.35 / 1; }
  .home-page .page-one .projects { padding: 10px 16px 22px; }
  .home-page .page-one .projects { display: block; }
  .home-page .page-one .projects .section-heading .eyebrow { display: block; }
  .home-page .page-one .project-card { padding: 18px 20px; }
  .home-page .page-one .project-card + .project-card { margin-top: 10px; }
  .home-page .page-one .project-card h3 { font-size: 1.5rem; }
  .home-page #ana.page-two {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }
  .home-page #ana.page-two .about-copy,
  .home-page #ana.page-two .contact p {
    font-size: 1rem;
    line-height: 1.62;
  }
}

/* Evita que la frase resaltada del título de proyectos deje una palabra huérfana. */
.home-page .projects .section-heading .soft-highlight {
  white-space: nowrap;
}

/* Reglas definitivas de estructura compartida con MyOpoVisual. */
.home-page .site-header { position: relative; inset: auto; }
.home-page .page-one { padding-top: 0; }
.home-page #ana.page-two { padding-top: 58px; }
.home-page #ana.page-two .contact h2 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); }

@media (max-width: 820px) {
  .home-page .page-one { padding-top: 0; }
  .home-page #ana.page-two { padding-top: 46px; }
}

@media (max-width: 520px) {
  .home-page #ana.page-two { padding-top: 38px; }
}

/* Revisión final aprobada visualmente: proporción y ritmo equivalentes a MyOpoVisual. */
.home-page .page-one,
.home-page #ana.page-two {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.home-page #ana.page-two { padding-top: 0; }
.home-page .brand-banner {
  width: min(1176px, calc(100% - 64px));
  margin: 28px auto 34px;
}
.home-page .page-one .projects {
  width: 100%;
  max-width: none;
  padding: 54px max(32px, calc((100vw - 1176px) / 2)) 62px;
  grid-auto-rows: 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.home-page .page-one .project-card {
  display: flex;
  min-height: 245px;
  height: 100%;
  padding: 26px 28px;
}
.home-page .page-one .project-card p { font-size: 1.05rem; line-height: 1.48; }
.home-page .page-one .project-card h3 { font-size: clamp(1.65rem, 2.2vw, 2rem); }
.home-page .page-one .status { margin-bottom: 12px; font-size: .72rem !important; }
.home-page .page-one .myopo-logo {
  width: min(320px, 100%);
  max-height: 58px;
  margin-bottom: 10px;
}
.home-page #ana.page-two .about {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 70px max(32px, calc((100vw - 1176px) / 2));
  border-bottom: 1px solid var(--line);
  background: #f6eff8;
}
.home-page .interest-section {
  margin: 0;
  padding-block: 64px;
  background: #fff;
}
.home-page #ana.page-two .contact { margin-top: 48px; }

@media (max-width: 820px) {
  .home-page .brand-banner { width: calc(100% - 32px); margin: 18px auto 26px; }
  .home-page .page-one .projects { padding: 42px 16px 48px; }
  .home-page .page-one .project-card { min-height: 220px; padding: 20px; }
  .home-page .page-one .project-card p { font-size: .95rem; }
  .home-page #ana.page-two { padding-top: 0; }
  .home-page #ana.page-two .about { padding: 52px 20px; }
}

@media (max-width: 520px) {
  .home-page .brand-banner { width: calc(100% - 24px); margin: 12px auto 22px; }
  .home-page .page-one .projects { display: block; padding: 36px 16px 40px; }
  .home-page .page-one .project-card { min-height: 0; }
  .home-page .page-one .project-card + .project-card { margin-top: 12px; }
  .home-page .page-one .project-card p { font-size: 1rem; }
  .home-page #ana.page-two { padding-top: 0; }
  .home-page #ana.page-two .about { padding: 42px 16px; }
}

/* Navegación de secciones bajo el banner, como en MyOpoVisual. */
.home-page .section-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1176px, calc(100% - 64px));
  margin: -16px auto 34px;
}

/* Presentación de Ana alineada con la tarjeta de MyOpoVisual. */
.home-page #ana.page-two .about {
  display: block;
  max-width: 1176px;
  margin: 0 auto;
  padding: 56px 0 64px;
}
.home-page .about-heading {
  margin-bottom: 26px;
}
.home-page #ana.page-two .about-heading h2 {
  max-width: none;
  margin: 8px 0 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
}
.home-page .about-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 34px;
  padding: 28px;
  border: 1px solid var(--lavender);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(74, 39, 84, .06);
}
.home-page .about-card .about-portrait {
  width: 190px;
  height: 190px;
}
.home-page .about-card .about-copy {
  padding-left: 0;
  border-left: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}
.home-page .about-card .about-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .home-page #ana.page-two .about {
    padding: 42px 20px 48px;
  }
  .home-page .about-card {
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
  }
  .home-page .about-card .about-portrait {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 520px) {
  .home-page #ana.page-two .about {
    padding: 36px 16px 42px;
  }
  .home-page .about-card {
    grid-template-columns: 1fr;
  }
  .home-page .about-card .about-portrait {
    width: 132px;
    height: 132px;
  }
}
.home-page .section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--lavender);
  border-radius: 999px;
  background: #fff;
  color: var(--plum);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.home-page .section-nav a:hover { background: #f3eaf6; }

@media (max-width: 820px) {
  .home-page .section-nav { width: calc(100% - 32px); margin: -10px auto 26px; }
  .home-page .section-nav a { min-height: 36px; padding: 7px 11px; font-size: .82rem; }
}

@media (max-width: 520px) {
  .home-page .section-nav { width: calc(100% - 24px); gap: 7px; margin: -8px auto 22px; }
  .home-page .section-nav a { min-height: 34px; padding: 6px 9px; font-size: .78rem; }
}

/* Formulario de interés con la misma escala visual que MyOpoVisual. */
.home-page .interest-copy h2 {
  max-width: 430px;
  margin: 8px 0 20px;
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  line-height: 1.06;
}
.home-page .interest-copy p {
  max-width: 450px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.home-page .interest-form-wrap,
.home-page .interest-form {
  min-height: 900px;
}
@media (max-width: 520px) {
  .home-page .interest-copy h2 {
    font-size: 2rem;
  }
  .home-page .interest-form-wrap,
  .home-page .interest-form {
    min-height: 980px;
  }
}

/* Ajuste final de ritmo: proyectos, llamada social y pie. */
.home-page .page-one .projects {
  grid-auto-rows: auto;
  grid-template-rows: max-content 210px repeat(2, 262px);
  row-gap: 16px;
}
.home-page .page-one .nexo-card {
  grid-column: 1 / -1;
  min-height: 210px;
}
.home-page .page-one .nexo-card .project-content {
  max-width: 900px;
}
.home-page .page-one .project-card.with-visual .project-content {
  position: relative;
  z-index: 2;
  max-width: 68%;
}
.home-page .page-one .project-card.with-visual .project-visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .76;
}
.home-page .page-one .project-card.with-visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 46%, rgba(255,255,255,.92) 60%, rgba(255,255,255,.18) 100%);
  content: "";
  pointer-events: none;
}
.home-page .page-one .nexo-card.with-visual .project-visual {
  width: 52%;
  object-position: left center;
}
.home-page .page-one .pasante-card.with-visual .project-visual {
  width: 54%;
  object-position: 48% center;
  filter: saturate(.72) contrast(.94);
}
.home-page #ana.page-two .contact {
  display: block;
  width: min(1176px, calc(100% - 64px));
  margin: 42px auto 34px;
  padding: 24px 34px;
  border: 1px solid #d9c5e0;
  border-radius: 24px;
  background: #eadff0;
  color: #35253b;
}
.home-page #ana.page-two .contact h2 {
  margin: 4px 0 8px;
  color: #4c2859;
  font-size: clamp(1.65rem, 2.35vw, 2.2rem);
}
.home-page #ana.page-two .contact p {
  max-width: none;
  margin: 0;
  color: #514057;
}
.home-page #ana.page-two .contact .eyebrow {
  color: #6b3f7a;
}
.home-page #ana.page-two .contact-actions {
  margin-top: 18px;
}
.home-page #ana.page-two .contact .button {
  min-height: 40px;
  border-color: #6b3f7a;
  background: #fff;
  color: #5b3268;
}
.home-page #ana.page-two .contact .button:first-child {
  background: #6b3f7a;
  color: #fff;
}
.home-page footer .footer-links a {
  font-weight: 700;
}
@media (max-width: 820px) {
  .home-page .page-one .projects {
    grid-template-rows: auto;
  }
  .home-page .page-one .project-card.with-visual .project-content {
    max-width: 100%;
  }
  .home-page .page-one .project-card.with-visual .project-visual,
  .home-page .page-one .nexo-card.with-visual .project-visual,
  .home-page .page-one .pasante-card.with-visual .project-visual {
    width: 100%;
    opacity: .22;
    object-position: center;
  }
  .home-page .page-one .project-card.with-visual::after {
    background: rgba(255,255,255,.72);
  }
  .home-page .page-one .oposia-card.with-visual .project-visual,
  .home-page .page-one .menuopos-card.with-visual .project-visual {
    opacity: .72;
    object-position: left center;
    filter: saturate(1.3) contrast(1.08);
  }
  .home-page .page-one .oposia-card.with-visual::after,
  .home-page .page-one .menuopos-card.with-visual::after {
    background: rgba(255,255,255,.66);
  }
  .home-page #ana.page-two .contact {
    width: calc(100% - 32px);
    padding: 22px 24px;
  }
}
@media (max-width: 520px) {
  .home-page #ana.page-two .contact {
    width: calc(100% - 24px);
    margin-top: 32px;
    padding: 20px;
  }
}

/* Oposia y MenuOpos: captura visible como imagen de tarjeta, no como fondo. */
.home-page .page-one .projects {
  grid-template-rows: max-content repeat(3, minmax(406px, auto));
}
.home-page .page-one .oposia-card.with-visual,
.home-page .page-one .menuopos-card.with-visual {
  display: grid;
  grid-template-rows: clamp(145px, 14vw, 165px) 1fr;
  min-height: 390px;
  padding: 0;
}
.home-page .page-one .oposia-card.with-visual .project-visual,
.home-page .page-one .menuopos-card.with-visual .project-visual {
  position: relative;
  z-index: 2;
  grid-row: 1;
  inset: auto;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  object-position: left top;
  opacity: 1;
  filter: none;
}
.home-page .page-one .oposia-card.with-visual .project-content,
.home-page .page-one .menuopos-card.with-visual .project-content {
  grid-row: 2;
  max-width: none;
  padding: 18px 24px 22px;
}
.home-page .page-one .oposia-card.with-visual::after,
.home-page .page-one .menuopos-card.with-visual::after {
  display: none;
  content: none;
}

@media (max-width: 820px) {
  .home-page .page-one .projects {
    grid-template-rows: auto;
  }
  .home-page .page-one .oposia-card.with-visual,
  .home-page .page-one .menuopos-card.with-visual {
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .home-page .page-one .oposia-card.with-visual .project-visual,
  .home-page .page-one .menuopos-card.with-visual .project-visual {
    height: auto;
    aspect-ratio: 1600 / 705;
  }
  .home-page .page-one .oposia-card.with-visual .project-content,
  .home-page .page-one .menuopos-card.with-visual .project-content {
    padding: 18px 20px 20px;
  }
}

/* Tarjetas de producto: capturas legibles y una paleta más cálida. */
.home-page .page-one .pasante-card,
.home-page .page-one .oposia-card,
.home-page .page-one .menuopos-card {
  background: #fffdfa;
}
.home-page .page-one .myopo-card,
.home-page .page-one .pasante-card {
  min-height: 406px;
}
.home-page .page-one .myopo-card .project-content {
  align-self: center;
}
.home-page .page-one .pasante-card { border-top-color: #b86f52; }
.home-page .page-one .oposia-card { border-top-color: #c98272; }
.home-page .page-one .menuopos-card { border-top-color: #d2a74c; }
.home-page .page-one .validating {
  background: #f3dfd5;
  color: #743d2b;
}
.home-page .page-one .studying {
  background: #f4e0dc;
  color: #7a4136;
}
.home-page .page-one .idea {
  background: #f7ebcb;
  color: #6d5418;
}

/* Pasante: la demo ficticia se muestra como imagen, sin velo ni filtro. */
.home-page .page-one .pasante-card.with-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(250px, .96fr);
  gap: 18px;
  padding: 18px;
}
.home-page .page-one .pasante-card.with-visual .project-content {
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: none;
}
.home-page .page-one .pasante-card.with-visual .pasante-visual-frame {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 210px;
  border: 1px solid #e6c8b8;
  border-radius: 14px;
  background: #eee8e2;
}
.home-page .page-one .pasante-card.with-visual .project-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  opacity: 1;
  filter: none;
  transform: none;
}
.home-page .page-one .pasante-card.with-visual::after {
  display: none;
  content: none;
}

@media (max-width: 820px) {
  .home-page .page-one .myopo-card,
  .home-page .page-one .pasante-card {
    min-height: 0;
  }
  .home-page .page-one .pasante-card.with-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0;
  }
  .home-page .page-one .pasante-card.with-visual .pasante-visual-frame {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.9 / 1;
    border: 0;
    border-bottom: 1px solid #e6c8b8;
    border-radius: 0;
  }
  .home-page .page-one .pasante-card.with-visual .project-visual {
    object-position: center 34%;
    transform: none;
  }
  .home-page .page-one .pasante-card.with-visual .project-content {
    grid-column: 1;
    grid-row: 2;
    padding: 18px 20px 20px;
  }
}

/* Las cuatro tarjetas de producto comparten el mismo marco visual. */
.home-page .page-one .project-card.product-card.with-visual {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 174px 1fr;
  gap: 0;
  min-height: 406px;
  height: 406px;
  padding: 0;
  background: #fffdfa;
}
.home-page .page-one .project-card.product-card.with-visual .project-media {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  width: 100%;
  height: 174px;
  min-height: 174px;
  border: 0;
  border-bottom: 1px solid #e7cfc5;
  border-radius: 0;
  background: #fff8f3;
}
.home-page .page-one .project-card.product-card.with-visual .project-media > .project-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: none;
}
.home-page .page-one .project-card.product-card.with-visual .project-content {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  max-width: none;
  padding: 18px 24px 22px;
}
.home-page .page-one .project-card.product-card.with-visual::after {
  display: none;
  content: none;
}
.home-page .page-one .project-card.product-card.myopo-card .project-media > .project-visual {
  object-position: center 58%;
}
.home-page .page-one .project-card.product-card.pasante-card .project-media > .project-visual {
  object-position: center 34%;
  transform: none;
}
.home-page .page-one .project-card.product-card.oposia-card .project-media > .project-visual,
.home-page .page-one .project-card.product-card.menuopos-card .project-media > .project-visual {
  object-position: left top;
}
.home-page .page-one .product-card .status {
  margin-bottom: 7px;
}
.home-page .page-one .product-card .myopo-logo {
  max-height: 44px;
  margin-bottom: 7px;
}
.home-page .page-one .product-card .button {
  margin-top: 4px;
}

@media (max-width: 820px) {
  .home-page .page-one .project-card.product-card.with-visual {
    grid-template-rows: 164px auto;
    min-height: 425px;
    height: auto;
  }
  .home-page .page-one .project-card.product-card.with-visual .project-media {
    height: 164px;
    min-height: 164px;
    aspect-ratio: auto;
  }
  .home-page .page-one .project-card.product-card.with-visual .project-content {
    padding: 18px 20px 20px;
  }
  .home-page .page-one .project-card.product-card.pasante-card .project-media > .project-visual {
    object-position: center 34%;
    transform: none;
  }
}

/* Nexo comparte el mismo marco vertical que las demás tarjetas. */
.home-page .page-one .project-card.product-card.nexo-card .project-media > .project-visual {
  object-position: left top;
}

/* Selector de idioma discreto sobre la portada. */
.home-page .page-one {
  position: relative;
}
.home-page .language-switcher {
  position: absolute;
  z-index: 8;
  top: 18px;
  right: max(18px, calc((100% - 1180px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border: 1px solid rgba(92, 26, 82, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 22px rgba(65, 29, 60, .12);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.home-page .language-switcher > a,
.home-page .language-switcher .language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.home-page .language-switcher .language-current {
  background: #f3eaf6;
  color: var(--aubergine);
  font-weight: 800;
}
.home-page .language-switcher > a:hover {
  background: #f7f2f8;
}
.home-page .form-language-note {
  margin: 0 0 10px;
  color: #66546d;
  font-size: .86rem;
  text-align: center;
}

@media (max-width: 520px) {
  .home-page .language-switcher {
    top: 10px;
    right: 10px;
  }
  .home-page .language-switcher > a,
  .home-page .language-switcher .language-current {
    min-height: 26px;
    padding: 4px 7px;
    font-size: .68rem;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Nexo reparte título y explicación para aprovechar su anchura completa. */
.home-page .page-one .project-card.product-card.nexo-card .project-content {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(360px, 1.22fr);
  grid-template-rows: auto auto auto;
  column-gap: 48px;
  align-content: center;
  width: 100%;
  max-width: none;
}
.home-page .page-one .project-card.product-card.nexo-card .project-content > .status,
.home-page .page-one .project-card.product-card.nexo-card .project-content > h3,
.home-page .page-one .project-card.product-card.nexo-card .project-content > .project-type {
  grid-column: 1;
}
.home-page .page-one .project-card.product-card.nexo-card .project-content > p:last-child {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (max-width: 820px) {
  .home-page .page-one .project-card.product-card.nexo-card .project-content {
    display: block;
  }
  .home-page .page-one .project-card.product-card.nexo-card .project-content > p:last-child {
    margin-block: 6px;
  }
}

/* Movimiento editorial adaptado de forma sobria y sin bucles. */
@keyframes anaBannerIn {
  from { opacity: 0; transform: translateY(16px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes anaNavIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-page .brand-banner {
  animation: anaBannerIn .78s cubic-bezier(.22, 1, .36, 1) both;
}
.home-page .section-nav > a,
.home-page .section-nav > .language-switcher {
  animation: anaNavIn .52s ease both;
}
.home-page .section-nav > :nth-child(2) { animation-delay: .06s; }
.home-page .section-nav > :nth-child(3) { animation-delay: .12s; }
.home-page .section-nav > :nth-child(4) { animation-delay: .18s; }
.home-page .section-nav > :nth-child(5) { animation-delay: .24s; }
.home-page .section-nav > :nth-child(6) { animation-delay: .30s; }
.motion-enabled .motion-item {
  opacity: 0;
  transform: translateY(22px) scale(.99);
  transition: opacity .58s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--motion-delay, 0s);
}
.motion-enabled .motion-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .home-page .brand-banner,
  .home-page .section-nav > a,
  .home-page .section-nav > .language-switcher {
    animation: none !important;
  }
  .motion-enabled .motion-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Aviso temporal mientras el formulario permanece cerrado */
.interest-closed-card {
  align-self: center;
  padding: 34px;
  border: 1px solid var(--lavender);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 36px rgba(63, 36, 74, .08);
}
.interest-closed-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}
.interest-closed-card .interest-closed-label {
  margin-bottom: 10px;
  color: var(--plum);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
