/* ===== BRIGHTSPARK TECHNOLOGIES — Shared Stylesheet ===== */

:root {
  --navy: #091540;
  --blue-light: #7692ff;
  --sky: #abd2fa;
  --slate-blue: #3d518c;
  --royal: #1b2cc1;

  --text-dark: #101425;
  --text-light: #f4f7ff;
  --text-muted: #4a5375;
  --bg-light: #ffffff;
  --bg-soft: #f4f7ff;
  --border-soft: #dfe6f7;

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(9, 21, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(9, 21, 64, 0.12);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}
p { margin: 0 0 1em; color: var(--text-muted); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
  background: var(--sky);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--royal);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--text-light); }
.btn-light {
  background: var(--text-light);
  color: var(--navy);
}
.btn-light:hover { background: var(--sky); }
.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(244,247,255,0.6);
}
.btn-outline-light:hover { background: rgba(244,247,255,0.12); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 21, 64, 0.97);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}
.logo svg { flex-shrink: 0; }
.logo .logo-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sky);
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}
.main-nav a {
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.main-nav a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-phone {
  color: var(--sky);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-light);
}
.hamburger svg { display: block; }

@media (max-width: 1180px) {
  .nav-phone { display: none; }
  .main-nav { gap: 18px; }
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 0.88rem; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 90px 28px 28px; gap: 32px; transform: translateX(100%); transition: transform 0.25s ease; box-shadow: -8px 0 24px rgba(0,0,0,0.25); }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; width: 100%; }
  .main-nav a { font-size: 1.05rem; }
  .nav-cta { flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; }
  .nav-phone { display: flex; }
  .hamburger { display: block; z-index: 1100; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(9,21,64,0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 999; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--text-light);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(9,21,64,0.94) 0%, rgba(9,21,64,0.86) 40%, rgba(27,44,193,0.55) 100%);
  z-index: 1;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
  pointer-events: none;
}
.hero-glow-1 {
  width: 460px;
  height: 460px;
  background: var(--blue-light);
  opacity: 0.35;
  top: -160px;
  right: -120px;
}
.hero-glow-2 {
  width: 340px;
  height: 340px;
  background: var(--royal);
  opacity: 0.4;
  bottom: -140px;
  left: 8%;
}
.hero-spark {
  position: absolute;
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
  color: var(--sky);
}
.hero-spark-1 { top: 18%; right: 14%; width: 70px; height: 70px; transform: rotate(12deg); }
.hero-spark-2 { bottom: 22%; right: 30%; width: 34px; height: 34px; transform: rotate(-18deg); }
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: var(--bg-light);
  clip-path: polygon(0 100%, 100% 45%, 100% 100%, 0 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 110px 0 110px;
  max-width: 640px;
}
.hero h1 { color: var(--text-light); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero .lede { color: var(--sky); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-badge svg { color: var(--blue-light); flex-shrink: 0; }

.hero-float-card {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 128px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(244, 247, 255, 0.1);
  border: 1px solid rgba(244, 247, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-float-card .icon-circle { background: var(--royal); color: var(--text-light); width: 46px; height: 46px; }
.hero-float-card .icon-circle svg { width: 22px; height: 22px; }
.hero-float-card strong { display: block; color: var(--text-light); font-size: 1rem; font-family: var(--font-heading); }
.hero-float-card span { display: block; color: var(--sky); font-size: 0.8rem; }

/* Staggered entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .lede,
.hero-content > .hero-actions,
.hero-content > .hero-badges {
  animation: fadeUp 0.7s ease both;
}
.hero-content > .eyebrow { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.15s; }
.hero-content > .lede { animation-delay: 0.28s; }
.hero-content > .hero-actions { animation-delay: 0.4s; }
.hero-content > .hero-badges { animation-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-float-card { animation: none !important; }
}

@media (max-width: 900px) {
  .hero-float-card { display: none; }
}

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--royal);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle.dark { background: var(--navy); color: var(--blue-light); }
.icon-circle.small { width: 40px; height: 40px; }
.icon-circle.small svg { width: 19px; height: 19px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body .icon-circle { margin-bottom: 4px; }
.service-body h3 { font-size: 1.2rem; }
.service-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.service-list li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--text-muted); align-items: flex-start; }
.service-list svg { color: var(--slate-blue); flex-shrink: 0; margin-top: 3px; }

/* ---------- Industries (bento grid) ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px 180px;
  grid-template-areas:
    "a b c"
    "a d e"
    "f f f";
  gap: 20px;
}
.industry-card:nth-child(1) { grid-area: a; }
.industry-card:nth-child(2) { grid-area: b; }
.industry-card:nth-child(3) { grid-area: c; }
.industry-card:nth-child(4) { grid-area: d; }
.industry-card:nth-child(5) { grid-area: e; }
.industry-card:nth-child(6) { grid-area: f; }

.industry-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,21,64,0.1) 25%, rgba(9,21,64,0.94) 100%);
  transition: background 0.3s ease;
  z-index: 1;
}
.industry-card:hover::before {
  background: linear-gradient(180deg, rgba(27,44,193,0.15) 15%, rgba(9,21,64,0.95) 100%);
}
.industry-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 21, 64, 0.5);
  border: 1px solid rgba(244, 247, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--blue-light);
  transition: background 0.3s ease, transform 0.3s ease;
}
.industry-card:hover .industry-icon {
  background: var(--royal);
  transform: scale(1.08);
}
.industry-icon svg { width: 20px; height: 20px; }
.industry-index {
  position: absolute;
  top: 10px;
  right: 18px;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: rgba(244, 247, 255, 0.22);
  letter-spacing: 0.02em;
}
.industry-body {
  position: relative;
  z-index: 2;
  padding: 22px;
  color: var(--text-light);
}
.industry-body h3 { color: var(--text-light); font-size: 1.1rem; margin-bottom: 6px; }
.industry-body p { color: var(--sky); font-size: 0.88rem; margin: 0; max-width: 320px; }

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
  }
  .industry-card:nth-child(1),
  .industry-card:nth-child(2),
  .industry-card:nth-child(3),
  .industry-card:nth-child(4),
  .industry-card:nth-child(5),
  .industry-card:nth-child(6) {
    grid-area: auto;
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ---------- How we work ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  text-align: left;
  position: relative;
  padding: 28px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}
.process-step .step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--royal);
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; margin: 0; }
.process-step .icon-circle { margin-bottom: 16px; }

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.case-media {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.case-card:hover .case-media img { transform: scale(1.07); }
.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--royal);
  padding: 7px 13px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.case-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case-body h3 { font-size: 1.15rem; }
.case-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.case-point strong { color: var(--navy); }
.case-point .dot-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.case-point .dot-icon svg { width: 13px; height: 13px; }
.case-point.challenge .dot-icon { background: var(--sky); color: var(--slate-blue); }
.case-point.solution .dot-icon { background: var(--royal); color: var(--text-light); }
.case-result {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-light);
  background: linear-gradient(120deg, var(--navy), var(--royal));
  padding: 14px 16px;
  border-radius: 10px;
}
.case-result svg { color: var(--blue-light); flex-shrink: 0; }

/* Featured (first) case study — full-width horizontal spotlight */
.case-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.case-card.featured .case-media { height: 100%; min-height: 320px; }
.case-card.featured .case-body { padding: 40px; justify-content: center; gap: 18px; }
.case-card.featured h3 { font-size: 1.6rem; }
.case-card.featured .case-point { font-size: 0.94rem; }

@media (max-width: 860px) {
  .case-card.featured { grid-template-columns: 1fr; }
  .case-card.featured .case-media { min-height: 220px; }
  .case-card.featured .case-body { padding: 28px; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card svg.quote-mark { color: var(--blue-light); width: 34px; height: 34px; }
.testimonial-card p.quote { font-style: italic; color: var(--text-dark); margin: 0; font-size: 1rem; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; flex-shrink: 0;
}
.testimonial-person strong { display: block; color: var(--navy); font-size: 0.94rem; }
.testimonial-person span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  padding: 0 28px 28px 0;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 28px 0 0 28px;
  background: linear-gradient(135deg, var(--royal), var(--blue-light));
  border-radius: var(--radius);
  z-index: 0;
}
.about-photo-wrap::after {
  content: "";
  position: absolute;
  top: 46px;
  left: 46px;
  width: 70px;
  height: 70px;
  border: 2px solid var(--sky);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.7;
}
.about-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-photo img { width: 100%; height: 480px; object-fit: cover; display: block; }
.about-credential {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: var(--text-light);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  max-width: 250px;
}
.about-credential .icon-circle { background: var(--royal); color: var(--text-light); flex-shrink: 0; }
.about-credential strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.about-credential span { font-size: 0.78rem; color: var(--sky); }

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 26px 0 6px;
}
.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.director-quote {
  position: relative;
  background: var(--navy);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  margin: 30px 0 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.director-quote::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(118,146,255,0.25), transparent 70%);
  z-index: 0;
}
.director-quote .quote-mark-lg {
  position: relative;
  z-index: 1;
  color: var(--blue-light);
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  display: block;
}
.director-quote p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 1rem;
  font-style: italic;
}
.director-quote p:last-of-type { margin-bottom: 0; }
.director-signoff {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 247, 255, 0.16);
}
.director-signoff .testimonial-avatar { background: var(--blue-light); color: var(--navy); }
.director-signoff strong { display: block; color: var(--text-light); font-size: 0.95rem; }
.director-signoff span { font-size: 0.82rem; color: var(--sky); }

@media (max-width: 640px) {
  .about-photo-wrap { padding: 0 20px 60px 0; }
  .about-credential { max-width: 210px; padding: 14px 16px; gap: 10px; }
  .about-credential strong { font-size: 0.85rem; }
  .about-credential span { font-size: 0.72rem; }
}

/* ---------- Achievements ---------- */
.achievements {
  background: var(--navy);
  color: var(--text-light);
}
.achievements .section-head h2 { color: var(--text-light); }
.achievements .section-head p { color: var(--sky); }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.achievement-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(244,247,255,0.06);
  border: 1px solid rgba(244,247,255,0.14);
  border-radius: var(--radius);
}
.achievement-card .icon-circle { margin: 0 auto 16px; background: var(--royal); color: var(--text-light); }
.achievement-card .stat { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--text-light); margin-bottom: 6px; }
.achievement-card .label { font-size: 0.88rem; color: var(--sky); margin: 0; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-date { font-size: 0.78rem; color: var(--royal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-body h3 { font-size: 1rem; }
.blog-body p { font-size: 0.88rem; margin: 0; }
.blog-read { margin-top: auto; padding-top: 10px; font-size: 0.86rem; font-weight: 700; color: var(--slate-blue); display: flex; align-items: center; gap: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--bg-light);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}
.faq-question svg { flex-shrink: 0; color: var(--royal); transition: transform 0.2s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 24px 20px; margin: 0; font-size: 0.95rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.contact-info h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-detail span, .contact-detail a { font-size: 0.92rem; color: var(--text-muted); }
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--border-soft);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-soft);
  transition: border-color 0.15s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--bg-light);
}
.form-note { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.form-success {
  display: none;
  background: var(--sky);
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  align-items: center;
  gap: 10px;
}
.form-success.visible { display: flex; }

/* ---------- Final CTA (used within contact) ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--navy), var(--royal));
  color: var(--text-light);
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 32px;
  margin-bottom: 64px;
}
.final-cta h2 { color: var(--text-light); }
.final-cta p { color: var(--sky); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--sky);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244,247,255,0.14);
}
.footer-brand .logo { color: var(--text-light); margin-bottom: 14px; }
.footer-brand p { color: var(--sky); font-size: 0.9rem; max-width: 300px; }
.footer-col h4 { color: var(--text-light); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--sky); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(171,210,250,0.7);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--text-light); }

/* ---------- Terms page ---------- */
.terms-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 80px;
}
.terms-content h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.terms-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.terms-content h2 { margin-top: 40px; font-size: 1.35rem; }
.terms-content p, .terms-content li { color: var(--text-muted); font-size: 0.98rem; }
.terms-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.terms-content ul li { margin-bottom: 6px; }
.terms-content a { color: var(--royal); font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--navy);
  color: var(--text-light);
  padding: 20px 24px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: 0.9rem; color: var(--sky); max-width: 640px; }
.cookie-inner p a { color: var(--text-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid transparent;
}
#cookie-accept { background: var(--royal); color: var(--text-light); }
#cookie-deny { background: transparent; color: var(--text-light); border-color: rgba(244,247,255,0.5); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--royal);
  color: var(--text-light);
  padding: 12px 20px;
  z-index: 3000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   TABLET (~768–1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo img { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* =========================================================
   MOBILE (~375–428px)
   ========================================================= */
@media (max-width: 640px) {
  .services-grid,
  .industries-grid,
  .process-grid,
  .case-grid,
  .testimonial-grid,
  .achievements-grid,
  .blog-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 80px 0 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { gap: 20px; margin-top: 40px; }
  section { padding: 48px 0; }
  .final-cta { padding: 40px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
}
