/* askNOVA — Hero de portada */
:root {
  --navy: #031326;
  --navy-deep: #001429;
  --ice: #75eaff;
  --cyan: #28c9f5;
  --white: #f5f8fc;
  --muted: #c1cbd8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(900px, 100svh);
  height: auto;
  overflow: hidden;
  padding-bottom: 76px;
  background: var(--navy);
}
.hero__background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-background.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.005);
}
/* Oculta los textos y el logotipo incrustados en la imagen conceptual.
   El contenido real se coloca encima desde HTML. */
.hero__shade {
  display: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 96px), 1760px);
  margin: 0 auto;
  padding-top: 22px;
}
.brand {
  display: inline-flex;
  width: clamp(475px, 47.5vw, 825px);
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.4vw, 42px);
  margin-left: auto;
  padding-top: 16px;
  flex-shrink: 0;
}
.nav-link {
  position: relative;
  padding: 12px 0;
  color: #f1f5fb;
  font-size: 15px;
  letter-spacing: .01em;
}
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ice);
  transform: scaleX(.55);
  transform-origin: left;
  transition: transform .28s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 164px;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid rgba(117, 234, 255, .85);
  border-radius: 999px;
  background: rgba(2, 18, 35, .5);
  color: #f7fbff;
  font-size: 15px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.mail-icon { font-size: 18px; line-height: 1; }

.hero__content {
  position: relative;
  z-index: 1;
  width: min(49%, 740px);
  margin-left: max(48px, calc((100vw - 1760px) / 2));
  padding-top: clamp(56px, 6.8vh, 100px);
  padding-bottom: 72px;
}
.eyebrow {
  margin: 0 0 25px;
  color: #8ce9ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .34em;
}
h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(54px, 5.1vw, 88px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
}
h1 span {
  background: linear-gradient(100deg, #f7fbff 2%, #c6f6ff 38%, #55dfff 72%, #13b8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(0, 191, 255, .15));
}
.intro { margin-top: 34px; max-width: 640px; }
.intro h2 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(27px, 2.35vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.035em;
}
.intro h2 span { color: #77eaff; }
.intro p {
  margin: 0 0 16px;
  max-width: 625px;
  color: #c6cfdb;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.62;
  font-weight: 400;
}

/* Botones NOVA — cristal líquido sutil, con reflejo lento y luz perimetral */
.primary-cta,
.nav-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(216, 248, 255, .28);
  border-radius: 17px 21px 16px 20px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .085),
    rgba(31, 150, 220, .10) 52%,
    rgba(0, 242, 254, .055));
  color: #f8fcff;
  box-shadow:
    0 5px 22px rgba(0, 0, 0, .18),
    inset 0 1px 1px rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    border-color .65s ease,
    box-shadow .65s ease,
    background-color .65s ease;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 350px;
  min-height: 62px;
  margin-top: 10px;
  padding: 0 26px 0 30px;
  font-size: 16px;
  font-weight: 600;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 164px;
  min-height: 48px;
  padding: 0 23px;
  font-size: 15px;
}

.mail-icon { font-size: 18px; line-height: 1; }

.primary-cta > *,
.nav-contact > * {
  position: relative;
  z-index: 4;
}

.primary-cta::before,
.nav-contact::before {
  position: absolute;
  z-index: 2;
  top: -65%;
  left: -115%;
  width: 72%;
  height: 230%;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(255, 255, 255, .035) 28%,
    rgba(222, 250, 255, .2) 43%,
    rgba(255, 255, 255, .9) 50%,
    rgba(206, 247, 255, .3) 58%,
    rgba(255, 255, 255, .045) 72%,
    transparent 100%);
  filter: blur(1px);
  transform: skewX(-16deg);
  opacity: 0;
}

.primary-cta::after,
.nav-contact::after {
  position: absolute;
  z-index: 3;
  inset: -1.5px;
  padding: 1.5px;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 225deg,
    rgba(125, 232, 255, .16) 248deg,
    rgba(236, 252, 255, .98) 272deg,
    rgba(92, 224, 255, .95) 294deg,
    rgba(255, 255, 255, .2) 312deg,
    transparent 340deg 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(141, 237, 255, .75));
}

.primary-cta:hover,
.nav-contact:hover,
.primary-cta:focus-visible,
.nav-contact:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(210, 249, 255, .65);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .13),
    rgba(31, 150, 220, .19) 52%,
    rgba(0, 242, 254, .12));
  box-shadow:
    0 12px 28px rgba(0, 114, 255, .13),
    0 0 18px rgba(0, 210, 255, .10),
    inset 0 1px 4px rgba(255, 255, 255, .32);
}

.primary-cta:hover::before,
.nav-contact:hover::before,
.primary-cta:focus-visible::before,
.nav-contact:focus-visible::before {
  opacity: 1;
  animation: nova-glass-sweep 4.8s cubic-bezier(.18, .62, .24, 1) both;
}

.primary-cta:hover::after,
.nav-contact:hover::after,
.primary-cta:focus-visible::after,
.nav-contact:focus-visible::after {
  opacity: 1;
  animation: nova-edge-glow 4.8s cubic-bezier(.18, .62, .24, 1) both;
}

.primary-cta:active,
.nav-contact:active {
  transform: translateY(0) scale(.985);
}

.arrow {
  font-size: 25px;
  font-weight: 400;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.primary-cta:hover .arrow { transform: translateX(4px); }

@keyframes nova-glass-sweep {
  0%   { left: -115%; opacity: 0; }
  12%  { opacity: .12; }
  32%  { opacity: .32; }
  55%  { opacity: .72; }
  76%  { opacity: .95; }
  91%  { opacity: 1; filter: blur(0) brightness(1.35); }
  100% { left: 155%; opacity: 0; filter: blur(1px) brightness(1.8); }
}

@keyframes nova-edge-glow {
  0%   { opacity: 0; filter: drop-shadow(0 0 1px rgba(141,237,255,.2)); }
  18%  { opacity: .12; }
  42%  { opacity: .35; filter: drop-shadow(0 0 3px rgba(141,237,255,.35)); }
  68%  { opacity: .75; filter: drop-shadow(0 0 5px rgba(141,237,255,.65)); }
  88%  { opacity: 1; filter: drop-shadow(0 0 8px rgba(225,251,255,.95)); }
  100% { opacity: .18; filter: drop-shadow(0 0 2px rgba(141,237,255,.25)); }
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 17px;
  width: fit-content;
  margin-top: 48px;
  color: #8bdcf2;
  font-size: 12px;
  letter-spacing: .17em;
  transition: color .2s ease;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue__mouse {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 25px;
  height: 43px;
  border: 1px solid #69dfff;
  border-radius: 14px;
}
.scroll-cue__mouse span {
  width: 2px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: #8eeaff;
  animation: scroll-dot 1.5s ease-in-out infinite;
}
.scroll-cue__arrow {
  position: absolute;
  margin-top: 50px;
  margin-left: 7px;
  font-size: 20px;
  line-height: 1;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: .3; }
}

@media (min-width: 1500px) {
  .hero__content { padding-top: clamp(90px, 10vh, 150px); }
}
@media (max-width: 1100px) {
  .site-header { width: calc(100% - 64px); }
  .brand { width: clamp(360px, 42vw, 560px); }
  .hero__content { width: 54%; margin-left: 32px; padding-top: 68px; }
  h1 { font-size: clamp(48px, 6vw, 68px); }
}
@media (max-width: 720px) {

  .section-title { margin-bottom: 19px; font-size: clamp(32px, 8.8vw, 46px); }
  .section-body p { margin-bottom: 13px; font-size: 14px; line-height: 1.65; }
  .section-signature { margin-top: 19px; padding-top: 15px; font-size: 15px; }

  /* Mobile: NOVA arriba, presentación debajo y navegación compacta */
  .hero {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    padding-bottom: 58px;
    background: #031326;
  }

  .hero__background {
    inset: 0 0 auto;
    height: 610px;
    background-size: auto 610px;
    background-position: center 0;
    background-repeat: no-repeat;
  }

  /* El degradado se limita a la transición avatar/contenido: no apaga la imagen. */
  .hero__shade {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(3, 19, 38, .08) 0%,
      rgba(3, 19, 38, .02) 34%,
      rgba(3, 19, 38, .20) 47%,
      rgba(3, 19, 38, .88) 59%,
      #031326 69%,
      #031326 100%
    );
  }

  .site-header {
    position: relative;
    z-index: 5;
    width: auto;
    margin: 0 20px;
    padding-top: max(15px, env(safe-area-inset-top));
    align-items: flex-start;
    gap: 12px;
  }

  .brand {
    width: clamp(132px, 39vw, 185px);
    max-width: 52%;
    background: transparent;
  }

  .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-left: auto;
    padding-top: 2px;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 2px;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav-link::after { bottom: 2px; }

  .nav-contact {
    min-width: 0;
    min-height: 38px;
    gap: 7px;
    padding: 0 12px;
    border-radius: 13px 16px 12px 15px;
    font-size: 12px;
    white-space: nowrap;
  }

  .mail-icon { font-size: 15px; }

  .hero__content {
    width: auto;
    max-width: 560px;
    margin: 0 23px;
    padding-top: 395px;
    padding-bottom: 10px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: .2em;
    line-height: 1.6;
  }

  h1 {
    max-width: 540px;
    font-size: clamp(39px, 10.5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.055em;
  }

  .intro {
    max-width: 540px;
    margin-top: 24px;
  }

  .intro h2 {
    margin-bottom: 11px;
    font-size: clamp(27px, 7.2vw, 34px);
    line-height: 1.15;
  }

  .intro p {
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 1.58;
  }

  .primary-cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin-top: 10px;
    padding: 0 19px 0 21px;
    gap: 12px;
    border-radius: 15px 19px 14px 18px;
    font-size: 14px;
  }

  .arrow { font-size: 23px; }

  .scroll-cue {
    gap: 12px;
    margin-top: 29px;
    font-size: 9px;
    letter-spacing: .11em;
  }

  .scroll-cue__mouse {
    width: 21px;
    height: 35px;
  }

  .scroll-cue__mouse span { margin-top: 7px; }
  .scroll-cue__arrow { margin-top: 42px; margin-left: 5px; }

  .next-anchor {
    min-height: 30vh;
    padding: 65px 24px;
    font-size: 14px;
  }

  .section-eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
    letter-spacing: .2em;
  }

  }

@media (max-width: 390px) {
  .site-header { margin-right: 15px; margin-left: 15px; gap: 7px; }
  .brand { width: 128px; }
  .site-nav { gap: 7px; }
  .nav-link { font-size: 10px; }
  .nav-contact { padding: 0 9px; font-size: 11px; }
  .hero__background { height: 565px; background-size: auto 565px; }
  .hero__content { margin-right: 20px; margin-left: 20px; padding-top: 365px; }
  h1 { font-size: clamp(37px, 10.3vw, 42px); }
  .intro p { font-size: 13.5px; }
}

@media (max-width: 350px) {
  .nav-link { display: none; }
  .hero__content { padding-top: 350px; }
}

@media (max-height: 740px) and (min-width: 391px) and (max-width: 720px) {
  .hero__background { height: 540px; background-size: auto 540px; }
  .hero__content { padding-top: 350px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Sección 3 — la memoria se cuenta a través de una conversación */
.memory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(86px, 9vw, 148px) 0 clamp(100px, 10vw, 160px);
  background: var(--navy);
}
.memory__glow {
  position: absolute;
  z-index: -1;
  width: min(72vw, 1100px);
  height: 780px;
  top: 50%;
  right: -16%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(34, 126, 190, .16) 0%, rgba(16, 78, 131, .075) 38%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}
.memory__layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(48px, 7vw, 116px);
  width: min(calc(100% - 96px), 1500px);
  margin: 0 auto;
}
.memory__copy { max-width: 540px; }
.memory__copy .section-eyebrow { margin-bottom: 24px; }
.memory__lead {
  margin: 0 0 24px;
  color: #eaf5fc;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
}
.conversation-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(173, 224, 248, .16);
  border-radius: 20px 28px 20px 28px;
  background: linear-gradient(145deg, rgba(16, 39, 62, .92), rgba(7, 25, 44, .94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.conversation-card__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(199, 230, 247, .10);
  color: #dce9f5;
}
.conversation-card__status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.conversation-card__status i { width: 7px; height: 7px; border-radius: 50%; background: #80e8d1; box-shadow: 0 0 12px rgba(128, 232, 209, .48); }
.conversation-card__label { color: #7f9ab4; font-size: 9px; letter-spacing: .18em; white-space: nowrap; }
.conversation-day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 25px 0 22px;
  color: #7794ae;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  white-space: nowrap;
}
.conversation-day__rule { height: 1px; width: min(100%, 95px); background: rgba(159, 194, 220, .15); }
.conversation-day--today { margin-top: 30px; }
.chat-message { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 15px; align-items: start; margin: 0 0 19px; }
.chat-avatar {
  width: 54px; height: 54px; display: block; flex: 0 0 auto;
  border-radius: 50%; overflow: hidden;
}
.chat-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.chat-avatar--guest { border: 1px solid rgba(218, 237, 255, .22); }
.chat-avatar--nova { border: 1px solid rgba(115, 224, 255, .55); box-shadow: 0 0 18px rgba(81, 204, 235, .16); }
.chat-message__content { min-width: 0; }
.chat-message__name { display: block; margin: 1px 0 6px; color: #9bb3c9; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.chat-message__content p { margin: 0; color: #e1eaf3; font-size: 13px; line-height: 1.62; }
.chat-message--nova .chat-message__content p { color: #f1f8fd; }
.chat-message--last { margin-bottom: 0; }

@media (max-width: 1050px) {
  .memory__layout { grid-template-columns: minmax(240px, .75fr) minmax(440px, 1.25fr); gap: 38px; width: calc(100% - 64px); }
  .conversation-card { padding: 26px; }
}
@media (max-width: 760px) {
  .memory { padding: 78px 0 88px; }
  .memory__glow { width: 130vw; height: 600px; right: -48%; top: 65%; }
  .memory__layout { display: flex; flex-direction: column; align-items: stretch; gap: 38px; width: calc(100% - 36px); }
  .memory__copy { max-width: 620px; }
  .memory__copy .section-eyebrow { margin-bottom: 17px; font-size: 9px; }
  .memory__lead { margin-bottom: 18px; font-size: 17px; }
  .conversation-card { padding: 22px 18px; border-radius: 16px 22px 16px 22px; }
  .conversation-card__topline { padding-bottom: 19px; }
  .conversation-card__status { font-size: 12px; }
  .conversation-card__label { font-size: 8px; }
  .conversation-day { margin: 22px 0 18px; font-size: 9px; }
  .chat-message { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; margin-bottom: 17px; }
  .chat-avatar { width: 46px; height: 46px; }
  .chat-message__content p { font-size: 12.5px; line-height: 1.6; }
}
@media (max-width: 390px) {
  .memory__layout { width: calc(100% - 28px); }
  .conversation-card { padding: 19px 14px; }
  .conversation-card__label { letter-spacing: .1em; }
  .chat-message { grid-template-columns: 40px minmax(0, 1fr); gap: 9px; }
  .chat-avatar { width: 40px; height: 40px; }
  .chat-message__content p { font-size: 12px; }
}


@media (max-width: 760px) {
}
@media (max-width: 390px) {
}


/* Mensajes: cajas compactas y alternancia clara */
.chat-message__content {
  width: fit-content;
  max-width: 70%;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid rgba(173, 224, 248, .12);
  border-radius: 5px 18px 18px 18px;
  background: linear-gradient(145deg, rgba(25, 57, 83, .95), rgba(13, 37, 60, .95));
  overflow-wrap: break-word;
}
.chat-message--nova .chat-message__content { justify-self: start; border-color: rgba(115, 224, 255, .18); }
.chat-message--guest { grid-template-columns: minmax(0, 1fr) 54px; }
.chat-message--guest .chat-avatar { grid-column: 2; grid-row: 1; }
.chat-message--guest .chat-message__content { grid-column: 1; grid-row: 1;
  justify-self: end;
  border-radius: 18px 5px 18px 18px;
  background: linear-gradient(145deg, rgba(29, 49, 70, .96), rgba(20, 38, 58, .96));
}
.chat-message--guest .chat-message__name,
.chat-message--guest .chat-message__content p { text-align: right; }

@media (max-width: 760px) {
  .chat-message--guest { grid-template-columns: minmax(0, 1fr) 46px; }
}
@media (max-width: 390px) {
  .chat-message--guest { grid-template-columns: minmax(0, 1fr) 40px; }
}


/* SISTEMA ÚNICO DE SECCIONES EDITORIALES (2, 4 y 5) */
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 112px) 0 clamp(80px, 9vw, 140px);
  background: var(--navy);
}
.section::before {
  position: absolute; z-index: -2; content: ""; inset: -24px;
  background: linear-gradient(180deg, #061a30, #031326);
  filter: brightness(.72); transform: scale(1.035); pointer-events: none;
}
.section::after {
  position: absolute; z-index: -1; content: ""; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,19,38,.30), rgba(3,19,38,.12) 48%, rgba(3,19,38,.58));
}
.section-atmosphere-image {
  position: absolute; z-index: -2; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px);
  object-fit: cover; object-position: center; filter: blur(22px) brightness(.70); transform: scale(1.035);
  pointer-events: none; user-select: none;
}
.section-visual {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  width: min(calc(100% - 64px), 1760px); aspect-ratio: 16 / 9; margin: 0 auto;
  border-radius: 5px 22px 5px 22px; background: #06192d;
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}
.section-visual::after {
  position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,19,38,.20), rgba(3,19,38,.06) 42%, transparent 68%),
              linear-gradient(180deg, rgba(3,19,38,.05), transparent 55%, rgba(3,19,38,.12));
}
.section-visual > .section-image {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.section-copy {
  position: absolute; z-index: 2; top: 50%; left: clamp(28px, 5.5vw, 88px);
  width: min(40%, 570px); padding: clamp(22px, 2.5vw, 38px);
  transform: translateY(-50%); color: var(--white);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  background: rgba(3,19,38,.40); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.section-eyebrow { margin: 0 0 20px; color: #9beeff; font-size: 11px; font-weight: 600; letter-spacing: .26em; }
.section-title { margin: 0 0 24px; max-width: 720px; font-family: "Manrope", "Inter", sans-serif; font-size: clamp(38px,4vw,62px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.section-title span { color: var(--ice); }
.section-body p { margin: 0 0 15px; color: rgba(245,248,252,.9); font-size: clamp(15px,1.05vw,17px); line-height: 1.7; }
.section-body p:last-child { margin-bottom: 0; }
.section-signature { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(117,234,255,.28); color: #9beeff; font-family: Georgia,"Times New Roman",serif; font-size: clamp(16px,1.25vw,19px); font-style: italic; font-weight: 400; line-height: 1.6; }

@media (max-width: 760px) {
  .section { padding: 28px 0 48px; }
  .section-visual { width: calc(100% - 28px); min-height: 690px; aspect-ratio: auto; border-radius: 4px 16px 4px 16px; }
  .section-visual > .section-image { position: absolute; inset: 0; }
  .section-visual::after { background: linear-gradient(180deg, rgba(3,19,38,.26), rgba(3,19,38,.55) 38%, rgba(3,19,38,.94) 100%); }
  .section-copy { top: 24px; left: 18px; width: calc(100% - 36px); padding: 22px 20px; transform: none; }
  .section-eyebrow { margin-bottom: 15px; font-size: 9px; letter-spacing: .2em; }
  .section-title { margin-bottom: 19px; font-size: clamp(32px,8.8vw,46px); }
  .section-body p { margin-bottom: 13px; font-size: 14px; line-height: 1.65; }
  .section-signature { margin-top: 19px; padding-top: 15px; font-size: 15px; }
}
@media (max-width: 390px) {
  .section-visual { min-height: 720px; }
  .section-copy { left: 14px; width: calc(100% - 28px); padding: 20px 17px; }
}


/* Corrección de la sección 3: el bloque de texto forma parte de la cuadrícula,
   no es un panel superpuesto como en las secciones editoriales con imagen. */
.memory .section-copy {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  max-width: 540px;
  padding: 0;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Acabado editorial: acento cálido para cabeceras y firmas */
:root {
  --editorial-accent: #d9bd91;
  --editorial-accent-soft: rgba(217, 189, 145, .42);
}

.section-eyebrow {
  color: var(--editorial-accent);
  letter-spacing: .22em;
}

.section-signature {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
  color: var(--editorial-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.3vw, 20px);
  font-style: italic;
  line-height: 1.5;
  text-align: right;
}

.section-signature::before {
  content: "";
  display: block;
  flex: 0 0 clamp(28px, 4vw, 58px);
  height: 1px;
  background: var(--editorial-accent-soft);
}

/* Indicador discreto para invitar a continuar el recorrido */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: rgba(245, 248, 252, .88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.scroll-cue:hover { color: var(--editorial-accent); }
.scroll-cue__arrow {
  display: inline-block;
  color: var(--editorial-accent);
  font-size: 24px;
  line-height: 1;
  animation: scrollCueFloat 1.8s ease-in-out infinite;
}
@keyframes scrollCueFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 760px) {
  .section-signature {
    gap: 10px;
    margin-top: 20px;
    font-size: 15px;
  }
  .section-signature::before { flex-basis: 25px; }
  .scroll-cue { margin-top: 24px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__arrow { animation: none; }
}

section p {
  text-indent: 1.5em;
}
.contact-signature {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  color: #d9bd91;
  margin-top: 2rem;
  text-indent: 0;
}

.contact-signature::before {
  content: none;
}

/* =========================================
   SECCIÓN 8 — CONTACTO
   Ajustes exclusivos para escritorio
   ========================================= */

@media (min-width: 761px) {

  /* El contenedor se adapta a la altura del contenido */
  .section-contact .section-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: auto;
    height: auto;
    min-height: 0;

    padding: clamp(48px, 6vw, 90px) 32px;
  }

  /* El contenido deja de estar posicionado de forma absoluta */
  .section-contact .section-copy {
    position: relative;

    top: auto;
    left: auto;
    right: auto;

    transform: none;

    width: min(100%, 760px);
    max-width: 760px;

    margin-inline: auto;
    padding: clamp(28px, 4vw, 56px);

    text-align: center;
  }

}