/* =========================================================
   C2Q Group — Global Stylesheet
   Palette derived from the C2Q logo (orange · green · blue)
   ========================================================= */

:root {
  /* Brand colours (sampled from logo) */
  --c2q-red: #ff3d12;
  --c2q-orange: #ff8a00;
  --c2q-amber: #ffb800;
  --c2q-green: #2fb40a;
  --c2q-green-dark: #128a00;
  --c2q-lime: #9be000;
  --c2q-blue: #0b6fe0;
  --c2q-blue-light: #3fa9ff;

  --brand-gradient: linear-gradient(90deg, #ff4a14 0%, #ff9100 26%, #2fb40a 56%, #0b6fe0 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(47, 180, 10, .08) 50%, rgba(11, 111, 224, .10));

  /* Neutrals */
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7ebf0;
  --surface: #ffffff;
  --surface-2: #f8fafc;

  /* System */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 30px rgba(15, 23, 42, .07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .10);
  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c2q-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--c2q-blue-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- Gradient text ---------- */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--brand-gradient); opacity: .9;
}

.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name small { display: block; margin-top: 4px; line-height: 1.2; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font: inherit; font-size: .97rem; font-weight: 600; color: var(--ink-2);
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"]::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c2q-orange); margin-left: 2px;
}
.nav-link[data-current="true"] { color: var(--ink); background: var(--surface-2); }
.dropdown a[aria-current="page"] { background: var(--surface-2); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }

.nav-cta {
  margin-left: 8px; padding: 10px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem;
}
.nav-cta:hover { background: #1e293b; text-decoration: none; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 300px; padding: 10px;
  list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .chev,
.has-dropdown.is-open .chev { transform: rotate(180deg); }

.dropdown a {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px; color: var(--ink-2);
}
.dropdown a:hover { background: var(--surface-2); text-decoration: none; }
.dropdown .dd-icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem;
}
.dd-icon.labs { background: linear-gradient(135deg, var(--c2q-blue), var(--c2q-green)); }
.dd-icon.laddu { background: linear-gradient(135deg, var(--c2q-red), var(--c2q-amber)); }
.dropdown strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.dropdown span.dd-text { font-size: .85rem; color: var(--muted); line-height: 1.4; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .18); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(15, 23, 42, .24); }
.btn-gradient { background: var(--brand-gradient); color: #fff; box-shadow: 0 10px 24px rgba(11, 111, 224, .22); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-warm { background: linear-gradient(90deg, var(--c2q-red), var(--c2q-orange) 60%, var(--c2q-amber)); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 0, .25); }
.btn-cool { background: linear-gradient(90deg, var(--c2q-blue), #1d8fe8 50%, var(--c2q-green)); color: #fff; box-shadow: 0 10px 24px rgba(11, 111, 224, .22); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand-gradient); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: .5;
}
.hero::before { width: 520px; height: 520px; background: rgba(255, 138, 0, .22); top: -160px; left: -160px; }
.hero::after { width: 560px; height: 560px; background: rgba(11, 111, 224, .16); bottom: -220px; right: -160px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.hero-logo-card {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: #fff; border-radius: 32px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-logo-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 34px; z-index: -1;
  background: var(--brand-gradient); opacity: .35; filter: blur(22px);
}
.hero-logo-card img, .brand img { mix-blend-mode: multiply; }
.hero-logo-card img { width: 100%; animation: float 6s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-title { font-size: clamp(2.1rem, 3.9vw, 3.4rem); font-weight: 800; line-height: 1.12; margin-bottom: 22px; }
.hero-title .line { display: table; white-space: nowrap; padding-bottom: .04em; }
/* Line 1 echoes the "C" (orange → green), line 2 the "2Q" (green → blue) */
.hero-title .line:nth-child(1) { background-image: linear-gradient(90deg, #ff3d12 0%, #ff8a00 45%, #2fb40a 100%); }
.hero-title .line:nth-child(2) { background-image: linear-gradient(90deg, #2fb40a 0%, #1d9bd6 50%, #0b6fe0 100%); }
@media (max-width: 480px) { .hero-title .line { white-space: normal; } }

.tagline {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 28px; padding: 0; list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--ink);
}
.tagline li { display: inline-flex; align-items: center; gap: 10px; }
.tagline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.tagline li:nth-child(1)::before { background: var(--c2q-orange); }
.tagline li:nth-child(2)::before { background: var(--c2q-green); }
.tagline li:nth-child(3)::before { background: var(--c2q-blue); }

.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Intro / welcome ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-grid h2 { margin-bottom: 0; }
.intro-copy p { font-size: 1.08rem; }
.intro-copy p:first-child { font-size: 1.22rem; color: var(--ink); font-weight: 500; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat {
  padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.stat b { display: block; font-size: 1.05rem; color: var(--ink); }
.stat span { font-size: .9rem; color: var(--muted); }
.stat:nth-child(1) { border-top: 4px solid var(--c2q-orange); }
.stat:nth-child(2) { border-top: 4px solid var(--c2q-green); }
.stat:nth-child(3) { border-top: 4px solid var(--c2q-blue); }

/* ---------- Brand cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.brand-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.brand-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.brand-card.labs::before { background: linear-gradient(90deg, var(--c2q-blue), var(--c2q-green)); }
.brand-card.laddu::before { background: linear-gradient(90deg, var(--c2q-red), var(--c2q-orange), var(--c2q-amber)); }

.brand-badge {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; margin-bottom: 22px;
}
.brand-badge svg { width: 32px; height: 32px; }
.labs .brand-badge { background: linear-gradient(135deg, var(--c2q-blue), var(--c2q-green)); }
.laddu .brand-badge { background: linear-gradient(135deg, var(--c2q-red), var(--c2q-amber)); }

.brand-card .kicker { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.brand-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.brand-card .motto { font-weight: 700; margin-bottom: 16px; }
.labs .motto { color: var(--c2q-blue); }
.laddu .motto { color: #e85d00; }
.brand-card p { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; padding: 0; list-style: none; }
.chips li {
  font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
}
.brand-card .link-arrow { margin-top: auto; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pillars (Vision / Mission / Commitment) ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  padding: 36px 32px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar.vision .pillar-icon { background: rgba(255, 138, 0, .12); color: #e86a00; }
.pillar.mission .pillar-icon { background: rgba(47, 180, 10, .12); color: var(--c2q-green-dark); }
.pillar.commit .pillar-icon { background: rgba(11, 111, 224, .10); color: var(--c2q-blue); }
.pillar p { color: var(--muted); margin-bottom: .8em; }
.pillar p:last-child { margin-bottom: 0; }

/* ---------- Value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.value { padding: 36px 32px; background: #fff; }
.value + .value { border-left: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.value h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.value:nth-child(1) h3::before { background: var(--c2q-orange); }
.value:nth-child(2) h3::before { background: var(--c2q-green); }
.value:nth-child(3) h3::before { background: var(--c2q-blue); }
.value p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 72px); border-radius: 28px;
  background: #0f172a; color: #cbd5e1;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: var(--brand-gradient); opacity: .28; filter: blur(80px);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-outline:hover { border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .subtitle { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: 22px; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin-bottom: 32px; }

.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #cbd5e1; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero.labs { background: radial-gradient(900px 400px at 85% 0%, rgba(11, 111, 224, .08), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(47, 180, 10, .07), transparent 70%); }
.page-hero.laddu { background: radial-gradient(900px 420px at 85% 0%, rgba(255, 184, 0, .14), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(255, 61, 18, .07), transparent 70%); }
.page-hero.contact { background: var(--brand-gradient-soft); }

.labs-title { background: linear-gradient(90deg, var(--c2q-blue), #1d8fe8 45%, var(--c2q-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.laddu-title { background: linear-gradient(90deg, var(--c2q-red), var(--c2q-orange) 55%, #f5a300); -webkit-background-clip: text; background-clip: text; color: transparent; }
.labs-sub { color: var(--c2q-blue); }
.laddu-sub { color: #e85d00; }

/* Decorative hero visuals */
.visual-card {
  position: relative; aspect-ratio: 1 / 1; max-width: 440px; margin-left: auto; width: 100%;
  border-radius: 36px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
}
.visual-card svg { width: 82%; height: auto; }

/* ---------- Feature / focus cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }
.feature-grid.cols-3 .feature { flex-direction: column; }

.i-blue { background: linear-gradient(135deg, #0b6fe0, #3fa9ff); }
.i-green { background: linear-gradient(135deg, #128a00, #5fd000); }
.i-teal { background: linear-gradient(135deg, #0b6fe0, #2fb40a); }
.i-indigo { background: linear-gradient(135deg, #1e3a8a, #0b6fe0); }
.i-red { background: linear-gradient(135deg, #ff3d12, #ff7a00); }
.i-orange { background: linear-gradient(135deg, #ff7a00, #ffb800); }
.i-amber { background: linear-gradient(135deg, #f59e0b, #fcd34d); }
.i-pink { background: linear-gradient(135deg, #f43f5e, #fb923c); }
.i-violet { background: linear-gradient(135deg, #7c3aed, #ec4899); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--c2q-blue), var(--c2q-green)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Language pills (Laddu Pattu) */
.lang-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.lang-pill b { font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.contact-card {
  position: relative; overflow: hidden;
  padding: clamp(30px, 4vw, 44px); background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.contact-card.labs::before { background: linear-gradient(90deg, var(--c2q-blue), var(--c2q-green)); }
.contact-card.laddu::before { background: linear-gradient(90deg, var(--c2q-red), var(--c2q-orange), var(--c2q-amber)); }
.contact-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-card .desc { color: var(--muted); margin-bottom: 24px; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-card ul li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .97rem; }
.contact-card ul li svg { flex: none; width: 20px; height: 20px; margin-top: 4px; }
.labs ul li svg { color: var(--c2q-green); }
.laddu ul li svg { color: var(--c2q-orange); }

.email-box {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 14px 14px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
  margin-bottom: 20px;
}
.email-box a { font-weight: 700; font-size: 1.1rem; color: var(--ink); word-break: break-all; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.copy-btn:hover { border-color: var(--ink); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.copied { color: var(--c2q-green-dark); border-color: var(--c2q-green); }

.note-card {
  margin-top: 28px; padding: 28px 32px; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px dashed #cbd5e1;
  display: flex; gap: 18px; align-items: flex-start;
}
.note-card svg { flex: none; width: 28px; height: 28px; color: var(--c2q-blue); }
.note-card p { margin: 0; }

.contact-form-card {
  display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 36px;
  margin-top: 28px; padding: clamp(30px, 4vw, 44px); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-form-card h2 { margin: 8px 0 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-intro { color: var(--muted); margin: 0; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--c2q-blue); box-shadow: 0 0 0 3px rgba(11, 111, 224, .12); }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 72px 0 28px; margin-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; background: #fff; border-radius: 14px; padding: 6px 10px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.footer-motto { font-weight: 700; color: #e2e8f0; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .95rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem;
}
.footer-tagline span:nth-child(1) { color: #ffa24a; }
.footer-tagline span:nth-child(2) { color: #7fdc4a; }
.footer-tagline span:nth-child(3) { color: #66b8ff; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px; background: #fff; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-open .nav-menu { transform: none; visibility: visible; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; text-align: center; padding: 14px; display: block; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 0 8px; display: none;
  }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .has-dropdown:hover .chev { transform: none; }
  .has-dropdown.is-open .chev { transform: rotate(180deg); }
  body.nav-open { overflow: hidden; }

  .hero-grid, .intro-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .visual-card { margin: 0 auto; max-width: 360px; }
  .brand-grid, .pillar-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { grid-template-columns: 1fr; }
  .value-strip { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name small { display: none; }
  .stat-row { grid-template-columns: 1fr; }
  .steps, .feature-grid.cols-3 { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature { flex-direction: column; padding: 26px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
