:root {
  /* Brand: indigo #383995 + green #00A851 */
  --ink: #1B1C4B;
  --ink-soft: #2C2D6E;
  --blue: #383995;
  --blue-dark: #2A2B72;
  --gold: #00A851;
  --gold-light: #2FB76C;
  --gold-soft: #D7F0E1;
  --paper: #F1F2F6;
  --paper-warm: #F8F9FB;
  --soft: #ECEEF3;
  --text: #20222E;
  --muted: #5C636F;
  --line: #DADDE6;
  --line-soft: #E9EBF1;
  --white: #FFFFFF;
  --shadow: 0 22px 48px -28px rgba(27, 28, 75, 0.30);
  --serif: "Cormorant Garamond", "Source Serif Pro", "EB Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  background: var(--paper-warm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

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

[data-reveal] {
  transition: opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Stagger when several reveal-items share a parent grid */
.trust-grid [data-reveal]:nth-child(2),
.method-steps [data-reveal]:nth-child(2),
.course-grid [data-reveal]:nth-child(2),
.service-grid [data-reveal]:nth-child(2),
.deliverable-grid [data-reveal]:nth-child(2),
.electoral-flow [data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}

.trust-grid [data-reveal]:nth-child(3),
.method-steps [data-reveal]:nth-child(3),
.course-grid [data-reveal]:nth-child(3),
.service-grid [data-reveal]:nth-child(3),
.deliverable-grid [data-reveal]:nth-child(3),
.electoral-flow [data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}

.trust-grid [data-reveal]:nth-child(4),
.method-steps [data-reveal]:nth-child(4),
.course-grid [data-reveal]:nth-child(4),
.service-grid [data-reveal]:nth-child(4),
.deliverable-grid [data-reveal]:nth-child(4),
.electoral-flow [data-reveal]:nth-child(4) {
  transition-delay: 0.3s;
}

/* Hero word-by-word reveal */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}

.word > span {
  display: inline-block;
  will-change: transform, opacity;
}

body.motion-ready [data-split] .word > span {
  animation: wordRise 1s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: calc(var(--word-i, 0) * 70ms + 350ms);
}

@keyframes wordRise {
  from { transform: translateY(112%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--gold-light);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--gold);
}

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(248, 249, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a,
.main-nav button {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
}

.main-nav a::after,
.main-nav .nav-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav button:hover {
  color: var(--blue-dark);
}

.main-nav a:hover::after,
.main-nav .nav-button:hover::after {
  transform: scaleX(1);
}

.nav-button {
  border: 0;
  background: transparent;
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button {
  position: relative;
  overflow: hidden;
}

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

.button[data-magnetic] {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button[data-magnetic]:hover {
  transform: translate3d(var(--mx, 0), calc(var(--my, 0px) - 2px), 0);
}

.button[data-magnetic]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.button[data-magnetic]:hover::before {
  opacity: 1;
}

.button-primary {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
}

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.button-gold:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.button-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* Header nav button override (smaller, refined) */
.main-nav .button {
  min-height: 0;
  padding: 11px 18px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

/* ---------- Typography primitives ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: lineDraw 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: 0.25s;
}

[data-reveal] .eyebrow::before,
[data-reveal] .section-kicker::before,
[data-reveal].eyebrow::before,
[data-reveal].section-kicker::before {
  animation: none;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0.35s;
}

[data-reveal].is-visible .eyebrow::before,
[data-reveal].is-visible .section-kicker::before,
[data-reveal].eyebrow.is-visible::before,
[data-reveal].section-kicker.is-visible::before {
  transform: scaleX(1);
}

@keyframes lineDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.section-kicker {
  color: var(--blue);
}

.section-kicker.light {
  color: var(--gold-light);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 156px 0 110px;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

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

.hero-media {
  background: url("img/banner2.jpg") center / cover no-repeat;
  transform: scale(1.04);
  filter: grayscale(35%) contrast(102%);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(100deg, rgba(27, 28, 75, 0.96) 0%, rgba(27, 28, 75, 0.86) 42%, rgba(27, 28, 75, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  gap: 64px;
  align-items: end;
}

.hero-copy {
  max-width: 780px;
}

[data-hero-item] {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.85s ease forwards;
}

body.motion-ready [data-hero-item][data-split] {
  opacity: 1;
  transform: none;
  animation: none;
}

[data-hero-item]:nth-child(2) {
  animation-delay: 0.1s;
}

[data-hero-item]:nth-child(3) {
  animation-delay: 0.2s;
}

[data-hero-item]:nth-child(4) {
  animation-delay: 0.3s;
}

.hero-proof-panel[data-hero-item] {
  animation-delay: 0.4s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero .eyebrow::before {
  background: var(--gold-light);
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--white);
}

.hero-question {
  max-width: 700px;
  margin: 32px 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
}

.hero-text {
  max-width: 600px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-proof-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 2px solid var(--gold-light);
  padding: 32px 28px;
  background: rgba(8, 24, 41, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.proof-panel-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-panel-header span,
.proof-panel-header strong {
  display: block;
}

.proof-panel-header span {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.proof-panel-header strong {
  margin-top: 6px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 4px 0;
}

.proof-list article + article {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.proof-list span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.proof-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;
}

.proof-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: marqueeSlide 28s linear infinite;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.marquee-track span {
  white-space: nowrap;
  position: relative;
}

.marquee-track span + span::before {
  content: "•";
  margin-right: 26px;
  color: var(--gold-light);
}

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

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -60px;
  padding-bottom: 72px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-card {
  min-height: 180px;
  padding: 30px 28px;
  background: var(--white);
  border-right: 1px solid var(--line-soft);
}

.trust-card:last-child {
  border-right: 0;
}

.trust-card span {
  display: block;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trust-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

section {
  scroll-margin-top: 110px;
}

/* ---------- Sections base ---------- */

.intro-band,
.services-section,
.authority-section {
  padding: 120px 0;
  background: var(--white);
}

.intro-band {
  padding-top: 80px;
}

/* ---------- Risk section ---------- */

.risk-section {
  position: relative;
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.risk-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 64px;
  align-items: start;
}

.risk-copy {
  max-width: 580px;
}

.risk-copy h2,
.electoral-lead h2,
.deliverables-section h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.risk-copy p,
.electoral-lead p,
.deliverables-section .section-heading p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.risk-panel {
  position: relative;
  align-self: start;
  padding: 36px 34px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.risk-panel h3 {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
}

.risk-panel ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.risk-panel li {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

.risk-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- Intro band ---------- */

.intro-grid,
.authority-grid,
.reflection-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.intro-copy h2,
.section-heading h2,
.reflection-section h2,
.authority-grid h2,
.cta-section h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.intro-copy p,
.section-heading p,
.authority-grid p,
.method-heading p {
  margin: 18px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.intro-copy h2 + p {
  margin-top: 26px;
}

.section-logo {
  width: min(260px, 70vw);
  margin-bottom: 32px;
}

.seal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.seal-list span {
  display: inline-flex;
  padding: 9px 14px;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  color: var(--blue-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.intro-figure {
  position: relative;
  margin: 0;
  align-self: end;
}

.intro-figure::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: -10px;
  bottom: -10px;
  background: var(--gold-soft);
  z-index: 0;
}

.intro-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  object-position: bottom center;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) 0.15s;
}

.intro-figure.is-visible img {
  clip-path: inset(0 0 0 0);
}

/* ---------- Courses ---------- */

.courses-section {
  padding: 120px 0;
  background: var(--paper);
}

/* ---------- Method ---------- */

.method-section {
  padding: 120px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Electoral ---------- */

.electoral-section {
  position: relative;
  padding: 130px 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.electoral-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(27, 28, 75, 0.94), rgba(56, 57, 149, 0.85)),
    url("img/banner2.jpg") center / cover no-repeat;
  filter: grayscale(20%);
}

.electoral-section > .container {
  position: relative;
}

.electoral-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.electoral-lead h2,
.electoral-lead p {
  color: var(--white);
}

.electoral-lead .section-kicker {
  color: var(--gold-light);
}

.electoral-lead .section-kicker::before {
  background: var(--gold-light);
}

.electoral-lead p {
  color: rgba(255, 255, 255, 0.82);
}

.electoral-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.electoral-flow article {
  min-height: 230px;
  padding: 32px 28px;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease;
}

.electoral-flow article:hover {
  background: rgba(255, 255, 255, 0.04);
}

.electoral-flow span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.electoral-flow h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 500;
}

.electoral-flow p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.electoral-pericia {
  position: relative;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pericia-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.pericia-head .section-kicker {
  color: var(--gold-light);
}

.pericia-head .section-kicker::before {
  background: var(--gold-light);
}

.pericia-head h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.pericia-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.7;
}

.pericia-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.pericia-list li {
  position: relative;
  padding: 26px 24px 26px 52px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.5;
  transition: background 0.3s ease;
}

.pericia-list li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pericia-list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 32px;
  width: 14px;
  height: 1px;
  background: var(--gold-light);
}

/* ---------- Method ---------- */

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.method-heading {
  position: sticky;
  top: 120px;
}

.method-heading h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-step {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 36px 32px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.method-step:hover {
  background: var(--paper-warm);
}

.method-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.method-step:hover::before {
  transform: scaleY(1);
}

.method-step span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.method-step h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 500;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ---------- Section heading ---------- */

.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading.compact {
  margin-bottom: 44px;
}

/* ---------- Course/Service cards ---------- */

.course-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card,
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}

.course-card::after,
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 2;
}

.course-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.course-card:hover::after,
.service-card:hover::after {
  transform: scaleX(1);
}

.course-card img,
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: grayscale(20%) contrast(102%);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              filter 0.6s ease;
}

.course-card:hover img,
.service-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.course-body,
.service-body {
  padding: 28px 26px 30px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.status::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.status-blue {
  color: var(--blue);
}

.course-card h3,
.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.course-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

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

.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.rich-services .service-body ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
}

.rich-services .service-body li {
  position: relative;
  padding-left: 18px;
}

.rich-services .service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Deliverables ---------- */

.deliverables-section {
  padding: 120px 0;
  background: var(--white);
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.deliverable-grid article {
  position: relative;
  min-height: 240px;
  padding: 36px 30px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.deliverable-grid article:hover {
  background: var(--paper-warm);
}

.deliverable-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.deliverable-grid h3 {
  margin: 14px 0 14px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.deliverable-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- Course paths ---------- */

.course-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-paths > div {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-paths h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-soft);
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
}

.course-paths ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.course-paths li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 0.97rem;
}

.course-paths li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Reflection ---------- */

.reflection-section {
  position: relative;
  padding: 130px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.reflection-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 168, 81, 0.18), transparent 60%);
  pointer-events: none;
}

.reflection-grid {
  position: relative;
}

.reflection-logo {
  width: min(220px, 70vw);
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.reflection-section h2,
.reflection-section p {
  color: var(--white);
}

.reflection-section h2 {
  max-width: 560px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.reflection-section p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
}

.question-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.question-list p {
  margin: 0;
  padding: 22px 0 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 2px solid var(--gold-light);
  background: transparent;
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 400;
}

/* ---------- Authority ---------- */

.authority-photo {
  position: relative;
  margin: 0;
}

.authority-photo::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -22px;
  right: 22px;
  bottom: -22px;
  background: var(--gold-soft);
  z-index: 0;
}

.authority-photo img {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  filter: grayscale(8%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.2s,
              filter 0.6s ease;
}

.authority-photo.is-visible img {
  clip-path: inset(0 0 0 0);
}

.authority-photo:hover img {
  filter: grayscale(0%);
}

.authority-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.credential-grid div {
  padding: 20px 22px;
  background: var(--paper-warm);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential-grid strong,
.credential-grid span {
  display: block;
}

.credential-grid strong {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.credential-grid span {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

.authority-highlights span {
  display: inline-flex;
  padding: 7px 13px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lattes-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.lattes-link::after {
  content: "→";
  font-family: var(--serif);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.lattes-link .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lattes-link:hover {
  color: var(--gold);
}

.lattes-link:hover::after {
  transform: translateX(4px);
}

/* ---------- CTA ---------- */

.cta-section {
  position: relative;
  padding: 130px 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(27, 28, 75, 0.92), rgba(27, 28, 75, 0.96)),
    url("img/banner-caixaescolar-inscreva.jpg") center / cover no-repeat;
  filter: grayscale(40%);
}

.cta-section > .container {
  position: relative;
}

.cta-content {
  max-width: 820px;
  margin: 0 auto;
}

.cta-logo {
  display: block;
  width: min(220px, 70vw);
  margin: 0 auto 28px;
}

.cta-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.cta-section h2 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}

.cta-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.1fr;
  gap: 56px;
}

.footer-logo {
  width: min(240px, 100%);
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-grid > div p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  max-width: 320px;
}

.site-footer h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  font-weight: 600;
}

.site-footer p,
.site-footer a,
.site-footer button {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a,
.site-footer button {
  display: block;
  margin: 10px 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--gold-light);
}

.site-footer address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-contact {
  display: grid;
  gap: 20px;
}

.contact-block {
  display: grid;
  gap: 4px;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer .contact-line {
  display: block;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a.contact-line:hover {
  color: var(--gold-light);
}

.site-footer .contact-block p.contact-line {
  color: rgba(255, 255, 255, 0.72);
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  justify-self: start;
  margin: 4px 0 0 !important;
  padding: 8px 14px 8px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-light) !important;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.social-link .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-list .social-link {
  margin-top: 8px;
  border-color: var(--line);
  color: var(--blue-dark) !important;
  background: var(--white);
}

.contact-list .social-link:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: var(--paper-warm);
}

.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-offices .office {
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.office-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-offices .office p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ---------- Modal ---------- */

.modal {
  width: min(540px, calc(100% - 34px));
  border: 0;
  border-top: 3px solid var(--gold);
  padding: 38px 36px 32px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(27, 28, 75, 0.32);
}

.modal::backdrop {
  background: rgba(27, 28, 75, 0.6);
  backdrop-filter: blur(3px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.modal-logo {
  width: min(220px, 78%);
  margin-bottom: 20px;
}

.modal h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list p {
  margin: 0;
  padding: 16px 18px;
  background: var(--paper-warm);
  border-left: 2px solid var(--gold);
  font-size: 0.95rem;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

.student-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.student-form {
  display: grid;
  gap: 16px;
}

.student-form .field {
  display: grid;
  gap: 6px;
}

.student-form .field > span {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-form input[type="text"],
.student-form input[type="password"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.student-form input[type="text"]:focus,
.student-form input[type="password"]:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.student-form input::placeholder {
  color: rgba(95, 107, 119, 0.65);
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  cursor: pointer;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.forgot {
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.forgot:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.student-form .button {
  width: 100%;
  margin-top: 6px;
}

.form-feedback {
  margin: 0;
  padding: 12px 14px;
  background: var(--paper-warm);
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.student-footer {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  cursor: pointer;
  transition: color 0.2s ease;
}

.link-button:hover {
  color: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav button {
    width: 100%;
    padding: 14px;
    text-align: left;
  }

  .main-nav a::after,
  .main-nav .nav-button::after {
    display: none;
  }

  .main-nav .button {
    justify-content: flex-start;
    padding: 14px;
  }

  .intro-grid,
  .hero-content,
  .risk-layout,
  .electoral-grid,
  .method-grid,
  .authority-grid,
  .reflection-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .method-heading {
    position: static;
  }

  .hero-proof-panel {
    max-width: 580px;
  }

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

  .trust-card:nth-child(2) {
    border-right: 0;
  }

  .trust-card:nth-child(1),
  .trust-card:nth-child(2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: auto;
    height: 46px;
    max-width: 160px;
  }

  .hero {
    min-height: 86vh;
    padding: 130px 0 80px;
  }

  .hero-overlay {
    background:
      linear-gradient(100deg, rgba(27, 28, 75, 0.97), rgba(27, 28, 75, 0.86) 60%, rgba(27, 28, 75, 0.7)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.08));
  }

  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 3.6rem);
    line-height: 1.02;
  }

  .hero-question {
    font-size: 1.22rem;
  }

  .hero-proof-panel {
    display: none;
  }

  .trust-strip {
    margin-top: 0;
    padding: 28px 0 32px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
  }

  .trust-card {
    min-height: 0;
    padding: 24px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .trust-card:last-child {
    border-bottom: 0;
  }

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

  .intro-band,
  .risk-section,
  .method-section,
  .courses-section,
  .electoral-section,
  .services-section,
  .deliverables-section,
  .reflection-section,
  .authority-section,
  .cta-section {
    padding: 80px 0;
  }

  .course-grid,
  .service-grid,
  .electoral-flow,
  .deliverable-grid,
  .credential-grid,
  .method-steps,
  .course-paths,
  .pericia-list,
  .footer-offices,
  .footer-grid {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 0;
  }

  .footer-offices .office {
    border-left: 0;
    border-right: 0;
  }

  .pericia-list li {
    padding-left: 52px;
  }

  .method-step,
  .deliverable-grid article,
  .electoral-flow article,
  .pericia-list li,
  .credential-grid div,
  .course-paths > div {
    border-left: 0;
    border-right: 0;
  }

  .method-step,
  .electoral-flow article,
  .deliverable-grid article {
    min-height: 0;
  }

  .course-card img,
  .service-card img {
    height: 220px;
  }

  .authority-photo {
    margin-bottom: 12px;
  }

  .authority-photo::before {
    left: 12px;
    right: -12px;
  }

  .authority-photo img {
    width: 100%;
  }

  .intro-figure::before {
    left: 12px;
    right: -8px;
  }

  .modal {
    padding: 32px 22px 24px;
  }

  .modal h2 {
    font-size: 1.55rem;
  }
}

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