/* Filosofía: composición Gutenberg equivalente al diseño editorial previo. */
body.page-id-237085 {
  --phi-black: #102536;
  --phi-copy: #c6cbc7;
  --phi-line: rgba(248, 248, 245, .18);
  --phi-accent: var(--fya-orange);
  background: var(--phi-black);
}

body.page-id-237085 .entry-content > .alfa-philosophy-hero,
body.page-id-237085 .entry-content > .alfa-philosophy-way,
body.page-id-237085 .entry-content > .alfa-philosophy-outside,
body.page-id-237085 .entry-content > .alfa-philosophy-people,
body.page-id-237085 .entry-content > .alfa-philosophy-quote,
body.page-id-237085 .entry-content > .alfa-philosophy-pillars,
body.page-id-237085 .entry-content > .alfa-philosophy-performance,
body.page-id-237085 .entry-content > .alfa-philosophy-final {
  width: 100vw;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: clamp(5rem, 10vw, 10rem) max(24px, calc((100vw - 1180px) / 2));
  position: relative;
  color: var(--fya-white);
}

body.page-id-237085 .alfa-philosophy-hero *,
body.page-id-237085 .alfa-philosophy-way *,
body.page-id-237085 .alfa-philosophy-outside *,
body.page-id-237085 .alfa-philosophy-people *,
body.page-id-237085 .alfa-philosophy-quote *,
body.page-id-237085 .alfa-philosophy-pillars *,
body.page-id-237085 .alfa-philosophy-performance *,
body.page-id-237085 .alfa-philosophy-final * {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

body.page-id-237085 .alfa-philosophy-hero h1,
body.page-id-237085 .alfa-philosophy-way h2,
body.page-id-237085 .alfa-philosophy-outside h2,
body.page-id-237085 .alfa-philosophy-people h2,
body.page-id-237085 .alfa-philosophy-pillars h2,
body.page-id-237085 .alfa-philosophy-performance h2,
body.page-id-237085 .alfa-philosophy-final h2 {
  max-width: 58rem;
  margin: 0;
  color: var(--fya-white) !important;
  font-family: var(--fya-font) !important;
  font-size: clamp(2.65rem, 5.9vw, 6.4rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.07em;
  line-height: .91 !important;
}

body.page-id-237085 .alfa-philosophy-label {
  margin: 0 0 1.3rem !important;
  color: var(--phi-accent) !important;
  font-family: var(--fya-font) !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  letter-spacing: .22em;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

body.page-id-237085 .alfa-philosophy-hero__copy,
body.page-id-237085 .alfa-philosophy-way__copy,
body.page-id-237085 .alfa-philosophy-outside__copy,
body.page-id-237085 .alfa-philosophy-people__copy,
body.page-id-237085 .alfa-philosophy-performance__copy,
body.page-id-237085 .alfa-philosophy-final__copy {
  max-width: 40rem;
  color: var(--phi-copy) !important;
  font-family: var(--fya-font) !important;
  font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
  font-weight: 400 !important;
  letter-spacing: -.015em;
  line-height: 1.55 !important;
}

body.page-id-237085 .alfa-philosophy-hero {
  display: flex;
  align-items: center;
  min-height: min(900px, 94vh) !important;
  padding-block: clamp(8rem, 12vw, 11rem) clamp(5rem, 8vw, 8rem) !important;
  isolation: isolate;
  background: #102536 !important;
}
/* El tratamiento visual pertenece exclusivamente a la fotografía: el texto y los CTA
   quedan en su propia capa, nítidos y sin heredar opacidad ni filtros. */
body.page-id-237085 .alfa-philosophy-hero .wp-block-cover__image-background {
  filter: brightness(.56) saturate(.9) contrast(1.04);
}
body.page-id-237085 .alfa-philosophy-hero .wp-block-cover__background { background: transparent !important; }
body.page-id-237085 .alfa-philosophy-hero::after {
  display: none;
}
body.page-id-237085 .alfa-philosophy-hero > .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  opacity: 1;
}
body.page-id-237085 .alfa-philosophy-hero h1 span,
body.page-id-237085 .alfa-philosophy-way h2 span,
body.page-id-237085 .alfa-philosophy-outside h2 span,
body.page-id-237085 .alfa-philosophy-people h2 span,
body.page-id-237085 .alfa-philosophy-performance h2 span,
body.page-id-237085 .alfa-philosophy-final h2 span { color: var(--phi-accent); }
body.page-id-237085 .alfa-philosophy-hero__copy { margin: 2rem 0 2.4rem !important; }

body.page-id-237085 .alfa-philosophy-button .wp-block-button__link {
  min-width: 12.7rem;
  padding: 1.05rem 1.25rem !important;
  border: 1px solid var(--phi-accent) !important;
  border-radius: 0 !important;
  background: var(--phi-accent) !important;
  color: #102536 !important;
  font-family: var(--fya-font) !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  line-height: 1.1 !important;
  text-transform: uppercase;
}
body.page-id-237085 .alfa-philosophy-button .wp-block-button__link:hover { background: var(--fya-white) !important; border-color: var(--fya-white) !important; }

body.page-id-237085 .alfa-philosophy-way { background: #102536; }
body.page-id-237085 .alfa-philosophy-way__heading,
body.page-id-237085 .alfa-philosophy-people__heading,
body.page-id-237085 .alfa-philosophy-pillars__heading { margin-bottom: clamp(2.75rem, 5vw, 5rem); }
body.page-id-237085 .alfa-philosophy-way__body,
body.page-id-237085 .alfa-philosophy-people__columns { gap: clamp(2rem, 8vw, 11rem); }
body.page-id-237085 .alfa-philosophy-way__statement {
  margin: 0 !important;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--phi-line);
  color: var(--fya-white) !important;
  font-size: clamp(1.25rem, 2vw, 1.9rem) !important;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.16 !important;
}
body.page-id-237085 .alfa-philosophy-way__accent { margin-top: clamp(3rem, 6vw, 6rem) !important; color: var(--phi-accent) !important; font-size: clamp(2.1rem, 3.8vw, 4.4rem) !important; font-weight: 900 !important; letter-spacing: -.065em; line-height: .92 !important; }

/* Fotografías decorativas alternas. Son recursos distintos de la biblioteca y la capa
   de contraste se aplica antes del contenido para conservar la lectura. */
body.page-id-237085 .alfa-philosophy-pillars,
body.page-id-237085 .alfa-philosophy-final {
  isolation: isolate;
  overflow: hidden;
}
body.page-id-237085 .alfa-philosophy-pillars::before,
body.page-id-237085 .alfa-philosophy-final::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
body.page-id-237085 .alfa-philosophy-pillars::before {
  background-image:
    linear-gradient(110deg, rgba(7, 13, 12, .94) 0%, rgba(7, 13, 12, .84) 54%, rgba(7, 13, 12, .95) 100%),
    url('/wp-content/uploads/2026/07/Alfa-Fuerza-y-Arco-Club-deportivo-elemetal-en-Madrid22-scaled.webp');
}
body.page-id-237085 .alfa-philosophy-final::before {
  background-image:
    linear-gradient(105deg, rgba(7, 24, 37, .94) 0%, rgba(7, 24, 37, .82) 50%, rgba(7, 24, 37, .95) 100%),
    url('/wp-content/uploads/2026/07/Club-Alfa-Madrid-Escuela-de-entrenamiento-y-gimnasio-8-scaled.webp');
}
body.page-id-237085 .alfa-philosophy-outside { background: linear-gradient(115deg, #102536, #173248 58%, #102536); }
body.page-id-237085 .alfa-philosophy-outside .wp-block-cover__background { background: transparent !important; }
body.page-id-237085 .alfa-philosophy-outside .wp-block-cover__image-background { opacity: .18; filter: saturate(.7) contrast(1.1); }
body.page-id-237085 .alfa-philosophy-outside__row,
body.page-id-237085 .alfa-philosophy-performance__row { max-width: 61rem; }
body.page-id-237085 .alfa-philosophy-outside__notice { margin: 2rem 0 !important; padding: .25rem 0 .25rem 1.2rem; border-left: 3px solid var(--phi-accent); color: var(--fya-white) !important; font-size: clamp(1rem, 1.5vw, 1.3rem) !important; line-height: 1.45 !important; }
body.page-id-237085 .alfa-philosophy-outside__notice strong { color: var(--phi-accent); font-weight: 900; }

body.page-id-237085 .alfa-philosophy-people { background: #142d40; }
body.page-id-237085 .alfa-philosophy-people__columns > .wp-block-column { padding-top: 1.5rem; border-top: 1px solid var(--phi-line); }
body.page-id-237085 .alfa-philosophy-people__copy { font-size: clamp(1.1rem, 1.6vw, 1.45rem) !important; line-height: 1.45 !important; }

body.page-id-237085 .alfa-philosophy-quote {
  isolation: isolate;
  overflow: hidden;
  background: var(--phi-accent);
}
body.page-id-237085 .alfa-philosophy-quote::before,
body.page-id-237085 .alfa-philosophy-quote::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -35%;
  pointer-events: none;
}
body.page-id-237085 .alfa-philosophy-quote::before {
  background:
    radial-gradient(ellipse at 25% 38%, rgba(8, 28, 42, .18), transparent 31%),
    radial-gradient(ellipse at 76% 67%, rgba(8, 28, 42, .15), transparent 34%);
  filter: blur(24px);
  animation: forjando-philosophy-quote-shadows 18s ease-in-out infinite alternate;
}
body.page-id-237085 .alfa-philosophy-quote::after {
  background: linear-gradient(120deg, rgba(255, 255, 255, .055), transparent 42%, rgba(7, 26, 39, .055));
  animation: forjando-philosophy-quote-sheen 22s ease-in-out infinite alternate;
}
body.page-id-237085 .alfa-philosophy-quote > * { position: relative; z-index: 1; }
body.page-id-237085 .alfa-philosophy-quote__row { max-width: 62rem; }
body.page-id-237085 .alfa-philosophy-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--fya-white);
  max-width: 21ch;
  color: var(--fya-white) !important;
  font-size: clamp(3.2rem, 7.2vw, 8.5rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.07em !important;
  line-height: .9 !important;
  text-shadow: 0 .09em .3em rgba(7, 26, 39, .35) !important;
}
body.page-id-237085 .alfa-philosophy-quote__signature {
  margin-top: 2.25rem !important;
  color: var(--fya-white) !important;
  font-size: clamp(.9rem, 1.15vw, 1.08rem) !important;
  font-weight: 800;
  letter-spacing: .17em;
  text-shadow: 0 2px 10px rgba(7, 26, 39, .25);
  text-transform: uppercase;
}

@keyframes forjando-philosophy-quote-shadows {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
@keyframes forjando-philosophy-quote-sheen {
  from { transform: translate3d(-2%, 0, 0); opacity: .65; }
  to { transform: translate3d(3%, 0, 0); opacity: 1; }
}

body.page-id-237085 .alfa-philosophy-pillars { background: #0b0d0c; }
body.page-id-237085 .alfa-philosophy-pillars > *,
body.page-id-237085 .alfa-philosophy-final > * { position: relative; z-index: 1; }
body.page-id-237085 .alfa-philosophy-pillars__grid { gap: 0; }
body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column { display: grid; grid-template-rows: auto auto 1fr; min-height: 23rem; margin: 0; padding: 1.5rem clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--phi-line); }
body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column:last-child { border-right: 1px solid var(--phi-line); }
body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column > :first-child { margin: 0 0 clamp(5rem, 8vw, 8rem) !important; color: var(--phi-accent) !important; font-size: clamp(3rem, 4.5vw, 4.8rem) !important; font-weight: 900; letter-spacing: -.08em; line-height: .85 !important; }
body.page-id-237085 .alfa-philosophy-pillars__grid h3 { margin: 0 0 .8rem !important; color: var(--fya-white) !important; font-size: clamp(1.1rem, 1.5vw, 1.5rem) !important; font-weight: 900 !important; letter-spacing: -.05em; line-height: 1 !important; }
body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column > :last-child { margin: 0; color: var(--phi-copy) !important; font-size: .95rem; line-height: 1.5; }

body.page-id-237085 .alfa-philosophy-performance { background: linear-gradient(90deg, #0d2130, #173248); }
body.page-id-237085 .alfa-philosophy-performance__teams { margin-top: 2.25rem !important; color: var(--phi-accent) !important; font-size: clamp(1rem, 1.5vw, 1.28rem) !important; font-weight: 800; line-height: 1.45 !important; }
body.page-id-237085 .alfa-philosophy-final { background: #0b1b29; text-align: center; }
body.page-id-237085 .alfa-philosophy-final__row { max-width: 65rem; }
body.page-id-237085 .alfa-philosophy-final__copy { margin: 1.6rem auto 2rem !important; }

/* Secuencia de capas: cada capítulo ocupa la pantalla y releva al anterior. */
@media (min-width: 768px) {
  body.page-id-237085 .entry-content > .alfa-philosophy-hero,
  body.page-id-237085 .entry-content > .alfa-philosophy-way,
  body.page-id-237085 .entry-content > .alfa-philosophy-outside,
  body.page-id-237085 .entry-content > .alfa-philosophy-people,
  body.page-id-237085 .entry-content > .alfa-philosophy-quote,
  body.page-id-237085 .entry-content > .alfa-philosophy-pillars,
  body.page-id-237085 .entry-content > .alfa-philosophy-performance,
  body.page-id-237085 .entry-content > .alfa-philosophy-final {
    position: sticky;
    top: 0;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }
  body.page-id-237085 .entry-content > .alfa-philosophy-hero { z-index: 1; }
  body.page-id-237085 .entry-content > .alfa-philosophy-way { z-index: 2; }
  body.page-id-237085 .entry-content > .alfa-philosophy-outside { z-index: 3; }
  body.page-id-237085 .entry-content > .alfa-philosophy-people { z-index: 4; }
  body.page-id-237085 .entry-content > .alfa-philosophy-quote { z-index: 5; }
  body.page-id-237085 .entry-content > .alfa-philosophy-pillars { z-index: 6; }
  body.page-id-237085 .entry-content > .alfa-philosophy-performance { z-index: 7; }
  body.page-id-237085 .entry-content > .alfa-philosophy-final { z-index: 8; }
}

/* El contenido gana presencia cuando su capítulo entra en escena. */
body.page-id-237085 .alfa-philosophy-motion .forjando-philosophy-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .72s cubic-bezier(.2, .7, .2, 1), transform .72s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--forjando-reveal-index, 0) * 85ms);
}
body.page-id-237085 .alfa-philosophy-motion.is-visible .forjando-philosophy-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  body.page-id-237085 .alfa-philosophy-way__body,
  body.page-id-237085 .alfa-philosophy-people__columns { flex-direction: column; }
  body.page-id-237085 .alfa-philosophy-pillars__grid { flex-wrap: wrap !important; }
  body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column { flex-basis: 50%; min-height: 17rem; border-bottom: 1px solid var(--phi-line); }
}

@media (max-width: 767px) {
  body.page-id-237085 .alfa-philosophy-hero { min-height: 88svh !important; background: linear-gradient(90deg, rgba(12, 30, 45, .96), rgba(12, 30, 45, .56)) !important; }
  body.page-id-237085 .alfa-philosophy-hero h1,
  body.page-id-237085 .alfa-philosophy-way h2,
  body.page-id-237085 .alfa-philosophy-outside h2,
  body.page-id-237085 .alfa-philosophy-people h2,
  body.page-id-237085 .alfa-philosophy-pillars h2,
  body.page-id-237085 .alfa-philosophy-performance h2,
  body.page-id-237085 .alfa-philosophy-final h2 { font-size: clamp(2.45rem, 12vw, 4.4rem) !important; letter-spacing: -.075em; }
  body.page-id-237085 .alfa-philosophy-pillars__grid > .wp-block-column { flex-basis: 100%; min-height: 0; border-right: 1px solid var(--phi-line); }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-237085 .alfa-philosophy-motion .forjando-philosophy-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body.page-id-237085 .alfa-philosophy-quote::before,
  body.page-id-237085 .alfa-philosophy-quote::after { animation: none; }
}
