/* ==========================================================================
   Apple-inspired design system
   Loaded after main.css — overrides tokens + neutralizes boxed/card chrome
   so the whole site reads as one continuous, minimal, premium surface.
   ========================================================================== */

:root {
  /* -- palette: monochrome ink + a single restrained accent -- */
  --theme: #0070d6;
  --theme2: #1d1d1f;
  --theme-color3: #0070d6;
  --header: #1d1d1f;
  --text: #6e6e73;
  --text-2: #ffffffd9;
  --border: #d2d2d7;
  --border2: #424245;
  --border3: #d2d2d7;
  --bg: #f5f5f7;
  --bg2: #1d1d1f;
  --bg3: #ffffff14;
  --title-color: #1d1d1f;
  --body-color: #ffffff;
  --smoke-color: #f5f5f7;
  --smoke-color2: #f5f5f7;
  --smoke-color3: #fbfbfd;
  --smoke-color4: #f5f5f7;
  --black-color: #1d1d1f;
  --gray-color: #f5f5f7;
  --white-color: #ffffff;
  --light-color: #86868b;
  --text-color: #6e6e73;
  --text-color2: #6e6e73;
  --border-color: #d2d2d7;

  --title-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body-font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --section-space: 160px;
  --section-space-mobile: 88px;
  --section-title-space: 56px;

  --box-shadow: none;
  --box-shadow-2: none;

  /* -- new tokens used by this stylesheet only -- */
  --ap-ink: #1d1d1f;
  --ap-gray: #6e6e73;
  --ap-gray-light: #86868b;
  --ap-surface: #f5f5f7;
  --ap-surface-2: #fbfbfd;
  --ap-divider: rgba(0, 0, 0, 0.08);
  --ap-divider-dark: rgba(255, 255, 255, 0.14);
  --ap-radius-sm: 14px;
  --ap-radius: 20px;
  --ap-radius-lg: 28px;
  --ap-ease: cubic-bezier(0.5, 0, 0, 1);
}

@media (max-width: 767px) {
  :root {
    --section-title-space: 36px;
  }
}

/* ==========================================================================
   0. Base
   ========================================================================== */

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--ap-gray);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-shadow: none !important; }

a { transition: color .3s var(--ap-ease), opacity .3s var(--ap-ease); }

/* ==========================================================================
   1. Typography
   ========================================================================== */

/* .h1-.h6: a heading whose level differs from its look (e.g. <h2 class="h4">) gets the same type as the tag */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--title-font);
  color: var(--ap-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p { color: var(--ap-gray); line-height: 1.65; }

.page-heading h1,
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-title .title,
h2.title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.section-title p,
.about-content > p,
.details-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ap-gray);
}

/* Eyebrow labels: drop the decorative arrow icons, use Apple-style caps label */
.section-title .subtitle,
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--theme);
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin-bottom: 14px;
}
.subtitle img { display: none !important; }
.section-title.text-white .subtitle,
.text-white .subtitle span { color: #7dc2ff; }

.section-title { margin-bottom: var(--section-title-space); }

/* ==========================================================================
   2. Layout rhythm — merge sections into one continuous scroll
   ========================================================================== */

section, .space, .section-padding { position: relative; }

/* kill hard section borders/dividers so backgrounds flow into each other */
section, .container, .row, [class*="wrapper"] { border: 0 !important; }

/* alternate flat backgrounds instead of boxed cards to create rhythm */
.service-section,
.testimonial-section,
.faq-section,
.news-standard,
.news-section-4 { background: var(--white-color); }

.about-section { background: var(--ap-ink) !important; }

/* dark-blue radial glow instead of near-black */
.work-process-section {
  background:
    radial-gradient(120% 140% at 15% 0%, #1a6fd6 0%, rgba(26, 111, 214, 0) 55%),
    radial-gradient(90% 120% at 100% 100%, #0b4fa8 0%, rgba(11, 79, 168, 0) 60%),
    #0a2e6b !important;
}

.team-section { background: var(--white-color); }

.pricing-section,
.contact-section,
.service-details-section { background: var(--ap-surface); }

/* ==========================================================================
   3. Decorative clutter — remove blobs, dotted shapes, breadcrumb chrome
   ========================================================================== */

[class*="shape"],
.plane-shape,
.line-shape,
.border-shape,
.mask-shape,
.left-shape,
.right-shape,
.arrow-shape,
.cricle-shape,
.small-cricle-shape,
.frame-shape,
.faq-shape-box { display: none !important; }

/* page headers: one big clean headline, no breadcrumb trail / bg photo */
/* compact banner: the header is sticky (in flow), so no extra top padding is needed */
.breadcrumb-wrapper {
  background: var(--white-color) !important;
  padding: 0;
  text-align: left;
}
.breadcrumb-wrapper .page-heading { padding: 72px 0 !important; }
.breadcrumb-wrapper .breadcrumb-items { display: none !important; }
.breadcrumb-wrapper .page-heading h1 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.25rem) !important; }
@media (max-width: 767px) {
  .breadcrumb-wrapper .page-heading { padding: 48px 0 !important; }
}

/* organic "blob" clip-path masks read as dated — swap for clean rounded rects */
.thumb1, .thumb1 img,
.hero-main-container,
.project-content,
.team-card-thumb,
.work-process-wrapper .thumb {
  clip-path: none !important;
  -webkit-clip-path: none !important;
}
.thumb1 img { border-radius: var(--ap-radius-lg) !important; }
.hero-main-container { border-radius: var(--ap-radius-lg) !important; overflow: hidden; }
.team-card-thumb { border-radius: var(--ap-radius-lg) !important; overflow: hidden; }
.team-card-thumb img.thumbimg { border-radius: var(--ap-radius-lg) !important; }

/* ==========================================================================
   4. Cards → flat, borderless, whitespace-separated
   ========================================================================== */

.fancy-box,
.service-card,
.service-box-items,
.team-card,
.testimonial-card,
.blog-card,
.pricing-card,
.counter-box,
.work-process-card,
.project-item-card,
.contact-info-items,
.single-sidebar-widget,
.news-card-items,
.news-standard-items,
.recent-post,
.recent-items,
.faq-image,
.gt-widget-about {
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--ap-radius) !important;
  padding: 0;
}

.service-card, .service-box-items { padding: 40px 8px !important; }
.team-card, .testimonial-card, .blog-card, .pricing-card { padding: 0 !important; }

.pricing-card {
  border-top: 1px solid var(--ap-divider) !important;
  padding-top: 40px !important;
}

.accordion-item {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ap-divider) !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding: 4px 0;
}
.accordion-button {
  background: transparent !important;
  font-weight: 500;
  padding: 22px 0 !important;
  color: var(--ap-ink) !important;
}
.accordion-button::after { filter: none; }
.accordion-body { padding: 0 0 26px !important; color: var(--ap-gray); }

/* images: soft large radius, no heavy frame */
.hero-thumb img,
.about-thumb img,
.project-thumb img,
.project-image img,
.faq-thumb img,
.blog-card-thumb img,
.news-image img,
.news-thumb img,
.details-image img,
.thumb img,
.contact-image img {
  border-radius: var(--ap-radius-lg) !important;
}

.icon, .fancy-box .icon, .service-card .icon {
  background: transparent !important;
  border: 0 !important;
}

/* ==========================================================================
   5. Buttons — pill, quiet, one consistent language
   ========================================================================== */

.theme-btn, .theme-btn-2, .gt-btn, .link-btn, button[type="submit"] {
  border-radius: 980px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: transform .35s var(--ap-ease), opacity .35s var(--ap-ease), background-color .35s var(--ap-ease) !important;
}
.theme-btn:hover, .theme-btn-2:hover, .gt-btn:hover, button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: .92;
}
.link-btn { font-weight: 500; }
.link-btn:hover { opacity: .7; }

/* ==========================================================================
   6. Header — translucent, quiet, no utility bar
   ========================================================================== */

/* `clip` (unlike `hidden`) keeps body from becoming a scroll container, so position: sticky works */
html, body { overflow-x: clip; }

body > header {
  position: sticky;
  top: 0;
  z-index: 100;
}

#header-sticky {
  background: rgba(255, 255, 255, .82) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ap-divider);
  transition: background-color .3s var(--ap-ease), border-color .3s var(--ap-ease);
}
/* main.js toggles .sticky past 250px; the header is already sticky, so it only tightens the look */
#header-sticky.sticky {
  position: relative !important;
  animation: none;
  background: rgba(255, 255, 255, .94) !important;
}

#header-sticky .header-main {
  min-height: 84px;
  padding: 0;
  gap: 32px;
}
#header-sticky.sticky .header-main { min-height: 72px; }
/* Brand logo: stopgap wordmark until the owner supplies a real logo (README, "Logo"). The dot-grid mark is an inline
   SVG (<use href="#ommitek-mark">, defined in Views/Shared/_BrandMark.cshtml) and "OmmiTek" is live text in the site
   font. Boxes match the theme logo images they replace: header 165x34 (all widths), off-canvas 150x31, footer 195x40,
   so the header height and alignment do not change. */
.brand-mark-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a.brand-logo,
a.brand-logo:hover,
a.brand-logo:focus { display: inline-flex; align-items: center; gap: 8px; height: 34px; vertical-align: top; color: var(--ap-ink); text-decoration: none; }
.brand-logo__mark { flex: none; width: 34px; height: 34px; }
.brand-logo__name { font-family: var(--title-font); font-size: 27px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.offcanvas__logo a.brand-logo { height: 31px; gap: 7px; }
.offcanvas__logo .brand-logo__mark { width: 31px; height: 31px; }
.offcanvas__logo .brand-logo__name { font-size: 24px; }
.footer-section a.brand-logo--footer,
.footer-section a.brand-logo--footer:hover,
.footer-section a.brand-logo--footer:focus { height: 40px; gap: 9px; color: var(--white-color, #fff); }
.brand-logo--footer .brand-logo__mark { width: 40px; height: 40px; }
.brand-logo--footer .brand-logo__name { font-size: 32px; }

#header-sticky .header-right { gap: 28px; }

#header-sticky .main-menu nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
#header-sticky .main-menu nav > ul > li { margin-inline-end: 0; }
#header-sticky .main-menu nav > ul > li > a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ap-ink);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: background-color .25s var(--ap-ease), color .25s var(--ap-ease);
}
#header-sticky .main-menu nav > ul > li > a:hover {
  background: var(--ap-surface);
  color: var(--ap-ink) !important;
}
#header-sticky .main-menu nav > ul > li.active > a {
  background: var(--theme);
  color: #fff !important;
}

@media (max-width: 1199px) {
  #header-sticky .main-menu nav > ul > li > a { padding: 9px 13px; font-size: 1rem; }
}

/* EN / VI segmented switch (header + offcanvas) */
.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--ap-divider);
  border-radius: 999px;
  background: var(--ap-surface);
}
.language-switch a {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ap-gray);
  line-height: 1.2;
}
.language-switch a:hover { color: var(--ap-ink); }
.language-switch a.active {
  background: #fff;
  color: var(--ap-ink);
  outline: 1px solid var(--ap-divider);
}
.offcanvas__lang { margin-top: 24px; }

#header-sticky .sidebar__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ap-surface);
  color: var(--ap-ink);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 991px) {
  #header-sticky .header-main { min-height: 68px; }
}

/* ==========================================================================
   7. Footer — flat, minimal, text-led
   ========================================================================== */

.footer-section { background: var(--ap-ink) !important; }
.footer-section .contact-info-area { border-bottom: 1px solid var(--ap-divider-dark); padding-bottom: 40px; }
.footer-section svg path { fill: #86868b !important; }
.footer-section .widget_title { color: #fff; font-size: 1rem; }
.footer-section p, .footer-section li, .footer-section a { color: #86868b; }
.footer-section .about-text { color: #86868b; }
.copyright-wrap { background: var(--ap-ink) !important; border-top: 1px solid var(--ap-divider-dark); }
.copyright-wrap * { color: #86868b !important; }
.footer-section .menu a, .footer-section .checklist li { color: #86868b !important; }
.footer-section .gt-social a, .footer-section .social-icon a {
  border-color: var(--ap-divider-dark) !important;
}

/* offcanvas / topbar language switch cleanup */
.language-switch a { color: inherit; }

/* ==========================================================================
   8. Scroll-reveal animation hooks (see apple-reveal.js)
   ========================================================================== */

.ap-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ap-ease), transform .9s var(--ap-ease);
  will-change: opacity, transform;
}
.ap-reveal.ap-in {
  opacity: 1;
  transform: translateY(0);
}
.ap-reveal-scale {
  opacity: 0;
  transform: scale(.96);
  transition: opacity 1s var(--ap-ease), transform 1s var(--ap-ease);
}
.ap-reveal-scale.ap-in { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .ap-reveal, .ap-reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   9. Misc component quieting
   ========================================================================== */

.opening-category li,
.tagcloud a,
.news-widget-categories a { border-color: var(--ap-divider) !important; }

.single-sidebar-image { border-radius: var(--ap-radius) !important; }

hr, .contact-form-items input, .contact-form-items textarea, .form-clt input, .form-clt textarea {
  border: 0 !important;
  border-bottom: 1px solid var(--ap-divider) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding-left: 0 !important;
}

.checklist li img, .list li i { opacity: .8; }

/* CTA band used without its side illustration (e.g. Service page) */
.cta-wrap-simple { flex-direction: column; text-align: center; gap: 24px !important; padding: 72px 40px !important; }
.cta-wrap-simple .cta-title { margin: 0 !important; max-width: 640px !important; }

::selection { background: var(--theme); color: #fff; }


/* ==========================================================================
   Home industries band (replaces the brand-logo slider) — CSS-only marquee
   ========================================================================== */

.industries-section { padding: 56px 0 24px; overflow: hidden; }
.industries-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ap-gray-light);
}
.industries-marquee {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  animation: industries-scroll 45s linear infinite;
}
.industries-marquee:hover { animation-play-state: paused; }
/* equal-width tiles; padding is half the gap so the two copies join seamlessly */
.industries-track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 4px 12px;
  list-style: none;
}
.industry-chip {
  flex: 0 0 210px;
  width: 210px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  border: 1px solid var(--ap-divider);
  border-radius: var(--ap-radius);
  background: #fff;
  color: var(--ap-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: background-color .3s var(--ap-ease), color .3s var(--ap-ease), border-color .3s var(--ap-ease), transform .3s var(--ap-ease);
}
.industry-chip i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 112, 214, .08);
  color: var(--theme);
  font-size: 1.375rem;
  transition: background-color .3s var(--ap-ease), color .3s var(--ap-ease);
}
.industry-chip:hover { background: var(--ap-ink); border-color: var(--ap-ink); color: #fff; transform: translateY(-3px); }
.industry-chip:hover i { background: rgba(255, 255, 255, .12); color: #fff; }

@keyframes industries-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .industries-section { padding: 40px 0 16px; }
  .industries-track { gap: 16px; padding: 4px 8px; }
  .industry-chip { flex-basis: 168px; width: 168px; min-height: 128px; padding: 20px 12px; font-size: .9375rem; }
  .industry-chip i { width: 48px; height: 48px; font-size: 1.125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .industries-marquee { animation: none; width: auto; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .industries-track[aria-hidden="true"] { display: none; }
  .industries-track { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================================================
   Contact page — consultation request form
   ========================================================================== */

.inquiry-section { background: var(--ap-surface); padding: 96px 0 120px; }
.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

/* left: dark intro panel */
.inquiry-aside {
  position: sticky;
  top: 112px;
  padding: 48px 44px;
  border-radius: var(--ap-radius-lg);
  /* layered radial glows over a deep-to-bright blue base */
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(120, 190, 255, .55) 0%, rgba(120, 190, 255, 0) 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 196, 255, .45) 0%, rgba(0, 196, 255, 0) 60%),
    radial-gradient(70% 60% at 85% 10%, rgba(76, 99, 255, .5) 0%, rgba(76, 99, 255, 0) 65%),
    linear-gradient(160deg, #0a4fc4 0%, #0070d6 45%, #0b3fa8 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* soft light ring for depth */
.inquiry-aside::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 60px rgba(255, 255, 255, .03) !important;
}
.inquiry-aside > p { color: rgba(255, 255, 255, .82) !important; }
.inquiry-steps p { color: rgba(255, 255, 255, .75) !important; }
.inquiry-step-no { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28) !important; backdrop-filter: blur(4px); }
.inquiry-promises { border-top-color: rgba(255, 255, 255, .22) !important; }
.inquiry-promises li { color: #fff !important; }
.inquiry-promises i { color: #bfe3ff !important; }
.inquiry-eyebrow { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
.inquiry-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.inquiry-aside h2 { color: #fff; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.2; margin-bottom: 16px; }
.inquiry-aside > p { color: rgba(255, 255, 255, .7); margin-bottom: 36px; }

.inquiry-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 22px; }
.inquiry-steps li { display: flex; gap: 18px; align-items: flex-start; }
.inquiry-step-no {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
}
.inquiry-steps h3 { color: #fff; font-size: 1.0625rem; margin: 2px 0 4px; letter-spacing: -0.01em; }
.inquiry-steps p { color: rgba(255, 255, 255, .62); font-size: .9375rem; margin: 0; line-height: 1.55; }

.inquiry-promises { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--ap-divider-dark); display: grid; gap: 12px; }
.inquiry-promises li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.inquiry-promises i { color: #5eb1ff; width: 18px; text-align: center; }

/* right: form card */
.inquiry-card {
  padding: 48px;
  border-radius: var(--ap-radius-lg);
  background: #fff;
  border: 1px solid var(--ap-divider);
}
.inquiry-card-title { font-size: 1.75rem; margin-bottom: 6px; }
.inquiry-card-note { font-size: .875rem; color: var(--ap-gray-light); margin-bottom: 28px; }

.inquiry-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: var(--ap-radius-sm);
  background: #fff1f0;
  color: #c4251c;
  font-size: .9375rem;
  font-weight: 500;
}

.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.inquiry-field { display: flex; flex-direction: column; min-width: 0; }
.inquiry-field-full { grid-column: 1 / -1; }
.inquiry-field label {
  margin-bottom: 8px;
  color: var(--ap-ink);
  font-size: .9375rem;
  font-weight: 500;
}
.inquiry-field .req { color: #d93025; }

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 16px !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--ap-ink);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s var(--ap-ease), box-shadow .2s var(--ap-ease);
}
.inquiry-form textarea { min-height: 150px; resize: vertical; }
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: #a1a1a6; }
.inquiry-form input:hover,
.inquiry-form select:hover,
.inquiry-form textarea:hover { border-color: #a1a1a6 !important; }
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--theme) !important;
  box-shadow: 0 0 0 4px rgba(0, 112, 214, .14) !important;
}
.inquiry-form .input-validation-error { border-color: #d93025 !important; background: #fffafa !important; }
.inquiry-form .input-validation-error:focus { box-shadow: 0 0 0 4px rgba(217, 48, 37, .12) !important; }
.inquiry-error { margin-top: 6px; color: #d93025; font-size: .8125rem; }
.inquiry-error:empty { display: none; }
.inquiry-help { margin-top: 6px; color: var(--ap-gray-light); font-size: .8125rem; }

/* service picker: custom listbox over a visually hidden native <select> */
.service-picker { position: relative; }
.service-picker .service-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.service-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ap-ink);
  font-family: var(--body-font);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ap-ease), box-shadow .2s var(--ap-ease);
}
.service-trigger:hover { border-color: #a1a1a6; }
.service-trigger:focus-visible,
.service-picker.is-open .service-trigger {
  outline: none;
  border-color: var(--theme);
  box-shadow: 0 0 0 4px rgba(0, 112, 214, .14) !important;
}
.service-picker.is-invalid .service-trigger { border-color: #d93025; background: #fffafa; }
.service-trigger-icon {
  flex: 0 0 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ap-surface);
  color: var(--ap-gray);
  font-size: .9375rem;
  transition: background-color .2s, color .2s;
}
.service-picker.has-value .service-trigger-icon { background: rgba(0, 112, 214, .1); color: var(--theme); }
.service-trigger-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.service-trigger-text.is-placeholder { color: #a1a1a6; font-weight: 400; }
.service-chevron { flex: 0 0 auto; color: var(--ap-gray); font-size: .8125rem; transition: transform .25s var(--ap-ease); }
.service-picker.is-open .service-chevron { transform: rotate(180deg); }

.service-listbox {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--ap-divider);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .14) !important;
  max-height: 360px;
  overflow-y: auto;
  outline: none;
  animation: service-pop .18s var(--ap-ease);
}
.service-listbox[hidden] { display: none; }
@keyframes service-pop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.service-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color .15s;
}
.service-option + .service-option { margin-top: 2px; }
.service-option.is-active { background: var(--ap-surface); }
.service-option-icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ap-surface);
  color: var(--ap-ink);
  transition: background-color .15s, color .15s;
}
.service-option.is-active .service-option-icon { background: #fff; }
.service-option[aria-selected="true"] .service-option-icon { background: var(--theme); color: #fff; }
.service-option-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.service-option-title { color: var(--ap-ink); font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.service-option-desc { color: var(--ap-gray); font-size: .8125rem; line-height: 1.45; }
.service-option-check { flex: 0 0 auto; color: var(--theme); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.service-option[aria-selected="true"] .service-option-check { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .service-listbox { animation: none; }
}

.inquiry-captcha { display: flex; align-items: center; gap: 12px; }
.inquiry-captcha img { flex: 0 0 auto; border-radius: 12px; border: 1px solid var(--ap-divider); user-select: none; }
.inquiry-captcha-refresh {
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--ap-ink);
  transition: transform .4s var(--ap-ease), background-color .2s;
}
.inquiry-captcha-refresh:hover { background: var(--ap-surface); transform: rotate(90deg); }
.inquiry-captcha input { flex: 1 1 auto; max-width: 220px; text-transform: uppercase; letter-spacing: .3em; font-weight: 600; }
.inquiry-captcha input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }

.inquiry-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.inquiry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--ap-divider);
}
.inquiry-consent { margin: 0; max-width: 340px; font-size: .8125rem; line-height: 1.55; color: var(--ap-gray-light); }

.inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--theme);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color .25s var(--ap-ease), transform .25s var(--ap-ease);
}
.inquiry-btn:hover { background: #005bb0; transform: translateY(-1px); }
.inquiry-btn i { transition: transform .25s var(--ap-ease); }
.inquiry-btn:hover i { transform: translateX(3px); }
.inquiry-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.inquiry-btn-secondary { background: var(--ap-ink); }
.inquiry-btn-secondary:hover { background: #000; }

.inquiry-success { text-align: center; padding: 48px 8px; }
.inquiry-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ec;
  color: #1e8e3e;
  font-size: 1.75rem;
  animation: inquiry-pop .5s var(--ap-ease) both;
}
.inquiry-success h2 { font-size: 1.75rem; margin-bottom: 12px; }
.inquiry-success p { max-width: 420px; margin: 0 auto 28px; }
@keyframes inquiry-pop {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 991px) {
  .inquiry-section { padding: 64px 0 88px; }
  .inquiry-layout { grid-template-columns: 1fr; }
  .inquiry-aside { position: relative; top: auto; padding: 36px 28px; }
  .inquiry-card { padding: 32px 24px; }
}
@media (max-width: 575px) {
  .inquiry-grid { grid-template-columns: 1fr; }
  .inquiry-actions { flex-direction: column; align-items: stretch; }
  .inquiry-btn { width: 100%; }
  .inquiry-captcha { flex-wrap: wrap; }
  .inquiry-captcha input { max-width: none; flex-basis: 100%; }
}

/* ==========================================================================
   Home hero content (style1) — eyebrow, lead, checks, actions, highlights
   ========================================================================== */

.hero-content.style1 { padding: 72px 0 40px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cf0c5;
  box-shadow: 0 0 0 4px rgba(124, 240, 197, .25) !important;
  animation: hero-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(124, 240, 197, .25); }
  50%      { box-shadow: 0 0 0 7px rgba(124, 240, 197, .08); }
}

.hero-content.style1 h1 {
  margin-bottom: 20px;
  color: #fff !important;
  font-size: clamp(2.375rem, 4.4vw, 3.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
}
.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .85) !important;
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  max-width: 600px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
.hero-check-icon {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--theme);
  font-size: .6875rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color .25s var(--ap-ease), color .25s var(--ap-ease), transform .25s var(--ap-ease), border-color .25s;
}
.hero-btn i { transition: transform .25s var(--ap-ease); }
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn:hover i { transform: translateX(4px); }
.hero-btn-primary { background: #fff; color: var(--theme) !important; }
.hero-btn-primary:hover { background: #eaf3ff; }
.hero-btn-ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff !important; }
.hero-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* highlights strip (replaces the review badges) */
.fancy-box-wrapper.style5.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 620px;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--ap-radius);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
}
.hero-highlight + .hero-highlight { border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-highlight-icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1rem;
}
.hero-highlight div > strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.hero-highlight div > span { display: block; color: rgba(255, 255, 255, .78); font-size: .8125rem; line-height: 1.35; }

@media (max-width: 1199px) {
  .hero-content.style1 { padding: 40px 0 48px; }
}
@media (max-width: 767px) {
  .hero-lead { font-size: 1rem; }
  .hero-checks { grid-template-columns: 1fr; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 32px; }
  .hero-btn { flex: 1 1 auto; justify-content: center; }
  .fancy-box-wrapper.style5.hero-highlights { grid-template-columns: 1fr; }
  .hero-highlight + .hero-highlight { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-dot { animation: none; }
}
/* less empty space above the hero copy, room below the highlights */
.hero-main-container.style1 { padding-top: 64px !important; padding-bottom: 64px !important; }
.hero-content.style1 { padding: 32px 0 0; }
@media (max-width: 991px) {
  .hero-main-container.style1 { padding-top: 32px !important; padding-bottom: 40px !important; }
  .hero-content.style1 { padding-top: 32px; }
}

/* footer: the contact strip above the widgets was removed, so start the widgets close to the top */
.footer-section .widget-area.style1 { padding-top: 64px; }
.footer-section .footer-layout.style1 { padding-top: 0 !important; margin-top: 0 !important; }

/* ==========================================================================
   Services: grouped cards (Home + /Service) and service detail pages
   ========================================================================== */

.svc-group-section { padding: 96px 0; background: #fff; }
.svc-group-section.is-alt { background: var(--ap-surface); }
.svc-group-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.svc-group-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(0, 112, 214, .08);
  color: var(--theme);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.svc-group-head h2 { margin-bottom: 14px; font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.15; }
.svc-group-head p { margin: 0; font-size: 1.0625rem; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.svc-grid > div { display: flex; }
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 36px;
  border: 1px solid var(--ap-divider);
  border-radius: var(--ap-radius-lg);
  background: #fff;
  color: var(--ap-ink);
  overflow: hidden;
  transition: transform .35s var(--ap-ease), border-color .35s var(--ap-ease), box-shadow .35s var(--ap-ease);
}
.svc-group-section:not(.is-alt) .svc-card { background: var(--ap-surface-2); }
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0a4fc4, #00a3ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ap-ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(0, 112, 214, .35); box-shadow: 0 24px 48px rgba(0, 54, 120, .12) !important; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0a4fc4, #0070d6 55%, #00a3ff);
  color: #fff;
  font-size: 1.5rem;
}
.svc-card-title { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.3; }
.svc-card-text { margin-bottom: 20px; }
.svc-card-points { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.svc-card-points li { display: flex; align-items: center; gap: 10px; color: var(--ap-ink); font-size: .9375rem; }
.svc-card-points i { color: var(--theme); font-size: .8125rem; }
.svc-card-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: var(--theme); font-weight: 600; }
.svc-card-link i { transition: transform .3s var(--ap-ease); }
.svc-card:hover .svc-card-link i { transform: translateX(5px); }

/* detail page */
.svc-detail-section { padding: 40px 0 120px; background: var(--ap-surface); }
.svc-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; font-size: .875rem; color: var(--ap-gray); }
.svc-trail a { color: var(--ap-gray); }
.svc-trail a:hover { color: var(--theme); }
.svc-trail i { font-size: .625rem; color: var(--ap-gray-light); }
.svc-trail span { color: var(--ap-ink); font-weight: 500; }

.svc-detail-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.svc-sidebar { position: sticky; top: 112px; display: grid; gap: 20px; }
.svc-side-card { padding: 24px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius); background: #fff; }
.svc-side-title { margin-bottom: 16px; font-size: 1.125rem; }
.svc-side-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.svc-side-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: var(--ap-ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color .2s, color .2s;
}
.svc-side-list a:hover { background: var(--ap-surface); }
.svc-side-list a.is-active { background: var(--theme); color: #fff; }
.svc-side-icon { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 112, 214, .08); color: var(--theme); }
.svc-side-list a.is-active .svc-side-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.svc-side-arrow { margin-left: auto; font-size: .75rem; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.svc-side-list a:hover .svc-side-arrow,
.svc-side-list a.is-active .svc-side-arrow { opacity: 1; transform: none; }

.svc-side-cta {
  padding: 28px 24px;
  border-radius: var(--ap-radius);
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(120, 190, 255, .5), rgba(120, 190, 255, 0) 60%),
    radial-gradient(80% 70% at 100% 100%, rgba(0, 196, 255, .4), rgba(0, 196, 255, 0) 60%),
    linear-gradient(160deg, #0a4fc4, #0070d6 50%, #0b3fa8);
  color: #fff;
}
.svc-side-cta-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: rgba(255, 255, 255, .16); font-size: 1.25rem; }
.svc-side-cta h2 { margin-bottom: 8px; color: #fff; font-size: 1.25rem; }
.svc-side-cta p { margin-bottom: 20px; color: rgba(255, 255, 255, .82) !important; font-size: .9375rem; }

.svc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; transition: background-color .25s, transform .25s; }
.svc-btn:hover { transform: translateY(-2px); }
.svc-btn i { transition: transform .25s; }
.svc-btn:hover i { transform: translateX(4px); }
.svc-btn-light { background: #fff; color: var(--theme) !important; }
.svc-btn-light:hover { background: #eaf3ff; }
.svc-btn-primary { background: var(--theme); color: #fff !important; }
.svc-btn-primary:hover { background: #005bb0; }

.svc-main { padding: 44px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius-lg); background: #fff; }
.svc-main-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.svc-main-icon { flex: 0 0 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #0a4fc4, #0070d6 55%, #00a3ff); color: #fff; font-size: 1.625rem; }
/* Service name above the lead: a paragraph (the page h1 already holds it), styled as the former h2 */
.svc-main-head .svc-main-title { margin: 0 0 10px; color: var(--ap-ink); font-family: var(--title-font); font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.svc-lead { margin: 0; color: var(--ap-ink) !important; font-size: 1.125rem; line-height: 1.6; }
/* Quotable service summary: like the lead, a touch stronger, set off by a theme-coloured rule. */
.svc-answer { margin: 0 0 28px; padding: 4px 0 4px 18px; border-left: 3px solid var(--theme); color: var(--ap-ink) !important; font-size: 1.125rem; font-weight: 500; line-height: 1.6; }
.svc-figure { margin: 0 0 28px; border-radius: var(--ap-radius); overflow: hidden; aspect-ratio: 16 / 8; }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { margin-bottom: 40px; font-size: 1.0625rem; }
.svc-section-title { margin-bottom: 20px; font-size: 1.375rem; line-height: 1.278; }

.svc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.svc-feature { padding: 24px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius); background: var(--ap-surface-2); transition: border-color .25s, transform .25s; }
.svc-feature:hover { border-color: rgba(0, 112, 214, .35); transform: translateY(-3px); }
.svc-feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: rgba(0, 112, 214, .1); color: var(--theme); font-size: 1.125rem; }
.svc-feature h3 { margin-bottom: 6px; font-size: 1.0625rem; line-height: 34px; }
.svc-feature p { margin: 0; font-size: .9375rem; }

.svc-included { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: start; margin-bottom: 44px; }
.svc-checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-checks li { display: flex; gap: 12px; color: var(--ap-ink); }
.svc-checks i { margin-top: 4px; color: var(--theme); }
.svc-timeline { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--ap-radius); background: rgba(0, 112, 214, .07); }
.svc-timeline i { margin-bottom: 4px; color: var(--theme); font-size: 1.375rem; }
.svc-timeline span { color: var(--ap-gray); font-size: .8125rem; }
.svc-timeline strong { color: var(--ap-ink); font-size: 1.0625rem; line-height: 1.35; }

.svc-faq { display: grid; gap: 10px; margin-bottom: 44px; }
.svc-faq-item { border: 1px solid var(--ap-divider); border-radius: var(--ap-radius-sm); background: #fff; transition: border-color .2s; }
.svc-faq-item[open] { border-color: rgba(0, 112, 214, .35); }
.svc-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ap-ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary i { flex: 0 0 auto; color: var(--theme); transition: transform .25s; }
.svc-faq-item[open] summary i { transform: rotate(45deg); }
.svc-faq-item p { margin: 0; padding: 0 20px 20px; }

.svc-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--ap-radius); background: var(--ap-surface); }
.svc-bottom-cta h2 { margin-bottom: 4px; font-size: 1.25rem; line-height: 1.278; }
.svc-bottom-cta p { margin: 0; }

@media (max-width: 1199px) {
  .svc-detail-layout { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .svc-group-section { padding: 72px 0; }
  .svc-detail-layout { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; order: 2; }
  .svc-main { padding: 28px 22px; }
  .svc-included { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .svc-grid, .svc-features { grid-template-columns: 1fr; }
  .svc-card { padding: 28px 24px; }
  .svc-main-head { flex-direction: column; }
  .svc-bottom-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* home: industries band already adds space above the first service group */
.industries-section + .svc-group-section { padding-top: 56px; }

/* ==========================================================================
   Home projects: category chips + featured case study (fluid, no fixed masks)
   ========================================================================== */

.prj-section { padding: 96px 0; background: #fff; }
.prj-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.prj-category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ap-divider);
  border-radius: 999px;
  background: var(--ap-surface-2);
  color: var(--ap-ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
}
.prj-category i { color: var(--theme); }
.prj-category.is-active { border-color: var(--theme); background: var(--theme); color: #fff; }
.prj-category.is-active i { color: #fff; }

.prj-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--ap-divider);
  border-radius: var(--ap-radius-lg);
  background: var(--ap-surface);
}
.prj-media { position: relative; padding: 0 48px 40px 0; }
.prj-media-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 488 / 390;
  object-fit: cover;
  border-radius: var(--ap-radius);
}
.prj-media-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 198 / 318;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18) !important;
}
.prj-body { min-width: 0; }
.prj-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 112, 214, .1);
  color: var(--theme);
  font-size: .8125rem;
  font-weight: 600;
}
.prj-body h3 { margin-bottom: 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; overflow-wrap: anywhere; }
.prj-body > p { margin-bottom: 24px; }
.prj-highlights { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.prj-highlights li { display: flex; align-items: center; gap: 14px; color: var(--ap-ink); font-weight: 500; line-height: 1.4; }
.prj-highlights span {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ap-divider);
  color: var(--theme);
}

@media (max-width: 991px) {
  .prj-section { padding: 72px 0; }
  .prj-feature { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
}
@media (max-width: 575px) {
  .prj-media { padding: 0 24px 28px 0; }
  .prj-category { padding: 10px 16px; font-size: .875rem; }
  .prj-body .svc-btn { width: 100%; }
}

/* ==========================================================================
   Home pricing: website packages (Vietnam 4 tiers / International 3 tiers)
   ========================================================================== */

.pkg-section { padding: 96px 0 120px; background: var(--ap-surface); }
.pkg-switch {
  display: flex;
  width: max-content;
  margin: 0 auto 40px;
  padding: 5px;
  border: 1px solid var(--ap-divider);
  border-radius: 999px;
  background: #fff;
}
.pkg-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ap-gray);
  font: 600 .9375rem var(--body-font);
  cursor: pointer;
  transition: background-color .25s var(--ap-ease), color .25s var(--ap-ease);
}
.pkg-switch button:hover { color: var(--ap-ink); }
.pkg-switch button.is-active { background: var(--theme); color: #fff; }

.pkg-grid { display: grid; gap: 20px; align-items: stretch; }
.pkg-grid[hidden] { display: none; }
.pkg-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pkg-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--ap-divider);
  border-radius: var(--ap-radius-lg);
  background: #fff;
  color: var(--ap-ink);
  transition: transform .3s var(--ap-ease), box-shadow .3s var(--ap-ease);
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 54, 120, .1) !important; }
.pkg-card.is-featured {
  border-color: transparent;
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(120, 190, 255, .5), rgba(120, 190, 255, 0) 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(0, 196, 255, .4), rgba(0, 196, 255, 0) 60%),
    linear-gradient(160deg, #0a4fc4, #0070d6 50%, #0b3fa8);
  color: #fff;
}
.pkg-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
}
.pkg-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(0, 112, 214, .1);
  color: var(--theme);
  font-size: 1.25rem;
}
.is-featured .pkg-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.pkg-name { margin-bottom: 4px; font-size: 1.375rem; }
.is-featured .pkg-name { color: #fff; }
.pkg-tagline { min-height: 2.9em; margin-bottom: 20px; font-size: .9375rem; line-height: 1.45; }
.is-featured .pkg-tagline { color: rgba(255, 255, 255, .82) !important; }
.pkg-price { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid var(--ap-divider); }
.is-featured .pkg-price { border-top-color: rgba(255, 255, 255, .22); }
.pkg-price strong { font-size: 1.625rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.pkg-price span { color: var(--ap-gray); font-size: .875rem; }
.is-featured .pkg-price span { color: rgba(255, 255, 255, .78); }
.pkg-renewal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 112, 214, .07);
  color: var(--ap-ink) !important;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.45;
}
.pkg-renewal i { margin-top: 3px; color: var(--theme); }
.pkg-features { display: grid; gap: 12px; margin: 16px 0 28px; padding: 0; list-style: none; }
.pkg-features li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.pkg-features i { flex: 0 0 auto; margin-top: 4px; color: var(--theme); font-size: .8125rem; }
.is-featured .pkg-features i { color: #bfe3ff; }
.pkg-cta { width: 100%; margin-top: auto; }

@media (max-width: 1199px) {
  .pkg-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .pkg-section { padding: 72px 0 88px; }
  .pkg-grid-3 { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 767px) {
  .pkg-grid-4 { grid-template-columns: 1fr; }
  .pkg-switch { width: 100%; }
  .pkg-switch button { flex: 1 1 0; justify-content: center; padding: 11px 12px; }
}

/* ==========================================================================
   Legal pages: /Privacy and /Terms
   ========================================================================== */

.legal-section { padding: 56px 0 120px; background: var(--ap-surface); }
.legal-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.legal-toc { position: sticky; top: 112px; display: grid; gap: 20px; }
.legal-switch { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius); background: #fff; }
.legal-switch a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ap-ink);
  font-weight: 500;
  transition: background-color .2s, color .2s;
}
.legal-switch a i { color: var(--theme); }
.legal-switch a:hover { background: var(--ap-surface); }
.legal-switch a.is-active { background: var(--theme); color: #fff; }
.legal-switch a.is-active i { color: #fff; }
.legal-toc nav { padding: 20px 22px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius); background: #fff; }
.legal-toc nav h2 { margin-bottom: 12px; color: var(--ap-gray-light); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.legal-toc ol a { color: var(--ap-gray); font-size: .875rem; line-height: 1.45; }
.legal-toc ol a:hover { color: var(--theme); }

.legal-article { padding: 48px; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius-lg); background: #fff; }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 112, 214, .08); color: var(--theme) !important; font-size: .8125rem; font-weight: 600; }
.legal-intro { margin-bottom: 36px; color: var(--ap-ink) !important; font-size: 1.125rem; line-height: 1.7; }
.legal-block { padding: 28px 0; border-top: 1px solid var(--ap-divider); scroll-margin-top: 110px; }
.legal-block h2 { margin-bottom: 12px; font-size: 1.25rem; }
.legal-block p { margin-bottom: 12px; line-height: 1.75; }
.legal-block ul { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.legal-block li { display: flex; gap: 12px; color: var(--ap-ink); line-height: 1.6; }
.legal-block li i { margin-top: 6px; color: var(--theme); font-size: .75rem; }
.legal-article .svc-bottom-cta { margin-top: 20px; }

@media (max-width: 991px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-article { padding: 28px 22px; }
}

/* renewal note on the blue featured card */
.is-featured .pkg-renewal { background: rgba(255, 255, 255, .14); color: #fff !important; }
.is-featured .pkg-renewal i { color: #bfe3ff; }

/* project category tabs are buttons */
button.prj-category { cursor: pointer; font-family: var(--body-font); transition: background-color .2s, border-color .2s, color .2s; }
button.prj-category:hover:not(.is-active) { border-color: rgba(0, 112, 214, .4); color: var(--theme); }
.prj-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 40px; }
.prj-feature[hidden] { display: none; }
.prj-feature { animation: prj-fade .35s var(--ap-ease); }
@keyframes prj-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Home testimonials: 3-card grid with initials avatars
   ========================================================================== */

.tst-section {
  padding: 104px 0;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(0, 112, 214, .07), rgba(0, 112, 214, 0) 70%),
    radial-gradient(50% 50% at 100% 100%, rgba(0, 163, 255, .08), rgba(0, 163, 255, 0) 70%),
    #fff;
}
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}
.tst-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 36px 32px 32px;
  border: 1px solid var(--ap-divider);
  border-radius: var(--ap-radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform .35s var(--ap-ease), box-shadow .35s var(--ap-ease), border-color .35s var(--ap-ease);
}
.tst-card:hover { transform: translateY(-6px); border-color: rgba(0, 112, 214, .3); box-shadow: 0 24px 48px rgba(0, 54, 120, .1) !important; }
.tst-card.is-featured {
  border-color: transparent;
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(120, 190, 255, .5), rgba(120, 190, 255, 0) 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(0, 196, 255, .4), rgba(0, 196, 255, 0) 60%),
    linear-gradient(160deg, #0a4fc4, #0070d6 50%, #0b3fa8);
}
.tst-mark {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(0, 112, 214, .1);
  font-size: 4.5rem;
  line-height: 1;
}
.is-featured .tst-mark { color: rgba(255, 255, 255, .16); }
.tst-stars { display: flex; gap: 4px; margin-bottom: 20px; color: #ffb400; font-size: .9375rem; }
.tst-quote {
  position: relative;
  flex: 1 1 auto;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: var(--ap-ink);
  font-size: 1.0625rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
}
.is-featured .tst-quote { color: #fff; }
.tst-person { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ap-divider); }
.is-featured .tst-person { border-top-color: rgba(255, 255, 255, .22); }
.tst-avatar {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a4fc4, #00a3ff);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.is-featured .tst-avatar { background: #fff; color: var(--theme); }
.tst-meta { display: flex; flex-direction: column; min-width: 0; }
.tst-meta strong { color: var(--ap-ink); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.tst-meta span { color: var(--ap-gray); font-size: .8125rem; line-height: 1.45; }
.is-featured .tst-meta strong { color: #fff; }
.is-featured .tst-meta span { color: rgba(255, 255, 255, .78); }

@media (max-width: 1199px) {
  .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}
@media (max-width: 767px) {
  .tst-section { padding: 72px 0; }
  .tst-grid { grid-template-columns: 1fr; }
  .tst-card { padding: 28px 24px 24px; }
}

/* the CTA band above overlaps the next section by 185px (template negative margin); clear it */
.cta-section + .tst-section { padding-top: calc(185px + 96px); }
@media (max-width: 767px) {
  .cta-section + .tst-section { padding-top: calc(185px + 64px); }
}

/* Project details: info box sits below the hero instead of tucking under it */
.project-details-wrapper .project-details-items .project-catagory {
  margin: 48px 0 0;
  background: var(--ap-surface);
  box-shadow: none;
  border-radius: var(--ap-radius);
}

/* Project tiles: same caption box on every card, whether the title takes one line or two */
.project-items .project-image .project-content.style2 {
  height: 150px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-items .project-image .project-content.style2 h3 {
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Mobile & tablet only (below 992px, or touch screens). Desktop styles above are untouched.
   ========================================================================== */

/* No cursor-follow animation on touch screens or small viewports */
@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .mouse-cursor { display: none !important; }
}

/* --- Phones & tablets (< 992px) --- */
@media (max-width: 991.98px) {
  /* Hero: lead with the message, not the tall decorative photo */
  .hero-section .hero-thumb { display: none; }
  .hero-main-container.style1 { padding-top: 56px; padding-bottom: 48px; }

  /* Work process: the inner wrapper doubled the section's top padding */
  .work-process-wrapper.style1.space { padding-top: 0; }

  /* Consultation CTA: drop the decorative photo, keep text + button */
  .cta-wrap.style1 .cta-thumb { display: none; }
  .cta-wrap.style1 { padding: 44px 28px; }
  .cta-wrap.style1 .row { --bs-gutter-y: 1.5rem; }

  /* Footer: widgets stack, so the desktop top padding becomes big gaps */
  .widget.footer-widget { padding-top: 48px; }
  /* the "ready to launch" CTA overlaps the footer top by 116px (mb-n116); keep room for it */
  .footer-section .widget-area.style1 { padding-top: 96px; }
  .footer-section .widget-area.style1.pb-80 { padding-bottom: 48px !important; }
}

/* --- Phones (< 768px) --- */
@media (max-width: 767.98px) {
  /* About stats: keep "100+" on one line and labels readable in three narrow columns */
  .counter-box-wrapper.style1 { gap: 16px; }
  /* (the stat figures' phone sizes are with their base styles in "Heading levels" at the end of this file) */

  /* "Ready to launch" CTA: title was pushed right by a desktop margin */
  .cta-wrap.style2 { padding: 40px 24px; }
  .cta-wrap.style2 .cta-title { margin-left: 0; max-width: none; font-size: 26px; line-height: 1.25; }

  /* Blog: shorter featured image, meta rows that wrap instead of squeezing into columns */
  .news-details-area .blog-post-details .single-blog-post .post-featured-thumb { height: 240px; }
  .news-details-area .blog-post-details .single-blog-post .post-content .post-list { flex-wrap: wrap; gap: 8px 20px; }
  .news-card-items .news-content ul { flex-wrap: wrap; gap: 6px 20px; }
  .news-card-items .news-content ul li,
  .news-details-area .post-list li { white-space: nowrap; }
  .blog-card.style1 .blog-card-body .blog-meta { flex-wrap: wrap; gap: 8px 14px; }
}

/* Consultation form at the end of each blog post (new element on all screen sizes) */
.blog-inquiry { margin-top: 56px; scroll-margin-top: 96px; }
@media (max-width: 767.98px) {
  .blog-inquiry { margin-top: 40px; padding: 28px 20px; }
}

/* Blog sidebar "Recent posts": card images are now 640px, so pin the thumbnail to its previous 128px size */
.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-thumb { flex: 0 0 128px; }
.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-thumb img { width: 128px; height: 128px; object-fit: cover; }

/* Blog tiles (home + Blog page): every tile in a row is the same height, "read more" pinned to the bottom */
.blog-section .blog-card.style1,
.news-section-4 .news-card-items {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-section .blog-card.style1 .blog-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.blog-section .blog-card.style1 .blog-card-body .link-btn { margin-top: auto; align-self: flex-start; }
.news-section-4 .news-card-items .news-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.news-section-4 .news-card-items .news-content .theme-btn-2 { margin-top: auto !important; padding-top: 16px; align-self: flex-start; }
/* Blog page: equal height across rows too (grid with equal row tracks; columns as on the Bootstrap layout) */
@media (min-width: 768px) {
  .news-section-4 .container > .row.g-4 { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .news-section-4 .container > .row.g-4 > [class*="col-"] { width: auto; max-width: none; }
}
@media (min-width: 1200px) {
  .news-section-4 .container > .row.g-4 { grid-template-columns: repeat(3, 1fr); }
}

/* 404 page: large code instead of the template's placeholder image */
.Error-section .error-items { text-align: center; }
.Error-section .error-code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--theme); margin-bottom: 16px; }
.Error-section .error-text { max-width: 560px; margin: 12px auto 28px; }
.Error-section .error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.svc-btn-ghost { border: 1px solid var(--ap-divider); color: var(--ap-ink) !important; background: #fff; }
.svc-btn-ghost:hover { border-color: var(--theme); color: var(--theme) !important; }

/* Small phones: the two about-section features stack instead of squeezing side by side */
@media (max-width: 575.98px) {
  .fancy-box-wrapper.style2 { flex-direction: column; gap: 14px; }
}

/* Tablets: "Ready to launch" banner title used a narrow desktop column; button text wrapped */
@media (min-width: 768px) and (max-width: 991.98px) {
  .cta-wrap.style2 { gap: 24px; }
  .cta-wrap.style2 .cta-title { margin-left: 0; max-width: 60%; font-size: 28px; line-height: 1.25; }
}
@media (max-width: 991.98px) {
  .cta-wrap.style2 .gt-btn { white-space: nowrap; }
}

/* Company contact facts (Views/Shared/_ContactFacts.cshtml): footer column and Contact page aside */
.contact-facts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-facts li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.contact-facts li > i { grid-row: span 2; margin-top: 4px; text-align: center; }
.contact-facts-label { font-size: .8125rem; letter-spacing: .02em; opacity: .8; }
.contact-facts a, .contact-facts address, .contact-facts li > span:last-child { overflow-wrap: anywhere; }
.contact-facts address { margin: 0; font-style: normal; }
.contact-facts-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.contact-facts-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; transition: background-color .2s, color .2s; }
.footer-section .contact-facts i, .footer-section .contact-facts-social a { color: #86868b; }
.footer-section .contact-facts a:hover, .footer-section .contact-facts-social a:hover { color: #fff; }
.inquiry-contact { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.inquiry-contact h3 { margin-bottom: 16px; color: #fff; font-size: 1.0625rem; }
.inquiry-contact .contact-facts li, .inquiry-contact .contact-facts a, .inquiry-contact .contact-facts address { color: #fff; }
.inquiry-contact .contact-facts i { color: #bfe3ff; }
.inquiry-contact .contact-facts a { text-decoration: underline; text-underline-offset: 3px; }
.inquiry-contact .contact-facts-social a { color: #fff; }
.inquiry-contact .contact-facts-social a:hover { background: rgba(255, 255, 255, .16); }

/* Footer recent posts: the date is plain text, not a second link to the post */
.recent-post-wrap .recent-post .media-body .recent-post-meta span { color: #86868b; font-size: 14px; line-height: 22px; }
.recent-post-wrap .recent-post .media-body .recent-post-meta span img { margin-right: 5px; }

/* Blog sidebar categories are labels (no category filter yet): same look, no link hover */
.main-sidebar .single-sidebar-widget .news-widget-categories ul li.is-static > span { display: flex; align-items: center; padding: 20px; }
.main-sidebar .single-sidebar-widget .news-widget-categories ul li.is-static:not(.active):hover { background-color: var(--white); }
.main-sidebar .single-sidebar-widget .news-widget-categories ul li.is-static:not(.active):hover span { color: var(--header); }

/* Blog post: link to the related service after the article */
.post-related-service { color: var(--ap-ink); font-weight: 500; }
.post-related-service a { color: var(--theme); text-decoration: underline; text-underline-offset: 3px; }

/* Project page info box: link to the service */
.project-details-wrapper .project-details-items .project-catagory ul li span a.prj-service-link { color: var(--theme); }

/* Service page: projects that showcase the service */
.svc-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 44px; }
.svc-project { display: flex; flex-direction: column; border: 1px solid var(--ap-divider); border-radius: var(--ap-radius); background: #fff; overflow: hidden; transition: border-color .25s, transform .25s; }
.svc-project:hover { border-color: rgba(0, 112, 214, .35); transform: translateY(-3px); }
.svc-project-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-project-body { padding: 18px 20px 20px; }
.svc-project-body h3 { margin-bottom: 6px; font-size: 1.0625rem; line-height: 34px; }
.svc-project-body h3 a { color: var(--ap-ink); }
.svc-project-body h3 a:hover { color: var(--theme); }
.svc-project-body p { margin: 0; font-size: .9375rem; }
@media (max-width: 575.98px) {
  .svc-projects { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Heading levels (SEO): elements whose tag changed for a logical h1 > h2 > h3
   outline, or that are no longer headings, keep exactly their former look.
   The Bootstrap size classes (.h3, .h4, .h5, .h6) in the views carry the old
   tag's font size and line height; the rules below copy the old contextual styles.
   ========================================================================== */

/* Blog list: intro under the h1, and the date badge (formerly an h3) */
.breadcrumb-wrapper .page-heading .page-heading-intro { position: relative; z-index: 9; max-width: 760px; margin: 16px auto 0; color: rgba(255, 255, 255, .85); font-size: 1.125rem; line-height: 1.6; }
.news-card-items .news-image .post-date .post-date-value { display: block; margin: 0; color: var(--white); font-family: var(--title-font); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.278; }
.news-card-items .news-image .post-date .post-date-value span { color: var(--white); font-size: 16px; font-weight: 400; }

/* Blog post sidebar: widget titles h3 -> h2, recent post titles h6 -> h3 */
.main-sidebar .single-sidebar-widget .wid-title h2 { position: relative; padding-bottom: 15px; }
.main-sidebar .single-sidebar-widget .wid-title h2::before { position: absolute; bottom: 0; left: 0; width: 83px; height: 2px; content: ""; background-color: var(--theme); }
.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-content h3 { font-weight: 700; }
.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-content h3 a { color: var(--title-color); }
.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-content h3 a:hover { color: var(--theme); }

/* Project details: section titles h3 -> h2; previous / next labels are no longer headings */
.project-details-wrapper .project-details-items .details-content h2 { margin-bottom: 15px; font-size: 30px; }
.project-details-wrapper .project-details-items .project-catagory h2 { padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
.project-details-wrapper .preview-area .preview-item .preview-label { display: block; color: var(--ap-ink); font-family: var(--title-font); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.278; }
@media (max-width: 767px) {
  .project-details-wrapper .project-details-items .details-content h2,
  .project-details-wrapper .preview-area .preview-item .preview-label { font-size: 26px; }
}
@media (max-width: 575px) {
  .project-details-wrapper .project-details-items .details-content h2 { font-size: 24px; }
}

/* Project list: card titles h4 -> h3 */
.project-items .project-image .project-content.style2 h3 { font-weight: 700; }
.project-items .project-image .project-content.style2 h3 a { color: var(--title-color); }
.project-items .project-image .project-content.style2 h3 a:hover { color: var(--theme); }

/* Footer recent posts: the titles are links, not headings (formerly h4, same look) */
.recent-post-wrap .recent-post .media-body p.post-title { margin-bottom: 0; font-family: var(--title-font); }

/* Home about: feature titles h6 -> h3; the stats are text (formerly h3 figure + h6 label) */
.fancy-box.style2 .item h3 { max-width: 90px; margin-bottom: 0; color: var(--white-color); font-family: var(--title-font); font-size: 16px; font-style: normal; font-weight: 700; line-height: 22px; text-transform: capitalize; }
.counter-box.style1 .counter-value { margin: 0 0 10px; color: var(--white-color); font-family: var(--title-font); font-size: 40px; font-style: normal; font-weight: 700; letter-spacing: -0.02em; line-height: 30px; }
.counter-box.style1 .counter-label { margin: 0; color: var(--white-color); font-family: var(--body-font); font-size: 20px; font-style: normal; font-weight: 400; letter-spacing: -0.02em; line-height: 30px; }
@media (max-width: 767.98px) {
  /* keep "100+" on one line and the labels readable in three narrow columns */
  .counter-box.style1 .counter-value { font-size: 30px; line-height: 1.1; white-space: nowrap; }
  .counter-box.style1 .counter-label { font-size: 15px; line-height: 1.4; }
}
/* ==========================================================================
   Images (SEO-011): every <img> carries its intrinsic width/height so the browser reserves the space before it
   loads (no layout shift). CSS still decides the displayed size: height follows the width the layout gives the
   image. :where() keeps this at zero specificity, so any rule that sets a height (fixed boxes, object-fit) wins.
   ========================================================================== */
:where(img[width][height]) { height: auto; }

/* Blog post: the featured photo is an <img> (was a CSS background) with the same box, crop and corners */
.news-details-area .blog-post-details .single-blog-post .post-featured-thumb { overflow: hidden; }
.news-details-area .blog-post-details .single-blog-post .post-featured-thumb .post-featured-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
