﻿:root {
  --green: #76b041;
  --green-hover: #659a38;
  --text: #1a1a1a;
  --muted: #4d4d4d;
  --border: #d9d9d9;
  --chip: #e8e8e8;
  --chip-text: #7a7a7a;
  --radius: 6px;
  --radius-card: 8px;
  --wrap: min(92vw, 1420px);
  /* Mismo margen horizontal que .wrap: úsalo en heroes y bloques full-bleed */
  --wrap-gutter: clamp(18px, 3.5vw, 40px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent-green: #76b041;
  --accent-yellow: #e4c200;
  --accent-red: #d93b3b;
  --accent-blue: #2f6fb9;
  --accent-orange: #e8891c;
  /* Tema de página (guía de color; CTAs siguen en --green) */
  --page-accent: var(--accent-green);
  --page-accent-soft: rgba(118, 176, 65, 0.12);
  --page-hero-bar: rgba(118, 176, 65, 0.38);
  --page-border-subtle: rgba(118, 176, 65, 0.16);
}

/* Temas por sección (sutiles: acento + barra bajo hero) */
body.theme-fundacion {
  --page-accent: var(--accent-green);
  --page-accent-soft: rgba(118, 176, 65, 0.12);
  --page-hero-bar: rgba(118, 176, 65, 0.42);
  --page-border-subtle: rgba(118, 176, 65, 0.18);
}

body.theme-alzheimer {
  --page-accent: var(--accent-blue);
  --page-accent-soft: rgba(47, 111, 185, 0.1);
  --page-hero-bar: rgba(47, 111, 185, 0.38);
  --page-border-subtle: rgba(47, 111, 185, 0.2);
}

body.theme-ayudas {
  --page-accent: var(--accent-red);
  --page-accent-soft: rgba(217, 59, 59, 0.08);
  --page-hero-bar: rgba(217, 59, 59, 0.32);
  --page-border-subtle: rgba(217, 59, 59, 0.2);
}

body.theme-recursos {
  --page-accent: #b89d00;
  --page-accent-soft: rgba(228, 194, 0, 0.18);
  --page-hero-bar: rgba(255, 255, 255, 0.38);
  --page-border-subtle: rgba(184, 157, 0, 0.28);
}

body.theme-blog,
body.theme-inicio {
  --page-accent: var(--accent-green);
  --page-accent-soft: rgba(118, 176, 65, 0.12);
  --page-hero-bar: rgba(118, 176, 65, 0.38);
  --page-border-subtle: rgba(118, 176, 65, 0.16);
}

body.theme-contacto {
  --page-accent: var(--accent-green);
  --page-accent-soft: rgba(118, 176, 65, 0.12);
  --page-hero-bar: rgba(255, 255, 255, 0.38);
  --page-border-subtle: rgba(118, 176, 65, 0.16);
}

body.theme-transparencia {
  --page-accent: var(--accent-green);
  --page-accent-soft: rgba(118, 176, 65, 0.12);
  --page-hero-bar: rgba(118, 176, 65, 0.38);
  --page-border-subtle: rgba(118, 176, 65, 0.16);
}

body.theme-inicio section.hero {
  border-bottom: 2px solid var(--page-hero-bar);
}

body.theme-fundacion header.fd-hero,
body.theme-alzheimer header.azm-hero,
body.theme-ayudas header.act-hero,
body.theme-recursos header.rs-hero,
body.theme-contacto header.ct-hero,
body.theme-transparencia header.tr-hero,
body.theme-blog .blog-hero {
  border-bottom: 2px solid var(--page-hero-bar);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 8px 14px;
  background: #111;
  color: #fff;
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--wrap-gutter);
}

.wrap--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--wrap-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: clamp(40px, 4.5vw, 52px);
  width: auto;
  max-width: min(220px, 46vw);
  object-fit: contain;
}

.brand__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand__lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #111;
}

.brand__sub {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #111;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: #111;
  border-radius: 2px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.site-nav__list a {
  display: inline-block;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  background: transparent;
  border-radius: 0;
  min-width: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  background: transparent;
  color: var(--green-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-nav__list a[aria-current="page"],
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-parent > a {
  font-weight: 800;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-nav__list a[aria-current="page"]:hover,
.site-nav__list a[aria-current="page"]:focus-visible,
.site-nav__list .current-menu-item > a:hover,
.site-nav__list .current-menu-item > a:focus-visible,
.site-nav__list .current_page_item > a:hover,
.site-nav__list .current_page_item > a:focus-visible {
  background: transparent;
  color: var(--green-hover);
}

/* ——— Accent strip ——— */
.accent-strip {
  display: flex;
  gap: 0;
  width: 168px;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.accent-strip--sm {
  width: 120px;
  height: 5px;
  margin: 0 auto 14px;
}

.accent-strip__s {
  flex: 1;
  height: 100%;
}

.accent-strip__s--green {
  background: var(--accent-green);
}

.accent-strip__s--yellow {
  background: var(--accent-yellow);
}

.accent-strip__s--red {
  background: var(--accent-red);
}

.accent-strip__s--blue {
  background: var(--accent-blue);
}

/* ——— Hero ——— */
.hero {
  padding: 48px 0 56px;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--wrap-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: center;
}

.hero__brand {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--green);
}

.hero__tagline {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--green);
  max-width: 22ch;
}

.hero__body {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 42ch;
}

.hero__col--visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__rings {
  display: block;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(118, 176, 65, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(118, 176, 65, 0.08);
  transform: translateY(-1px);
}

.btn--compact {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.btn--arrow::after {
  content: " ›";
  font-weight: 800;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ——— Blocks ——— */
.block {
  padding: 48px 0 56px;
}

.block__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.block__head--lines {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 640px;
}

.block__title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.block__title--green {
  color: var(--green);
}

.block__lead {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

.block__lead--left {
  text-align: left;
}

.block__lead--on-green {
  color: rgba(255, 255, 255, 0.95);
}

.block__blog-link {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.block__blog-link a {
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.block__blog-link a:hover,
.block__blog-link a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.block__blog-link--on-green a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Líneas 3×2 ——— */
.line-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.line-grid--3 {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.line-group {
  margin-top: clamp(8px, 1.5vw, 16px);
}

.line-group__label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.line-group__label--red {
  color: var(--accent-red);
}

.line-group__label--yellow {
  color: #9a8500;
}

.line-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  padding: clamp(22px, 2.5vw, 32px) clamp(18px, 2vw, 26px);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.line-card:not(.line-card--brand):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.05);
}

.line-card__title {
  margin: 0 0 12px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  max-width: 28ch;
}

.line-card__rule {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 14px;
}

.line-card__rule--green {
  background: var(--accent-green);
}

.line-card__rule--yellow {
  background: var(--accent-yellow);
}

.line-card__rule--red {
  background: var(--accent-red);
}

.line-card__rule--orange {
  background: var(--accent-orange);
}

.line-card__rule--blue {
  background: var(--accent-blue);
}

.line-card__text {
  margin: 0;
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  color: var(--muted);
  line-height: 1.45;
  max-width: 42ch;
}

.line-card--brand {
  background: var(--green);
  border-color: var(--green);
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 2.5vw, 28px);
}

.line-card__brand-img {
  width: auto;
  max-width: min(280px, 85%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ——— Guía de colores (home) ——— */
.block--color-key {
  background: #fafbf8;
  padding: 44px 0 52px;
}

.block--color-key .block__head--lines {
  max-width: min(720px, 100%);
}

.block--color-key .block__lead {
  font-size: 1.02rem;
  line-height: 1.62;
}

.color-key__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.color-key-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(12px, 2vw, 16px);
}

.color-key-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.color-key-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.05);
}

.color-key-card__bar {
  display: block;
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

.color-key-card__bar--green {
  background: var(--accent-green);
}

.color-key-card__bar--yellow {
  background: var(--accent-yellow);
}

.color-key-card__bar--red {
  background: var(--accent-red);
}

.color-key-card__bar--orange {
  background: var(--accent-orange);
}

.color-key-card__bar--blue {
  background: var(--accent-blue);
}

.color-key-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.color-key-card__title {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
  line-height: 1.3;
}

.color-key-card__text {
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  flex: 1;
}

.color-key-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
}

.color-key-card__link:hover,
.color-key-card__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.color-key-card__link--green {
  color: var(--accent-green);
}

.color-key-card__link--yellow {
  color: #9a8500;
}

.color-key-card__link--red {
  color: var(--accent-red);
}

.color-key-card__link--orange {
  color: #c47310;
}

.color-key-card__link--blue {
  color: var(--accent-blue);
}

/* ——— Impact ——— */
.block--impact {
  background: var(--green);
  padding: 52px 0 60px;
}

.block__head--impact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.block--impact .block__title {
  color: #fff;
}

.impact-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-stats__item {
  text-align: center;
  color: #fff;
}

.impact-stats__num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.impact-stats__label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.impact-stats__hint {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* ——— Noticias ——— */
.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-card:hover {
  border-color: rgba(118, 176, 65, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.06);
}

.news-card__thumb {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .news-card__thumb img {
  transform: scale(1.03);
}

.news-card__body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.35;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  flex: 1;
}

.news-card__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

/* ——— Gobernanza ——— */
.block--gov {
  background: #fff;
  padding-top: 40px;
}

.gov-list {
  margin: 0 0 22px;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.98rem;
}

.gov-list li {
  margin-bottom: 6px;
}

.gov-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.gov-media img {
  width: auto;
  max-width: 280px;
  height: auto;
}

/* ——— CTA panel ——— */
.block--cta {
  padding-top: 32px;
  padding-bottom: 48px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
}

.cta-panel__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
}

.cta-panel__lead {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 52ch;
}

.cta-panel__action {
  flex-shrink: 0;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--green);
  padding: 40px var(--wrap-gutter) 32px;
}

.site-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.site-footer__logo {
  display: flex;
  justify-content: center;
}

.site-footer__logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.site-footer__nav {
  margin-top: 28px;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 24px;
}

.site-footer__list a {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .line-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .line-card--brand {
    grid-column: 1 / -1;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .wrap--split {
    grid-template-columns: 1fr;
  }

  .gov-media {
    order: -1;
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .accent-strip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__body {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__col--visual {
    order: -1;
  }

  .hero__rings {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 360px;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--wrap-gutter) 16px;
    gap: 0;
  }

  .site-nav__list a {
    min-width: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--green);
    font-weight: 600;
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    color: var(--green-hover);
  }

  .site-nav__list a[aria-current="page"],
  .site-nav__list .current-menu-item > a,
  .site-nav__list .current_page_item > a {
    font-weight: 800;
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .site-nav__list li:last-child a {
    border-bottom: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel__action {
    width: 100%;
  }

  .cta-panel__action .btn {
    width: 100%;
  }

  .cta-panel__actions .btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .line-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav {
    transition: none;
  }

  .btn,
  .btn--primary:hover,
  .btn--primary:focus-visible,
  .btn--outline:hover,
  .btn--outline:focus-visible,
  .news-card,
  .news-card:hover,
  .news-card__thumb img,
  .news-card:hover .news-card__thumb img,
  .color-key-card,
  .color-key-card:hover,
  .line-card,
  .line-card:hover,
  .site-header,
  .accent-strip__s,
  .hero__rings {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .reveal,
  .reveal-hero,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }
}

/* ——— Subtle motion (minimal) ——— */
.site-header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06), 0 8px 24px rgba(26, 26, 26, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero .hero__col--text,
.reveal-hero .fd-hero__copy,
.reveal-hero .azm-hero__grid > div:first-child,
.reveal-hero .act-hero__grid > div:first-child,
.reveal-hero .rs-hero__grid > div:first-child,
.reveal-hero .ct-hero__grid > div:first-child,
.reveal-hero .blog-hero .wrap {
  opacity: 0;
  transform: translateY(16px);
  animation: ceafa-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.reveal-hero .hero__col--visual,
.reveal-hero .fd-hero__visual,
.reveal-hero .azm-figure-circle,
.reveal-hero .act-hero__art,
.reveal-hero .rs-hero__art {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  animation: ceafa-rise-soft 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 55ms);
}

.reveal-stagger.is-inview > *,
.reveal.is-inview.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

.accent-strip__s {
  transform-origin: left center;
  transform: scaleX(0);
}

.reveal-hero.is-ready .accent-strip__s {
  animation: ceafa-bar 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-hero.is-ready .accent-strip__s:nth-child(1) {
  animation-delay: 0.12s;
}

.reveal-hero.is-ready .accent-strip__s:nth-child(2) {
  animation-delay: 0.2s;
}

.reveal-hero.is-ready .accent-strip__s:nth-child(3) {
  animation-delay: 0.28s;
}

.reveal-hero.is-ready .accent-strip__s:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes ceafa-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ceafa-rise-soft {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ceafa-bar {
  to {
    transform: scaleX(1);
  }
}

/* ——— Form feedback ——— */
.ceafa-form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.ceafa-form-status[hidden] {
  display: none !important;
}

.ceafa-form-status--info {
  background: rgba(47, 111, 185, 0.1);
  color: #1e4a7a;
  border: 1px solid rgba(47, 111, 185, 0.25);
}

.ceafa-form-status--success {
  background: rgba(118, 176, 65, 0.14);
  color: #2f5a12;
  border: 1px solid rgba(118, 176, 65, 0.35);
}

.ceafa-form-status--error {
  background: rgba(217, 59, 59, 0.1);
  color: #8a1f1f;
  border: 1px solid rgba(217, 59, 59, 0.3);
}

.ceafa-hp {
  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;
}
