/* ==========================================================================
   Safety Innovations Impact Group — site styles
   ========================================================================== */

:root {
  /* Brand (sampled from the SIIG shield logo) */
  --green-950: #062a1f;
  --green-900: #0a3528;
  --green-800: #0c3d2e;
  --green-700: #135340;
  --green-600: #1b6a52;
  --green-100: #dcebe4;
  --green-50:  #eef5f1;
  --red-700:   #8f1a2b;
  --red-600:   #a51f33;
  --red-500:   #c02a40;
  --red-50:    #fbeef0;
  --sky-400:   #4a9fd8;

  /* Neutrals */
  --ink:    #112019;
  --body:   #3c4d45;
  --muted:  #64756d;
  --line:   #dde6e1;
  --bg:     #ffffff;
  --bg-alt: #f5f8f6;

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font-body);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(6, 42, 31, .06), 0 1px 3px rgba(6, 42, 31, .08);
  --shadow:    0 6px 24px -8px rgba(6, 42, 31, .18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 42, 31, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
::selection { background: var(--red-600); color: #fff; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.3em;
  font: 600 .95rem/1.2 var(--font-body);
  border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: .95em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(165, 31, 51, .6); }
.btn--primary:hover { background: var(--red-700); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-50); transform: translateY(-1px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #f3b5bf; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-950); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; color: #fff; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__links a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-head); }
.brand__text strong { color: var(--green-800); font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text span { color: var(--red-600); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { color: #f3b5bf; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 8px 12px;
  font-weight: 500; font-size: .94rem; color: var(--body);
  border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--green-800); background: var(--green-50); }
.nav a.is-active { color: var(--green-800); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red-600); }
.nav__cta-mobile { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--green-800); cursor: pointer; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--green-900);
  padding: clamp(72px, 12vw, 140px) 0 0;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(6, 42, 31, .97) 0%, rgba(8, 48, 36, .9) 42%, rgba(10, 53, 40, .55) 75%, rgba(10, 53, 40, .35) 100%),
    linear-gradient(0deg, rgba(6, 42, 31, .9) 0%, rgba(6, 42, 31, 0) 40%);
}
.hero__content { max-width: 800px; }
.hero h1 { color: #fff; }
.hero h1 span { color: #f5c6cd; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .85); max-width: 580px; margin: 1.4rem 0 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__highlights {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 9vw, 110px);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__highlights li { display: flex; align-items: flex-start; gap: 14px; padding: 28px 24px 34px 0; }
.hero__highlights li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__highlights .icon { width: 28px; height: 28px; color: #f5c6cd; margin-top: 2px; }
.hero__highlights strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: #fff; }
.hero__highlights span { font-size: .88rem; color: rgba(255, 255, 255, .68); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--green-800); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--wide { max-width: 860px; }
.section__head > p:not(.eyebrow) { font-size: 1.06rem; color: var(--muted); }
.section--dark .section__head > p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }
.lead { font-size: 1.1rem; color: var(--body); }
.h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card p { color: var(--muted); font-size: .96rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card--link::after { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red-600); transform: scaleX(0); transition: transform .3s var(--ease); }
.card--link:hover::after { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 14px; background: var(--green-50); color: var(--green-700);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--red-600); }
.card--link:hover .card__more .icon { transform: translateX(3px); }
.card__more .icon { transition: transform .2s var(--ease); }

.card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.card--dark p { color: rgba(255, 255, 255, .75); }
.card--dark .card__icon { background: rgba(255, 255, 255, .1); color: #f5c6cd; }
.card__note { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem !important; }
.card__note strong { color: #fff; }
.card--dark .checklist { margin: 8px 0 22px; }

/* ---------- Lists ---------- */
.list-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--green-700); font-family: var(--font-body); font-weight: 700; margin: 0 0 14px; }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--body); font-size: .96rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23135340' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist--light li { color: rgba(255, 255, 255, .88); }
.checklist--light li::before {
  background-color: rgba(255, 255, 255, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5c6cd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: var(--bg); color: var(--green-800); border: 1px solid var(--green-100); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--reverse { grid-template-columns: 1.15fr 1fr; }
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 640px; }
.split__media--wide { aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 5px; background: var(--red-600); }
.split__body h2 { margin-bottom: .6em; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.split__body > .list-title { margin-top: 30px; }
.callout { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-self: start; }
.callout p { font-size: .93rem; color: var(--muted); margin: 0; }
.section--alt .tags li { background: var(--green-50); }

/* ---------- Training approach ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; margin-bottom: clamp(48px, 7vw, 80px); }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -18px; width: 12px; height: 12px; z-index: 1;
  border-top: 2px solid var(--red-600); border-right: 2px solid var(--red-600); transform: translateY(-50%) rotate(45deg);
}
.step__num { display: block; font: 800 2.6rem/1 var(--font-head); color: var(--red-600); opacity: .9; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); }

.approach { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.approach__features, .approach__serve { padding: 36px; border-radius: var(--radius-lg); }
.approach__features { background: var(--green-800); color: rgba(255, 255, 255, .8); }
.approach__features h3 { color: #fff; }
.approach__serve { border: 1px solid var(--line); }
.features { display: grid; gap: 22px; }
.features li { display: flex; gap: 16px; }
.features strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 2px; }
.features p { font-size: .95rem; }
.feature__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #f5c6cd; }
.serve { display: grid; gap: 4px; }
.serve li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 500; color: var(--ink); }
.serve li + li { border-top: 1px solid var(--line); }
.serve .icon { width: 22px; height: 22px; color: var(--red-600); }

/* ---------- About ---------- */
.about__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.about__photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 239 / 282; object-fit: cover; background: var(--green-50); }
.about__photo figcaption { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.quote {
  margin: 28px 0 0; padding: 18px 0 18px 24px;
  border-left: 4px solid var(--red-600);
  font: 700 1.3rem/1.4 var(--font-head); color: var(--green-800);
}

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(56px, 8vw, 88px); }
.mv__card { padding: 34px; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.mv__card p { color: var(--muted); font-size: 1.02rem; }

.values { margin-top: 24px; padding: 36px; border-radius: var(--radius-lg); background: var(--green-800); }
.values__title { color: #fff; text-align: center; margin-bottom: 28px; }
.values__title span { color: #f5c6cd; font-weight: 600; }
.values__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.values__list li { padding: 22px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.values__letter { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: var(--red-600); color: #fff; font: 800 1.3rem/1 var(--font-head); }
.values__list strong { display: block; color: #fff; font-family: var(--font-head); margin-bottom: 6px; }
.values__list p { color: rgba(255, 255, 255, .72); font-size: .9rem; margin: 0; }

/* ---------- Community ---------- */
.banner-quote {
  margin: 0 auto clamp(40px, 6vw, 56px); max-width: 860px; text-align: center;
  padding: 26px 32px; border-radius: var(--radius-lg);
  background: var(--red-50); color: var(--red-700);
  font: 700 clamp(1.1rem, 2vw, 1.35rem)/1.45 var(--font-head);
}
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: clamp(48px, 7vw, 72px); }
.community-grid p { color: var(--muted); }
.community-grid .checklist { margin-top: 16px; }
.community-grid .tags li { background: var(--green-50); }
.partner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: clamp(48px, 7vw, 72px); padding: 36px 40px;
  border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line);
}
.partner h3 { font-size: 1.4rem; }
.partner p { color: var(--muted); max-width: 680px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.member__photo { aspect-ratio: 1; background: var(--green-50); display: grid; place-items: center; color: var(--green-700); font: 800 2.4rem var(--font-head); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 20px 22px 24px; }
.member__body h3 { margin-bottom: 2px; }
.member__role { color: var(--red-600); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.member__bio { color: var(--muted); font-size: .92rem; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--red-700), var(--red-600) 55%, #b8283d); color: #fff; padding: clamp(56px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: #fff; max-width: 760px; margin: 0; }
.cta .eyebrow--light { color: rgba(255, 255, 255, .8); }
.cta .btn--light { color: var(--red-700); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.05rem; }
.contact__list { display: grid; gap: 14px; margin-top: 32px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.contact__list li:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.contact__list .feature__icon { background: var(--green-50); color: var(--green-700); }
.contact__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__list a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact__list a:hover { color: var(--red-600); }

.form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.form h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8a1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(27, 106, 82, .14); }
.field.has-error input, .field.has-error textarea { border-color: var(--red-500); }
.field__error { display: block; margin-top: 6px; font-size: .83rem; color: var(--red-600); }
.form__status { margin: 14px 0 0; font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form__status.is-success { color: var(--green-700); }
.form__status.is-error { color: var(--red-600); }
.form__hint { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .7); padding: clamp(56px, 8vw, 80px) 0 0; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.footer__contact .icon { color: #f5c6cd; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .values__list { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .header__cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn):hover { background: none; }
  .nav a.is-active::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: 18px; }
  .nav__cta-mobile .btn { width: 100%; padding: 14px; }

  .hero__highlights { grid-template-columns: repeat(2, 1fr); }
  .hero__highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__highlights li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .split, .split--reverse, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; max-height: 460px; }
  .split__media img { object-position: center 25%; }
  .about__photo { position: static; max-width: 420px; }
  .cards--3 { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 16px; }
  .topbar__links li:nth-child(2) a { font-size: 0; gap: 0; }
  .topbar__links li:nth-child(2) .icon { font-size: .84rem; }

  .cards--2, .cards--4, .lists, .mv, .community-grid, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::after { top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .checklist--cols { grid-template-columns: 1fr; }
  .values__list { grid-template-columns: 1fr 1fr; }
  .values { padding: 28px 20px; }
  .partner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .approach__features, .approach__serve { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand__text strong { font-size: .95rem; }
  .brand img { width: 42px; height: 42px; }
  .hero__highlights { grid-template-columns: 1fr; }
  .hero__highlights li, .hero__highlights li + li { padding: 18px 0; border-left: 0; }
  .hero__highlights li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
  .hero__actions .btn { width: 100%; }
  .values__list { grid-template-columns: 1fr; }
}
