/* =========================================================
   ICBA — Instituto Conexão Brasil-Ásia
   Site institucional — design moderno e minimalista
   Paleta inspirada no logotipo:
     navy   #14274a   (primário)
     verde  #1e7a3e   (Brasil)
     vermelho #c8362f (Ásia)
     dourado #e0b13a  (acento)
   ========================================================= */

:root {
  --navy: #14274a;
  --navy-700: #1c3563;
  --navy-50: #f3f5fb;
  --brasil: #1e7a3e;
  --asia: #c8362f;
  --gold: #e0b13a;
  --ink: #0e1525;
  --muted: #5a6378;
  --line: #e6e9f1;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;

  --display: 'Archivo Black', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 39, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 39, 74, 0.08);
  --shadow-lg: 0 30px 60px rgba(20, 39, 74, 0.12);

  --container: 1200px;
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 800; color: var(--navy); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }

p { margin: 0 0 1em; color: var(--ink); }
.muted { color: var(--muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .brand__logo { width: 56px; height: 56px; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--display);
  font-weight: 900;
  color: var(--navy);
  font-size: 1.45rem;
  letter-spacing: .04em;
  line-height: 1;
}
.brand__tagline {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__menu a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width .25s ease;
}
.nav__menu a:hover::after { width: 100%; }
.nav__menu a.nav__cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
}
.nav__menu a.nav__cta::after { display: none; }
.nav__menu a.nav__cta:hover { background: var(--navy-700); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s 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); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 12% 20%, rgba(30, 122, 62, 0.10), transparent 70%),
    radial-gradient(50% 40% at 88% 30%, rgba(200, 54, 47, 0.08), transparent 70%),
    radial-gradient(70% 60% at 50% 95%, rgba(20, 39, 74, 0.05), transparent 70%),
    linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
  z-index: -1;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 39, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 39, 74, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid rgba(20, 39, 74, 0.18);
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.7);
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}
.text-brasil { color: var(--brasil); }
.text-asia { color: var(--asia); }
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 640px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.hero__stats span {
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__tag {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--asia);
  margin-bottom: 16px;
}
.section__lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 12px;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 56px;
}
.grid--two {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}
.grid--contact {
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

/* ---------- Sobre ---------- */
.prose p {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.75;
}
.prose strong { color: var(--navy); }

.pillars {
  display: grid;
  gap: 18px;
}
.pillar {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 39, 74, 0.15);
}
.pillar__icon {
  display: inline-block;
  width: 40px; height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 1.2rem;
  background: var(--navy-50);
  color: var(--navy);
  border-radius: 10px;
  margin-bottom: 14px;
}
.pillar h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Áreas de atuação ---------- */
.areas {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.areas__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.areas__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.areas__list li span {
  display: inline-block;
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.areas__list li:hover span {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Projetos ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--brasil), var(--gold), var(--asia));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }
.card__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--navy);
  background: var(--navy-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Projects (cards refinements) ---------- */
.cards--projects {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card de projeto agora sem padding interno — o logo ocupa o topo inteiro */
.card.project {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.project__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 30px 34px;
}
.project__body .card__badge { margin-bottom: 14px; }

.project h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.project p { color: var(--muted); margin-bottom: 22px; }

/* Painel da logomarca — fundo escuro para harmonizar todos os logos */
.project__logo {
  position: relative;
  margin: 0;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e1525;
  overflow: hidden;
  transition: background .35s ease;
}
.project__logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.project__logo img {
  position: relative;
  max-width: 78%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
  transition: transform .4s ease;
}
.project:hover .project__logo img { transform: scale(1.04); }

/* Tons sutis de fundo combinando com cada logo */
.project__logo--geek   { background: linear-gradient(135deg, #0e1525 0%, #102b21 100%); }
.project__logo--flores { background: linear-gradient(135deg, #1a0a0a 0%, #2a1010 100%); }
.project__logo--korea  { background: linear-gradient(135deg, #14102b 0%, #1d1641 100%); }
.project__logo--ink    { background: linear-gradient(135deg, #0e0a08 0%, #1a1310 100%); }

/* Placeholder quando o arquivo de logo ainda não foi adicionado */
.project__logo img:not([src]),
.project__logo img[src=""] {
  display: none;
}
.project__logo__placeholder {
  font-family: var(--display);
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
}

.project__meta {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 10px;
}
.project__meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 12px;
}
.project__meta dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.project__meta dd {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}

/* Link de Instagram dentro do card */
.project__social {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
  width: fit-content;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.project__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.project__social:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 42, 123, 0.25);
  color: #fff;
}

/* Anular o padding interno do .card que vinha do estilo geral */
.card.project::before { left: 0; right: 0; }

@media (max-width: 720px) {
  .project__logo { height: 170px; }
  .project__body { padding: 28px 24px 30px; }
}
.card__badge--support {
  background: rgba(200, 54, 47, 0.10);
  color: var(--asia);
}
.project--support::before {
  background: linear-gradient(90deg, var(--asia), var(--gold));
}

/* ---------- Transparência ---------- */
.documents { display: grid; gap: 40px; }
.document {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  box-shadow: var(--shadow-sm);
}
.document__meta {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.document__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-50);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}
.document__meta h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.document__meta p { color: var(--muted); margin-bottom: 24px; }
.document__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.document__actions .btn { padding: 12px 22px; font-size: .9rem; }
.document__viewer {
  background: #f0f2f8;
  position: relative;
  min-height: 520px;
}
.document__viewer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.document__fallback {
  position: absolute;
  bottom: 12px;
  left: 12px; right: 12px;
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}
.document__fallback a { color: var(--navy); pointer-events: auto; text-decoration: underline; }

.documents__extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.doc-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.doc-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.doc-mini__icon {
  font-family: var(--display);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .08em;
  color: #fff;
  background: var(--navy);
  padding: 8px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.doc-mini h4 {
  font-family: var(--sans);
  font-size: .95rem;
  text-transform: none;
  letter-spacing: -.005em;
  margin: 0 0 4px;
  color: var(--navy);
}
.doc-mini p { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.doc-mini a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--asia);
  letter-spacing: .01em;
}
.doc-mini a:hover { color: var(--navy); }

@media (max-width: 860px) {
  .document { grid-template-columns: 1fr; }
  .document__viewer { min-height: 480px; }
  .documents__extras { grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 32px;
  justify-content: center;
}
.team__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team__avatar {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .06em;
  font-weight: 900;
}
.team__role {
  color: var(--asia);
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.team__bio { color: var(--muted); font-size: .96rem; }

/* ---------- Contato ---------- */
.contact-info {
  display: grid;
  gap: 28px;
}
.contact-info__item {
  border-left: 3px solid var(--navy);
  padding-left: 18px;
}
.contact-info__label {
  display: block;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-info__item a,
.contact-info__item p {
  color: var(--ink);
  font-size: 1.02rem;
  margin: 0;
}
.contact-info__item a:hover { color: var(--asia); }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(20, 39, 74, 0.08);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-feedback {
  margin: 4px 0 0;
  font-size: .92rem;
  min-height: 1.4em;
}
.form-feedback.is-success { color: var(--brasil); }
.form-feedback.is-error { color: var(--asia); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #ffffff;
  padding-top: 64px;
}
.footer p,
.footer a,
.footer li {
  color: #ffffff;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 14px;
  max-width: 320px;
}
.footer__logo {
  width: 56px;
  height: 56px;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  object-fit: contain;
}
.footer h4 { color: #ffffff; margin-bottom: 16px; }
.footer__nav ul li,
.footer__contact p {
  font-size: .95rem;
  margin-bottom: 10px;
  line-height: 1.7;
  color: #ffffff;
}
.footer__nav a { color: #ffffff; transition: color .2s ease; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
  font-size: .85rem;
}
.footer__bottom p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--two,
  .grid--contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: 0; }
  .nav__menu a {
    display: block;
    padding: 14px 0;
    width: 100%;
  }
  .nav__menu a.nav__cta {
    margin-top: 12px;
    text-align: center;
    padding: 14px 20px;
  }

  .hero__stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .brand__tagline { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
