@charset "UTF-8";
/*
  Bigstone Agency — override + new-component layer
  Loads AFTER style.css and responsive.css. Preserves the Birost cascade.

  Contains:
   1. Brand-swap corrections (gradient text contrast)
   2. Accessibility restorations (focus, focus-within, reduced motion)
   3. Reveal system replacing WOW.js (never gates content visibility)
   4. Adaptations: services, framework chips, project list
   5. New components: agitation band, why-cards, results bar,
      testimonials, FAQ accordion, sticky mobile CTA, multi-step form
*/

/* ============================================================
   1. BRAND SWAP — gradient text needs darker stops on light bg
   Brand #42A94A on white = 3.0:1 (AA-large only).
   --text-gradient (#2A7231 → #3B9642) = 5.92:1 → 3.73:1.
   Bright gradient is retained wherever ink #101010 sits on top.
   ============================================================ */
.text-th-grad,
.idea-cap > h4 a:hover,
.blog-cap > h5 a:hover,
.team-cap > h5 a:hover,
.service-cap-head > h4 a:hover,
.business-strategy-box h6 a:hover {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* On dark surfaces the bright gradient is correct (6.35–10.83:1 on #101010) */
.dark-layer .text-th-grad,
header nav > ul > li > a:hover,
header nav > ul > li > a:focus,
.footer-share-links > a:hover,
.footer-share-links > a:focus,
.useful-links > li:hover > a,
.useful-links > li a:focus,
.footer-contact-box-inner > span,
.footer-contact-box-inner > a,
.menu-close-trigger:hover,
.menu-close-trigger:focus {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The script eyebrow: #e4661c is 3.38:1 on white — large text only.
   Never allow it below 1.75rem. */
.sec-title-inner > .sec-eyebrow,
.mini-title > .sec-eyebrow {
  font-family: var(--SterlingHeights);
  font-weight: 400;
  color: var(--color4);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  line-height: 1.2;
}

/* ============================================================
   2. ACCESSIBILITY RESTORATIONS
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
.theme-btn:focus-visible,
.theme-btn2:focus-visible,
.form-control:focus-visible,
.field-btn > button:focus-visible {
  outline: 3px solid #101010;
  outline-offset: 3px;
}
.dark-layer :focus-visible,
header :focus-visible,
footer :focus-visible {
  outline-color: var(--secondary);
}

/* Hover-only content must also be keyboard reachable */
.idea-box:focus-within .share-box,
.share-box:focus-within .share-icons,
.team-box:focus-within .share-links,
.project-list-item:focus-within .project-item-img {
  opacity: 1;
  visibility: visible;
}
.share-box:focus-within .share-icons { bottom: 100%; }
.team-box:focus-within .share-links { top: 50%; }
.idea-box:focus-within .share-box { transform: scale(1); }
.project-list-item:focus-within { gap: 4.0625rem; }
.project-list-item:focus-within .project-item-img { max-width: 24.375rem; }
.box-grad-hover:focus-within:before { top: -5px; opacity: 1; }

.visually-hidden-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 10000;
  background: var(--color1);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: var(--curve8);
  font-weight: 900;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ============================================================
   3. REVEAL SYSTEM — replaces WOW.js
   Content is visible by default. Only when JS confirms support
   does it hide for animation. Never gates the hero H1 (LCP).
   ============================================================ */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(1.875rem);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.175,.885,.32,1.275);
  will-change: opacity, transform;
}
.js .reveal.reveal-right { transform: translateX(2.5rem); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .serv-cap-scroll { animation: none !important; }
  .circular-text { animation: none !important; }
  /* Without this, animation-duration:.01ms above resolves instantly to the
     typewriter's final keyframe (width:0) — the quote would just vanish. */
  .laptop-quote-text { width: auto !important; white-space: normal !important; border-right: 0 !important; }
  /* Same problem for the social-section mocks: freeze on a complete,
     readable end-state instead of the animations' empty/faded keyframe. */
  .chat-bubble-in, .chat-bubble-out {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .chat-typing { display: none !important; }
  .metric-mock-value { animation: none !important; opacity: 1 !important; transform: none !important; }
  .metric-bar { animation: none !important; height: var(--h) !important; }
  /* main.js already skips setting --cover under reduced motion; this is
     the hard override in case the custom property is ever set anyway. */
  .stack-card { transform: none !important; filter: none !important; }
}

/* ============================================================
   4. ADAPTATIONS TO EXISTING COMPONENTS
   ============================================================ */

/* -- Hero: form card, LCP-safe. Reserve height so nothing shifts -- */
.hero-sec-form-style4 { min-height: 34.375rem; }
@media (max-width: 1030px) { .hero-sec-form-style4 { min-height: 0; } }

/* -- Framework chips: 3 → 4, bleed reduced 150% → 125% -- */
.strategy-boxes.strategy-boxes-4 {
  grid-template-columns: 1fr 1fr;
  min-width: 125%;
  margin-left: -25%;
}
@media (max-width: 995px) {
  .strategy-boxes.strategy-boxes-4 { min-width: 100%; margin-left: 0; }
}
@media (max-width: 577px) {
  .strategy-boxes.strategy-boxes-4 { grid-template-columns: 1fr; }
}
.strategy-box { position: relative; }
.strategy-box > .step-num {
  position: absolute;
  top: .75rem; right: 1.5rem;
  font-size: .875rem;
  font-weight: 900;
  color: #101010;
  opacity: .28;
  letter-spacing: .5px;
}
.strategy-box-cap > .stage-meta {
  display: block;
  margin-top: .375rem;
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #2A7231;
}

/* -- Project list min-height is set in the four-client block at the end -- */

/* -- Services: 6 cards, 2-up × 3 rows. Guard the h4 wrap -- */
.service-cap-head > h4 { max-width: 68%; }
@media (max-width: 1370px) { .service-cap-head > h4 { max-width: 100%; } }

/* ============================================================
   5. NEW — AGITATION BAND
   Merges the stacks-wrapper headline treatment with business rows
   ============================================================ */
.agitate-wrapper { position: relative; }
.agitate-head { text-align: center; }
.agitate-head > h2 {
  font-size: clamp(2.25rem, 1.1rem + 4.6vw, 5.5rem);
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto;
}
.agitate-head > h2 .accent {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.agitate-head > p {
  max-width: 62ch;
  margin: 1.25rem auto 0;
  color: #565656;
}
.agitate-rows { margin-top: 3.75rem; }
.business-strategy-box .pain-stat {
  display: block;
  font-size: .875rem;
  font-weight: 800;
  color: #2A7231;
  margin-top: 2px;
}
.business-strategy-box > a { align-items: flex-start; }
.business-strategy-box > a > span { line-height: 1; margin-top: 2px; }

/* ============================================================
   6. NEW — RESULTS BAR
   ============================================================ */
.results-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.875rem;
}
@media (max-width: 995px) { .results-boxes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .results-boxes { grid-template-columns: 1fr; } }

.result-box {
  background-image: var(--gray-gradient);
  border-radius: var(--curve20);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.result-box > .result-num {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  font-weight: 900;
  line-height: 1;
  color: #101010;
  font-variant-numeric: tabular-nums;
}
.result-box > .result-num > sup {
  font-size: .45em;
  top: -.7em;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.result-box > h6 { font-weight: 900; }
.result-box > p { font-size: .9375rem; color: #565656; margin: 0; }

/* ============================================================
   7. NEW — WHY CARDS (idea-box DNA, icon panel instead of image)
   ============================================================ */
.why-boxes { margin-bottom: -1.875rem; }
.why-boxes > [class*="col-"] { display: flex; }
.why-box {
  width: 100%;
  margin-bottom: 1.875rem;
  background-image: var(--gray-gradient);
  border-radius: var(--curve20);
  padding: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.why-box > .why-icon {
  width: 4.375rem; height: 4.375rem;
  border-radius: var(--round);
  background-image: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #101010;
  flex-shrink: 0;
}
.why-box > h4 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); }
.why-box > p { color: #565656; margin: 0; }

/* The seventh card — risk reversal — inverts */
.why-box.why-box-feature {
  background-image: var(--primary-gradient);
}
.why-box.why-box-feature > .why-icon {
  background: #101010;
  color: var(--secondary);
}
.why-box.why-box-feature > p { color: #101010; }
.why-box.why-box-feature .theme-btn2 { border-color: #101010; }
.why-box.why-box-feature .theme-btn2:hover { background: #101010; color: #fff; }

/* ============================================================
   8. NEW — TESTIMONIALS
   ============================================================ */
.testimonial-boxes { margin-bottom: -1.875rem; }
.testimonial-boxes > [class*="col-"] { display: flex; }
.testimonial-box {
  width: 100%;
  margin-bottom: 1.875rem;
  background-image: var(--gray-gradient);
  border-radius: var(--curve20);
  padding: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-box > .quote-mark {
  font-size: 2.25rem;
  line-height: 1;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonial-box > blockquote {
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: #101010;
}
.testimonial-foot {
  display: flex;
  align-items: center;
  gap: .9375rem;
  margin-top: auto;
}
.testimonial-foot > img.avatar {
  width: 3.5rem; height: 4.5rem;
  object-fit: cover;
  border-radius: 50rem;
  flex-shrink: 0;
}
.testimonial-foot .t-cap { display: flex; flex-direction: column; gap: 2px; }
.testimonial-foot .t-cap > strong { font-weight: 900; font-size: 1rem; }
.testimonial-foot .t-cap > span { font-size: .875rem; font-weight: 500; color: #565656; }
.testimonial-foot > img.client-logo {
  margin-left: auto;
  max-height: 1.5rem;
  width: auto;
  object-fit: contain;
  opacity: .65;
}

/* ============================================================
   9. NEW — FAQ ACCORDION (theme language over Bootstrap 5)
   ============================================================ */
.faq-accordion .accordion-item {
  background-image: var(--gray-gradient);
  border: 0;
  border-radius: var(--curve10) !important;
  margin-bottom: .9375rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.faq-accordion .accordion-button {
  background: transparent;
  box-shadow: none;
  font-family: var(--Urbanist);
  font-weight: 900;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
  color: #101010;
  padding: 1.5625rem 1.875rem;
  gap: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: #2A7231;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.faq-accordion .accordion-button::after {
  content: "\e909";
  font-family: 'icomoon' !important;
  background-image: none;
  width: auto; height: auto;
  font-size: 1rem;
  color: #101010;
  transform: rotate(90deg);
  transition: transform .3s ease-in-out;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-90deg);
  color: #2A7231;
}
.faq-accordion .accordion-body {
  padding: 0 1.875rem 1.5625rem;
  color: #565656;
}
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }

/* ============================================================
   10. NEW — MULTI-STEP HERO FORM
   ============================================================ */
.form-step { display: none; flex-direction: column; gap: .9375rem; width: 100%; }
.form-step.is-active { display: flex; }

.form-progress {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.25rem;
}
.form-progress .bar {
  flex: 1;
  height: .375rem;
  border-radius: 50rem;
  background: #ecf1ed;
  overflow: hidden;
}
.form-progress .bar > i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 50rem;
  background-image: var(--primary-gradient);
  transition: width .4s cubic-bezier(.175,.885,.32,1.275);
}
.form-progress > span {
  font-size: .8125rem;
  font-weight: 800;
  color: #565656;
  white-space: nowrap;
}

.form-trust {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .9375rem;
  flex-wrap: wrap;
}
.form-trust > span {
  font-size: .8125rem;
  font-weight: 500;
  color: #565656;
}
.form-trust > img { max-height: 1.625rem; width: auto; }

.form-note {
  font-size: .8125rem;
  color: #565656;
  text-align: center;
  margin: .625rem 0 0;
}

.form-back {
  background: none;
  border: 0;
  padding: 0;
  font-size: .875rem;
  font-weight: 800;
  color: #565656;
  align-self: flex-start;
}
.form-back:hover { color: #2A7231; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 0;
}
.form-success.is-active { display: flex; }
.form-success > .tick {
  width: 4.375rem; height: 4.375rem;
  border-radius: 50%;
  background-image: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #101010;
}

/* ============================================================
   11. NEW — REVIEW PLATFORM STRIP
   ============================================================ */
.review-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.125rem;
}
.review-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
}
.review-platform > .stars {
  display: inline-flex;
  gap: 2px;
  font-size: .9375rem;
  color: #f0a500;
}
.review-platform > strong { font-weight: 900; font-size: 1rem; }
.review-platform > span { font-size: .8125rem; color: #565656; font-weight: 500; }

/* ============================================================
   12. NEW — STICKY MOBILE CTA BAR
   ============================================================ */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  display: none;
  background: #101010;
  padding: .5rem;
  gap: .5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.mobile-cta > a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem .5rem;
  border-radius: 50rem;
  font-size: .875rem;
  font-weight: 900;
  color: #fff;
  border: 2px solid rgba(255,255,255,.25);
}
.mobile-cta > a.is-primary {
  background-image: var(--primary-gradient);
  color: #101010;
  border-color: transparent;
}
@media (max-width: 1030px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 4.5rem; }
}

/* ============================================================
   13. MISC
   ============================================================ */
.logo-mark {
  font-family: var(--Urbanist);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo-mark > i {
  font-style: normal;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-wrapper .logo-mark { font-size: 1.75rem; }

.placeholder-flag { outline: 1px dashed rgba(228,102,28,.45); outline-offset: 3px; }
body.hide-placeholder-flags .placeholder-flag { outline: 0; }

/* Marquee: pause on hover is a courtesy for readers */
.serv-cap-wrapper:hover .serv-cap-scroll { animation-play-state: paused; }

/* Four real client logos — shown in brand colour rather than greyed out.
   Greyscale is the convention for a wall of twenty logos; with four it just
   throws away recognisability and turns the fine taglines to mush. */
.sponsor-box > img {
  opacity: .92;
  transition: transform .3s ease-in-out, opacity .3s ease-in-out;
}
.sponsor-box:hover > img { opacity: 1; transform: scale(1.04); }

/* ============================================================
   14. Circular progress — rebrand off the theme's violet
   ============================================================ */
.circular-progress-box { box-shadow: 0 0 4.0625rem rgba(66, 169, 74, .28) !important; }
.circle-chart__circle.success-stroke { stroke: #2A7231; }
.circle-chart__background { stroke: #E3F0E4; }
.circle-chart__percent { fill: #101010; font-weight: 900; }
.circle-chart__subline { fill: #565656; }

/* ============================================================
   15. FIXES FROM VISUAL QA
   ============================================================ */

/* -- Equal-height cards so footer bars and edges align per row -- */
.services-boxes > .row > [class*="col-"],
.testimonial-boxes > .row > [class*="col-"],
.why-boxes > .row > [class*="col-"],
.blog-boxes > .row > [class*="col-"] { display: flex; }

.service-box,
.blog-box { width: 100%; display: flex; flex-direction: column; }
.service-box .service-cap,
.blog-box .blog-cap { flex: 1 1 auto; }
.services-boxes .service-box { margin-bottom: 2.5rem; }

/* -- Framework chips: breathing room at the narrower 2×2 width -- */
.strategy-boxes-4 .strategy-box {
  padding: 1.625rem 2.25rem 1.5rem 1.875rem;
  gap: 1.125rem;
  align-items: flex-start;
}
.strategy-boxes-4 .strategy-box > span[class^="icon-"] { flex-shrink: 0; font-size: 2rem; line-height: 1; }
.strategy-boxes-4 .strategy-box-cap > p { max-width: 100%; }
@media (max-width: 1370px) {
  .strategy-boxes-4 .strategy-box { padding: 1.375rem 1.75rem; }
}

/* -- Testimonial quote mark reads as a mark, not a typo -- */
.testimonial-box > .quote-mark {
  font-size: 4.5rem;
  line-height: .6;
  margin-bottom: -.75rem;
  font-family: Georgia, serif;
}

/* -- Hero: keep the donut clear of the sub-paragraph -- */
.hero-sec-cap-style4 > p { color: #101010; }
.circular-progress-box { right: 6% !important; bottom: -4.5rem !important; }
@media (max-width: 1300px) { .circular-progress-box { right: 2% !important; } }

/* -- Parallax off on touch: iOS ignores it and it costs scroll perf -- */
@media (max-width: 1030px) {
  .back-attach-fixed { background-attachment: scroll !important; }
}

/* -- Team headline rotator (replaces the 4-line stack) -- */
.rotator {
  display: inline-grid;
  vertical-align: bottom;
}
.rotator-item {
  grid-area: 1 / 1;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: rotate-phrase 12s infinite;
}
.rotator-item:nth-child(1) { animation-delay: 0s; }
.rotator-item:nth-child(2) { animation-delay: 4s; }
.rotator-item:nth-child(3) { animation-delay: 8s; }

@keyframes rotate-phrase {
  0%, 2%   { opacity: 0; transform: translateY(.35em); }
  6%, 30%  { opacity: 1; transform: translateY(0); }
  34%,100% { opacity: 0; transform: translateY(-.35em); }
}
@media (prefers-reduced-motion: reduce) {
  .rotator-item { animation: none; opacity: 1; }
  .rotator-item:nth-child(n + 2) { display: none; }
}

/* -- Sponsor placeholders shouldn't stretch -- */
.sponsor-box > img { max-height: 3.75rem; object-fit: contain; }

/* -- Donut: theme's violet -> brand green (matches theme's specificity) -- */
.circular-progress .circle-chart .success-stroke { stroke: #2A7231; }
.circular-progress .circle-chart .circle-chart__background { stroke: #E3F0E4; }
.circular-progress .circle-chart .circle-chart__circle { stroke-width: 2.6; }

/* -- Hero band height tuned so h1 line 1 sits on it and line 2 falls below --
      (theme shipped 58%, which was sized for its own two-line headline) */
.hero-sec-wrap-inner-style4 .fixed-bg { height: 53%; }
@media (max-width: 1204px) { .hero-sec-wrap-inner-style4 .fixed-bg { height: 50%; } }

/* -- Donut: deterministic fill. The theme's `reverse` animation with no
      fill-mode left the arc stuck at 0, rendering as a square cap dot. -- */
.circular-progress .circle-chart .circle-chart__circle {
  stroke-dasharray: 94 100;
  stroke-linecap: round;
  animation: donut-fill 1.6s ease-out;
}
@keyframes donut-fill {
  from { stroke-dasharray: 0 100; }
  to   { stroke-dasharray: 94 100; }
}
.circular-progress .circle-chart .circle-chart__percent { fill: #101010; font-weight: 900; font-size: 7px; }
.circular-progress .circle-chart .circle-chart__subline { fill: #565656; font-weight: 700; font-size: 2.6px; }

/* -- Mobile hero: copy leads, form follows (DOM order is form-first for the
      desktop right-hand placement). Band re-sized to frame the headline. -- */
@media (max-width: 991px) {
  .hero-sec-wrap-inner-style4 .fixed-bg { height: 21rem; }
  .hero-sec-cap-style4 { margin-bottom: 2.5rem; }
  .hero-sec-cap-style4 > p { max-width: 100%; }
}

/* -- Hero band scrim. The theme assumed a dark photo; this guarantees the
      white headline stays legible whatever image gets dropped in. -- */
.hero-sec-wrap-inner-style4 .fixed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 16, .58) 0%, rgba(16, 16, 16, .18) 100%);
}

/* -- Semantic heading levels, theme's visual sizes.
      Card titles are H3 under a section H2 (was H4/H5 -> heading-order skips),
      re-sized here so nothing changes visually. -- */
.as-h4 { font-size: clamp(1.25rem, 1.0782rem + .664vw, 1.875rem); }
.as-h5 { font-size: clamp(1.3125rem, 1.2266rem + .332vw, 1.625rem); }
.why-box > .as-h4 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); }
.widget-box > .as-h5 { color: #fff; margin-bottom: 5px; }
.as-h6 { font-size: clamp(1.125rem, 1.0563rem + .2656vw, 1.375rem); }
.business-strategy-box .as-h6 { font-size: 1.25rem; }
.strategy-box-cap > .as-h6 { font-size: 1.125rem; }
.result-box > .as-h6 { font-size: 1.125rem; font-weight: 900; }

/* ============================================================
   16. HEADER — fit across every desktop width
   The theme's bar was sized for its own short labels. With six nav
   items plus a CTA plus the phone block, nothing had `white-space:
   nowrap`, so between roughly 1031px and 1560px the bar wrapped to
   two lines and "Why Us" / "Get My Free Audit" / the phone number
   each broke mid-label.
   ============================================================ */

/* 1. Nothing in the header may ever wrap. */
header nav > ul > li > a,
.header-right .theme-btn,
.header-cont-inner > span,
.header-cont-inner > a,
.logo-mark {
  white-space: nowrap;
}
.header-left,
.header-right { flex-wrap: nowrap; }
.header-left nav > ul { flex-wrap: nowrap; }

/* 2. Keep the CTA at every desktop width — it is the conversion
      element. The theme hid it below 1370; the phone block goes instead. */
@media (min-width: 1031px) {
  .header-right .theme-btn { display: inline-flex !important; }
}
@media (max-width: 1560px) {
  .header-cont { display: none !important; }
}

/* 3. Shorter CTA label where space is tight ("Free Audit"). */
.cta-full { display: none; }
@media (min-width: 1561px) { .cta-full { display: inline; } }

/* 4. Compress the bar between the mobile-nav breakpoint and 1400 so
      six nav items plus the CTA genuinely fit. */
@media (min-width: 1031px) and (max-width: 1400px) {
  .header-inner { padding: 0 1.25rem; }
  .header-left .logo > a { padding: 0 1.25rem; }
  .header-left nav { padding: 0 1.25rem; }
  header nav > ul > li:not(:first-child) {
    margin-left: .625rem;
    padding-left: .75rem;
  }
  header nav > ul > li > a { font-size: .9375rem; }
  .header-right { gap: 1rem; }
  .header-right .theme-btn { padding: .875rem 1.5rem; font-size: .9375rem; }
}

/* 5. Sticky state inherits the same compression. */
@media (min-width: 1031px) and (max-width: 1400px) {
  body.sticky .header-inner { padding: 0 1.25rem; }
}

/* ============================================================
   17. RESPONSIVE AUDIT FIXES
   ============================================================ */

/* -- Sponsor strip: auto-fit left a 5+1 orphan row at tablet widths.
      Fixed column counts per breakpoint wrap evenly instead. -- */
.sponsor-boxes {
  grid-template-columns: repeat(4, 1fr) !important;
  align-items: center;
  gap: 2.5rem 1.875rem !important;
}
@media (max-width: 768px) { .sponsor-boxes { grid-template-columns: repeat(2, 1fr) !important; } }

/* Optical sizing: four real client logos with very different proportions.
   Matching raw heights would make the wide wordmarks tower over the stacked
   marks, so each is capped by its own shape instead. */
.sponsor-box { display: flex; align-items: center; justify-content: center; }
.sponsor-box > img { width: auto; max-width: 100%; object-fit: contain; }
.sponsor-box.is-wide > img { max-height: 3.25rem; }  /* BridgeTrade, Aadhya  ~3.9:1 */
.sponsor-box.is-mid  > img { max-height: 4.5rem; }   /* FABCO                ~2.3:1 */
.sponsor-box.is-tall > img { max-height: 5rem; }     /* The Cohort School    ~1.8:1 */
@media (max-width: 768px) {
  .sponsor-box.is-wide > img { max-height: 2.625rem; }
  .sponsor-box.is-mid  > img { max-height: 3.5rem; }
  .sponsor-box.is-tall > img { max-height: 4rem; }
}
@media (max-width: 400px) {
  .sponsor-box.is-wide > img { max-height: 2.25rem; }
  .sponsor-box.is-mid  > img { max-height: 3rem; }
  .sponsor-box.is-tall > img { max-height: 3.375rem; }
}

/* -- Agitation rows: the theme's absolutely-positioned chevron sits at
      right:1.75rem, and the heading ran underneath it. -- */
.business-strategy-box > a { padding-right: 3.5rem; }
.business-strategy-box .as-h6 { padding-right: 0; }

/* -- Hero messenger badge poked past the viewport edge around 992px. -- */
@media (max-width: 1200px) {
  .hero-sec-form-style4 > img { right: -.5rem !important; top: -.75rem !important; max-width: 3.5rem; }
}
@media (max-width: 576px) {
  .hero-sec-form-style4 > img { right: 0 !important; max-width: 3rem; }
}

/* ---- Touch targets: nothing tappable under ~44px on touch widths ---- */

/* Off-canvas nav links were 19px tall */
@media (max-width: 1030px) {
  .header-left nav > ul > li > a {
    display: block;
    padding: .6875rem 0;
    line-height: 1.4;
  }
  .header-left nav > ul > li:not(:first-child) { margin-top: 0; padding-top: 0; }
  .menu-close-trigger {
    width: 2.75rem; height: 2.75rem;
    align-items: center; justify-content: center;
  }
}

/* Card, project and contact links */
@media (max-width: 992px) {
  .service-cap-head > .as-h4 > a,
  .why-box > .as-h4 > a,
  .blog-cap > .as-h5 > a,
  .team-cap > .as-h5 > a,
  .project-list-item > h3 > a {
    display: inline-block;
    padding-block: .4375rem;
  }
  .header-cont-inner > a,
  .footer-contact-box-inner > a,
  .footer-contact-inner > a,
  .footer-share-links > a,
  .useful-links > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .useful-links { gap: .25rem; }
  .review-platform { min-height: 2.75rem; }
}

/* Radio chips in the form: comfortable on touch */
@media (max-width: 768px) {
  .form-check { padding: .625rem 1rem; }
  .form-check-input { width: 1.375rem; height: 1.375rem; }
}

/* Footer logo and copyright links were 19px tall on touch */
@media (max-width: 992px) {
  .widget-box > .logo > a,
  .footer-copyright a {
    display: inline-block;
    padding-block: .625rem;
  }
  .footer-copyright p { line-height: 2; }
  .service-cap-head > .as-h4 > a,
  .why-box > .as-h4 > a,
  .team-cap > .as-h5 > a { padding-block: .5625rem; }
}

/* -- Team social links are hover-revealed, so touch users could never
      reach them. On touch, show them permanently under the portrait
      at a usable size. -- */
@media (hover: none), (max-width: 992px) {
  .team-img .share-links {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    margin: .75rem auto 0;
    justify-content: center;
  }
  .team-box .team-img { overflow: visible; }
  .team-img > img { border-radius: 50rem; }
  .team-img .share-links > a {
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* -- Footer contact arrow was being squeezed by the flex row at 320px -- */
.footer-contact > a.rounded-circle { flex-shrink: 0; }
.footer-contact-inner { min-width: 0; }
.footer-contact-inner > a { word-break: break-word; }

/* -- Below lg the headline sits low in the band, where the desktop scrim
      has already faded out. Even it out so the white text stays legible. -- */
@media (max-width: 991px) {
  .hero-sec-wrap-inner-style4 .fixed-bg::after {
    background: linear-gradient(180deg, rgba(16, 16, 16, .55) 0%, rgba(16, 16, 16, .48) 100%);
  }
}

/* Project list: four clients instead of three */
.projects-list { min-height: 38rem; }
@media (max-width: 1370px) { .projects-list { min-height: 34rem; } }
@media (max-width: 995px)  { .projects-list { min-height: 29rem; } }
@media (max-width: 577px)  { .projects-list { min-height: 0; } }

/* ============================================================
   18. FRAMEWORK VIDEO
   9:16 portrait source. The theme's slot was a 540×690 image with a
   min-width of 540px, which a portrait video would blow out — so the
   video is capped by height and centred in the column instead.
   ============================================================ */
.book-strategy-img.is-video {
  min-width: 0 !important;
  display: flex;
  justify-content: center;
  overflow: visible;
}
.framework-video {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 43.125rem;          /* matches the 690px slot the image had */
  aspect-ratio: 9 / 16;           /* reserves space -> no layout shift */
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 4.0625rem rgba(0, 0, 0, .12);
}
@media (max-width: 1445px) { .book-strategy-img.is-video { min-width: 0 !important; } }
@media (max-width: 991px) {
  .framework-video { max-height: 32rem; }
  .book-strategy-img.is-video { margin-bottom: 2.5rem; }
}
@media (max-width: 480px) { .framework-video { max-height: 26rem; } }

/* Pause control — WCAG 2.2.2: anything that auto-plays for more than
   five seconds needs a mechanism to stop it. */
.video-toggle {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 16, 16, .72);
  color: #fff;
  font-size: .9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .2s ease-in-out, transform .2s ease-in-out;
}
.video-toggle:hover,
.video-toggle:focus-visible { background: #101010; transform: scale(1.06); }
.book-strategy-img.is-video:has(.framework-video[data-paused]) .video-toggle { background: var(--primary); color: #101010; }

/* ============================================================
   19. LOGO — real brand mark replaces the text placeholder
   ============================================================ */
.logo > a { display: inline-flex; align-items: center; }
.logo > a > img { height: 2rem; width: auto; }
.footer-wrapper .widget-box > .logo > a > img { height: 2.75rem; }
@media (max-width: 1400px) { .logo > a > img { height: 1.75rem; } }
@media (max-width: 577px)  { .logo > a > img { height: 1.625rem; } }
body.sticky .logo > a > img { height: 1.75rem; }

/* Left-align the video in its column so the framework chips bleed into the
   gap beside it rather than across it (the chips' -25% bleed was sized for
   the 540px image the slot used to hold). */
@media (min-width: 992px) {
  .book-strategy-img.is-video { justify-content: flex-start; }
}

/* The hero mockup placeholder is gone; drop its reserved absolute slot. */
.hero-sec-cap-style4 > img { display: none !important; }

/* ============================================================
   20. PORTFOLIO THUMBNAILS — client wordmarks stand in for case-
   study screenshots (none shot yet). These are the same dark-ink
   PNGs used in the sponsor strip, made for light backgrounds — but
   the project list sits on a dark parallax layer, so each one gets
   its own white card instead of floating unreadable on black.
   Per-logo max-height mirrors the sponsor-box treatment: same four
   logos, very different native proportions (3.9:1 down to 1.8:1).
   ============================================================ */
.project-item-img {
  background: #fff;
  height: 11.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-item-img > img {
  width: auto;
  height: auto;
  object-fit: contain;
}
.project-item-img.is-wide > img { max-width: 78%; max-height: 3.75rem; }   /* BridgeTrade, Aadhya Animatics ~3.7–3.9:1 */
.project-item-img.is-mid  > img { max-width: 62%; max-height: 5rem; }     /* FABCO Engineers ~2.3:1 */
.project-item-img.is-tall > img { max-width: 46%; max-height: 6.25rem; }  /* The Cohort School ~1.8:1 */

@media (max-width: 1370px) { .project-item-img { height: 10.5rem; } }
@media (max-width: 995px)  { .project-item-img { height: 9rem; } }
@media (max-width: 577px)  { .project-item-img { height: 7.5rem; } }

/* BUG FIX — the theme's project list only reveals a client logo on
   :hover or .active; below the lg breakpoint the list already stacks
   into a column (responsive.css), but touch devices have no hover, so
   3 of the 4 logos rendered as blank white space with nothing to tap
   to reveal them. Show every logo plainly once we're in the stacked
   layout instead of relying on hover. */
@media (max-width: 991px) {
  .project-item-img {
    max-width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ============================================================
   21. BUG FIX — footer "Speak to a Specialist" phone icon
   The theme sized .footer-contact-box > span (height/width/font-size)
   but never centred its contents. header-cont > span got the
   inline-flex + centering rule; this sibling never did, so the
   glyph sat at its inline baseline — bottom-left of the circle
   instead of centred in it.
   ============================================================ */
.footer-contact-box > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   22. FOOTER CONTACT VISUAL — coded laptop, no stock photo needed.
   Screen plays one looping on-brand line (pure CSS typewriter: a
   width/steps() reveal on a fixed text node, so the full quote is
   always in the DOM for assistive tech — nothing is typed in via
   JS character-by-character). Reduced-motion override lives in the
   global block above.
   ============================================================ */
.footer-contact-img {
  aspect-ratio: 515 / 285;
  background-image: var(--gray-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.laptop-mock {
  /* % of the card, not a fixed cap — the card's aspect-ratio is fixed, so a
     percentage always fits both dimensions instead of floating tiny inside
     a much bigger box on wide viewports (which is what a small max-width
     caused). */
  width: 86%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #101010;
  border: .375rem solid #101010;
  border-radius: .875rem .875rem .1875rem .1875rem;
  box-shadow: 0 0 2.5rem rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
  padding: .875rem 1.125rem;
  gap: .625rem;
  position: relative;
  overflow: hidden;
}
.laptop-screen-bar { display: flex; gap: .3125rem; flex-shrink: 0; }
.laptop-dot { width: .375rem; height: .375rem; border-radius: 50%; background: #3a3a3a; }
.laptop-dot:nth-child(1) { background: #e4661c; opacity: .75; }
.laptop-dot:nth-child(3) { background: var(--primary); }
.laptop-quote-text {
  margin: auto 0 .1875rem;
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: clamp(.8125rem, .7rem + .75vw, 1.125rem);
  line-height: 1.3;
  color: #fff;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  border-right: .125rem solid var(--primary);
  animation: laptop-type 8s infinite, laptop-caret .75s step-end infinite;
}
@keyframes laptop-type {
  0%   { width: 0; animation-timing-function: steps(27, end); }
  40%  { width: 29ch; animation-timing-function: ease; }
  70%  { width: 29ch; animation-timing-function: steps(27, end); }
  92%  { width: 0; }
  100% { width: 0; }
}
@keyframes laptop-caret { 50% { border-color: transparent; } }
.laptop-base {
  width: 112%;
  height: .8125rem;
  background: linear-gradient(180deg, #2c2c2c 0%, #171717 100%);
  border-radius: 0 0 .5rem .5rem;
  position: relative;
}
.laptop-base:before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 14%;
  height: .1875rem;
  background: #3a3a3a;
  border-radius: 0 0 .25rem .25rem;
}
@media (max-width: 480px) { .footer-contact-img { padding: 1.25rem; } }

/* ============================================================
   23. FOOTER "FROM THE STUDIO" — real logo standing in for a
   studio photo (none shot yet). Logo is the dark-background
   (light) variant, since the footer runs on the black pattern tile.
   ============================================================ */
.footer-img-logo-frame {
  aspect-ratio: 390 / 280;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}
.footer-img-logo-frame > .footer-logo-mark {
  width: 60%;
  max-width: 15.625rem;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   24. SOCIAL SECTION FLANKING VISUALS — coded, looping mockups
   instead of stock/placeholder mockup photos. Position/sizing
   mirrors the theme's original .social-wrapper > img rule (same
   left/right offsets, same 1605px dvw-capped shrink); only the
   content changed. Left card riffs on the WhatsApp CTA directly
   below it, right card riffs on the results-bar stats above.
   ============================================================ */
.social-mock {
  top: 50%;
  transform: translateY(-50%);
}
.social-mock1 { left: 0; width: 29.875rem; }
.social-mock2 { right: -2.5rem; width: 30.625rem; }
@media (max-width: 1605px) {
  .social-mock1, .social-mock2 { width: 22dvw; }
}

/* -- Chat mock -- */
.chat-mock {
  aspect-ratio: 478 / 412;
  width: 100%;
  background: #fff;
  border-radius: var(--curve20);
  box-shadow: 0 0 4.0625rem rgba(0, 0, 0, .12);
  padding: clamp(.9375rem, .8rem + .7vw, 1.375rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  overflow: hidden;
}
.chat-mock-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--Urbanist);
  font-weight: 900;
  font-size: .8125rem;
  color: #101010;
  padding-bottom: .75rem;
  border-bottom: 1px solid #ecf1ed;
  flex-shrink: 0;
}
.chat-mock-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.chat-mock-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5625rem;
  justify-content: flex-end;
  min-height: 0;
}
.chat-bubble {
  max-width: 84%;
  padding: .5rem .8125rem;
  font-family: var(--Urbanist);
  font-size: clamp(.6875rem, .62rem + .3vw, .8125rem);
  font-weight: 600;
  line-height: 1.35;
  color: #101010;
  opacity: 0;
}
.chat-bubble-in {
  align-self: flex-start;
  background: #ecf1ed;
  border-radius: 1rem 1rem 1rem .25rem;
  animation: chat-msg-in 8s ease-in-out infinite;
}
.chat-bubble-out {
  align-self: flex-end;
  background-image: var(--primary-gradient);
  border-radius: 1rem 1rem .25rem 1rem;
  animation: chat-reply-in 8s ease-in-out infinite;
}
.chat-typing {
  align-self: flex-end;
  display: inline-flex;
  gap: .25rem;
  background: #ecf1ed;
  border-radius: 1rem 1rem .25rem 1rem;
  padding: .5625rem .75rem;
  opacity: 0;
  animation: chat-typing-cycle 8s ease-in-out infinite;
}
.chat-typing > i {
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
  background: #8a8a8a;
  animation: chat-dot-bounce 1s ease-in-out infinite;
}
.chat-typing > i:nth-child(2) { animation-delay: .15s; }
.chat-typing > i:nth-child(3) { animation-delay: .3s; }

@keyframes chat-msg-in {
  0%, 4%   { opacity: 0; transform: translateY(.5rem); }
  10%, 88% { opacity: 1; transform: translateY(0); }
  96%,100% { opacity: 0; transform: translateY(.5rem); }
}
@keyframes chat-typing-cycle {
  0%, 12%  { opacity: 0; }
  16%, 40% { opacity: 1; }
  44%,100% { opacity: 0; }
}
@keyframes chat-reply-in {
  0%, 44%  { opacity: 0; transform: translateY(.5rem); }
  50%, 88% { opacity: 1; transform: translateY(0); }
  96%,100% { opacity: 0; transform: translateY(.5rem); }
}
@keyframes chat-dot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-.1875rem); opacity: 1; }
}

/* -- Metric mock -- */
.metric-mock {
  aspect-ratio: 490 / 398;
  width: 100%;
  background: #fff;
  border-radius: var(--curve20);
  box-shadow: 0 0 2.5rem rgba(0, 0, 0, .05);
  padding: clamp(1.125rem, .95rem + .9vw, 1.625rem);
  display: flex;
  flex-direction: column;
  gap: .1875rem;
}
.metric-mock-label {
  font-family: var(--Urbanist);
  font-size: clamp(.75rem, .68rem + .35vw, .875rem);
  font-weight: 700;
  color: #565656;
}
.metric-mock-value {
  font-family: var(--Urbanist);
  font-size: clamp(1.625rem, 1.35rem + 1.4vw, 2.375rem);
  font-weight: 900;
  line-height: 1;
  color: #101010;
  animation: metric-value-pulse 4s ease-in-out infinite;
}
.metric-mock-value > sup {
  font-size: .5em;
  top: -.6em;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-mock-bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: clamp(.5rem, .4rem + .5vw, .75rem);
  height: 55%;
}
.metric-bar {
  flex: 1;
  border-radius: .375rem .375rem 0 0;
  background-image: var(--primary-gradient);
  height: 0;
  animation: metric-bar-grow 4s ease-in-out infinite;
}
.metric-bar:nth-child(1) { animation-delay: 0s; }
.metric-bar:nth-child(2) { animation-delay: .12s; }
.metric-bar:nth-child(3) { animation-delay: .24s; }
.metric-bar:nth-child(4) { animation-delay: .36s; }

@keyframes metric-bar-grow {
  0%, 5%   { height: 0; }
  40%, 80% { height: var(--h); }
  95%,100% { height: 0; }
}
@keyframes metric-value-pulse {
  0%, 8%   { opacity: .35; transform: scale(.94); }
  45%, 90% { opacity: 1; transform: scale(1); }
  98%,100% { opacity: .35; transform: scale(.94); }
}

/* ============================================================
   25. SERVICES PAGE — full-bleed sticky-stacking service panels
   Each of the six services is a full-viewport, edge-to-edge panel.
   Panel 1 pins under the header; panel 2 follows immediately after
   it in the flow (zero gap) and — being later in the DOM with a
   higher z-index — rises up and covers panel 1 completely, like a
   page turning. Panel 3 does the same to panel 2, and so on. Pure
   CSS for the stacking itself; main.js only adds the --cover depth
   cue (see below). ============================================ */

.service-panel {
  margin-bottom: 0;
  background-color: #fff;
  color: #101010;
  overflow: hidden;
}
.service-panel--dark {
  background-color: var(--color1);
  color: #fff;
}
.service-panel--dark .service-panel-intro,
.service-panel--dark .service-panel-bullets > li { color: rgba(255, 255, 255, .72); }
.service-panel--dark .service-panel-eyebrow { color: var(--secondary); }
.service-panel--dark .service-panel-icon {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.service-panel--dark .service-panel-bullets > li > i { color: var(--secondary); }

.service-panel-inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: 2.5rem 0;
}
/* Flex items shrink to content width on the main axis by default —
   without this the .container child (and the Bootstrap grid inside
   it) collapses to its text's max-content width instead of filling
   the panel, which breaks the two-column split into a stack. */
.service-panel-inner > .container { width: 100%; }
.service-panel-row { width: 100%; }

.service-panel-eyebrow {
  font-family: var(--Urbanist);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8125rem;
  color: #2A7231;
  margin-bottom: .625rem;
}
.service-panel-icon {
  width: 4.0625rem;
  height: 4.0625rem;
  border: 2px solid var(--color1);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.service-panel-title {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.service-panel-intro {
  color: #565656;
  max-width: 34ch;
  margin-bottom: 1.75rem;
}
.service-panel-copy > .theme-btn { flex-shrink: 0; }

.service-panel-details { margin-top: 2rem; }
@media (min-width: 992px) { .service-panel-details { margin-top: 0; } }

.service-panel-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem 1.5rem;
  margin: 1.5rem 0 0;
}
.service-panel-bullets > li {
  display: flex;
  align-items: flex-start;
  gap: .5625rem;
  font-size: .875rem;
  line-height: 1.4;
  color: #565656;
}
.service-panel-bullets > li > i {
  margin-top: .1875rem;
  flex-shrink: 0;
  font-size: .9375rem;
}
@media (max-width: 575px) {
  .service-panel-bullets { grid-template-columns: 1fr; }
}

/* -- The stack itself -- */
@media (min-width: 769px) {
  .stack-cards { position: relative; }
  .service-panel {
    position: sticky;
    top: 6.5rem;
    height: calc(100vh - 6.5rem);
    box-shadow: 0 -1.25rem 2.5rem rgba(0, 0, 0, .2);
  }
  .service-panel:nth-of-type(1) { z-index: 1; }
  .service-panel:nth-of-type(2) { z-index: 2; }
  .service-panel:nth-of-type(3) { z-index: 3; }
  .service-panel:nth-of-type(4) { z-index: 4; }
  .service-panel:nth-of-type(5) { z-index: 5; }
  .service-panel:nth-of-type(6) { z-index: 6; }
}

/* -- Below 769px: the page-flip depends on generous vertical scroll
   room per panel, which a one-column mobile layout doesn't have — so
   it falls back to a plain static, full-bleed stacked list. -- */
@media (max-width: 768px) {
  .service-panel {
    position: static;
    box-shadow: none;
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
  }
  .service-panel-inner { padding: 0; }
  .service-panel:not(:last-child) { border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .service-panel--dark:not(:last-child) { border-bottom-color: rgba(255, 255, 255, .1); }
}

/* -- Depth cue while a panel is being covered: main.js tracks how close
   the next panel is and writes it to --cover (0 → 1) every scroll frame.
   Reads as the current panel sinking back and dimming as the next one
   rises to cover it, instead of a flat, motionless swap. Defaults to
   0 — unchanged scale/brightness — so nothing moves without JS, and the
   reduced-motion override below hard-disables it regardless. -- */
.js .service-panel {
  transform: scale(calc(1 - 0.04 * var(--cover, 0)));
  filter: brightness(calc(1 - 0.12 * var(--cover, 0)));
  transform-origin: center top;
  transition: transform 0.08s linear, filter 0.08s linear;
  will-change: transform, filter;
}
@media (prefers-reduced-motion: reduce) {
  .service-panel { transform: none !important; filter: none !important; }
}

/* -- Mid CTA band: two identical gradient buttons read as one choice,
   not two — give the secondary action its own visual weight. This is
   .theme-btn2's outline shape with white/secondary colours swapped in
   for dark backgrounds (the stock version is tuned for light ones). -- */
.mid-cta-wrapper .sec-eyebrow { color: var(--secondary); }
.theme-btn2.on-dark {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.theme-btn2.on-dark:hover,
.theme-btn2.on-dark:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--color1);
}
.theme-btn2.on-dark:focus-visible { outline-color: var(--secondary); }

/* ============================================================
   26. SERVICES PAGE — "Getting Started" process rail
   A page-specific component (not the homepage's Process section):
   four numbered nodes on a connecting line, collapsing to a
   left-aligned vertical timeline on narrower screens.
   ============================================================ */
.process-rail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  max-width: 68.75rem;
  margin: 0 auto;
}
.process-rail:before {
  content: '';
  position: absolute;
  top: 1.875rem;
  left: 3.75rem;
  right: 3.75rem;
  height: 2px;
  background-image: var(--primary-gradient);
  opacity: .35;
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.125rem;
  padding: 0 .625rem;
}
.process-step-icon {
  position: relative;
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--color1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color1);
}
.process-step-num {
  position: absolute;
  top: -.375rem;
  right: -.375rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-image: var(--primary-gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.process-step-cap > p {
  font-size: .9375rem;
  color: #565656;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 995px) {
  .process-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    max-width: 34rem;
  }
  .process-rail:before {
    top: 0;
    bottom: 0;
    left: 1.875rem;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 0;
  }
  .process-step-cap > p { max-width: 100%; margin-left: 0; }
}

/* ============================================================
   27. SERVICE PANEL MICRO-ANIMATIONS
   One small, decorative, CSS-only loop per service panel —
   aria-hidden, never gates content, and every animation below is
   killed by the reduced-motion block at the end of this section.
   Shared shell:
   ============================================================ */
.svc-mock {
  width: 100%;
  max-width: 21.25rem;
  margin: 0 0 1.5rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--curve15);
  background-color: var(--color6);
  border: 1px solid #e9efea;
}
.service-panel--dark .svc-mock {
  background-color: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

/* -- 1. Website Development: a browser chrome building itself -- */
.svc-browser-bar {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin-bottom: .875rem;
}
.svc-browser-bar > i {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #d8d8d8;
}
.service-panel--dark .svc-browser-bar > i { background: rgba(255, 255, 255, .25); }
.svc-browser-url {
  flex: 1;
  height: .625rem;
  margin-left: .5rem;
  border-radius: .3125rem;
  background: #e3e3e3;
}
.service-panel--dark .svc-browser-url { background: rgba(255, 255, 255, .14); }
.svc-browser-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.svc-skel {
  display: block;
  height: .625rem;
  border-radius: .3125rem;
  background-image: var(--primary-gradient);
  width: 0;
  animation: svc-skel-build 4s ease-in-out infinite;
}
.svc-skel-a { --w: 85%; animation-delay: 0s; }
.svc-skel-b { --w: 60%; animation-delay: .18s; }
.svc-skel-c { --w: 72%; animation-delay: .36s; }
.svc-skel-cta {
  --w: 34%;
  height: 1rem;
  border-radius: 50rem;
  margin-top: .25rem;
  animation-delay: .54s;
}
@keyframes svc-skel-build {
  0%, 5%   { width: 0; opacity: .5; }
  40%, 80% { width: var(--w); opacity: 1; }
  95%,100% { width: 0; opacity: .5; }
}

/* -- 2. SEO360™: a ranking marker climbing to #1 -- */
.svc-rank {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-left: 2.5rem;
}
.svc-rank-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: .8125rem;
  color: #8a8a8a;
  height: 1.375rem;
}
.service-panel--dark .svc-rank-row { color: rgba(255, 255, 255, .45); }
.svc-rank-row > i {
  display: block;
  height: .375rem;
  border-radius: .25rem;
  background: #dadada;
  flex: 1;
  max-width: 6.25rem;
}
.service-panel--dark .svc-rank-row > i { background: rgba(255, 255, 255, .16); }
.svc-rank-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background-image: var(--primary-gradient);
  color: #101010;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  box-shadow: 0 .25rem .75rem rgba(66, 169, 74, .35);
  animation: svc-rank-climb 6s ease-in-out infinite;
}
@keyframes svc-rank-climb {
  0%, 8%   { top: calc(3 * (1.375rem + .5rem)); }
  22%, 30% { top: calc(2 * (1.375rem + .5rem)); }
  44%, 52% { top: calc(1 * (1.375rem + .5rem)); }
  66%, 92% { top: 0; }
  100%     { top: calc(3 * (1.375rem + .5rem)); }
}

/* -- 3. Paid Ads: a ROAS gauge needle sweeping -- */
.svc-mock--ads {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.svc-gauge {
  position: relative;
  width: 5.5rem;
  height: 2.75rem;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-gauge-arc {
  position: absolute;
  inset: 0 0 auto 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 100%, var(--primary) 0deg, var(--secondary) 90deg, #e3e3e3 180deg);
}
.service-panel--dark .svc-gauge-arc {
  background: conic-gradient(from 180deg at 50% 100%, var(--primary) 0deg, var(--secondary) 90deg, rgba(255, 255, 255, .14) 180deg);
}
.svc-gauge-needle {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: .1875rem;
  height: 2.25rem;
  margin-left: -.09375rem;
  border-radius: .1875rem;
  background: #101010;
  transform-origin: bottom center;
  animation: svc-needle-sweep 3.5s ease-in-out infinite;
}
.service-panel--dark .svc-gauge-needle { background: #fff; }
.svc-gauge-hub {
  position: absolute;
  left: 50%;
  bottom: -.3125rem;
  width: .625rem;
  height: .625rem;
  margin-left: -.3125rem;
  border-radius: 50%;
  background: #101010;
}
.service-panel--dark .svc-gauge-hub { background: #fff; }
@keyframes svc-needle-sweep {
  0%, 100% { transform: rotate(-58deg); }
  50%      { transform: rotate(58deg); }
}
.svc-gauge-value {
  font-family: var(--Urbanist);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  animation: metric-value-pulse 3.5s ease-in-out infinite;
}
.svc-gauge-value > small {
  display: block;
  margin-top: .25rem;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8a8a8a;
}
.service-panel--dark .svc-gauge-value > small { color: rgba(255, 255, 255, .5); }

/* -- 4. Social Media: a post landing a like -- */
.svc-post {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
}
.svc-post-avatar {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background-image: var(--primary-gradient);
  flex-shrink: 0;
}
.svc-post-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.svc-post-lines > i {
  display: block;
  height: .5rem;
  border-radius: .25rem;
  background: #dadada;
}
.service-panel--dark .svc-post-lines > i { background: rgba(255, 255, 255, .16); }
.svc-post-lines > i:first-child { width: 70%; }
.svc-post-lines > i:last-child { width: 45%; }
.svc-like-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.svc-like-heart {
  color: #d8d8d8;
  font-size: 1.125rem;
  animation: svc-heart-pulse 2.6s ease-in-out infinite;
}
.svc-like-count {
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: .875rem;
  color: #565656;
}
.service-panel--dark .svc-like-count { color: rgba(255, 255, 255, .72); }
.svc-like-pop {
  position: absolute;
  left: 1.25rem;
  top: 0;
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: .75rem;
  color: var(--primary-subtle);
  opacity: 0;
  animation: svc-like-float 2.6s ease-in-out infinite;
}
.service-panel--dark .svc-like-pop { color: var(--secondary); }
@keyframes svc-heart-pulse {
  0%, 55%, 100% { color: #d8d8d8; transform: scale(1); }
  65%           { color: #ff5c7a; transform: scale(1.3); }
  75%           { color: #ff5c7a; transform: scale(1); }
}
@keyframes svc-like-float {
  0%, 55%  { opacity: 0; transform: translateY(0); }
  65%, 85% { opacity: 1; transform: translateY(-.75rem); }
  95%,100% { opacity: 0; transform: translateY(-1.125rem); }
}

/* -- 5. Content Marketing: a document writing itself out -- */
.svc-doc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.svc-doc-line {
  display: block;
  height: .625rem;
  border-radius: .3125rem;
  background-image: var(--primary-gradient);
  width: 0;
  animation: svc-skel-build 5s ease-in-out infinite;
}
.svc-doc-line-1 { --w: 92%; animation-delay: 0s; }
.svc-doc-line-2 { --w: 78%; animation-delay: .3s; }
.svc-doc-line-3 { --w: 55%; animation-delay: .6s; }
.svc-doc-cursor {
  position: absolute;
  left: 0;
  bottom: -.125rem;
  width: .125rem;
  height: .875rem;
  background: #101010;
  animation: svc-cursor-blink 1s step-end infinite;
}
.service-panel--dark .svc-doc-cursor { background: #fff; }
@keyframes svc-cursor-blink {
  0%, 49%  { opacity: 1; }
  50%,100% { opacity: 0; }
}

/* -- 6. Marketing Automation: a lead moving through the pipeline -- */
.svc-flow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.75rem;
}
.svc-flow:before {
  content: '';
  position: absolute;
  left: 1.375rem;
  right: 1.375rem;
  top: 50%;
  height: 2px;
  background: #dadada;
  transform: translateY(-50%);
}
.service-panel--dark .svc-flow:before { background: rgba(255, 255, 255, .16); }
.svc-flow-node {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #dadada;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #b0b0b0;
}
.service-panel--dark .svc-flow-node {
  background: var(--color1);
  border-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .4);
}
.svc-flow-node-1 { animation: svc-node-light 6s ease-in-out infinite; }
.svc-flow-node-2 { animation: svc-node-light 6s ease-in-out infinite; animation-delay: 2s; }
.svc-flow-node-3 { animation: svc-node-light 6s ease-in-out infinite; animation-delay: 4s; }
@keyframes svc-node-light {
  0%, 6%   { border-color: var(--primary); color: var(--primary-subtle); }
  33%,100% { border-color: #dadada; color: #b0b0b0; }
}
.svc-flow-dot {
  position: absolute;
  top: 50%;
  left: 1.375rem;
  width: .625rem;
  height: .625rem;
  margin-top: -.3125rem;
  border-radius: 50%;
  background-image: var(--primary-gradient);
  box-shadow: 0 0 0 .25rem rgba(66, 169, 74, .18);
  animation: svc-dot-travel 6s ease-in-out infinite;
}
@keyframes svc-dot-travel {
  0%, 4%   { left: 1.375rem; }
  33%,37%  { left: 50%; }
  66%,96%  { left: calc(100% - 1.375rem); }
  100%     { left: 1.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-skel,
  .svc-doc-line,
  .svc-rank-marker,
  .svc-gauge-needle,
  .svc-gauge-value,
  .svc-like-heart,
  .svc-like-pop,
  .svc-doc-cursor,
  .svc-flow-node,
  .svc-flow-dot {
    animation: none !important;
  }
  .svc-skel, .svc-doc-line { width: var(--w) !important; opacity: 1 !important; }
  .svc-rank-marker { top: 0 !important; }
  .svc-gauge-needle { transform: rotate(20deg) !important; }
  .svc-like-heart { color: #ff5c7a !important; }
  .svc-like-pop { opacity: 0 !important; }
  .svc-doc-cursor { opacity: 1 !important; }
  .svc-flow-node-3 { border-color: var(--primary) !important; color: var(--primary-subtle) !important; }
  .svc-flow-dot { left: calc(100% - 1.375rem) !important; }
}

/* ============================================================
   28. PAGE HERO — bannerless hero for About & Services
   Replaces the theme's photo-band hero (which reused the
   homepage's own hero image) with a light, type-led hero built
   entirely from the existing design tokens: gradient text, pill
   chips, a huge low-contrast watermark for depth. No photography.
   ============================================================ */
.page-hero-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
.page-hero-wrapper:after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background-image: var(--primary-gradient);
  opacity: .4;
}
.page-hero-row { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(2.25rem, 1.65rem + 2.6vw, 4.0625rem);
  line-height: 1.1;
  margin-top: .625rem;
  margin-bottom: 1.25rem;
}
.page-hero-intro {
  color: #565656;
  max-width: 52ch;
}
.page-hero-copy > .btns-box { margin-top: 2.25rem; }

/* -- Giant low-contrast watermark: numeral (Services) or icon (About).
   Decorative only; excluded from the accessibility tree. -- */
.page-hero-watermark {
  position: absolute;
  top: 50%;
  right: -1.5%;
  transform: translateY(-50%);
  font-family: var(--Urbanist);
  font-weight: 900;
  font-size: clamp(9rem, 6rem + 14vw, 23rem);
  line-height: 1;
  color: var(--color6);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.page-hero-watermark-icon {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  font-size: clamp(11rem, 8rem + 14vw, 25rem);
  line-height: 1;
  color: var(--color6);
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 991px) {
  .page-hero-watermark, .page-hero-watermark-icon { opacity: .6; }
}
@media (max-width: 575px) {
  .page-hero-watermark, .page-hero-watermark-icon { display: none; }
}

/* -- Floating service/value chips, scattered over the visual column -- */
.page-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 21.875rem;
}
@media (max-width: 991px) { .page-hero-visual { min-height: 15rem; margin-top: 2.5rem; } }
@media (max-width: 575px) { .page-hero-visual { min-height: 12rem; } }

.page-hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .75rem 1.25rem .75rem .75rem;
  border-radius: 50rem;
  background-color: #fff;
  border: 1px solid #e9efea;
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .08);
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: .8125rem;
  color: #101010;
  white-space: nowrap;
  animation: page-hero-float 5s ease-in-out infinite;
}
.page-hero-chip > .rounded-circle {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1rem;
  flex-shrink: 0;
}
@keyframes page-hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-.625rem); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-chip { animation: none; }
}
@media (max-width: 575px) {
  .page-hero-chip { position: static; margin: 0 0 .75rem; animation: none; }
  .page-hero-visual { display: flex; flex-direction: column; min-height: 0; }
}

/* ============================================================
   29. SERVICE LANDING PAGES — individual /services/<slug>/ pages.
   Same page-hero-wrapper shell as About/Services, but the visual
   column is swapped for the live lead-capture form (hero-sec-form-
   style4, already built for the homepage) instead of floating
   chips, since every one of these pages exists to convert.
   ============================================================ */
.page-hero-wrapper.has-form .page-hero-copy { padding-right: clamp(0rem, -1rem + 3vw, 2rem); }
.page-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  margin-top: 1.75rem;
  font-family: var(--Urbanist);
  font-weight: 700;
  font-size: .8125rem;
  color: #565656;
}
.page-hero-trust > span { display: inline-flex; align-items: center; gap: .5rem; }
.page-hero-trust > span > i { color: var(--primary); }
.page-hero-wrapper .hero-sec-form-style4 { margin-top: 0; }
@media (max-width: 991px) { .page-hero-wrapper .hero-sec-form-style4 { margin-top: 2.5rem; } }

/* -- Feature spotlight: the "what's included" block reuses the exact
   service-panel-copy/-details/-bullets styling from the six-service
   stack on services.html, minus the sticky/page-flip wrapper (that
   behaviour is deliberately scoped to .service-panel so it can't leak
   in here just by reusing the child classes). -- */
.feature-spotlight-wrapper { background-color: var(--color6); }
.feature-spotlight-copy > .service-panel-icon {
  width: 4.0625rem;
  height: 4.0625rem;
  border: 2px solid var(--color1);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--round);
}
.feature-spotlight-copy > .theme-btn { margin-top: .5rem; }
.feature-spotlight-details { margin-top: 2.5rem; }
@media (min-width: 992px) { .feature-spotlight-details { margin-top: 0; } }

/* -- Industry cards: same why-box shell, split into a "what we
   deliver" / "how it helps" pair so the value prop reads as a
   benefit, not a spec sheet. -- */
.industry-box-block + .industry-box-block { margin-top: .375rem; }
.industry-box-label {
  display: block;
  font-family: var(--Urbanist);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2A7231;
  margin-bottom: .25rem;
}
.industry-box-block > p { color: #565656; margin: 0; }

/* -- Pain-point strip reuses .business-strategy-box; on service pages
   it sits on the plain background (no fixed pattern image needed
   twice per session) so give it its own light wrapper. -- */
.pain-wrapper { background-color: #fff; }
.pain-wrapper .business-strategy-box { background-image: var(--gray-gradient); }

/* ============================================================
   30. NAV DROPDOWN — "Services" submenu linking to all six
   individual service landing pages. Desktop: hover/focus card
   below the nav item. Mobile off-canvas: always-expanded inline
   list (no hover on touch, so no click-to-toggle needed).
   ============================================================ */
.nav-has-dropdown { position: relative; }
.nav-dropdown-caret {
  margin-left: .375rem;
  font-size: .625rem;
  vertical-align: middle;
  transition: transform .2s ease;
}
.nav-has-dropdown:hover > a > .nav-dropdown-caret,
.nav-has-dropdown:focus-within > a > .nav-dropdown-caret {
  transform: rotate(180deg);
}

@media (min-width: 1031px) {
  .nav-dropdown {
    position: absolute;
    top: calc(100% + .9375rem);
    left: 50%;
    min-width: 16.875rem;
    background: #fff;
    border-radius: var(--curve15);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, .18);
    padding: .625rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, .5rem);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 30;
  }
  .nav-has-dropdown:hover > .nav-dropdown,
  .nav-has-dropdown:focus-within > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  /* Invisible bridge so the pointer can travel from the nav item
     down to the card without the :hover chain breaking. */
  .nav-dropdown:before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -.9375rem;
    height: .9375rem;
  }
  .nav-dropdown > li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .nav-dropdown > li:before { display: none !important; }
  .nav-dropdown > li > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .75rem .875rem;
    border-radius: var(--curve10);
    color: #101010 !important;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3 !important;
  }
  .nav-dropdown > li > a:hover,
  .nav-dropdown > li > a:focus,
  .nav-dropdown > li > a[aria-current="page"] {
    background-color: var(--color6);
    color: var(--primary) !important;
  }
  .nav-dropdown > li:last-child > a {
    margin-top: .25rem;
    border-top: 1px solid var(--color6);
    border-radius: 0;
    padding-top: 1rem;
    font-weight: 800;
  }
}

@media (max-width: 1030px) {
  .nav-dropdown-caret { display: none; }
  .nav-dropdown {
    position: static;
    display: block;
    width: 100%;
    margin-top: .875rem;
    padding-left: .9375rem;
    border-left: 2px solid rgba(255, 255, 255, .15);
  }
  .nav-dropdown > li {
    width: 100%;
    margin: .75rem 0 0 !important;
    padding: 0 !important;
  }
  .nav-dropdown > li:first-child { margin-top: 0 !important; }
  .nav-dropdown > li:before { display: none !important; }
  .nav-dropdown > li > a {
    font-size: .875rem;
    font-weight: 700;
    opacity: .8;
    line-height: 1.3 !important;
  }
  .nav-dropdown > li > a[aria-current="page"] { opacity: 1; color: var(--secondary) !important; }
  .nav-dropdown > li:last-child > a { opacity: 1; text-decoration: underline; }
}

/* ============================================================
   31. CONTACT PAGE — direct-contact cards + a single-step
   message form reusing the hero-sec-form-style4 card shell.
   ============================================================ */
.contact-wrapper { background-color: #fff; }
.contact-info-stack > .why-box { margin-bottom: 1.25rem; }
.contact-info-stack > .why-box:last-child { margin-bottom: 0; }
.contact-detail-box p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-detail-box p a:hover,
.contact-detail-box p a:focus { color: var(--primary); }

.contact-form-card { margin-top: 0; }
@media (max-width: 991px) { .contact-form-card { margin-top: 2.5rem; } }

/* Textarea isn't covered by the input-only rule the homepage form
   uses, since a contact form is the first place this component
   needs a multi-line field. */
.hero-sec-form-style4 .field-box > textarea {
  display: block;
  width: 100%;
  min-height: 7.5rem;
  border: 2px solid #e9efea;
  padding: .9375rem 1.25rem;
  color: #565656;
  font-weight: 500;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}
.hero-sec-form-style4 .field-box > textarea::placeholder { color: #9a9a9a; }
.hero-sec-form-style4 .field-box > textarea:focus { border-color: var(--primary); }
