:root {
  --ink: #071312;
  --charcoal: #12201f;
  --surface: #ffffff;
  --soft: #f5f8f7;
  --mist: #e6f1ee;
  --line: #dce6e3;
  --teal: #0f766e;
  --green: #12b886;
  --amber: #f2b84b;
  --rose: #c92a6d;
  --text: #21312f;
  --muted: #637571;
  --shadow: 0 18px 40px rgba(7, 19, 18, 0.13);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
  font-size: inherit;
}
button { cursor: pointer; }
.container { width: var(--container); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(90deg, #0f766e 0%, #14524c 48%, #071312 100%) top / 100% 40px no-repeat,
    rgba(7, 19, 18, 0.94);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}
.top-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  min-height: 40px;
  font-size: 0.88rem;
  color: #eafff8;
}
.top-ribbon p { margin: 0; }
.top-ribbon a { color: #ffffff; font-weight: 700; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phone-link svg {
  width: 18px;
  height: 18px;
  fill: var(--green);
}
.nav-shell {
  width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img, .footer-brand img { border-radius: 50%; background: #ffffff; padding: 4px; }
.brand span { max-width: 210px; line-height: 1.1; }
.brand span {
  max-width: 270px;
  white-space: nowrap;
  font-family: "Segoe UI Semibold", "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link, .nav-trigger {
  border: 0;
  background: transparent;
  color: #e8f2f0;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chevron {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.nav-link:hover, .nav-link.active, .nav-trigger:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.nav-cta {
  background: var(--green);
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  width: min(640px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: 180ms ease;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-panel strong {
  display: block;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
}
.dropdown-panel a {
  display: block;
  padding: 7px 0;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
}
.dropdown-panel a:hover { color: var(--ink); }
.nav-social, .footer-social, .top-social { display: flex; gap: 8px; align-items: center; }
.top-social .social-icon { width: 30px; height: 30px; background: rgba(255, 255, 255, 0.12); }
.social-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-facebook { color: #91b8ff; }
.social-instagram { color: #ff9cc2; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}
.hero-slider {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img,
.hero-slide video,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { background: var(--ink); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 18, 0.84), rgba(7, 19, 18, 0.48) 52%, rgba(7, 19, 18, 0.24));
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 120px 0 96px;
  color: #ffffff;
  max-width: var(--container);
}
.eyebrow, .section-kicker, .section-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.hero-copy h1,
.hero-copy h2 {
  margin: 12px 0 18px;
  max-width: 760px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero-title {
  max-width: 1040px !important;
  font-size: 4rem !important;
  line-height: 1.02 !important;
  white-space: nowrap;
}
.hero-copy p {
  max-width: 650px;
  margin: 0 0 18px;
  color: #e1efec;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}
.hero-copy blockquote {
  margin: 22px 0;
  padding-left: 18px;
  border-left: 4px solid var(--amber);
  color: #fff8df;
  font-size: 1.08rem;
}
.hero-actions, .cta-layout { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7, 19, 18, 0.16); }
.btn.primary { background: var(--green); color: var(--ink); }
.btn.secondary { background: rgba(255, 255, 255, 0.14); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.34); }
.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-controls button,
.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.slider-controls svg, .scroll-top svg, .icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}
.slider-dots button[aria-current="true"] { background: var(--green); }
.section { padding: 88px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head h2, .split-layout h2, .why-layout h2, .ai-layout h2, .cta-layout h2, .page-hero-copy h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.section-head p, .split-layout p, .ai-layout p, .cta-layout p { color: var(--muted); margin: 0; }
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}
.about-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.about-detail > .reveal,
.about-detail .story-aside {
  min-height: 100%;
}
.about-detail .story-aside {
  padding: 24px;
}
.about-detail h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem) !important;
  line-height: 1.14 !important;
}
.about-band, .featured-band { background: var(--soft); }
.about-band { padding-top: 34px; }
.about-heading {
  font-size: 2.15rem !important;
  line-height: 1.16 !important;
}
.image-stack { position: relative; }
.image-stack img,
.story-aside,
.reason-panel,
.service-snapshot,
.contact-form,
.contact-info,
.assistant-preview,
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 19, 18, 0.06);
}
.image-stack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.about-highlights article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--soft);
}
.about-highlights strong {
  display: block;
  color: var(--teal);
  font-size: 1.65rem;
  line-height: 1;
}
.about-highlights span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}
.story-aside {
  background: linear-gradient(135deg, #071312, #16302c);
  border-color: rgba(18, 184, 134, 0.32);
  color: #ffffff;
}
.story-aside h3 { color: var(--green); }
.story-aside .check-list li { color: #e5efec; }
.story-aside .about-highlights article {
  background: rgba(18, 184, 134, 0.1);
  border-color: rgba(18, 184, 134, 0.28);
}
.story-aside .about-highlights span { color: #e5efec; }
.metric-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(7, 19, 18, 0.88);
  color: #ffffff;
}
.metric-strip strong { font-size: 2rem; color: var(--amber); line-height: 1; }
.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(18, 184, 134, 0.45);
}
.service-card a { display: grid; min-height: 100%; grid-template-rows: 190px 1fr; }
.service-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--mist);
}
.service-icon {
  position: absolute;
  top: 148px;
  left: 18px;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--ink);
  padding: 8px;
  box-shadow: 0 10px 20px rgba(7, 19, 18, 0.18);
}
.service-card-body { padding: 34px 20px 22px; }
.service-card-body span {
  color: var(--rose);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-card h3 {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}
.home-portfolio-card .service-card-body { padding-top: 28px; }
.home-portfolio-card h3 {
  color: var(--rose);
  margin-top: 0;
}
.service-card p { color: var(--muted); margin: 0 0 16px; }
.service-card b { color: var(--teal); }
.why-band {
  background: linear-gradient(135deg, #071312 0%, #172826 52%, #1f2b22 100%);
  color: #ffffff;
}
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 36px;
}
.why-layout h2, .why-layout h3 { color: #ffffff; }
.why-title {
  font-size: 2.35rem !important;
  line-height: 1.08 !important;
  white-space: nowrap;
}
.check-list, .reason-panel ul, .site-footer ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.check-list li, .reason-panel li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #dcebe8;
}
.check-list li::before, .reason-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(18, 184, 134, 0.14);
}
.reason-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  padding: 28px;
  box-shadow: none;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ai-band {
  background: linear-gradient(90deg, var(--soft) 0%, #ffffff 100%);
}
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}
.assistant-preview {
  padding: 28px;
  background: var(--ink);
}
.assistant-line {
  max-width: 82%;
  padding: 14px 16px;
  margin: 12px 0;
  border-radius: 8px;
}
.assistant-line.user { margin-left: auto; background: var(--green); color: var(--ink); }
.assistant-line.bot { background: #ffffff; color: var(--text); }
.cta-section {
  padding: 72px 0;
  background: var(--amber);
  color: var(--ink);
}
.cta-layout {
  justify-content: space-between;
  gap: 24px;
}
.cta-layout p { color: rgba(7, 19, 18, 0.78); max-width: 720px; }
.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.page-hero.compact { min-height: 42vh; }
.about-hero.page-hero { min-height: 34vh; }
.about-hero .page-hero-copy { padding: 56px 0; }
.page-hero-copy {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 86px 0;
  max-width: 780px;
}
.page-hero-copy h1 { color: #ffffff; }
.page-hero-copy p { max-width: 660px; color: #e5efec; font-size: 1.15rem; }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}
.intro-copy p { margin: 0 0 16px; color: var(--muted); }
.service-snapshot, .story-aside, .contact-info, .contact-form { padding: 28px; }
.service-snapshot img { border-radius: 8px; background: var(--ink); padding: 10px; }
.service-snapshot h3 { margin: 18px 0 8px; color: var(--ink); }
.story-aside h3 { margin: 18px 0 8px; color: var(--green); }
.detail-band { background: var(--soft); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.detail-card { padding: 22px; }
.detail-card-visual {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  background: var(--mist);
  box-shadow: 0 14px 28px rgba(7, 19, 18, 0.1);
}
.detail-grid.two-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.market-research-grid .detail-card,
.back-office-grid .detail-card {
  min-height: 100%;
}
.back-office-grid .detail-card-visual,
.market-research-grid .detail-card-visual {
  width: 96px;
  height: 96px;
}

.customer-support-hero img {
  object-position: 70% 34%;
  transform: scale(0.92);
  transform-origin: right center;
}
.customer-acquisition-hero img { object-position: center center; }
.customer-feature-band {
  background:
    linear-gradient(135deg, rgba(18, 184, 134, 0.08), rgba(201, 42, 109, 0.08)),
    var(--soft);
}
.customer-feature-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 26px;
  border-color: rgba(18, 184, 134, 0.24);
}
.customer-feature-card img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--ink);
  padding: 7px;
  box-shadow: 0 10px 20px rgba(7, 19, 18, 0.12);
}
.customer-feature-card h2 { color: var(--teal); }
.customer-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.acquisition-work-band {
  background:
    linear-gradient(135deg, rgba(18, 184, 134, 0.07), rgba(242, 184, 75, 0.12)),
    var(--soft);
}
.lead-process-band,
.digitization-process-band {
  background:
    linear-gradient(135deg, rgba(18, 184, 134, 0.07), rgba(7, 19, 18, 0.05)),
    var(--soft);
}
.acquisition-work-grid {
  display: grid;
  gap: 20px;
}
.acquisition-work-card,
.process-media-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}
.acquisition-work-card img,
.process-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--mist);
}
.acquisition-work-card h2,
.process-media-card h2 {
  color: var(--teal);
  font-size: 1.3rem;
}
.process-bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.process-bullets li { margin-bottom: 8px; }
.detail-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
}
.detail-card p { margin: 0; color: var(--muted); }
.service-group + .service-group { margin-top: 60px; }
.group-head { margin-bottom: 20px; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 30px;
  align-items: stretch;
}
.contact-info, .contact-form { height: 100%; }
.contact-info { display: grid; align-content: start; }
.info-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row strong { color: var(--ink); }
.info-row p { margin: 4px 0 0; color: var(--muted); }
.muted-line { color: var(--muted); }
.map-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--text);
  background: #ffffff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(18, 184, 134, 0.22);
  border-color: var(--green);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.captcha-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 48px minmax(180px, 1fr);
  gap: 12px;
  align-items: end;
}
.captcha-label {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}
.captcha-code {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background:
    repeating-linear-gradient(35deg, rgba(255,255,255,0.08) 0 5px, transparent 5px 10px),
    linear-gradient(135deg, var(--ink), var(--teal));
  letter-spacing: 0.18em;
  font-size: 1.25rem;
}
.captcha-row .icon-btn {
  border-color: var(--line);
  background: var(--ink);
}
.form-status { min-height: 24px; margin: 0; color: var(--rose); font-weight: 800; }

/* Contact page compact layout */
.contact-section {
  padding: 52px 0;
}
.contact-section .contact-info,
.contact-section .contact-form {
  padding: 20px 22px;
}
.contact-section .contact-info h2 {
  margin: 8px 0 6px;
  line-height: 1.2;
}
.contact-section .info-row {
  padding: 10px 0;
}
.contact-section .map-card {
  margin-top: 14px;
}
.contact-section .map-card iframe {
  height: 210px;
}
.contact-section .contact-form {
  gap: 11px;
}
.contact-section .form-grid {
  gap: 12px;
}
.contact-section .contact-form label {
  gap: 5px;
}
.contact-section .contact-form input,
.contact-section .contact-form textarea {
  padding: 9px 11px;
}
.contact-section .contact-form textarea {
  min-height: 106px;
  resize: vertical;
}
.contact-section .captcha-row {
  gap: 10px;
}
.contact-section .captcha-code {
  min-height: 40px;
}
.contact-section .form-status {
  min-height: 16px;
}

.site-footer {
  background: var(--ink);
  color: #d8e6e3;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr) minmax(220px, 0.85fr);
  gap: 34px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
}
.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.1rem;
}
.site-footer p { color: #b9cbc7; }
.site-footer li { margin-bottom: 8px; }
.footer-services {
  columns: 2 150px;
  column-gap: 22px;
}
.footer-services li {
  break-inside: avoid;
  page-break-inside: avoid;
}
.footer-contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.footer-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}
.footer-contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(18, 184, 134, 0.12);
  border: 1px solid rgba(18, 184, 134, 0.25);
}
.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-contact-item a,
.footer-contact-item span:last-child {
  color: #d8e6e3;
}
.site-footer a:hover { color: var(--green); }
.footer-bottom {
  margin-top: 52px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: #b7c7c3;
}
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 180ms ease;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.bot-msg, .user-msg {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 10px;
}
.bot-msg { background: #ffffff; color: var(--text); }
.user-msg { margin-left: auto; background: var(--green); color: var(--ink); }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 980px) {
  .site-header { background: rgba(7, 19, 18, 0.94); }
  .top-ribbon { display: none; }
  .nav-shell { min-height: 72px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-links.open { display: flex; }
  .nav-link, .nav-trigger { color: var(--text); text-align: left; }
  .nav-cta { text-align: center; }
  .nav-social { margin-top: 8px; }
  .nav-social .social-icon { background: var(--ink); }
  .nav-dropdown {
    width: 100%;
  }
  .dropdown-panel {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 1px solid var(--line);
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 14px;
    margin-top: 4px;
  }
  /* The desktop open/hover rule uses translate(-50%). Override it at the
     same specificity on touch/mobile screens so the Services panel stays
     fully inside the mobile menu instead of shifting half off-screen. */
  .nav-dropdown.open .dropdown-panel,
  .nav-dropdown:hover .dropdown-panel {
    display: grid;
    transform: none;
  }
  .hero-slider { min-height: 680px; }
  .split-layout, .why-layout, .ai-layout, .service-layout, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .featured-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); }
  .brand span { max-width: 165px; font-size: 0.92rem; white-space: normal; }
  .hero-slider { min-height: 640px; }
  .hero-copy { padding: 92px 0 84px; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(2.35rem, 14vw, 3.4rem); }
  .hero-title { font-size: 1.9rem !important; }
  .why-title { font-size: 1.7rem !important; white-space: normal; }
  .about-heading { font-size: 1.65rem !important; }
  .section { padding: 62px 0; }
  .services-grid, .featured-grid, .detail-grid, .form-grid, .captcha-row { grid-template-columns: 1fr; }
  .acquisition-work-card, .process-media-card { grid-template-columns: 1fr; }
  .detail-grid.two-column-grid { grid-template-columns: 1fr; }

  .about-highlights { grid-template-columns: 1fr; }
  .service-card a { grid-template-rows: 170px 1fr; }
  .service-image { height: 170px; }
  .service-icon { top: 128px; }
  .metric-strip { position: static; margin-top: 12px; }
  .cta-layout { align-items: flex-start; }
  .page-hero { min-height: 470px; }
  .page-hero.compact { min-height: 410px; }
  .footer-grid { gap: 24px; }
  .footer-services { columns: 2 140px; }
  .scroll-top { right: 16px; bottom: 18px; }
}

/* CRM page custom visuals */
.crm-snapshot-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 16px !important;
  background: #ffffff !important;
  padding: 8px !important;
  box-shadow: 0 14px 30px rgba(7, 19, 18, 0.12);
}
.detail-card.objectives-full {
  grid-column: 1 / -1;
}
.detail-card.objectives-full p {
  max-width: 100%;
}
@media (max-width: 720px) {
  .detail-card.objectives-full { grid-column: auto; }
}

/* Mobile app development page custom card layout */
.mobile-dev-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mobile-dev-grid .detail-card-visual {
  width: 96px;
  height: 96px;
}
.mobile-dev-full {
  grid-column: 1 / -1;
}
.mobile-dev-full p {
  max-width: 100%;
}
@media (max-width: 640px) {
  .mobile-dev-grid { grid-template-columns: 1fr; }
  .mobile-dev-full { grid-column: auto; }
}

/* AI powered services page custom visuals */
.ai-powered-grid .detail-card-visual {
  width: 96px;
  height: 96px;
}
@media (max-width: 640px) {
  .ai-powered-grid { grid-template-columns: 1fr; }
}

/* Data center page custom visuals */
.data-center-grid .detail-card-visual {
  width: 96px;
  height: 96px;
}
.data-center-full {
  grid-column: 1 / -1;
}
.data-center-full p {
  max-width: 100%;
}
@media (max-width: 640px) {
  .data-center-full { grid-column: auto; }
}

/* Cloud telephony page custom visuals */
.cloud-telephony-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cloud-telephony-grid .detail-card-visual {
  width: 96px;
  height: 96px;
}
@media (max-width: 640px) {
  .cloud-telephony-grid { grid-template-columns: 1fr; }
}
