:root {
  --ink: #07090d;
  --paper: #ffffff;
  --muted: #68707d;
  --line: #dfe3e8;
  --orange: #ffa63c;
  --orange-deep: #f2831d;
  --blue: #64b7ff;
  font-family: "Raleway", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: white;
  color: black;
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 6vw, 7rem);
  color: white;
}

.brand img {
  display: block;
  width: clamp(8.5rem, 13vw, 11.5rem);
  height: auto;
  filter: brightness(1.65);
}

.footer-brand img {
  display: block;
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.header-note {
  border: 1px solid rgb(255 255 255 / 35%);
  padding: 0.45rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-tools,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-tools {
  gap: 1rem;
}

.language-switcher {
  border: 1px solid rgb(255 255 255 / 35%);
}

.language-switcher a {
  min-width: 2.25rem;
  padding: 0.45rem 0.55rem;
  color: rgb(255 255 255 / 72%);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  background: var(--orange);
  color: #111;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center start;
  overflow: hidden;
  padding: 9rem clamp(1.25rem, 10vw, 11rem) 6rem;
  color: white;
  background: #05070a;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://neurora.es/images/banner3.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(0.75) contrast(1.05);
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(3 5 8 / 98%) 0%, rgb(3 5 8 / 88%) 42%, rgb(3 5 8 / 42%) 74%, rgb(3 5 8 / 68%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 55%), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(47rem, 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: rgb(255 255 255 / 72%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.75rem;
  height: 2px;
  background: var(--orange);
}

.eyebrow.dark {
  color: #616875;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.15rem, 7.4vw, 7.1rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 em {
  color: var(--orange);
  font-style: normal;
  font-weight: 600;
}

.hero-copy {
  max-width: 43rem;
  margin: 2rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button-primary {
  background: var(--orange);
  color: #111;
}

.button-primary:hover {
  background: #ffb85f;
}

.button-secondary {
  border-color: rgb(255 255 255 / 38%);
  color: white;
}

.button-secondary:hover {
  border-color: white;
  background: rgb(255 255 255 / 9%);
}

.scroll-note {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 4.5rem);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: rgb(255 255 255 / 54%);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-note span {
  width: 3.5rem;
  height: 1px;
  background: rgb(255 255 255 / 48%);
}

.continuity {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 2rem;
  align-items: start;
}

.section-heading h2,
.story h2,
.cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.9vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.continuity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.continuity-grid article {
  min-height: 21rem;
  padding: 2rem clamp(1.25rem, 3vw, 2.75rem) 2rem 0;
  border-right: 1px solid var(--line);
}

.continuity-grid article + article {
  padding-left: clamp(1.25rem, 3vw, 2.75rem);
}

.continuity-grid article:last-child {
  border-right: 0;
}

.number {
  display: block;
  margin-bottom: 5.5rem;
  color: var(--orange-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.continuity-grid h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
}

.continuity-grid p {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  min-height: 46rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 9rem);
  color: white;
  background:
    radial-gradient(circle at 18% 45%, rgb(54 114 153 / 35%), transparent 25rem),
    radial-gradient(circle at 45% 28%, rgb(242 131 29 / 15%), transparent 20rem),
    var(--ink);
}

.story-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.story-rail i {
  width: min(70%, 12rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 20%, var(--orange) 80%, transparent);
}

.story-logo {
  display: block;
  object-fit: contain;
}

.story-logo-ansbad {
  width: min(100%, 10.5rem);
  height: auto;
  filter: brightness(1.55);
}

.story-logo-neurora {
  width: 7rem;
  height: auto;
}

.story-copy > p:not(.eyebrow) {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 67%);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.story-copy strong {
  color: white;
}

.cta {
  display: flex;
  min-height: 26rem;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 8vw, 9rem);
  background: var(--orange);
}

.cta h2 {
  max-width: 14ch;
}

.cta .eyebrow span {
  background: #111;
}

.button-dark {
  min-width: 15rem;
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #252a32;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: end;
  padding: 3rem clamp(1.25rem, 6vw, 7rem);
  color: rgb(255 255 255 / 62%);
  background: #050608;
  font-size: 0.87rem;
}

.footer-brand img {
  width: 4.25rem;
  height: 4.25rem;
}

.footer-brand p,
.copyright {
  margin: 0.5rem 0 0;
}

.footer-contact {
  display: grid;
  gap: 0.25rem;
}

.footer-contact a {
  color: white;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.cookie-settings {
  border: 0;
  padding: 0;
  color: white;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  max-width: 54rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.75rem;
  padding: 1.2rem 1.4rem;
  color: white;
  background: #121820;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 35%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex: none;
  gap: 0.6rem;
}

.cookie-actions button {
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 0.35rem;
  padding: 0.55rem 0.9rem;
  color: white;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button:last-child {
  border-color: var(--orange);
  color: var(--ink);
  background: var(--orange);
}

.cookie-actions button:focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .header-note,
  .scroll-note {
    display: none;
  }

  .site-header {
    padding-inline: 1.25rem;
  }

  .brand img {
    width: 8.5rem;
    height: auto;
  }

  .hero {
    min-height: 48rem;
    align-items: end;
    padding-top: 8rem;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgb(3 5 8 / 98%) 0%, rgb(3 5 8 / 76%) 65%, rgb(3 5 8 / 58%) 100%);
  }

  .section-heading,
  .story {
    grid-template-columns: 1fr;
  }

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

  .continuity-grid article,
  .continuity-grid article + article {
    min-height: 0;
    padding: 2rem 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .number {
    margin-bottom: 2.5rem;
  }

  .story {
    gap: 4rem;
    min-height: 0;
  }

  .story-rail {
    max-width: 34rem;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    justify-content: space-between;
  }
}

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

  .button {
    transition: none;
  }
}
