/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/NGSwv5HMAFg6IuGlBNMjxLsJ8ah8QA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/NGSwv5HMAFg6IuGlBNMjxLsH8ag.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyC0ITw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyC0ITw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyCMIT5lu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/1Ptug8zYS_SKggPNyC0ITw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   PSYWARE — Design System (rebuilt to match real psyware.ar)
   Fonts: Raleway (headings) / Inter (body) / Inter Tight (nav)
   Palette: blue #015EEA, white, dark footer #222
   ============================================================ */

:root {
  color-scheme: light;

  /* Brand */
  --blue: #015eea;
  --blue-dark: #0148b8;
  --pink: #f2295b;
  --dark: #222222;
  --dark-2: #1a1a1a;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --text: #222222;
  --text-muted: #4a4a4a;
  --border: #e3e8f2;

  --gradient-hero: linear-gradient(180deg, var(--blue) 0%, rgba(242, 41, 91, 0) 100%);
  --gradient-section: linear-gradient(135deg, var(--blue) 0%, #0091ea 100%);

  /* Typography */
  --font-heading: "Raleway", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-nav: "Inter Tight", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.875rem;
  --fs-4xl: 3.5rem;
  --fs-hero: clamp(1.3rem, 1rem + 1.6vw, 2.1rem);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.65;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
  --sp-16: 7rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;

  --container: 1240px;
  --container-narrow: 820px;
  --nav-h: 90px;

  --z-nav: 100;
  --z-overlay: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  min-height: 100dvh;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
}

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

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: 1200;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: var(--sp-4);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

section {
  position: relative;
  padding-block: var(--sp-12);
  scroll-margin-top: var(--nav-h);
}

.section--white { background: var(--white); }
.section--off { background: var(--off-white); }
.section--blue {
  background: var(--gradient-section);
  color: #fff;
}
.section--blue h2, .section--blue h3 { color: #fff; }

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-6);
}

.section--blue .section-subtitle { color: rgba(255,255,255,0.9); }
.section--blue .intro__text p { color: rgba(255,255,255,0.9); }

.ley-ema__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: var(--sp-4);
}
.ley-ema { border-top: 3px solid #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-nav);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.9rem 1.9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out),
    background 120ms var(--ease-out), border-color 120ms var(--ease-out), filter 120ms var(--ease-out);
  min-height: 46px;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out),
    height var(--dur-base) var(--ease-out);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  height: 76px;
}

.navbar.is-scrolled .nav-menu a,
.navbar.is-scrolled .nav-toggle span {
  color: var(--dark);
}
.navbar.is-scrolled .nav-toggle span { background: var(--dark); }

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.nav-logo__img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.nav-logo__img--dark {
  display: none;
}

.navbar.is-scrolled .nav-logo__img--white {
  display: none;
}

.navbar.is-scrolled .nav-logo__img--dark {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-pill);
  padding: var(--sp-2);
}

.navbar.is-scrolled .nav-menu {
  background: var(--off-white);
  border-color: var(--border);
}

.nav-menu a {
  display: block;
  font-family: var(--font-nav);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  background: var(--blue);
  color: #fff;
}

.navbar.is-scrolled .nav-menu a.is-active,
.navbar.is-scrolled .nav-menu a:hover {
  background: var(--blue);
  color: #fff;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--gradient-hero), var(--blue);
  background-size: cover;
  color: #fff;
  padding-top: calc(var(--nav-h) + var(--sp-10));
  padding-bottom: var(--sp-12);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/bg-blob-1.png");
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: cover;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 90px, #000 170px);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 90px, #000 170px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1, 30, 90, 0.55) 0%, rgba(1, 30, 90, 0.28) 38%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero__carousel {
  position: relative;
  min-height: calc(var(--fs-hero) * var(--lh-snug) * 4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: var(--lh-snug);
  text-shadow: 0 2px 18px rgba(1, 30, 90, 0.35);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}

.hero__slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--dur-fast) var(--ease-out);
}

.hero__arrow:hover {
  background: rgba(255,255,255,0.15);
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
}

.hero__dots {
  display: flex;
  gap: var(--sp-2);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background var(--dur-fast) var(--ease-out);
}

.hero__dot.is-active {
  background: #fff;
}

/* ---------- Intro (brain icon + text) ---------- */
.intro {
  padding-block: var(--sp-12);
}

.intro__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.intro__icon img {
  max-width: 260px;
  height: auto;
  margin-inline: auto;
}

.intro__text p {
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.intro__cta-group .btn-outline {
  color: var(--blue);
  border-color: var(--blue);
}

.intro__cta-group .btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- Partner / logo marquee ---------- */
.partners {
  padding-block: var(--sp-10);
  text-align: center;
  background: var(--off-white);
}

.partners__viewport {
  overflow: hidden;
  margin-block: var(--sp-8);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.partners__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--sp-10);
  animation: partners-scroll 26s linear infinite;
}

.partners__viewport:hover .partners__track,
.partners__viewport:focus-within .partners__track {
  animation-play-state: paused;
}

.partners__track a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}

.partners__track a:hover,
.partners__track a:focus-visible {
  transform: translateY(-3px);
}

.partners__track img {
  height: 72px;
  width: auto;
  filter: grayscale(35%);
  opacity: 0.85;
  transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.partners__track a:hover img,
.partners__track a:focus-visible img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Capacitate / blue section with cards ---------- */
.capacitate__grid {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

.capacitate__art img {
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.service-list {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-block: var(--sp-8);
}

.service-list__item {
  background: #fff;
  color: var(--text);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-list__item a {
  color: var(--blue);
  font-weight: 700;
  font-size: var(--fs-md);
  display: block;
  margin-bottom: var(--sp-2);
}

.service-list__item p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.tech-row img {
  height: 58px;
  width: auto;
  background: #fff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
}

.tech-row--partners a {
  display: flex;
  align-items: center;
  transition: transform var(--dur-base) var(--ease-out);
}

.tech-row--partners a:hover,
.tech-row--partners a:focus-visible {
  transform: translateY(-3px);
}

.tech-row--partners img {
  height: 76px;
  padding: var(--sp-3) var(--sp-6);
}

/* ---------- Clients ---------- */
.clients {
  background: var(--gradient-section);
  color: #fff;
  padding-block: var(--sp-12);
}

.clients .eyebrow {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-3);
}

.clients .section-title {
  color: #fff;
}

.clients .section-subtitle {
  color: rgba(255,255,255,0.9);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.clients-grid__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.clients-grid__logo:hover,
.clients-grid__logo:focus-visible {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.clients-grid__logo img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  filter: saturate(100%) brightness(1);
  transition: filter var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.clients-grid__logo:hover img,
.clients-grid__logo:focus-visible img {
  filter: saturate(145%) brightness(1.08);
  transform: scale(1.12);
}

.clients-grid__logo--dark {
  background: var(--dark-2);
}

/* ---------- News / interest links ---------- */
.news__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: start;
}

.news__logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-6);
}

.news__logos img {
  height: 64px;
  width: auto;
}

.news__list li {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.news__list li a {
  display: block;
  color: inherit;
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
}

.news__list li a:hover,
.news__list li a:focus-visible {
  color: var(--blue);
  transform: translateX(6px);
  padding-left: var(--sp-2);
}

/* ---------- Content blocks (Productos y Servicios / Cursos) ---------- */
.content-block {
  padding-block: var(--sp-12);
}

.content-block__grid {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.content-block__art img {
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-block: var(--sp-6);
}

.item-list__entry a {
  color: var(--blue);
  font-weight: 700;
  font-size: var(--fs-md);
  display: inline-block;
  margin-bottom: var(--sp-2);
}

.section--blue .item-list__entry a { color: #fff; }

.item-list__entry p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.section--blue .item-list__entry p { color: rgba(255,255,255,0.9); }

/* ---------- Course list ---------- */
.course-list {
  display: grid;
  gap: var(--sp-4);
}

.course-list li {
  padding: var(--sp-4) var(--sp-5);
  background: var(--off-white);
  border-radius: var(--r-md);
}

.course-list li strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-1);
}

.course-list li p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 400;
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: var(--gradient-section);
  color: #fff;
  padding-top: calc(var(--nav-h) + var(--sp-8));
  padding-bottom: var(--sp-10);
  text-align: center;
}

.page-header h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}

.page-header p {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255,255,255,0.92);
}

.page-header .btn {
  margin-top: var(--sp-6);
}

/* ---------- 404 ---------- */
.error-404 {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero), var(--blue);
  color: #fff;
  padding-top: var(--nav-h);
  text-align: center;
}

.error-404__inner {
  max-width: 640px;
}

.error-404__icon {
  width: 96px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.error-404__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 3rem + 4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.error-404__title {
  color: #fff;
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.error-404__text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-7);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

.error-404__actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---------- Acerca de Nosotros ---------- */
.about-logo {
  text-align: center;
  padding-block: var(--sp-10) var(--sp-6);
}

.about-logo img {
  max-width: 340px;
  height: auto;
  margin-inline: auto;
}

.about-logo p {
  max-width: 760px;
  margin: var(--sp-6) auto 0;
  font-weight: 600;
  font-size: var(--fs-md);
  text-align: center;
}

/* ---------- Contact ---------- */
.contact-page {
  background: var(--gradient-section);
  color: #fff;
  padding-top: calc(var(--nav-h) + var(--sp-10));
}

.contact-page h1 {
  color: #fff;
  text-align: center;
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-8);
}

.contact-form {
  max-width: 640px;
  margin-inline: auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
}

.form-row {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.field input,
.field textarea {
  background: rgba(255,255,255,0.95);
  color: var(--text);
  border: none;
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  min-height: 48px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid #fff;
}

.contact-form .btn {
  margin-top: var(--sp-2);
}

.social-section {
  text-align: center;
  padding-block: var(--sp-10);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.social-row a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.social-row a svg {
  width: 20px;
  height: 20px;
}

.social-row a:hover {
  background: #fff;
  color: var(--blue);
  transform: translateY(-3px);
}

.acceso-global {
  text-align: center;
  padding-block: var(--sp-8);
}

.acceso-global a {
  display: inline-flex;
}

.acceso-global img {
  max-width: 140px;
  height: auto;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.acceso-global small {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-xs);
}

.acceso-global h3 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.contact-map {
  padding-bottom: var(--sp-10);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--r-md);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #cfcfcf;
  padding-block: var(--sp-10) var(--sp-6);
}

.footer__grid {
  display: grid;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer__brand .nav-logo__img { height: 44px; margin-bottom: var(--sp-4); }

.footer__brand p {
  color: #a8a8a8;
  font-size: var(--fs-sm);
  max-width: 40ch;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: #cfcfcf;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.footer__contact a:hover { color: #fff; }

.footer__col h5 {
  font-family: var(--font-nav);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  margin-bottom: var(--sp-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__col a {
  color: #cfcfcf;
  font-size: var(--fs-sm);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__col a:hover {
  color: #4d8bff;
}

.footer__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer__badge img {
  height: 60px;
  width: auto;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-xs);
  color: #8a8a8a;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: var(--z-overlay);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform var(--dur-base) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: 84px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
    visibility var(--dur-base) var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}
/* ============================================================
   PSYWARE — Motion System
   Respects prefers-reduced-motion (see styles.css base rule).
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="fade"] {
  transform: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-stagger].is-visible > *:nth-child(n+5) { transition-delay: 220ms; }

.btn:active,
.back-to-top:active,
.hero__arrow:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ============================================================
   PSYWARE — Responsive overrides
   Mobile styles live in styles.css; this file scales UP.
   Breakpoints: 480 / 768 / 900 / 1024 / 1280
   ============================================================ */

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  :root {
    --fs-3xl: 3.5rem;
  }

  .intro__grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

  .content-block__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .item-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .item-list__entry {
    flex: 1 1 45%;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
  }
}

@media (max-width: 899.98px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-6) var(--sp-5);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    border: none;
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu a {
    color: var(--dark);
    font-size: var(--fs-lg);
    padding: var(--sp-4) var(--sp-2);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .content-block__grid.is-reverse {
    direction: rtl;
  }

  .content-block__grid.is-reverse > * {
    direction: ltr;
  }
}

@media (min-width: 1280px) {
  .container,
  .nav-container {
    padding-inline: var(--sp-6);
  }
}
