/* ============ Level 99 Global — shared styles ============ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500;1,700&display=swap');

:root {
  --blue: #3b46d9;
  --blue-bright: #4361ff;
  --indigo: #4f3fd6;
  --accent-num: #4f6bff;
  --navy: #0e1626;
  --navy-2: #0a1120;
  --ink: #141a28;
  --text: #4b5567;
  --text-soft: #6b7484;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e7eaf0;
  --badge-bg: #e9eeff;

  --hero-grad: linear-gradient(118deg, #262a8e 0%, #3a37a6 34%, #5a2d97 72%, #6e2f8d 100%);
  --btn-grad: linear-gradient(135deg, #3f5bff 0%, #5b3fe0 100%);
  --card-business: linear-gradient(150deg, #5161ff 0%, #9b4dff 100%);
  --card-ai: linear-gradient(150deg, #8b4dff 0%, #e94db5 100%);
  --card-edu: linear-gradient(150deg, #3f6bff 0%, #1fc6d6 100%);

  --maxw: 1180px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(16,22,38,.04), 0 8px 24px rgba(16,22,38,.05);
}

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

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

body {
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* contain off-screen reveal transforms without breaking the sticky header */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--btn-grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 12px rgba(63,91,255,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; }
.brand-sub { font-weight: 600; color: var(--blue); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-weight: 600; font-size: 15px; color: #3a4150;
  padding: 9px 16px; border-radius: 9px; transition: .15s;
}
.nav-link:hover { background: var(--bg-soft); }
.nav-link.active { background: var(--badge-bg); color: var(--blue); }
.nav .btn-cta { display: none; } /* in-menu CTA only shows in the mobile menu */

.btn-cta {
  font-family: inherit; font-weight: 700; font-size: 15px;
  color: #fff; background: var(--btn-grad);
  padding: 11px 22px; border-radius: 10px; border: 0; cursor: pointer;
  box-shadow: 0 6px 16px rgba(63,91,255,.32);
  transition: transform .15s, box-shadow .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(63,91,255,.4); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-soft); }

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

/* ============ Hero (inner pages) ============ */
.hero {
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: 92px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 38%, 86% 60%, 72% 30%, 55% 64%, 38% 28%, 22% 58%, 8% 32%, 0 56%);
}
.hero .container { position: relative; z-index: 2; max-width: 860px; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: 56px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.hero-tagline { font-style: italic; font-weight: 700; font-size: 22px; color: #dfe3ff; margin-bottom: 20px; }
.hero-lead { font-size: 18px; color: rgba(255,255,255,.86); max-width: 620px; margin: 0 auto; line-height: 1.6; }

/* ============ Home hero (full) ============ */
.home-hero {
  background: linear-gradient(150deg, #2b2f9a 0%, #3835ab 50%, #4a37b0 100%);
  color: #fff;
  min-height: calc(100vh - 72px);
  display: flex; align-items: flex-end;
  padding: 80px 0 110px;
  position: relative; overflow: hidden;
}
#hero-mesh {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.home-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: var(--hero-edge-h, 48px); z-index: 1;
  background: #fff;
  clip-path: var(--hero-edge-clip, polygon(0% 100%, 100% 100%, 100% 62%, 90% 14%, 80% 72%, 70% 10%, 60% 78%, 50% 12%, 40% 74%, 30% 16%, 20% 70%, 10% 12%, 0 58%));
}
.home-hero .container { max-width: var(--maxw); position: relative; z-index: 2; }
.home-hero .inner { max-width: 720px; }
.home-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
}
.home-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.home-hero h1 {
  font-size: 70px; font-weight: 800; color: #fff; line-height: 1.0; margin-bottom: 18px;
}
.home-hero h1 .accent {
  display: block;
  background: var(--accent-grad, linear-gradient(95deg, #8fb4ff 0%, #c8d8ff 35%, #a8b9ff 55%, #8fb4ff 100%));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 1;
  animation: shimmer 7s linear infinite;
}
.home-hero .tagline { font-style: italic; font-weight: 700; font-size: 25px; color: #d9deff; margin-bottom: 24px; }
.home-hero p.lead { font-size: 19px; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 38px; }
.home-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-white {
  font-family: inherit; font-weight: 700; font-size: 16px; color: var(--blue);
  background: #fff; padding: 15px 26px; border-radius: 11px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; transition: transform .15s;
}
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost {
  font-family: inherit; font-weight: 700; font-size: 16px; color: #fff;
  background: transparent; padding: 15px 26px; border-radius: 11px;
  border: 1.5px solid rgba(255,255,255,.45); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; transition: .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.section-head h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.section-head .underline { width: 56px; height: 4px; background: var(--blue-bright); border-radius: 2px; margin: 0 auto 22px; }
.section-head p { color: var(--text-soft); font-size: 18px; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.title-underline { width: 56px; height: 4px; background: var(--blue-bright); border-radius: 2px; margin: 18px 0 24px; }

/* ============ About — Our Story ============ */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-text h2 { font-size: 38px; font-weight: 800; }
.story-text p { margin-bottom: 18px; }
.stats-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: stretch; min-height: 100%; }
.stat-card {
  flex: 1; min-width: 150px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-card);
  height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-num { font-size: 34px; font-weight: 800; color: var(--accent-num); line-height: 1; margin-bottom: 10px; }
.stat-globe { display: flex; justify-content: center; }
.stat-globe svg { width: 40px; height: 40px; }

/* Scroll reveal for practice cards */
.reveal {
  opacity: 0; will-change: opacity, transform;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.from-left  { transform: translateX(-64px); }
.reveal.from-right { transform: translateX(64px); }
.reveal.from-top    { transform: translateY(-48px); }
.reveal.from-bottom { transform: translateY(56px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Values cards: keyframe entrance (keeps the hover-lift transition snappy) */
.values-grid .value-card.reveal { transition: none; }
.values-grid .value-card.reveal.is-visible {
  transition: transform .18s, box-shadow .18s;
  animation: valueRise .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes valueRise {
  from { opacity: 0; transform: translateY(-46px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-label { font-weight: 700; color: var(--ink); font-size: 16px; }
.stat-desc { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

/* ============ Mission / Vision ============ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-grid.mv-centered { display: flex; flex-wrap: wrap; justify-content: center; }
.mv-grid.mv-wide { display: grid; grid-template-columns: 1fr 1fr; }
.mv-grid.mv-wide .mv-card { width: auto !important; }
.mv-card { border-radius: 20px; padding: 42px; }
.mv-card .ic { width: 44px; height: 44px; margin-bottom: 26px; }
.mv-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.mv-card p { font-size: 16px; line-height: 1.65; }
.mv-mission { background: linear-gradient(140deg, #3f5bff, #5b3fe0); color: #fff; }
.mv-mission h3 { color: #fff; }
.mv-mission p { color: rgba(255,255,255,.92); }
.mv-mission .ic { color: #fff; }
.mv-vision { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.mv-vision .ic { color: #7c3aed; }

/* ============ Values ============ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow-card);
  transition: transform .18s, box-shadow .18s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,22,38,.1); }
.value-ic {
  width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 20px;
  display: grid; place-items: center;
}
.value-ic.b1 { background: #e9eeff; color: var(--blue-bright); }
.value-ic.b2 { background: #f0e9ff; color: #7c3aed; }
.value-ic.b3 { background: #fbe9f5; color: #d6409f; }
.value-ic.b4 { background: #e6f7fa; color: #0fa9bd; }
.value-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.value-card p { font-size: 15px; color: var(--text-soft); line-height: 1.6; }

/* ============ Services practice areas ============ */
.practice { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.practice.reverse .practice-visual { order: -1; }
.practice h2 { font-size: 38px; font-weight: 800; }
.practice .lead { color: var(--text); margin-bottom: 26px; font-size: 17px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--text); }
.feature-list svg { flex-shrink: 0; margin-top: 3px; }
.check-blue { color: var(--blue-bright); }
.check-purple { color: #b14de0; }
.check-cyan { color: #1fb6c8; }
.check-teal { color: #0d9488; }
.feature-list li strong { color: var(--ink); font-weight: 700; }

.practice-card {
  border-radius: 24px; padding: 54px 40px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 290px;
}
.practice-card .pic { width: 56px; height: 56px; margin-bottom: 26px; }
.practice-card h3 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 14px; line-height: 1.15; }
.practice-card p { color: rgba(255,255,255,.9); font-size: 16px; max-width: 280px; }
.pc-business { background: var(--card-business); }
.pc-ai { background: var(--card-ai); }
.pc-edu { background: var(--card-edu); }
.pc-device { background: linear-gradient(150deg, #0f9d77 0%, #0e7490 100%); }

.btn-grad {
  font-family: inherit; font-weight: 700; font-size: 15px; color: #fff;
  padding: 14px 26px; border-radius: 11px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  transition: transform .15s, box-shadow .15s;
}
.btn-grad:hover { transform: translateY(-2px); }
.btn-grad.g-business { background: var(--card-business); box-shadow: 0 8px 20px rgba(123,77,255,.3); }
.btn-grad.g-ai { background: var(--card-ai); box-shadow: 0 8px 20px rgba(233,77,181,.3); }
.btn-grad.g-edu { background: var(--card-edu); box-shadow: 0 8px 20px rgba(31,198,214,.3); }
.btn-grad.g-blue { background: var(--btn-grad); box-shadow: 0 8px 20px rgba(63,91,255,.3); }
.btn-grad.g-device { background: linear-gradient(135deg, #0f9d77 0%, #0e7490 100%); box-shadow: 0 8px 20px rgba(14,116,144,.3); }

/* ============ CTA band ============ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: 38px; font-weight: 800; margin-bottom: 18px; }
.cta-band p { color: var(--text-soft); font-size: 18px; max-width: 600px; margin: 0 auto 34px; }

/* ============ Contact cards ============ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: -52px; position: relative; z-index: 5; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-card);
}
.contact-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; }
.contact-ic.b1 { background: #e9eeff; color: var(--blue-bright); }
.contact-ic.b2 { background: #f0e9ff; color: #7c3aed; }
.contact-ic.b3 { background: #f0e9ff; color: #7c3aed; }
.contact-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.contact-card p { font-size: 15px; color: var(--text-soft); line-height: 1.7; }
.contact-card a { color: var(--blue); font-weight: 600; }

/* ============ Contact form ============ */
.form-wrap { max-width: 620px; margin: 0 auto; }
.form-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(16,22,38,.08); overflow: hidden; }
.form-head { background: linear-gradient(120deg, #3f5bff, #5b3fe0); color: #fff; padding: 30px 36px; }
.form-head h2 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.form-head p { color: rgba(255,255,255,.9); font-size: 15px; }
.form-body { padding: 36px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 9px; }
.field label .req { color: #e0457b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; background: #fafbfd;
  transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-bright); background: #fff; box-shadow: 0 0 0 3px rgba(67,97,255,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; font-family: inherit; font-weight: 700; font-size: 16px; color: #fff;
  background: linear-gradient(120deg, #3f5bff, #5b3fe0); padding: 16px; border: 0; border-radius: 11px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 20px rgba(63,91,255,.3); transition: transform .15s;
}
.btn-submit:hover { transform: translateY(-2px); }
.form-note { text-align: center; font-size: 13px; color: var(--text-soft); margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Footer ============ */
.footer-strip { background: var(--navy); color: rgba(255,255,255,.62); font-size: 14px; text-align: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-strip b { color: #fff; font-weight: 700; }
.footer { background: var(--navy); color: rgba(255,255,255,.66); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer-about { font-size: 15px; line-height: 1.7; margin: 20px 0 24px; max-width: none; padding: 0 14px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: .15s; }
.social-row a:hover { background: var(--blue-bright); color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-col ul a, .footer-col ul li { font-size: 15px; color: rgba(255,255,255,.66); transition: .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact .row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--blue-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .home-hero h1 { font-size: 56px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; width: 100%; }
  .header-inner { height: 64px; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-cta { display: none; }
  .nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 22px; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(16,22,38,.1);
    transform: translateY(-130%); transition: transform .28s ease; z-index: 55;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 16px; font-size: 15px; }
  .nav .btn-cta { display: inline-flex; justify-content: center; margin-top: 8px; width: 100%; }

  .hero { padding: 60px 0 76px; }
  .hero h1 { font-size: 32px; }
  .hero-tagline { font-size: 17px; }
  .hero-lead { font-size: 15px; }

  /* hero inner must never exceed the viewport */
  .home-hero { min-height: auto; padding: 60px 0 72px; align-items: center; }
  .home-hero .inner { width: 100% !important; max-width: 100%; }
  .home-hero h1 { font-size: 34px; }
  .home-hero h1 span { font-size: 32px !important; }
  .home-hero .tagline { font-size: 18px; }
  .home-hero p.lead { font-size: 15px; margin-bottom: 30px; }
  .home-badge { font-size: 12px; }
  .home-cta { flex-direction: column; align-items: stretch; }
  .home-cta button { justify-content: center; }
  .btn-white, .btn-ghost { font-size: 15px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2, .story-text h2, .practice h2, .cta-band h2 { font-size: 27px; }
  .mv-card h3 { font-size: 22px; }
  .section-head p { font-size: 15px; }
  .eyebrow { font-size: 12px; }
  .feature-list li { font-size: 14px; }
  .practice .lead { font-size: 15px; }
  .practice-card h3 { font-size: 22px; }
  .practice-card p { font-size: 14px; }
  .stat-num { font-size: 28px; }
  .value-card h3 { font-size: 17px; }
  .value-card p { font-size: 14px; }

  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Stats: 2 side by side, last one full width — never all three stacked */
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-row .stat-card { width: auto; min-width: 0; }
  .stats-row .stat-card:last-child { grid-column: 1 / -1; }
  /* Mission / Vision: drop fixed widths + left pad that overflow mobile.
     Force single column for BOTH layouts (mv-centered flex AND mv-wide grid,
     which the Tweaks panel toggles between). */
  .mv-grid,
  .mv-grid.mv-wide,
  .mv-grid.mv-centered { grid-template-columns: 1fr !important; gap: 20px; flex-direction: column; align-items: stretch; padding-left: 0 !important; padding-right: 0 !important; }
  .mv-grid .mv-card,
  .mv-grid.mv-wide .mv-card,
  .mv-grid.mv-centered .mv-card { width: 100% !important; }
  .mv-card { padding: 32px 28px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 28px 18px; }

  .practice { grid-template-columns: 1fr; gap: 32px; }
  .practice.reverse .practice-visual { order: 0; }
  .practice-card { min-height: 230px; padding: 44px 30px; }

  .contact-cards { grid-template-columns: 1fr; margin-top: -36px; gap: 18px; }
  .form-head { padding: 26px 24px; }
  .form-head h2 { font-size: 22px; }
  .form-body { padding: 26px 22px; }

  /* Teammate asks: more padding on the contact section + footer on mobile, kept
     consistent so contact → form → footer share the same content edges */
  #contact .container,
  #get-in-touch .container,
  .footer .container { padding-left: 28px; padding-right: 28px; }
  .footer { padding-top: 52px; }
  /* Align everything in the footer to one left edge (logo, description, columns,
     copyright). Neutralise the desktop-only horizontal indent on the brand/about. */
  .footer .brand { padding-left: 0 !important; padding-right: 0 !important; }
  .footer-about { padding-left: 0; padding-right: 0; }
  /* Pages + Services share one row to shorten the footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-grid > :nth-child(1) { grid-column: 1 / -1; }
  .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .values-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 30px; }
  .home-hero h1 span { font-size: 28px !important; }
  .hero h1 { font-size: 27px; }
}

/* ============ One-page anchors + hero animation ============ */
#about, #services, #contact, #get-in-touch { scroll-margin-top: 84px; }

@keyframes shimmer { to { background-position: 220% 0; } }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.anim { opacity: 0; animation: riseIn .85s cubic-bezier(.2,.7,.2,1) both; }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  50%      { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}
.home-badge .dot { animation: dotPulse 2.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .anim { animation: none; opacity: 1; }
  .home-hero h1 .accent { animation: none; }
  .home-badge .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .values-grid .value-card.reveal.is-visible { animation: none; }
  html { scroll-behavior: auto; }
}
