/* ============================================================
   FOR CONSULTANCY PVT LTD — COMPONENTS
   components.css — Header, Hero, All Sections, Footer, Forms
   ============================================================ */

/* ================================================================
   HEADER
   ================================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0 var(--container-px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-header .header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Transparent on top */
#site-header.at-top {
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Glass when scrolled */
#site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-header);
}

/* ── Logo ── */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* The logo artwork is navy + orange printed on white, so it always
   needs a white plate under it — even on the light theme, where the
   plate simply blends into the page. */
.header-logo .logo-img-wrap {
  background: var(--plate);
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  transition: box-shadow var(--ease-smooth);
}

.header-logo:hover .logo-img-wrap {
  box-shadow: 0 0 20px var(--accent-glow);
}

.header-logo .logo-img-wrap img {
  height: 30px;
  width: auto;
  display: block;
}

.header-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo .logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.header-logo .logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Navigation ── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-nav a {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color var(--ease-fast), background var(--ease-fast);
  letter-spacing: 0.01em;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--white);
  background: var(--hover-tint);
}

.header-nav a.active {
  color: var(--accent);
}

/* ── Header CTA ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ── Theme Toggle ──
   One button, two glyphs. Only the glyph for the theme you'd switch
   *to* is shown, so the icon always reads as the action. */
.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--ease-fast), border-color var(--ease-fast),
              background var(--ease-fast), transform var(--ease-fast);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Dark theme → offer the sun. Light theme → offer the moon. */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Full-width variant inside the mobile drawer */
.theme-toggle--block {
  width: 100%;
  height: auto;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.theme-toggle--block .theme-toggle-text::after {
  content: 'Light Mode';
}

[data-theme="light"] .theme-toggle--block .theme-toggle-text::after {
  content: 'Dark Mode';
}

/* ── Mobile Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease-smooth);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--mobilenav-bg);
  backdrop-filter: blur(20px);
  z-index: calc(var(--z-sticky) - 1);
  padding: 40px var(--container-px);
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--ease-smooth);
}

.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease-fast);
}

.mobile-nav a:hover { color: var(--accent); }

/* ================================================================
   HERO SECTION
   ================================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

/* Animated mesh grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--accent-wash) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-wash) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: hero-grid-move 8s linear infinite;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0.8) 80%, transparent 100%);
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orb-accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orb-drift-1 18s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orb-navy) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: orb-drift-2 22s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--orb-accent-soft) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: orb-drift-1 28s ease-in-out infinite reverse;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-badge span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* The hero headline is a <div>, not an <h1>, so it inherits none of the
   heading typography — spell it out here to match the h1 scale. */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-sub-text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 48px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
}

/* Hero Stats bar */
.hero-stats-bar {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  max-width: 720px;
}

.hero-stat {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span {
  color: var(--accent);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.5;
  animation: float-up-down 2s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
#about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.about-year-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.about-body p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--ease-smooth);
}

.about-value-item:hover {
  border-color: var(--accent);
}

.about-value-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.about-value-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.about-value-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* About visual side */
.about-visual {
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--card);
  border: 1px solid var(--border);
}

/* Full-bleed photo — direct children only, so nested content (the brand plate
   below) keeps its own intrinsic size instead of being cropped to the card. */
.about-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand plate shown in place of a photo in the About visual card. */
.about-brand {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  text-align: center;
}

/* The source PNG carries wide built-in margins, so the box is sized generously
   and given no extra padding — the artwork itself lands at a readable size. */
.about-brand-logo {
  width: 280px;
  max-width: 80%;
  height: auto;
  object-fit: contain;
  background: var(--plate);
  border-radius: var(--radius-md);
}

.about-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-brand-quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--white);
  max-width: 30ch;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    var(--panel-scrim) 100%
  );
}

.about-floating-card {
  position: absolute;
  bottom: -70px;
  left: -30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  min-width: 200px;
}

.about-floating-card .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.about-floating-card .text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Vision / Mission Pills ── */
.vm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.vm-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.vm-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.vm-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ================================================================
   GLOBAL PRESENCE
   ================================================================ */
#global-presence {
  background: var(--bg);
  overflow: hidden;
}

.presence-header {
  text-align: center;
  margin-bottom: 80px;
}

.presence-map-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 60px 40px;
  overflow: hidden;
}

.presence-map-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, var(--accent-wash) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 60%, var(--navy-wash) 0%, transparent 60%);
}

.presence-map-svg {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* The map's colours used to be baked into the SVG's presentation
   attributes. They live here instead so the map follows the theme —
   var() is not valid inside a presentation attribute, hence classes. */
.map-grid        { stroke: var(--border); }
.map-equator     { stroke: var(--border-light); }
.map-land        { fill: var(--map-land); stroke: var(--map-land-stroke); }

/* India carries its own political border so the home country reads as a
   distinct shape rather than dissolving into the surrounding landmass. */
.map-india       { fill: var(--map-india); stroke: var(--map-india-line); }
.map-region-navy   { fill: var(--navy); }
.map-region-accent { fill: var(--brand); }
.map-marker      { fill: var(--accent); }
.map-link        { stroke: var(--accent); }

/* Full opacity: at 9px these city labels have no contrast to spare. */
.map-label {
  fill: var(--accent);
  letter-spacing: 0.06em;
}

/* Dot markers */
.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: map-pulse 2.5s ease-in-out infinite;
  cursor: pointer;
}

.map-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  animation: map-ring 2.5s ease-in-out infinite;
}

@keyframes map-pulse {
  0%, 100% { box-shadow: 0 0 0 0  var(--accent-glow); }
  50%       { box-shadow: 0 0 0 12px transparent; }
}

@keyframes map-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0; }
}

/* Region cards below map */
.presence-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.region-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.region-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--ease-smooth);
}

.region-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.region-card:hover::after { transform: scaleX(1); }

.region-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.region-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.region-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   SERVICES
   ================================================================ */
#services {
  background: var(--surface);
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.services-intro .section-heading {
  margin-bottom: 0;
}

.services-intro-right {
  padding-bottom: 4px;
}

.services-count {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: 8px;
}

.services-intro-right p {
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ================================================================
   SERVICES — BENTO GRID

   Six columns; wide tiles take three, standard tiles take two, which
   lays the seven domains out as 2 / 3 / 2 rather than a flat 3×3.
   ================================================================ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-card { grid-column: span 2; }
.service-card--wide { grid-column: span 3; }

/* Reveal for these tiles is handled by the shared [data-reveal] rules
   in animations.css. */

/* ── Card shell ── */
.service-card {
  position: relative;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform var(--ease-smooth), box-shadow var(--ease-smooth),
              border-color var(--ease-smooth), background var(--ease-smooth);
}

.service-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  border-radius: inherit;
}

/* ── Pointer spotlight ──
   main.js writes --mx / --my as the cursor moves across each tile, and
   --glow goes to 1 while the pointer is inside it. */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--glow, 0);
  transition: opacity 0.45s ease;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    var(--accent-dim) 0%,
    transparent 70%
  );
}

/* ── Animated gradient edge ──
   A conic gradient clipped to a 1px ring by two masks that cancel each
   other out everywhere except the border. Rotates only on hover. */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: conic-gradient(
    from var(--edge-angle, 0deg),
    transparent 0deg,
    var(--accent) 45deg,
    var(--accent-light) 90deg,
    transparent 160deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.service-card:hover::before,
.service-card:focus-within::before { opacity: 1; }

@property --edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover::before,
  .service-card:focus-within::before {
    animation: edge-spin 4s linear infinite;
  }
}

@keyframes edge-spin {
  to { --edge-angle: 360deg; }
}

.service-card:hover {
  border-color: var(--accent-line);
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease-smooth);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  transition: color var(--ease-fast);
}

.service-card:hover .service-icon-wrap svg {
  color: var(--on-accent);
}

/* Ghost index numeral. Large and quiet — it reads as texture, and it
   sharpens into the accent colour when the tile is hovered. */
.service-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--border-light);
  opacity: 0.55;
  transition: color var(--ease-smooth), opacity var(--ease-smooth);
}

.service-card:hover .service-num {
  color: var(--accent);
  opacity: 0.85;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}

.service-benefits {
  margin: 4px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* Chips rather than bullets — they wrap neatly across both tile widths. */
.service-benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color var(--ease-fast), color var(--ease-fast);
}

.service-benefit-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-card:hover .service-benefit-item {
  border-color: var(--accent-line);
  color: var(--off-white);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  transition: gap var(--ease-fast);
  margin-top: auto;
}

.service-link:hover { gap: 14px; }

.service-link svg {
  width: 14px;
  height: 14px;
}

/* Wide tiles get a little more breathing room and a bigger title. */
.service-card--wide .service-card-inner { padding: 34px 34px; }
.service-card--wide .service-title { font-size: 1.35rem; }

/* Legacy featured modifier, still used on services.php */
.service-card.featured {
  background: linear-gradient(135deg, var(--accent-wash) 0%, var(--card) 100%);
  border-color: var(--accent-line);
}

/* ================================================================
   INDUSTRIES
   ================================================================ */
#industries {
  background: var(--bg);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.industry-item {
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid transparent;
  transition: all var(--ease-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.industry-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity var(--ease-smooth);
}

.industry-item:hover {
  background: var(--card-hover);
  z-index: 2;
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.industry-item:hover::before { opacity: 1; }

.industry-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.industry-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.industry-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ================================================================
   WHY CHOOSE FOR
   ================================================================ */
#why-for {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.why-for-header {
  text-align: center;
  margin-bottom: 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.why-item {
  background: var(--card);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--ease-smooth);
}

.why-item::after {
  content: attr(data-num);
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--border-light);
  letter-spacing: 0.1em;
}

.why-item:hover {
  background: var(--card-hover);
}

.why-item-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
}

.why-item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ================================================================
   TIMELINE
   ================================================================ */
#timeline {
  background: var(--bg);
}

.timeline-wrap {
  position: relative;
  padding: 0 0 0 80px;
}

/* Vertical line */
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

/* Animated fill */
.timeline-line-fill {
  position: absolute;
  left: 20px;
  top: 0;
  width: 1px;
  height: 0%;
  background: var(--accent);
  transition: height 1.5s ease;
  z-index: 1;
}

.timeline-line-fill.animated { height: 100%; }

.timeline-item {
  position: relative;
  padding: 0 0 60px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
}

.timeline-item:last-child { padding-bottom: 0; }

/* Dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: -68px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  transition: all var(--ease-smooth);
  z-index: 2;
}

.timeline-item.active::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border-light);
  line-height: 1;
  padding-top: 4px;
  transition: color var(--ease-smooth);
}

.timeline-item.active .timeline-year { color: var(--accent); }

.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: all var(--ease-smooth);
}

.timeline-item.active .timeline-content {
  border-color: var(--accent-line);
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ================================================================
   LEADERSHIP
   ================================================================ */
#leadership {
  background: var(--surface);
}

.leadership-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 100px;
  align-items: center;
}

.founder-img-wrap {
  position: relative;
}

.founder-img-outer {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
}

.founder-img-outer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(var(--founder-grayscale));
  transition: filter var(--ease-slow);
}

.founder-img-outer:hover img {
  filter: grayscale(0%);
}

.founder-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    var(--img-scrim) 100%
  );
}

/* Orange accent corner */
.founder-accent-corner {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-top-right-radius: var(--radius-md);
}

.founder-accent-corner-bl {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-bottom-left-radius: var(--radius-md);
}

.founder-info {
  padding-right: 20px;
}

.founder-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.founder-tag .line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.founder-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
  position: relative;
}

.founder-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
}

.founder-bio {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 40px;
}

.founder-name-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.founder-avatar-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.founder-title-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ================================================================
   IMPACT NUMBERS
   ================================================================ */
#impact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, var(--accent-wash) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, var(--navy-wash) 0%, transparent 60%);
  pointer-events: none;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.impact-item {
  background: var(--card);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background var(--ease-smooth);
}

.impact-item:hover { background: var(--card-hover); }

.impact-num {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.impact-num .suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.impact-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
#testimonials {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: all var(--ease-smooth);
}

.testimonial-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span {
  color: var(--accent);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.testimonial-author-org {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   GALLERY
   ================================================================ */
#gallery-section {
  background: var(--bg);
}

.gallery-grid {
  columns: 3;
  gap: 16px;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--img-scrim-strong) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--ease-smooth);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* Sits on the dark photo scrim, which stays dark in both themes. */
.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-scrim);
}

/* Placeholder gallery items.
   These tiles carry their own dark gradient from gallery_lib.php (they
   stand in for photographs), so their contents stay light-on-dark in
   both themes rather than following --muted. */
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gallery-placeholder.tall { aspect-ratio: 3/4; }
.gallery-placeholder.wide { aspect-ratio: 16/9; }

.gallery-placeholder-icon {
  font-size: 2rem;
  opacity: 0.55;
}

.gallery-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-scrim);
  opacity: 0.62;
}

/* Category pill overlaid on a placeholder tile — uses the raw brand
   orange because its backdrop is dark whatever the page theme is. */
.gallery-placeholder-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.28);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Uploaded gallery images — matches the placeholder aspect ratios so the
   masonry grid keeps its rhythm whether a tile is a photo or a placeholder. */
.gallery-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
  background: var(--card);
}

.gallery-img.tall { aspect-ratio: 3/4; }
.gallery-img.wide { aspect-ratio: 16/9; }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--lightbox-bg);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(10px);
}

#lightbox.open { display: flex; }

#lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.2rem;
  transition: all var(--ease-fast);
}

#lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ================================================================
   FAQ
   ================================================================ */
#faq {
  background: var(--surface);
}

.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--ease-smooth);
}

.faq-item.open {
  border-color: var(--accent-line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--card);
  cursor: pointer;
  text-align: left;
  transition: background var(--ease-fast);
}

.faq-question:hover { background: var(--card-hover); }

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--ease-smooth);
  color: var(--muted);
  font-size: 1rem;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--card);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
}

.faq-answer-inner p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
#cta-section {
  background: var(--bg);
  padding: 120px 0;
}

.cta-inner {
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 100px 60px;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orb-accent) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label { margin-bottom: 24px; }
.cta-inner h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-inner p { max-width: 560px; margin: 0 auto 48px; font-size: 1.1rem; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   CONTACT
   ================================================================ */
#contact {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Contact Info */
.contact-info .section-heading {
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-detail-icon svg { width: 20px; height: 20px; }

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

.contact-detail-value a {
  color: var(--white);
  transition: color var(--ease-fast);
}

.contact-detail-value a:hover { color: var(--accent); }

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--ease-smooth);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.social-link svg { width: 18px; height: 18px; }

/* Contact Form */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 14px 16px;
  font-size: 0.93rem;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--subtle);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.form-group select option {
  background: var(--card);
  color: var(--white);
}

/* Form messages */
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 16px;
}

.form-msg.success {
  display: block;
  background: var(--success-dim);
  border: 1px solid var(--success-line);
  color: var(--success);
}

.form-msg.error {
  display: block;
  background: var(--danger-dim);
  border: 1px solid var(--danger-line);
  color: var(--danger);
}

/* Captcha/spam */
.form-honeypot { display: none; }

/* Map */
.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 280px;
}

/* The embedded map ships light. Dark mode inverts it to match; light
   mode leaves it essentially as-is. */
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: var(--map-filter);
}

/* ================================================================
   FOOTER
   ================================================================ */
#site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 36px;
  background: var(--plate);
  padding: 4px 8px;
  border-radius: 6px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--ease-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--accent); }

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-light);
  flex-shrink: 0;
  transition: background var(--ease-fast);
}

.footer-links a:hover::before { background: var(--accent); }

/* Newsletter */
.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--ease-fast);
}

.newsletter-form:focus-within { border-color: var(--accent); }

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--subtle); }

.newsletter-form button {
  padding: 10px 20px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--ease-fast);
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--accent-hover); }

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--subtle);
}

.footer-copy a {
  color: var(--accent);
  transition: opacity var(--ease-fast);
}

.footer-copy a:hover { opacity: 0.8; }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--subtle);
  transition: color var(--ease-fast);
}

.footer-bottom-links a:hover { color: var(--white); }

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

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .leadership-inner { grid-template-columns: 360px 1fr; gap: 60px; }
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* Bento collapses to a plain two-up: every tile takes half the row. */
  .services-bento { grid-template-columns: repeat(4, 1fr); }
  .service-card,
  .service-card--wide { grid-column: span 2; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero-stats-bar { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-stat:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-bento { grid-template-columns: 1fr; gap: 14px; }
  .service-card,
  .service-card--wide { grid-column: span 1; }
  .service-card-inner,
  .service-card--wide .service-card-inner { padding: 26px 22px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .presence-regions { grid-template-columns: 1fr; }
  .timeline-wrap { padding-left: 48px; }
  .leadership-inner { grid-template-columns: 1fr; }
  .founder-img-wrap { max-width: 360px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-inner { padding: 60px 24px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .gallery-grid { columns: 1; }
  .industries-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
