:root {
  --bg: #f8f4ef;
  --bg-2: #f1ebe3;
  --card: #ffffff;
  --line: #e6ddd2;
  --text: #1a1714;
  --muted: #635c55;
  --accent: #f04b1e;
  --accent-2: #ff6a3d;
  --gold: #c08a10;
  --ok: #1f8a4c;
  --err: #c0392b;
  --font: Raleway, sans-serif;
  --head: Montserrat, sans-serif;
  --shadow: 0 16px 40px rgba(26, 23, 20, .07);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
::placeholder { color: #9a9289; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; padding: 14px 26px; border: 1px solid #1a1714;
  background: transparent; color: #1a1714; font-weight: 700; cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em; font-size: 13px;
  transition: .3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,75,30,.18); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: #ff5a2c; }
.btn-ghost { background: #fff; }
.btn-light { background: #1a1714; color: #fff; border-color: #1a1714; }

.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.55) 70%, transparent);
  transition: .3s;
}
.site-header.is-sticky {
  position: fixed; background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 10px 0; box-shadow: 0 8px 24px rgba(26,23,20,.06);
}
.header-inner {
  width: min(1200px, calc(100% - 40px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { flex: 0 0 auto; min-width: 0; }
.header-right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.header-cta { min-width: 0; padding: 10px 16px; font-size: 12px; white-space: nowrap; }
.brand img { height: 56px; width: auto; max-width: min(160px, 42vw); background: #fff; padding: 6px 10px; border-radius: 10px; box-shadow: var(--shadow); }
.header-phone {
  color: var(--accent); font-weight: 700; display: flex; gap: 8px; align-items: center; font-size: 15px;
  white-space: nowrap;
}
.header-phone i { animation: ring 2.4s ease-in-out infinite; }
.nav-toggle {
  background: #fff; border: 1px solid var(--line); color: var(--accent); font-size: 22px; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; box-shadow: var(--shadow); flex: 0 0 auto;
}
.site-nav {
  position: fixed; inset: 0 auto 0 0; width: min(460px, 92vw);
  background: #fff; transform: translateX(-110%); transition: .35s cubic-bezier(.2,.8,.2,1);
  padding: 80px 36px 36px; overflow: auto; z-index: 70; border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav.open { transform: none; }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(26,23,20,.28); z-index: 60; opacity: 0; pointer-events: none; transition: .3s;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
.site-nav a, .site-nav button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: var(--text); padding: 12px 0; font-size: 20px; cursor: pointer; font-family: var(--head);
}
.site-nav a:hover, .site-nav button:hover { color: var(--accent); }
.nav-close { position: absolute; top: 18px; right: 22px; font-size: 34px; color: var(--text); background: none; border: 0; cursor: pointer; }
.has-sub .submenu { display: none; padding: 6px 0 10px 8px; }
.has-sub.open .submenu { display: block; animation: fadeInUp .35s ease; }
.submenu p { color: var(--accent); margin: 14px 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.submenu a { font-size: 15px; color: var(--muted); padding: 6px 0; font-family: var(--font); }

.social-rail {
  position: fixed; left: 16px; top: 46%; z-index: 30; display: flex; flex-direction: column; gap: 12px;
}
.social-rail a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--text); transition: .3s; box-shadow: var(--shadow);
}
.social-rail a:hover { transform: translateY(-3px) scale(1.06); }
.social-rail a.fb { color: #1877f2; border-color: #1877f2; }
.social-rail a.ig { color: #e4405f; border-color: #e4405f; }
.social-rail a.in { color: #0a66c2; border-color: #0a66c2; }
.social-rail a.x { color: #111; }

.float-actions { position: fixed; right: 16px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow);
  animation: floaty 3s ease-in-out infinite;
}
.fab.wa { background: #25d366; border-color: #25d366; color: #fff; }
.fab.mail { background: #fff; color: var(--accent); }
.to-top {
  position: fixed; right: 16px; bottom: 140px; z-index: 40; width: 42px; height: 42px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer; display: none; border-radius: 8px;
}
.to-top.show { display: grid; place-items: center; }

.hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(circle at 12% 8%, #ffe3d4 0%, transparent 32%),
    radial-gradient(circle at 90% 18%, #fff0e4 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f4ef 100%);
}
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 48px; align-items: center;
}
.hero-copy h1 {
  font-family: var(--head); font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.08; margin: 12px 0 18px; font-weight: 700; letter-spacing: -1.2px;
  color: #1a1714; max-width: 14ch;
}
.hero-sub { font-size: 18px; max-width: 54ch; font-weight: 500; color: var(--muted); margin: 0 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 600; }
.hero-points i { color: var(--accent); margin-top: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow);
}
.panel-kicker { margin: 0 0 14px; font-weight: 800; font-family: var(--head); }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cap-card {
  display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); min-height: 132px; transition: .25s ease;
}
.cap-card i { color: var(--accent); font-size: 18px; }
.cap-card strong { font-family: var(--head); font-size: 15px; }
.cap-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.cap-card:hover { border-color: var(--accent); background: #fff; }
.trust { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

.promise-bar { background: #1a1714; color: #fff; padding: 34px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.promise-grid article { display: grid; gap: 8px; align-content: start; }
.promise-grid i { color: var(--accent); font-size: 18px; }
.promise-grid strong { font-family: var(--head); font-size: 16px; color: #fff; }
.promise-grid span { color: #c9c2ba; font-size: 13px; line-height: 1.55; }

.strip { background: #fff; padding: 42px 0; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: center; }
.strip h3 { margin: 6px 0 0; font-family: var(--head); font-size: clamp(22px, 3vw, 30px); }
.strip-cta { text-align: right; }
.mail-link { display: block; margin-top: 10px; color: var(--accent); font-weight: 600; }

.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head h2, .section-title, .about-block h2, .unique h2, .grow h2, .process h2, .blog-home h2, .faq h2 {
  font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin: 6px 0 10px;
}
.group-label {
  margin: 28px 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 800;
}

.about-block { padding: 88px 0 40px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.about-block p { color: var(--muted); font-size: 17px; }

.industries { padding: 20px 0 70px; }
.industry-grid, .svc-grid, .unique-grid, .grow-grid, .process-grid, .blog-grid, .card-grid, .team-grid, .service-cards {
  display: grid; gap: 18px;
}
.industry-grid { grid-template-columns: repeat(6, 1fr); }
.svc-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 8px; }
.unique-grid, .grow-grid, .process-grid, .blog-grid, .card-grid, .team-grid, .service-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.industry-card, .svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow); display: grid; gap: 8px; min-height: 100%;
  transition: .3s ease;
}
.industry-card i, .svc-card i { color: var(--accent); font-size: 20px; }
.industry-card strong, .svc-card strong { font-family: var(--head); }
.svc-card span { color: var(--muted); font-size: 13px; }
.svc-card em { font-style: normal; color: var(--accent); font-weight: 700; font-size: 13px; margin-top: 6px; }
.industry-card:hover, .svc-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(240,75,30,.12); }

.services-home { padding: 10px 0 80px; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { white-space: nowrap; font-size: 30px; font-weight: 800; color: #c4b5a4; padding: 0 28px; font-family: var(--head); }

.unique { padding: 100px 0 60px; background: #fff; }
.unique-title { font-family: var(--head); font-size: clamp(28px, 4vw, 44px); margin: 0 0 18px; }
.word-rotator { display: inline-block; min-width: 260px; color: var(--accent); font-style: italic; }
.word-rotator span { display: none; }
.word-rotator span:first-child { display: inline; }
.unique p { color: var(--muted); }
.unique-grid, .grow-grid, .process-grid, .testi-grid, .blog-grid, .card-grid, .team-grid, .service-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px;
}
.unique-grid article, .grow-grid article, .process-grid article,
.testimonials blockquote, .blog-grid article, .work-card, .team-card, .ticket-box, .service-cards article {
  background: #fff; border: 1px solid var(--line); padding: 26px 22px; transition: .35s;
  box-shadow: var(--shadow); border-radius: var(--radius);
}
.unique-grid article:hover, .grow-grid article:hover, .process-grid article:hover,
.blog-grid article:hover, .work-card:hover, .service-cards article:hover {
  transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(240,75,30,.12);
}
.unique-grid h3, .grow-grid h3, .process-grid h3 { font-family: var(--head); margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; text-align: center; }
.stats strong { display: block; font-size: 48px; color: var(--gold); font-family: var(--head); }
.stats span { color: var(--muted); }

.grow, .process, .testimonials, .blog-home, .faq, .content-wrap { padding: 90px 0; }
.grow { background: var(--bg-2); }
.process { background: var(--bg); }
.testimonials { background: var(--bg-2); }
.blog-home { background: #fff; }
.faq { background: var(--bg-2); }
.content-wrap { background: var(--bg); }
.grow h2, .process h2, .blog-home h2, .faq h2, .testimonials .eyebrow {
  font-family: var(--head); font-size: clamp(28px, 4vw, 42px); display: block;
}
.process-track {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #ffc4b0);
  z-index: 0;
}
.process-track li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--head);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(240, 75, 30, .16);
}
.step-body {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  min-height: 230px;
  transition: .3s ease;
}
.step-body:hover { border-color: var(--accent); box-shadow: 0 18px 40px rgba(240,75,30,.12); }
.step-body h3 { font-family: var(--head); margin: 0 0 10px; font-size: 20px; }
.step-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.step-body em {
  display: inline-block;
  margin-top: 16px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede, .meta, .role { color: var(--muted); }
.stars { color: var(--gold); display: block; letter-spacing: 2px; }
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-track blockquote { min-width: 100%; margin: 0; }
.testi-nav { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.testi-nav button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #d7cfc4; cursor: pointer; }
.testi-nav button.on { background: var(--accent); }

.blog-home article .meta { font-size: 13px; color: var(--accent); }
.more { color: var(--accent); font-weight: 700; display: inline-block; margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--head); list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); animation: fadeInUp .35s ease; }

.page-hero {
  padding: 170px 0 70px;
  background:
    radial-gradient(circle at 80% 0%, #ffe3d4, transparent 42%),
    linear-gradient(180deg, #fff, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--head); font-size: clamp(36px, 6vw, 64px); margin: 0 0 12px; color: var(--text); }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 18px; }
.rich :where(h2,h3) { font-family: var(--head); line-height: 1.25; color: var(--text); }
.rich h2 { font-size: 22px; margin: 28px 0 10px; }
.rich h2:first-child { margin-top: 0; }
.rich p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }
.rich p, .rich li { color: var(--muted); }
.rich ul { margin: 8px 0 22px; padding-left: 18px; }
.rich li { margin: 7px 0; line-height: 1.55; }
.rich a { color: var(--accent); }
.service-cta { margin-top: 28px; }
.split-content { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; }
.side-list {
  background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); height: fit-content;
}
.side-list h3 { font-family: var(--head); margin-top: 0; }
.side-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.side-list a.active, .side-list a:hover { color: var(--accent); }
.stack-form { display: grid; gap: 8px; }
.stack-form input, .stack-form select, .stack-form textarea,
.cta-form input, .cta-form select, .cta-form textarea,
.modal input, .modal select, .modal textarea {
  width: 100%; padding: 13px 14px; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; transition: .2s;
}
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus,
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus,
.modal input:focus, .modal select:focus, .modal textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,75,30,.12);
}
.alert { padding: 12px 14px; margin-bottom: 16px; border-radius: 8px; }
.alert.ok { background: #e8f6ee; color: #146c3b; }
.alert.err { background: #fdeaea; color: #9b1c1c; }
.reply { margin: 12px 0; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.reply.admin { border-color: var(--accent); }
.contact-aside {
  background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); height: fit-content;
}
.contact-aside h3 { font-family: var(--head); margin-top: 0; }
.contact-aside a { color: var(--accent); }

.footer-cta {
  background: #1a1714; color: #fff; padding: 56px 0;
}
.footer-cta .eyebrow { color: #ffb199; }
.footer-cta .lede { color: #c9c2ba; }
.footer-cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.footer-cta h2 { font-family: var(--head); font-size: clamp(26px, 3.4vw, 38px); margin: 6px 0 8px; color: #fff; }
.footer-contact { margin-top: 18px; color: var(--muted); line-height: 1.8; }
.site-footer { padding: 50px 0 0; background: #efe8de; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.contact-map {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 220px; background: #fff;
}
.contact-map iframe { width: 100%; height: 240px; border: 0; display: block; }
.contact-map-wide iframe { height: 340px; }
.addr { white-space: pre-line; }
.practice-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.practices { padding: 8px 0 28px; }
.practice-grid article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
}
.practice-grid i { color: var(--accent); font-size: 20px; margin-bottom: 10px; display: block; }
.practice-grid h3 { font-family: var(--head); margin: 0 0 8px; font-size: 18px; }
.practice-grid p { margin: 0; color: var(--muted); }
.intel-home { padding: 20px 0 48px; }
.intel-intro { max-width: 72ch; margin-bottom: 28px; }
.intel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.intel-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.intel-card i { color: var(--accent); font-size: 22px; }
.intel-card h3 { font-family: var(--head); margin: 10px 0 8px; }
.intel-card .btn-sm { margin-left: 12px; padding: 8px 12px; font-size: 13px; }
.intel-visit {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.btn-sm { display: inline-flex; }
.footer-logo { height: 56px; background: #fff; padding: 8px 10px; border-radius: 8px; margin-bottom: 12px; box-shadow: var(--shadow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; color: var(--muted); }
.site-footer h4 { margin: 0 0 12px; font-family: var(--head); }
.site-footer a:hover { color: var(--accent); }
.copyright { text-align: center; padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--line); color: #8a837b; background: #eae2d6; }

.flash-bar {
  position: relative; z-index: 40; text-align: center; padding: 12px 18px; font-weight: 600;
}
.flash-bar.ok { background: #e8f6ee; color: #146c3b; }
.flash-bar.err { background: #fdeaea; color: #9b1c1c; }
body.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; background: rgba(26,23,20,.52); display: grid; place-items: center;
  z-index: 100; padding: 20px; animation: fadeIn .25s ease; backdrop-filter: blur(6px);
}
.modal[hidden] { display: none; }
.modal-card {
  background: #fff; padding: 32px 28px 28px; width: min(560px, 100%);
  border: 1px solid var(--line); position: relative; animation: zoomIn .3s ease;
  box-shadow: 0 24px 60px rgba(26,23,20,.18); color: var(--text); border-radius: 16px;
  max-height: min(92vh, 820px); overflow: auto;
}
.modal-lead { color: var(--muted); margin: 0 0 20px; }
.modal-card h3 { font-family: var(--head); font-size: 26px; margin: 4px 0 8px; }
.demo-form, .demo-form label { display: grid; gap: 8px; }
.demo-form label { font-size: 13px; font-weight: 700; color: #3f3a35; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-weight: 500; color: var(--text); background: #fff;
}
.demo-form button { margin-top: 6px; width: 100%; }
.modal-close {
  position: absolute; right: 12px; top: 10px; background: #f3efe9; border: 0; color: var(--text);
  font-size: 26px; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; line-height: 1;
}
.modal-close:hover { background: #ece6dc; }

[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
[data-aos].aos-in { opacity: 1; transform: none; }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(.86); }
[data-aos].aos-in[data-aos="zoom-in"] { transform: none; }
[data-aos].aos-in[data-aos="fade-right"],
[data-aos].aos-in[data-aos="fade-left"] { transform: none; }

@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulseGold { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ring { 0%,80%,100% { transform: rotate(0); } 85% { transform: rotate(12deg); } 90% { transform: rotate(-10deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
  .header-cta { display: none; }
  .social-rail { display: none; }
}
@media (max-width: 980px) {
  .container, .narrow, .header-inner { width: min(1200px, calc(100% - 32px)); }
  .hero-layout, .about-grid, .split-content, .strip-inner, .split, .footer-grid, .stats, .stat-grid, .footer-cta-inner, .demo-grid, .intel-grid, .intel-visit { grid-template-columns: 1fr; }
  .unique-grid, .grow-grid, .blog-grid, .card-grid, .team-grid, .service-cards {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid, .testi-grid {
    grid-template-columns: 1fr;
  }
  .strip-cta { text-align: left; }
  .hero-copy h1 { max-width: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-card { min-height: 0; }
  .process-track { grid-template-columns: 1fr; gap: 16px; }
  .process-track li { grid-template-columns: 48px 1fr; align-items: start; gap: 12px; }
  .step-node { width: 48px; height: 48px; font-size: 14px; }
  .step-body { min-height: 0; padding: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .footer-cta-inner .btn, .intel-visit .btn, .service-cta .btn, .stack-form .btn { width: 100%; min-width: 0; }
  .intel-card p:last-child { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .intel-card .btn-sm { margin-left: 0; width: 100%; }
  .word-rotator { min-width: 0; }
}
@media (max-width: 767px) {
  .container, .narrow, .header-inner { width: min(1200px, calc(100% - 24px)); }
  .header-inner { gap: 10px; }
  .header-right { gap: 8px; }
  .header-phone {
    width: 42px; height: 42px; justify-content: center; gap: 0;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow);
  }
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .brand img { height: 42px; padding: 4px 8px; }
  .nav-toggle { width: 42px; height: 42px; }
  .site-header, .site-header.is-sticky { padding: 10px 0; }
  .hero { padding: 108px 0 36px; }
  .page-hero { padding: 108px 0 36px; }
  .page-hero h1 { font-size: clamp(28px, 9vw, 42px); }
  .page-hero p { font-size: 16px; }
  .hero-copy h1 { font-size: clamp(28px, 8.4vw, 40px); letter-spacing: -0.6px; }
  .hero-sub { font-size: 16px; }
  .hero-panel { padding: 16px; }
  .cap-card { padding: 12px; min-height: 0; }
  .cap-card span { font-size: 12px; }
  .promise-bar { padding: 22px 0; }
  .promise-grid, .practice-grid { gap: 12px; }
  .industry-grid, .svc-grid, .unique-grid, .grow-grid, .blog-grid, .card-grid, .team-grid, .service-cards { grid-template-columns: 1fr; }
  .about-block { padding: 48px 0 24px; }
  .unique, .grow, .process, .testimonials, .blog-home, .faq, .content-wrap { padding: 48px 0; }
  .footer-cta { padding: 36px 0; }
  .footer-cta-inner { gap: 16px; }
  .site-footer { padding-top: 36px; }
  .marquee-track span { font-size: 18px; padding: 0 16px; }
  .btn { min-width: 0; padding: 12px 18px; }
  .float-actions { right: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .to-top { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .site-nav { width: min(100vw, 400px); padding: 72px 22px 28px; }
  .site-nav a, .site-nav button { font-size: 18px; }
  .modal { padding: 0; align-items: end; }
  .modal-card {
    width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh;
    padding: 28px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .contact-map iframe, .contact-map-wide iframe { height: 220px; }
  .stats strong { font-size: 32px; }
}
@media (max-width: 360px) {
  .practice-grid { grid-template-columns: 1fr; }
}
