/* Sri Guru HR Consultants — light and dark themes */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --border: #e3e9f3;
  --text: #0f1b3d;
  --muted: #5a6680;
  --heading: #12245c;
  --primary: #2672b5;
  --primary-hover: #1d5f99;
  --on-primary: #ffffff;
  --accent: #c8621c;
  --danger: #c81e3c;
  --gold: #f39a55;
  --teal: #5ec2bb;
  --header-bg: rgba(255, 255, 255, 0.78);
  --shadow: 0 1px 2px rgba(15, 27, 61, 0.04), 0 12px 32px rgba(15, 27, 61, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 27, 61, 0.12);
  --glow-1: rgba(79, 163, 224, 0.34);
  --glow-2: rgba(243, 154, 85, 0.3);
  --glow-3: rgba(94, 194, 187, 0.26);

  /* Section backgrounds and card tints in the logo colours */
  --sec-alt: linear-gradient(180deg, #e7f1fb 0%, #eaf6f4 100%);
  --sec-cool: linear-gradient(180deg, #f3f9fe 0%, #e8f2fb 100%);
  --sec-warm: linear-gradient(180deg, #e9f7f5 0%, #e2eff9 100%);
  --tint-blue: rgba(79, 163, 224, 0.12);
  --tint-orange: rgba(243, 154, 85, 0.14);
  --tint-teal: rgba(94, 194, 187, 0.15);
  --hero-bg: linear-gradient(120deg, #dcecfa 0%, #eef6fd 38%, #fdf3ea 70%, #fde4cf 100%);

  /* Brand colours */
  --swoosh-blue: #2f86cf;
  --swoosh-red: #e5803a;

  /* Hero illustration */
  --art-orb-1: #e2f0fa;
  --art-orb-2: #fdeadb;
  --art-ring: rgba(38, 114, 181, 0.4);
  --art-ring-strong: #2f86cf;
  --art-line: rgba(38, 114, 181, 0.35);
  --art-card: #ffffff;
  --art-avatar-bg: #e2f0fa;
  --art-text: #12245c;
  --art-muted: #e3e9f3;

  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a1022;
  --bg-alt: #0e1630;
  --surface: #121c38;
  --surface-2: #17223f;
  --border: #22305a;
  --text: #e7ecf7;
  --muted: #9aa8c7;
  --heading: #f3f6fc;
  --primary: #4fa3e0;
  --primary-hover: #74b8ea;
  --on-primary: #08142b;
  --accent: #f7ae6c;
  --danger: #ff6b81;
  --header-bg: rgba(10, 16, 34, 0.72);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-1: rgba(79, 163, 224, 0.2);
  --glow-2: rgba(243, 154, 85, 0.12);
  --glow-3: rgba(94, 194, 187, 0.12);
  --sec-alt: #0e1630;
  --sec-cool: #0b1329;
  --sec-warm: #111830;
  --tint-blue: rgba(79, 163, 224, 0.1);
  --tint-orange: rgba(243, 154, 85, 0.1);
  --tint-teal: rgba(94, 194, 187, 0.1);
  --hero-bg: var(--bg);

  --swoosh-blue: #4fa3e0;
  --swoosh-red: #f39a55;

  --art-orb-1: #133257;
  --art-orb-2: #13383f;
  --art-ring: rgba(130, 190, 235, 0.42);
  --art-ring-strong: #4fa3e0;
  --art-line: rgba(130, 190, 235, 0.4);
  --art-card: #1a2750;
  --art-avatar-bg: #24346a;
  --art-text: #e7ecf7;
  --art-muted: #2c3c70;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h1 em { font-style: italic; color: var(--swoosh-blue); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px var(--primary);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost:hover svg { transform: none; }
.btn-sm { padding: 0.6em 1.15em; font-size: 0.88rem; }
.btn-gradient { background: linear-gradient(90deg, #2672b5, #2a9d94); color: #fff; box-shadow: 0 8px 20px -8px rgba(38, 114, 181, 0.8); }
.btn-gradient:hover { background: linear-gradient(90deg, #1d5f99, #23867e); }
.btn-whatsapp { background: #1faa59; color: #fff; box-shadow: 0 8px 20px -8px #1faa59; }
.btn-whatsapp:hover { background: #178f4a; }
.btn-whatsapp:hover svg, .btn-light:hover svg { transform: none; }
.btn-light { background: #fff; color: #10183a; box-shadow: none; }
.btn-light:hover { background: #e8edf7; }

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.phone-chip:hover { background: var(--bg-alt); }
.phone-chip svg { width: 17px; height: 17px; fill: none; stroke: var(--swoosh-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: var(--shadow-lg);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; padding: 0 10px 0 20px; }
.site-header { transition: top 0.25s ease, width 0.25s ease, border-radius 0.25s ease; }
/* Once the page scrolls, the oval bar moves up to sit just under the top edge */
.site-header.scrolled { top: 6px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 58px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--heading); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }
/* Top bar only: "HR CONSULTANTS" in red, slightly bolder */
.site-header .brand-sub { color: #c8102e; font-weight: 800; font-size: 0.64rem; white-space: nowrap; }
[data-theme="dark"] .site-header .brand-sub { color: #ff5a6e; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover { color: var(--heading); background: var(--bg-alt); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: background 0.2s, transform 0.3s;
}
.theme-toggle:hover { background: var(--bg-alt); transform: rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: var(--gold); }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--heading); margin: 4px auto; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 92px 0 64px; background: var(--hero-bg); }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 10% 10%, var(--glow-1), transparent 70%),
    radial-gradient(500px 400px at 90% 30%, var(--glow-2), transparent 70%),
    radial-gradient(520px 360px at 55% 100%, var(--glow-3), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, #1f5590, #2a8f88);
  box-shadow: 0 6px 16px -8px rgba(23, 63, 115, 0.6);
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #f7ae6c; box-shadow: 0 0 0 3px rgba(247, 174, 108, 0.35); }

.lead { font-size: 0.98rem; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(47, 157, 149, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9d95' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; }
.art-card, .art-card-content { animation: bob 6s ease-in-out infinite; }
.art-badge { animation: bob 6s ease-in-out infinite, pop 0.6s 0.4s both cubic-bezier(.3, 1.6, .5, 1); transform-origin: 374px 186px; }
.art-node.n1 { animation: bob 7s ease-in-out infinite 0.5s; }
.art-node.n2 { animation: bob 8s ease-in-out infinite 1s; }
.art-node.n3 { animation: bob 7.5s ease-in-out infinite 1.5s; }
.art-lines path { animation: dash 2.5s linear infinite; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 9%; left: 0; }
.chip-2 { top: 9%; right: 0; animation-delay: 1.2s; }
.chip-3 { bottom: 6%; left: 50%; margin-left: -95px; animation-delay: 2.4s; }
.chip-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.chip-icon svg { width: 20px; height: 20px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-icon.blue { background: rgba(79, 163, 224, 0.15); } .chip-icon.blue svg { stroke: #2f86cf; }
.chip-icon.red { background: rgba(243, 154, 85, 0.18); } .chip-icon.red svg { stroke: #e5803a; }
.chip-icon.gold { background: rgba(94, 194, 187, 0.2); } .chip-icon.gold svg { stroke: #2f9d95; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.hero-services {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 56px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero-services a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.hero-services a:hover { transform: translateY(-2px); border-color: var(--swoosh-blue); }
.hero-services .chip-icon { width: 30px; height: 30px; border-radius: 50%; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--sec-alt); }
.section-cool { background: var(--sec-cool); }
.section-warm { background: var(--sec-warm); }
/* Strong brand section: white headings over the blue-teal gradient */
.section-brand { background: linear-gradient(160deg, #173f73 0%, #2468a8 55%, #2a8f88 100%); }
.section-brand .section-head h2 { color: #fff; }
.section-brand .section-head .eyebrow { color: #f7ae6c; }
.section-brand .service { border-color: transparent; box-shadow: 0 18px 40px -18px rgba(5, 20, 50, 0.55); }
.section-brand .service.service-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.bento-item:hover { transform: translateY(-3px); }
.b-wide { grid-column: span 2; }
.bento-item strong { display: block; color: var(--heading); margin-bottom: 2px; }
.bento-item span:not(.b-icon) { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.b-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); }
.b-icon svg, .service-icon svg, .contact-list svg { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b-icon svg { width: 22px; height: 22px; stroke: var(--swoosh-blue); }
.b-accent {
  background: linear-gradient(120deg, #173f73, #2468a8 55%, #2a8f88);
  border-color: transparent;
}
.b-accent strong { color: #fff; }
.b-accent span:not(.b-icon) { color: #c9d6f2 !important; }
.b-accent .b-icon { background: rgba(255, 255, 255, 0.12); }
.b-accent .b-icon svg { stroke: var(--gold); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service:nth-child(4) .service-icon { background: linear-gradient(135deg, rgba(243, 154, 85, 0.2), rgba(243, 154, 85, 0.04)); }
.service:nth-child(4) .service-icon svg { stroke: var(--swoosh-red); }
.service:nth-child(5) .service-icon { background: linear-gradient(135deg, rgba(94, 194, 187, 0.22), rgba(94, 194, 187, 0.05)); }
.service:nth-child(5) .service-icon svg { stroke: #2f9d95; }
.service.service-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(140deg, #173f73, #2468a8 60%, #2a8f88);
  border-color: transparent;
}
.service.service-cta h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.service.service-cta p { color: #c9dcf2 !important; margin-bottom: 18px !important; }
.service.service-cta .btn { align-self: flex-start; }
.service.service-cta::before { display: none; }
.service {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-tint, var(--tint-blue)), transparent 65%), var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service:nth-child(2), .service:nth-child(4) { --card-tint: var(--tint-orange); --card-line: var(--swoosh-red); }
.service:nth-child(3), .service:nth-child(5) { --card-tint: var(--tint-teal); --card-line: #2f9d95; }
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--card-line, var(--swoosh-blue));
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-num { position: absolute; top: 26px; right: 30px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--border); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(79, 163, 224, 0.16), rgba(79, 163, 224, 0.04));
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--swoosh-blue); }
.service:nth-child(2) .service-icon { background: linear-gradient(135deg, rgba(243, 154, 85, 0.2), rgba(243, 154, 85, 0.04)); }
.service:nth-child(2) .service-icon svg { stroke: var(--swoosh-red); }
.service:nth-child(3) .service-icon { background: linear-gradient(135deg, rgba(94, 194, 187, 0.22), rgba(94, 194, 187, 0.05)); }
.service:nth-child(3) .service-icon svg { stroke: #2f9d95; }
.service p { color: var(--muted); margin: 0; }

/* Mission & Goal */
.mg-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.mg-card {
  padding: 44px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.mg-card::after {
  content: "\201C";
  position: absolute;
  right: 24px; bottom: -40px;
  font-family: var(--serif);
  font-size: 12rem;
  line-height: 1;
  color: var(--border);
  pointer-events: none;
}
.mg-mission { background: linear-gradient(135deg, #173f73, #2468a8 60%, #2a8f88); border-color: transparent; }
.mg-mission::after { color: rgba(255, 255, 255, 0.08); }
.mg-mission .eyebrow { color: var(--gold); }
.mg-mission .mg-quote { color: #f1f5fc; }
.mg-note { position: relative; z-index: 1; color: var(--muted); margin: 18px 0 0; }
.mg-quote { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--heading); margin: 0; }

/* How we work */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--tint-blue), transparent 55%), var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--swoosh-blue);
  box-shadow: var(--shadow);
}
.track-candidate { background: linear-gradient(180deg, var(--tint-teal), transparent 55%), var(--surface); border-top-color: #2f9d95; }
.track .btn { align-self: flex-start; margin-top: auto; }
.track-head { display: flex; align-items: center; gap: 14px; }
.track-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.track-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 163, 224, 0.15); }
.track-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--swoosh-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.track-candidate .track-icon { background: rgba(94, 194, 187, 0.18); }
.track-candidate .track-icon svg { stroke: #2f9d95; }
.track-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.track-steps li { position: relative; counter-increment: step; padding: 0 0 22px 52px; }
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  color: #fff;
  background: var(--swoosh-blue);
}
.track-candidate .track-steps li::before { background: #2f9d95; }
.track-steps li::after {
  content: "";
  position: absolute;
  left: 16px; top: 38px; bottom: 4px;
  border-left: 2px dashed var(--border);
}
.track-steps li:last-child::after { display: none; }
.track-steps li:last-child::before { background: var(--gold); }
.track-steps strong { display: block; color: var(--heading); line-height: 34px; }
.track-steps span { display: block; color: var(--muted); font-size: 0.93rem; margin-top: -2px; }

/* Testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.t-quote { width: 34px; height: 34px; fill: var(--teal); opacity: 0.7; }
.t-card blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; color: var(--heading); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.t-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.9rem; }
.t-card figcaption strong { display: block; color: var(--heading); font-size: 0.95rem; }
.t-card figcaption span span { display: block; color: var(--muted); font-size: 0.85rem; }
.t-accent { background: linear-gradient(140deg, #173f73, #2468a8 60%, #2a8f88); border-color: transparent; }
.t-accent blockquote, .t-accent figcaption strong { color: #fff; }
.t-accent figcaption span span { color: #c9dcf2; }
.t-accent figcaption { border-top-color: rgba(255, 255, 255, 0.18); }
.t-accent .t-quote { fill: #f7ae6c; opacity: 1; }
.t-accent .t-avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }

/* Careers */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.careers-grid > div:first-child { position: sticky; top: 110px; }
.resume-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.resume-steps li { display: flex; align-items: center; gap: 14px; color: var(--text); font-weight: 500; }
.resume-steps span {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border);
}
.resume-steps li:last-child span { background: var(--gold); border-color: var(--gold); color: #10183a; }
.resume-card {
  display: grid;
  gap: 16px;
  padding: 34px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.resume-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 4px; }
.resume-card label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--heading); }
.resume-card input, .resume-card select, .resume-card textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resume-card input:focus, .resume-card select:focus, .resume-card textarea:focus { outline: none; border-color: var(--swoosh-blue); box-shadow: 0 0 0 4px rgba(79, 163, 224, 0.18); }
.resume-card textarea { resize: vertical; }
.privacy-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.86rem; color: var(--text); }
.privacy-note svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: #2f9d95; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-hint { margin: -6px 0 0; font-size: 0.84rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.resume-card .invalid { border-color: var(--danger); }
.file-field input[type="file"] {
  padding: 10px;
  cursor: pointer;
  border-style: dashed;
}
.file-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.check-field { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 0.86rem !important; color: var(--text) !important; line-height: 1.5; cursor: pointer; }
.check-field input { width: 18px !important; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); padding: 0 !important; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.resume-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Careers: apply card and popup */
.apply-card {
  display: grid;
  gap: 16px;
  padding: 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.apply-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.apply-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 163, 224, 0.15); }
.apply-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--swoosh-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.apply-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.apply-list li { display: flex; gap: 10px; align-items: baseline; }
.apply-list li::before { content: "✓"; color: #2f9d95; font-weight: 700; }

.apply-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: visible;
}
.apply-dialog::backdrop { background: rgba(8, 16, 38, 0.55); backdrop-filter: blur(4px); }
.apply-dialog[open] { animation: dialog-in 0.25s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.apply-dialog .resume-card { max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: none; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog-head .eyebrow { margin-bottom: 0.3em; }
.dialog-head h3 { margin: 0; }
.dialog-close {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--heading);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: var(--bg-alt); }
.step-dots { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: dot; }
.step-dots li {
  counter-increment: dot;
  flex: 1;
  padding-top: 10px;
  border-top: 4px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.step-dots li::before { content: "Step " counter(dot) " · "; }
.step-dots li.active { border-top-color: var(--swoosh-blue); color: var(--heading); }
.apply-step, .dialog-body, .vacancy-fields { display: grid; gap: 16px; }
.dialog-body[hidden] { display: none; }
.apply-step[hidden], .apply-done[hidden] { display: none; }
.apply-done { display: grid; justify-items: center; gap: 10px; padding: 24px 0 8px; text-align: center; }
.apply-done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(47, 157, 149, 0.15); color: #2f9d95; font-size: 2rem; font-weight: 700; }
.apply-done h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.apply-done p { margin: 0 0 8px; color: var(--muted); max-width: 420px; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.contact-info {
  position: relative;
  padding: 48px;
  color: #c9d6f2;
  background:
    radial-gradient(420px 320px at 100% 0%, rgba(79, 163, 224, 0.35), transparent 70%),
    linear-gradient(150deg, #173f73, #2468a8 60%, #2a8f88);
}
.contact-info h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.eyebrow-light { color: var(--gold); }
.contact-person { font-weight: 700; letter-spacing: 0.14em; color: #fff; margin: 24px 0 18px; }
.contact-company { display: block; margin-top: 4px; font-weight: 500; letter-spacing: 0.02em; font-size: 0.92rem; color: #c9dcf2; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--gold); }
.contact-list a { text-decoration: none; color: #fff; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.contact-actions .btn { padding: 0.65em 1.2em; font-size: 0.9rem; }
.map-link { font-weight: 600; text-decoration: none; color: var(--gold); }

.contact-forms { padding: 40px 48px 48px; display: grid; gap: 22px; align-content: start; }
.contact-forms-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.contact-forms-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.contact-forms-head p { margin: 0; font-size: 0.92rem; }
.link-btn { padding: 0; border: 0; background: none; color: var(--swoosh-blue); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary-hover); }
.contact-form { display: grid; gap: 16px; align-content: start; }
.contact-form[hidden] { display: none; }
.botcheck { display: none !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--heading); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--swoosh-blue);
  box-shadow: 0 0 0 4px rgba(79, 163, 224, 0.18);
}
.contact-form .invalid { border-color: var(--danger); }
.contact-form .btn { justify-self: start; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.form-note.error { color: var(--danger); }

/* Footer */
.site-footer { padding: 44px 0 36px; background: linear-gradient(140deg, #173f73, #2468a8 60%, #2a8f88); color: #c9dcf2; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #f7ae6c; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-nav a { color: #dbe8f7; text-decoration: none; font-size: 0.9rem; padding: 6px 12px; border-radius: 999px; }
.footer-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.contact-list svg.icon-fill, .social-link svg { fill: currentColor; stroke: none; }
.contact-list svg.icon-fill { color: var(--gold); }
.social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: #0a66c2; color: #fff; }
.social-link svg { width: 18px; height: 18px; }
.copyright { width: 100%; margin: 6px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.85rem; color: #c9dcf2; }

/* Keyboard focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--swoosh-blue); outline-offset: 3px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .mg-grid, .contact-wrap, .careers-grid, .t-grid, .tracks { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid > div:first-child { position: static; }
  .hero-visual { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .about-grid { gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .hide-mobile { display: none; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 22px;
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 104px 0 48px; }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .site-header.scrolled { top: 4px; }
  .header-inner { height: 60px; padding: 0 8px 0 14px; gap: 8px; }
  .header-actions { gap: 6px; }
  .phone-chip { width: 42px; padding: 0; justify-content: center; }
  .phone-chip span { display: none; }
  /* Service chips: compact, wrapping onto a few lines */
  .hero-services { margin-top: 36px; padding-top: 26px; gap: 6px; justify-content: center; border-top: 1px solid rgba(38, 114, 181, 0.25); }
  .hero-services a { font-size: 0.74rem; padding: 3px 10px 3px 3px; gap: 6px; }
  .hero-services .chip-icon { width: 22px; height: 22px; }
  .hero-services .chip-icon svg { width: 14px; height: 14px; }

  /* Overview picture: labels stay, just smaller */
  .hero-visual { max-width: 340px; margin-top: 28px; }
  .float-chip { font-size: 0.72rem; padding: 5px 10px 5px 5px; gap: 6px; border-radius: 12px; }
  .float-chip .chip-icon { width: 24px; height: 24px; border-radius: 8px; }
  .float-chip .chip-icon svg { width: 14px; height: 14px; }
  .chip-1 { top: 6%; left: 0; }
  .chip-2 { top: 6%; right: 0; }
  .chip-3 { bottom: 4%; left: 50%; margin-left: -78px; }

  /* Testimonials: swipe through the cards */
  .t-grid {
    display: flex;
    gap: 14px;
    margin: 0 -16px;
    padding: 4px 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .t-grid::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 86%; scroll-snap-align: start; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .mg-card::after { font-size: 7rem; bottom: -24px; right: 14px; }
  .services-grid, .bento, .field-row { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .service, .mg-card, .resume-card, .t-card { padding: 22px; }
  .apply-card { padding: 26px; }
  .apply-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .apply-dialog .resume-card { max-height: 100%; height: 100%; border-radius: 0; border: 0; padding: 22px 18px; }
  .resume-actions .btn, .form-actions .btn { flex: 1 1 100%; justify-content: center; }
  .contact-info, .contact-forms { padding: 28px 22px; }
  .track { padding: 26px; }
  .brand-mark { width: 46px; height: 36px; }
  .brand-name { font-size: 1.2rem; }
  .site-header .brand-sub { font-size: 0.56rem; letter-spacing: 0.16em; }
  .brand { gap: 7px; min-width: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
