/* ============================================================
   KIS - Kimalana Inclusive Solutions
   Static rebuild of kisinclsive.com (Feb 2026 design)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: rgb(26, 43, 109);
  --primary-dark: rgb(15, 28, 75);
  --primary-light: rgb(47, 68, 145);
  --accent: #d4a373;
  --accent-hover: #c4956a;
  --accent-blue: rgb(26, 43, 109);
  --accent-blue-hover: rgb(47, 68, 145);
  --bg: #ffffff;
  --bg-alt: #f2f0ec;
  --text: rgb(26, 43, 109);
  --text-light: #6B7B8D;
  --white: #fff;
  --border: #e8e4de;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============== Header ============== */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
header.site .container {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}
nav.primary {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0 auto;
}
nav.primary a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav.primary a:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
nav.primary a.active {
  background: var(--primary);
  color: var(--white);
}
.header-social {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.header-social a:hover { transform: translateY(-2px); }
.header-social a[aria-label*="Facebook"] svg { fill: #1877F2; }
.header-social a[aria-label*="LinkedIn"] svg { fill: #0A66C2; }
.header-social svg { width: 28px; height: 28px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
  padding: 6px 10px;
  flex-shrink: 0;
}

/* ============== Hero ============== */
.hero {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero picture {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-inner {
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-text { text-align: center; }
.hero h1,
.hero h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero .hero-sub {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.95;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ============== Page header ============== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0 56px;
  text-align: center;
}
.page-header .sub {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.page-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-header p {
  opacity: 0.9;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ============== Sections ============== */
.section { padding: 80px 0; }
.section.section-alt { background: var(--bg-alt); }
.section.section-dark {
  background: rgb(26, 43, 109);
  color: #fff;
}
.section.section-dark .section-title { color: #fff; }
.section.section-dark .section-subtitle { color: rgba(255,255,255,0.85); }
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-lead {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--text);
  font-size: 1.02rem;
}

.title-with-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.title-with-decor .section-title { margin-bottom: 0; }
.title-decor {
  width: 90px;
  height: auto;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .title-decor { width: 60px; }
  .title-with-decor { gap: 12px; }
}

/* ============== Welcome / Maaori intro ============== */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.welcome-img {
  display: flex;
  justify-content: center;
}
.welcome-img img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.welcome-text .maori {
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.welcome-text .english {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ============== Cards ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
}
.card-inner {
  flex: 1;
  box-shadow: var(--shadow);
}
.card:hover .card-inner {
  box-shadow: var(--shadow-lg);
}
.card-inner {
  background: rgba(0, 111, 159, 0.61);
  border-radius: 8px;
  padding: 24px 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}
.card h4 {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
  margin: 10px 0 6px;
}
.card h4:first-of-type { margin-top: 0; }
.card ul + h4 { margin-top: 14px; }
.card p {
  font-size: 0.9rem;
  color: #000;
  line-height: 1.6;
}
.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: #000;
}
.card ul li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
}

/* ============== Client logos strip ============== */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: start;
  padding: 32px 0;
  margin-top: 24px;
}
.clients img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  filter: grayscale(0.05);
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}
.clients picture {
  display: block;
  max-height: 120px;
  max-width: 100%;
}
.clients img:hover { opacity: 1; transform: scale(1.04); }
.clients-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}
.clients-pair picture,
.clients-pair img {
  max-height: 120px;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(50% - 5px);
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
}

/* ============== Slider ============== */
.section-teal {
  background: rgb(0, 111, 159);
  color: #fff;
}
.section-divider-top .container {
  border-top: 6px solid rgba(0, 111, 159, 1);
  padding-top: 72px;
}
.section-divider-bottom .container {
  border-bottom: 6px solid rgba(0, 111, 159, 1);
  padding-bottom: 72px;
}
.section-compact { padding: 48px 0; }

.cta-card {
  background: rgba(0, 111, 159, 1);
  border-radius: 16px;
  padding: 40px 44px;
  max-width: 960px;
  margin: 0 auto;
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.cta-card-top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.cta-text { flex: 1; min-width: 0; }
.cta-subheading {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.cta-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.cta-contact { text-align: left; }
.cta-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.cta-contact-line:last-child { margin-bottom: 0; }
.cta-contact-line a { color: #fff; }
.cta-contact-line a:hover { text-decoration: underline; }
.cta-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}
.cta-social { display: flex; gap: 10px; align-items: center; }
.cta-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s, transform 0.2s;
}
.cta-social a:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }
.cta-social a[aria-label*="Facebook"] svg { fill: #fff; }
.cta-social a[aria-label*="LinkedIn"] svg { fill: #fff; }
.cta-social svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .cta-card-top { flex-direction: column; text-align: center; gap: 16px; }
  .cta-card { padding: 32px 24px; }
  .cta-card-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-social { align-self: flex-end; }
}
.slider {
  position: relative;
  margin-top: 24px;
  padding: 0 56px;
}
.slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-item {
  flex: 0 0 calc((100% - 4px) / 3.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.slider-item:hover {
  transform: translateY(-4px);
}
.slider-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: none;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}
.slider-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.slider-item:hover img { opacity: 1; transform: scale(1.04); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  background: none;
  border: none;
  color: rgba(204, 204, 204, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
  z-index: 2;
  padding: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.slider-arrow svg { width: 65px; height: 65px; display: block; }
.slider-arrow:hover { color: rgba(150, 150, 150, 0.95); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.slider-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* ============== Testimonial slider ============== */
.testimonial-slider .slider-track { gap: 0; }
.testimonial-slider .slider-item {
  flex: 0 0 100%;
  background: transparent;
  border-radius: 0;
  padding: 32px 24px;
  box-shadow: none;
  text-align: center;
  scroll-snap-align: start;
  aspect-ratio: auto;
  overflow: visible;
  min-height: 0;
}
.testimonial-card blockquote {
  margin: 0 auto;
  padding: 0;
  border: none;
  background: none;
  font-style: normal;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 820px;
}
.testimonial-card blockquote p { margin-bottom: 20px; }
.testimonial-card blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .testimonial-card blockquote { font-size: 1.05rem; }
}

/* ============== Slider dots ============== */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.7); }
.slider-dot.active {
  background: #fff;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .slider { padding: 0 48px; }
  .slider-item { flex: 0 0 calc((100% - 16px) / 2); }
}
@media (max-width: 480px) {
  .slider-item { flex: 0 0 80%; }
}

/* ============== Lightbox ============== */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============== Project cards ============== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.project-card picture {
  display: block;
  width: 100%;
  height: 240px;
}
.project-card-body { padding: 24px; }
.project-card-body h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.project-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============== Project list (text-only cards) ============== */
.project-list { max-width: 880px; margin: 32px auto 0; }
.project-item {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  text-align: left;
}
.project-item h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.project-item .meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-item p { color: var(--text-light); font-size: 0.95rem; }
.project-item ul { margin-top: 10px; padding-left: 20px; color: var(--text-light); font-size: 0.93rem; }
.project-item ul li { margin-bottom: 4px; }
.project-item a.view-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-blue);
  font-weight: 600;
}

/* ============== Content (long-form) ============== */
.content { max-width: 880px; margin: 0 auto; }
.content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin: 40px 0 16px;
  font-weight: 700;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 28px 0 12px;
  font-weight: 600;
}
.content h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 24px 0 10px;
  font-weight: 600;
}
.content p { margin-bottom: 16px; color: var(--text); }
.content ul { margin: 0 0 20px; padding-left: 24px; }
.content ul li { margin-bottom: 8px; }
.content blockquote {
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
}
.content blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

/* ============== About page extras ============== */
.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.about-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.about-sidebar .about-kimi {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about-sidebar .about-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-body { min-width: 0; }
.about-body h2:first-child { margin-top: 0; }
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-sidebar { position: static; flex-direction: row; justify-content: center; }
  .about-sidebar .about-kimi { width: 160px; height: 200px; }
  .about-sidebar .about-logo { width: 110px; height: 110px; }
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 32px 0;
}
.partner-logos img {
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.partner-wide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 24px 0;
}
.partner-wide img { max-height: 240px; width: auto; }

/* ============== Testimonial ============== */
.testimonial {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding: 24px 32px;
  background: var(--white);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}
.testimonial cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ============== Contact ============== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 32px auto 0;
}
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
}
.contact-card .icon img,
.contact-card .icon svg { width: 28px; height: 28px; }
.contact-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.contact-card .value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.contact-card .value a { color: var(--text); }
.contact-card .value a:hover { color: var(--primary-light); }

.contact-cta {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto 0;
  max-width: 600px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-cta h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.contact-cta p { color: var(--text-light); margin-bottom: 20px; }

/* ============== Buttons ============== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent-blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 2px solid var(--white);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}
.btn:hover {
  background: var(--accent-blue-hover);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--primary);
}

/* ============== Footer ============== */
footer.site {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
  margin-top: 80px;
}
footer.site .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
footer.site h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 700;
}
footer.site p,
footer.site a {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  line-height: 1.6;
}
footer.site a:hover { color: var(--white); text-decoration: underline; }
footer.site .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
footer.site .footer-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
footer.site .footer-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
footer.site .copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
footer.site .designer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
footer.site .designer-credit img { height: 44px; width: auto; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: rgba(255,255,255,0.85);
}

/* ============== Utilities ============== */
.muted { color: var(--text-light); }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mw-700 { max-width: 700px; }
.mw-800 { max-width: 800px; }
.mw-900 { max-width: 900px; }
.lang-mi { /* language tag for screen readers only — no visual styling */ }
.maori { font-style: italic; }

/* ============== Responsive ============== */
@media (max-width: 860px) {
  footer.site .container { grid-template-columns: 1fr; gap: 32px; }
  .welcome { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}

@media (max-width: 768px) {
  header.site .container { height: auto; min-height: 70px; padding: 12px 24px; flex-wrap: wrap; }
  .menu-toggle { display: block; margin-left: auto; }
  nav.primary {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px 0 8px;
    gap: 4px;
    order: 3;
    margin: 0;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 10px 14px; }
  .header-social { order: 2; }
  .hero-inner { padding: 0 24px; bottom: 20%; }
  .hero h1,
  .hero h2 { font-size: 1.7rem; }
  .hero .hero-sub { font-size: 1rem; }
  .hero { min-height: 480px; }
  .page-header { padding: 56px 0 40px; }
  .page-header h1 { font-size: 1.85rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.55rem; }
  .cards { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .about-portraits img { width: 160px; height: 160px; }
  .partner-logos img { height: 56px; }
  .testimonial { padding: 20px 24px; font-size: 0.98rem; }
}

@media (max-width: 480px) {
  .logo span { font-size: 0.9rem; }
  .hero h1 { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.6rem; }
  .clients { grid-template-columns: repeat(2, 1fr); }
}

/* ============== Accessibility ============== */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
