/* ============================================================
   REDEL · Red de Docentes en Línea — Estilos
   Base: sistema visual CUDE/UAPA  (Primary #041147 · Secondary #ff8300)
   Acento adicional tomado del logo REDEL: cian #2bb3e6
   ============================================================ */

:root {
  --primary: #041147;
  --primary-900: #030d38;
  --primary-800: #0a1c5e;
  --primary-700: #1b2c74;
  --primary-600: #33437f;
  --primary-100: #e7e9f1;
  --primary-050: #f3f4f9;

  --secondary: #ff8300;
  --secondary-700: #d86e00;
  --secondary-100: #ffedd8;

  --cyan: #2bb3e6;
  --cyan-100: #e3f5fc;

  --brand-red: #d32326;
  --grad-brand: linear-gradient(90deg, #d32326 0%, #ff8300 100%);
  --grad-brand-hover: linear-gradient(90deg, #b71d20 0%, #e97600 100%);
  --grad-dark: linear-gradient(150deg, var(--primary-900), var(--primary) 60%, var(--primary-800));

  --ink: #0c1230;
  --body: #3a3f52;
  --muted: #6b7080;
  --line: #e4e6ee;
  --white: #fff;
  --bg: #fff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(4, 17, 71, .08);
  --shadow-md: 0 18px 45px rgba(4, 17, 71, .14);
  --container: 1160px;
  --header-h: 74px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--secondary);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .2px;
  color: #fff; background: var(--btn-bg); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(4, 17, 71, .3); }
.btn--primary { background: var(--secondary); }
.btn--primary:hover { background: var(--secondary-700); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--small { padding: 9px 18px; font-size: .85rem; }
.section .btn--ghost { color: var(--primary); border-color: var(--primary-600); }
.section .btn--ghost:hover { background: var(--primary-050); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 8px 12px; font-weight: 500; font-size: .9rem;
  color: var(--primary-700); border-radius: 8px; transition: color .18s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--secondary); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link--cta { background: var(--secondary); color: #fff; margin-left: 8px; padding-inline: 18px; }
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--secondary-700); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 10px;
  background: var(--primary-050); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--primary); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (home) — claro, con red de conectores
   ============================================================ */
.hero { position: relative; padding: clamp(60px, 9vh, 104px) 0 clamp(70px, 11vh, 120px); overflow: hidden; isolation: isolate; background: #fff; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 420px at 92% 10%, rgba(43, 179, 230, .20), transparent 65%),
    radial-gradient(480px 380px at 66% 100%, rgba(255, 131, 0, .15), transparent 65%),
    linear-gradient(180deg, #f6f7fb, #fff);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(4, 17, 71, .14) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin-bottom: 1.3rem;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--primary-700); background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.hero__title { color: var(--primary); font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800; margin-bottom: 1.1rem; }
.hero__text { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--body); max-width: 540px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--ghost { color: var(--primary); border-color: var(--primary-600); }
.hero .btn--ghost:hover { background: var(--primary-050); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .88rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* Red de docentes (conectores) */
.net { position: relative; aspect-ratio: 1 / 1; max-width: 580px; margin-inline: auto; width: 100%; }
.net svg { width: 100%; height: 100%; overflow: visible; }
.net__line { stroke: rgba(4, 17, 71, .3); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -220; } }
.net__node { fill: var(--primary); }
.net__ring { fill: none; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
.net__node-wrap:nth-child(2n) .net__ring { animation-delay: .8s; }
.net__node-wrap:nth-child(3n) .net__ring { animation-delay: 1.6s; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.35); opacity: .25; } }
.net__chip {
  position: absolute; padding: 7px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  color: var(--primary); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}
.net__chip:nth-of-type(2) { animation-delay: 1.5s; }
.net__chip:nth-of-type(3) { animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: clamp(60px, 9vw, 100px) 0; }
.section--tint { background: var(--primary-050); }
.section--dark { background: var(--grad-dark); color: #fff; border-top: 4px solid transparent; border-image: var(--grad-brand) 1; }

.section--soft {
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(43, 179, 230, .26), transparent 62%),
    radial-gradient(520px 320px at 92% 100%, rgba(255, 131, 0, .16), transparent 62%),
    var(--cyan-100);
}
.section--soft .kicker { color: var(--secondary-700); }

.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.section__lead { font-size: 1.05rem; color: var(--muted); }
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: rgba(255,255,255,.78); }
.section__more { margin-top: 40px; text-align: center; }

/* Split texto + panel */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 46px; align-items: start; }
.split__text p { font-size: 1.05rem; }
.split__text strong { color: var(--primary); }
.stats { display: grid; gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--secondary);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.stat__label { font-size: .9rem; color: var(--muted); }

/* Misión / Visión */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv__card { border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.mv__card h3 { font-size: 1.25rem; color: var(--primary); }
.mv__card--dark { background: var(--grad-dark); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.mv__card--dark::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-brand); }
.mv__card--dark h3 { color: var(--secondary); }
.mv__card--dark p { color: rgba(255,255,255,.9); }
.mv__card p:last-child { margin: 0; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.value {
  text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--primary-700);
  transition: transform .2s ease, border-color .2s ease;
}
.value:hover { transform: translateY(-4px); border-color: var(--secondary); }
.value::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin: 0 auto 12px; }

/* Tarjetas */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover, .card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.card__num {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.card h3 { font-size: 1.14rem; color: var(--primary); }
.card p { font-size: .95rem; margin-bottom: .8rem; }
.card p:last-child { margin-bottom: 0; }
.link-more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--secondary-700); }
.link-more:hover { color: var(--secondary); }

/* Panel oscuro con grid de pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.step h3 { color: #fff; font-size: 1.05rem; }
.step p { color: rgba(255,255,255,.78); font-size: .92rem; margin: 0; }
.step__tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member[hidden] { display: none; }
.member__photo {
  width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: #fff; background: var(--grad-dark);
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--secondary);
}
.member__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member h3 { font-size: 1.05rem; margin-bottom: 2px; color: var(--primary); }
.member__role { display: block; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--secondary-700); margin-bottom: 10px; }
.member p { font-size: .88rem; color: var(--muted); margin: 0; }
.member__org { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 600; color: var(--primary-700); background: var(--primary-050); padding: 4px 10px; border-radius: 999px; }
.member--lead { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 20px; text-align: left; align-items: center; }
.member--lead .member__photo { margin: 0; width: 110px; height: 110px; }

/* Check list */
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: .98rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--secondary-100); border: 1.5px solid var(--secondary); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 10px; border: solid var(--secondary-700); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 3px; background: var(--grad-brand); border-radius: 3px; }
.timeline__item { position: relative; padding: 0 0 28px 20px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item[hidden] { display: none; }
.timeline__item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-red); }
.timeline__year { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--primary); margin-bottom: 4px; }
.timeline__item p { margin: 0; }

/* Tabla de objetivos */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .94rem; }
.table th { text-align: left; font-family: var(--font-head); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--primary); padding: 16px 20px; }
.table td { padding: 18px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.table tbody tr:nth-child(even) { background: var(--primary-050); }
.table td:last-child { font-weight: 600; color: var(--primary); }

/* Acordeón (decálogo) */
.accordion { display: grid; gap: 12px; max-width: 860px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.accordion details[open] { border-color: var(--secondary); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  font-family: var(--font-head); font-weight: 600; color: var(--primary);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--secondary-700); transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: .85rem; background: var(--grad-brand); }
.accordion__body { padding: 0 22px 20px 72px; margin: 0; }

/* Cita */
.quote { margin: 0; padding: 28px 32px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.5; color: #fff; background: var(--grad-dark); border-radius: var(--radius); border-left: 6px solid var(--secondary); }

/* Page hero (internas) */
.page-hero {
  color: #fff; padding: clamp(52px, 8vw, 92px) 0 clamp(44px, 6vw, 70px);
  background:
    radial-gradient(800px 420px at 88% 0%, rgba(255,131,0,.28), transparent 58%),
    radial-gradient(600px 380px at 60% 100%, rgba(43,179,230,.18), transparent 55%),
    var(--grad-dark);
}
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero__lead { max-width: 640px; color: rgba(255,255,255,.84); font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--secondary); }

/* Subnavegación interna (anclas) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--primary-700); }
.subnav a:hover { background: var(--primary-050); color: var(--primary); }

/* Chips / filtros */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--primary-600); background: transparent; color: var(--primary); cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--brand-red); }
.chip.is-active { background: var(--secondary); color: #fff; border-color: transparent; }

/* Placeholder de contenido próximo */
.empty { padding: 36px; text-align: center; border: 2px dashed var(--primary-100); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty strong { display: block; color: var(--primary); font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 4px; }
.empty p { margin: 0; }
.badge { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--secondary-700); background: var(--secondary-100); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.calendar { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 20px; }
.calendar iframe { width: 100%; height: 100%; border: 0; }

/* Formularios */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { color: var(--primary); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--primary-050);
  border: 1.5px solid transparent; border-radius: var(--radius-sm); transition: border-color .18s ease, background .18s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--secondary); }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }
.form__msg { display: none; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--cyan-100); color: var(--primary); font-size: .9rem; margin: 0; }
.form__msg.is-visible { display: block; }

.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__dot { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary-100); color: var(--secondary-700); font-weight: 700; font-family: var(--font-head); }
.contact-item strong { display: block; color: var(--primary); font-family: var(--font-head); font-size: .95rem; }
.contact-item a:hover { color: var(--brand-red); }

/* Estructura operativa */
.org { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.org__item { padding: 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.org__item h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.org__item p { font-size: .9rem; margin: 0; }
.org__item--top { border-left-color: var(--secondary); grid-column: 1 / -1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-900); color: rgba(255,255,255,.8); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; }
.footer-logo img { height: 40px; width: auto; }
.site-footer p { font-size: .9rem; margin-top: .9rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer a { transition: color .18s ease; }
.site-footer a:hover { color: var(--secondary); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center;
  font-size: 1.2rem; color: #fff; background: var(--secondary); border-radius: 50%; box-shadow: 0 12px 26px rgba(255,131,0,.38);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 40;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner, .split, .mv, .form-grid { grid-template-columns: 1fr; }
  .net { max-width: 440px; }
  .cards-grid, .org { grid-template-columns: repeat(2, 1fr); }
  .steps, .team { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 18px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 13px 12px; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--primary-050); }
  .nav__link--cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .brand__logo { height: 38px; }
  .cards-grid, .org, .steps, .team, .form__row, .site-footer__inner { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .member--lead { grid-column: auto; grid-template-columns: 1fr; text-align: center; }
  .member--lead .member__photo { margin: 0 auto; }
  .hero__actions .btn { width: 100%; }
  .accordion__body { padding-left: 22px; }
  .panel { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .net__line, .net__ring, .net__chip { animation: none; }
}
