/*
Theme Name: Ace Micro Staging
Theme URI: https://www.acemicro.com.pk/
Author: Ace Micro
Description: Corporate clean theme, light with an optional dark mode. Plain CSS, no build step. Brand colours from the Ace Micro logo and 2026-27 company profile.
Version: 3.23.0
Text Domain: acemicro-staging
*/

/* ---------- Tokens ---------- */
:root {
  --navy: #183447;        /* logo dark ring: headings */
  --ink: #1d2a35;         /* body text */
  --slate: #4f5f6d;       /* secondary text, 6.5:1 on white */
  --blue: #0b6fae;        /* links and buttons, 5.4:1 on white */
  --blue-hover: #095a8d;
  --sky: #2aa3e8;         /* logo blue: accents only, never text */
  --sky-wash: #eaf5fc;
  --surface: #f4f7fa;
  --line: #dde4eb;
  --white: #ffffff;       /* card and panel background (dark in dark mode) */
  --bg: #ffffff;          /* page background */
  --accent: #0b6fae;      /* filled buttons and chips (white text on top) */
  --accent-hover: #095a8d;
  --on-accent: #ffffff;
  --navy-solid: #183447;  /* filled navy shapes (white text on top) */
  --input-line: #c4cfda;  /* outline-button and divider borders */
  --field-line: #8796a6;  /* form field borders, 3:1 against white */
  --field-bg: #ffffff;
  --logo-tile: #ffffff;   /* logos always sit on a light tile */
  --hero-a: #ffffff;
  --hero-b: #f3f8fc;
  --glass: rgba(255, 255, 255, .9);
  --header-bg: rgba(255, 255, 255, 0.97);
  color-scheme: light;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(24, 52, 71, 0.06), 0 6px 20px rgba(24, 52, 71, 0.06);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-solid); color: var(--on-accent); padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1.5px solid transparent;
  font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--input-line); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(24, 52, 71, 0.05); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.nav-list a:hover { color: var(--blue); background: var(--sky-wash); }
.nav-list .current-menu-item > a, .nav-list a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; }

/* Products and services mega menu (v3.7.1): the label links to /services/, hover or focus opens the panel */
.nav-list .mega-link { display: inline-flex; align-items: center; gap: 4px; }
.has-mega.is-current > .mega-link, .has-mega:hover > .mega-link { color: var(--blue); }
.mega-link .chev, .mega-toggle .chev { transition: transform .2s; }
.has-mega:hover > .mega-link .chev, .has-mega.is-open .chev { transform: rotate(180deg); }
.mega-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--navy); }
.mega { display: none; }
.mega-title { font-size: 13px; font-weight: 700; color: var(--slate); margin: 0 0 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 10px; border-radius: 6px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.mega li a:hover, .mega li a[aria-current="page"] { background: var(--sky-wash); color: var(--blue); }
.mega li a small { display: block; font-weight: 500; font-size: 13px; color: var(--slate); }
.mega-all { margin-top: 12px; padding-left: 10px; font-size: 15px; }

@media (min-width: 960px) {
  .has-mega { position: static; }
  .site-header-inner { position: relative; }
  /* Kept in the layout but hidden, so it can fade and so closing waits a moment (hover intent). */
  .mega {
    display: block; visibility: hidden; opacity: 0; transform: translateY(4px);
    position: absolute; left: 24px; right: 24px; top: calc(100% - 6px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(24, 52, 71, 0.12); padding: 24px;
    transition: opacity .15s ease .2s, transform .15s ease .2s, visibility 0s linear .35s;
  }
  /* Invisible bridge over the gap between the menu item and the panel, so the pointer never "leaves". */
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
  .has-mega.is-open .mega {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .15s ease, transform .15s ease, visibility 0s;
  }
  @media (hover: hover) {
    .has-mega:hover .mega {
      visibility: visible; opacity: 1; transform: none;
      transition: opacity .15s ease, transform .15s ease, visibility 0s;
    }
  }
  .has-mega:focus-within .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .15s ease, transform .15s ease, visibility 0s; }
  .mega-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .mega-col-own { background: var(--surface); border-radius: var(--radius); padding: 14px; margin: -14px -14px -14px 0; }
}

@media (max-width: 959px) {
  .has-mega { display: grid; grid-template-columns: 1fr auto; align-items: stretch; }
  .has-mega > .mega-link .chev { display: none; }
  .mega-toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; border-bottom: 1px solid var(--line); }
  .has-mega .mega { grid-column: 1 / -1; }
  .has-mega.is-open .mega { display: block; padding: 8px 0 12px 12px; border-bottom: 1px solid var(--line); }
  .mega-inner { display: grid; gap: 14px; }
  .mega li a { padding: 8px 6px; border-bottom: 0; font-size: 16px; }
  .site-nav.is-open { max-height: calc(100vh - 76px); overflow-y: auto; }
}

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1.5px solid var(--line); border-radius: 8px;
    padding: 9px 14px; font: 700 15px var(--font); color: var(--navy); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--navy-solid); border-radius: 2px; position: relative;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px; box-shadow: 0 12px 24px rgba(24, 52, 71, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 12px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { width: 100%; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 56px 0 0; background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 100%); }

/* Live background (v3.8): aurora light + blueprint grid + particle network canvas */
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-aurora { position: absolute; inset: -10%; }
.hero-aurora span {
  position: absolute; border-radius: 50%; will-change: transform;
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(1) { width: 58vw; height: 58vw; left: 42%; top: -22%; background: radial-gradient(closest-side, rgba(42, 163, 232, .30), rgba(42, 163, 232, 0)); }
.hero-aurora span:nth-child(2) { width: 46vw; height: 46vw; left: 62%; top: 30%; background: radial-gradient(closest-side, rgba(56, 189, 190, .22), rgba(56, 189, 190, 0)); animation-duration: 32s; animation-delay: -8s; }
.hero-aurora span:nth-child(3) { width: 50vw; height: 50vw; left: -12%; top: 18%; background: radial-gradient(closest-side, rgba(110, 130, 245, .16), rgba(110, 130, 245, 0)); animation-duration: 36s; animation-delay: -14s; }
.hero-aurora span:nth-child(4) { width: 38vw; height: 38vw; left: 20%; top: -30%; background: radial-gradient(closest-side, rgba(11, 111, 174, .14), rgba(11, 111, 174, 0)); animation-duration: 29s; animation-delay: -4s; }
@keyframes aurora-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-6%, 5%, 0) scale(1.12); }
  100% { transform: translate3d(5%, -4%, 0) scale(.95); }
}
.hero-gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(24, 52, 71, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 52, 71, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 55%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 55%); }

/* Architecture diagram */
.hero-diagram { margin: 0; position: relative; }
.hero-diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.hd-mesh { stroke: rgba(24, 52, 71, .16); stroke-width: 1.2; stroke-dasharray: 3 7; }
.hd-link { fill: none; stroke: url(#hd-link); stroke-width: 2; stroke-linecap: round; opacity: .55; stroke-dasharray: 6 8; animation: hd-flow 1.8s linear infinite; }
@keyframes hd-flow { to { stroke-dashoffset: -28; } }
.hd-pulse { fill: #0b6fae; filter: drop-shadow(0 0 6px rgba(42, 163, 232, .9)); }
.hd-hub-box { fill: #fff; stroke: #183447; stroke-width: 2; filter: drop-shadow(0 12px 22px rgba(24, 52, 71, .18)); }
.hd-ring { fill: none; stroke: #2aa3e8; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hd-ring 3.6s ease-out infinite; opacity: 0; }
.hd-ring-2 { animation-delay: 1.8s; }
@keyframes hd-ring { 0% { transform: scale(.75); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
.hd-node-box { fill: rgba(255, 255, 255, .92); stroke: #dde4eb; stroke-width: 1; filter: drop-shadow(0 8px 16px rgba(24, 52, 71, .10)); transition: stroke .2s; }
.hd-node:hover .hd-node-box { stroke: #2aa3e8; }
.hd-node-dot { fill: #eaf5fc; }
.hd-node-icon { fill: none; stroke: #0b6fae; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hd-node-label { font: 700 15px var(--font); fill: #183447; }
.hd-node { animation: hd-float 6s ease-in-out infinite; transform-box: fill-box; }
.hd-node:nth-of-type(2n) { animation-delay: -3s; }
@keyframes hd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora span, .hd-link, .hd-ring, .hd-node { animation: none; }
  .hd-pulse { display: none; }
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 40px; align-items: center; }
.hero-kicker { color: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.hero h1 { color: var(--navy); }
.hero-lede { font-size: 1.15rem; color: var(--slate); margin: 22px 0 32px; max-width: 34em; }


.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0; padding: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transform: translateY(50%); position: relative; z-index: 2;
}
.stats > div { padding: 22px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { color: var(--slate); font-size: 14px; font-weight: 600; }
.stats dd { margin: 2px 0 0; color: var(--navy); font-size: 2rem; font-weight: 800; line-height: 1.2; }

@media (max-width: 959px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); transform: translateY(40px); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
#services { padding-top: 140px; }
.section-head { max-width: 44rem; margin-bottom: 44px; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin-top: 14px; }
.section-foot { margin-top: 32px; }
.lede { color: var(--slate); font-size: 1.1rem; margin: 18px 0 24px; }

.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 1px 2px rgba(24, 52, 71, 0.04);
}
.card-icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--sky-wash); color: var(--blue); margin-bottom: 18px;
}
.card-icon .icon { width: 26px; height: 26px; }
.check-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--slate); font-size: 16px; line-height: 1.5; }
.check-list .icon { color: var(--sky); width: 20px; height: 20px; margin-top: 2px; }

.product-card { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--sky); }
.product-card p { color: var(--slate); flex: 1; }

/* Approach */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-solid); color: var(--on-accent); font-weight: 800;
}
.step p { color: var(--slate); margin-top: 6px; }
.steps-wrap { position: relative; }
.steps-wrap .steps { position: relative; z-index: 1; }
.steps-line {
  position: absolute; left: 43px; top: 44px; bottom: 44px; width: 2px;
  background: linear-gradient(180deg, var(--sky), var(--navy)); border-radius: 2px;
}

/* ---------- Motion (v3.1) ---------- */
/* Hidden until animations.js starts; a 2.5 s fallback in the head always removes this class. */
.anim-pending .hero-kicker,
.anim-pending .hero-lede,
.anim-pending .hero .btn-row,
.anim-pending .hero-diagram,
.anim-pending .stats { visibility: hidden; }
.hero h1 { text-wrap: wrap; } /* SplitText needs normal wrapping to measure lines */

@media (prefers-reduced-motion: no-preference) {
  .service-card, .product-card, .office-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .service-card:hover, .product-card:hover, .office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(24, 52, 71, 0.10);
    border-color: #c7d6e4;
  }
  .card-icon { transition: background-color .25s ease, color .25s ease; }
  .service-card:hover .card-icon { background: var(--accent); color: var(--on-accent); }
}

/* Sliding logo strips (v3.4) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.marquee {
  position: relative; overflow: hidden; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  transition: opacity .22s ease;
}
.marquee.is-switching { opacity: 0; }
.marquee-list { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; }
.marquee-list.is-running { animation: marquee-scroll var(--marquee-duration, 40s) linear infinite; }
.marquee[data-direction="reverse"] .marquee-list.is-running { animation-direction: reverse; }
.marquee:hover .marquee-list, .marquee:focus-within .marquee-list { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* margin, not gap, so the two halves are exactly 50% each */
.marquee-list li {
  flex: none; width: 190px; height: 104px; margin-right: 16px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.marquee-list img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
#partners .marquee-list li { height: 88px; }
#partners .marquee-list img { max-height: 42px; }

.industry-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.chip {
  font: 600 14px/1.2 var(--font); color: var(--navy); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--blue); color: var(--on-accent); }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
  .marquee-list li { scroll-snap-align: start; }
}
@media (max-width: 599px) {
  .marquee-list li { width: 150px; height: 88px; margin-right: 12px; padding: 12px 14px; }
  .marquee-list img { max-height: 54px; }
  .industry-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .chip { flex: none; }
}

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { border-top: 3px solid var(--navy); padding-top: 20px; }
.why-item p { color: var(--slate); margin-top: 10px; font-size: 16px; }

/* Offices */
.office-role { color: var(--blue); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.office-address { display: flex; gap: 8px; margin: 14px 0 10px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.office-address .icon { color: var(--sky); margin-top: 2px; }
.office-focus { color: var(--slate); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--sky-wash); border-top: 1px solid #d3e8f6; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner p { color: var(--slate); font-size: 1.1rem; margin-top: 10px; }

@media (max-width: 959px) {
  .section { padding: 72px 0; }
  #services { padding-top: 120px; }
  .card-grid-2, .card-grid-3, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats > div { padding: 16px 18px; }
  .stats dd { font-size: 1.6rem; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Inner pages ---------- */
/* Page hero for inner pages (v3.9): shares the homepage's aurora + grid background */
.page-hero { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 100%); border-bottom: 1px solid var(--line); padding: 56px 0 60px; }
.page-hero .hero-aurora span { animation-duration: 34s; }
.page-hero .hero-gridlines { -webkit-mask-image: radial-gradient(ellipse 60% 90% at 75% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 75% 30%, #000 25%, transparent 75%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.page-hero.has-aside .page-hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.page-hero h1 { max-width: 18em; }
.page-hero-sub { color: var(--slate); font-size: 1.15rem; margin: 14px 0 0; max-width: 38em; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-aside { display: flex; justify-content: flex-end; }

.facts-panel { width: 100%; max-width: 400px; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facts-title { font-size: 13px; font-weight: 700; color: var(--slate); margin: 0 0 12px; }
.facts-panel dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts-panel dl > div { background: var(--surface); border-radius: 10px; padding: 12px 14px; }
.facts-panel dt { font-size: 13px; color: var(--slate); font-weight: 600; }
.facts-panel dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.15; }

.quick-contact { width: 100%; max-width: 400px; display: grid; gap: 12px; }
.quick-contact a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.quick-contact a:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.quick-contact .qc-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--sky-wash); color: var(--blue); }
.quick-contact .qc-icon .icon, .quick-contact .qc-icon .wa-icon { width: 22px; height: 22px; }
.quick-contact .qc-wa .qc-icon { background: #e7f8ee; color: #1da851; }
.quick-contact strong { display: block; color: var(--navy); font-size: 15px; }
.quick-contact span span { color: var(--slate); font-size: 14px; }

.logo-cloud { width: 100%; max-width: 420px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.logo-cloud span { display: flex; align-items: center; justify-content: center; height: 76px; padding: 12px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 16px rgba(24,52,71,.06); }
.logo-cloud img { max-height: 34px; max-width: 100%; width: auto; height: auto; }

@media (max-width: 959px) {
  .page-hero { padding: 40px 0 44px; }
  .page-hero.has-aside .page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-aside { justify-content: flex-start; }
}
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.page-body-single { grid-template-columns: minmax(0, 46rem); }
.page-aside { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.page-aside h2 { font-size: 1.3rem; }
.page-aside p { color: var(--slate); margin: 10px 0 16px; font-size: 16px; }
.aside-line { display: flex; align-items: center; gap: 10px; margin: 8px 0 !important; }
.aside-line .icon { color: var(--blue); }
.page-aside .btn { margin-top: 12px; width: 100%; }
@media (max-width: 959px) {
  .page-body { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
  .page-aside { position: static; }
}

.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sky); }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); color: var(--navy); }
.prose .contact-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.prose .contact-block p + p { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 64px; font-size: 15px; color: var(--slate); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: var(--navy); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.footer-contact { margin-top: 14px; font-weight: 600; }
.footer-title { font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.footer-links, .footer-offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
.footer-offices strong { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-bottom a { color: var(--slate); }
@media (max-width: 959px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Partner solution pages (v3.5) ---------- */
.solution-hero { background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); padding: 48px 0 56px; }
.solution-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.breadcrumb { font-size: 14px; color: var(--slate); margin-bottom: 18px; }
.breadcrumb a { color: var(--slate); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 600; }
.solution-tagline { font-size: 1.2rem; color: var(--slate); margin: 16px 0 28px; max-width: 34em; }
.solution-logo {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 32px 40px;
}
.solution-logo img { max-height: 110px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.narrow { max-width: 50rem; }
.solution-intro .lede { margin: 0 0 18px; font-size: 1.15rem; }
.product-grid .card h3 { margin-bottom: 10px; }
.product-grid .card p { color: var(--slate); font-size: 16px; }
.model-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.model-list li { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--sky-wash); border-radius: 6px; padding: 4px 10px; }
.fine-print { margin-top: 24px; font-size: 13px; color: var(--slate); }
.more-title { font-size: 1.3rem; margin-bottom: 20px; }
.partner-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.partner-links a { display: flex; align-items: center; justify-content: center; height: 84px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .15s, box-shadow .15s; }
.partner-links a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.partner-links img { max-height: 40px; max-width: 100%; width: auto; height: auto; }
.group-title { font-size: 1.6rem; margin-bottom: 28px; }
.solution-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.solution-card:hover { border-color: var(--blue); box-shadow: 0 14px 32px rgba(24, 52, 71, 0.10); color: inherit; }
.solution-card p { color: var(--slate); font-size: 16px; flex: 1; }
.solution-card-logo { height: 52px; display: flex; align-items: center; }
.solution-card-logo img { max-height: 44px; max-width: 180px; width: auto; height: auto; }

/* Quote form */
.quote-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field em { color: #b42318; font-style: normal; }
.field-wide, .field:first-child { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--field-bg);
  border: 1.5px solid var(--field-line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--blue); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; color: var(--slate); }
.form-notice { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.form-notice-ok { background: #e7f6ec; color: #14532d; border: 1px solid #b7e1c4; }
.form-notice-error { background: #fdecea; color: #8a1c13; border: 1px solid #f5c2bd; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 959px) {
  .solution-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .solution-logo { min-height: 140px; order: -1; }
}
@media (max-width: 599px) {
  .form-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 20px; }
}

/* ---------- WhatsApp chat button (v3.6) ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-button {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: #25d366; color: #fff; font: 700 15px var(--font);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12); }
.wa-button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa-icon { width: 26px; height: 26px; }
.wa-panel {
  width: 330px; max-width: calc(100vw - 32px); background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 48px rgba(24, 52, 71, 0.22); border: 1px solid var(--line);
  animation: wa-in .18s ease-out;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wa-head { display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px 16px 18px; background: #075e54; color: #fff; }
.wa-head-icon { width: 30px; height: 30px; flex: none; margin-top: 2px; }
.wa-title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.wa-sub { font-size: 13px; opacity: .85; margin-top: 4px; line-height: 1.4; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .85; }
.wa-close:hover { opacity: 1; }
.wa-body { padding: 18px; background: #f0f2f5; }
.wa-hello { background: var(--white); border-radius: 0 12px 12px 12px; padding: 10px 14px; font-size: 15px; color: var(--ink); box-shadow: 0 1px 1px rgba(0,0,0,.06); margin-bottom: 14px; display: inline-block; }
.wa-agent {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.wa-agent:hover { border-color: #25d366; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.18); color: var(--ink); }
.wa-avatar {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-solid); color: #fff; font-weight: 800; font-size: 15px;
}
.wa-avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }
.wa-agent-text { display: flex; flex-direction: column; line-height: 1.3; }
.wa-agent-text strong { color: var(--navy); font-size: 15px; }
.wa-agent-text span { color: var(--slate); font-size: 13px; }
.wa-agent-icon { width: 24px; height: 24px; margin-left: auto; color: #25d366; }
@media (max-width: 599px) {
  .wa { right: 14px; bottom: 14px; }
  .wa-button { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-button-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-panel { animation: none; } .wa-button { transition: none; } }
@media print { .wa { display: none; } }

/* Hero diagram on small phones: labels would shrink below readable size, so hide it there. */
@media (max-width: 599px) { .hero-diagram { display: none; } }
@media (min-width: 600px) and (max-width: 959px) { .hero-diagram { max-width: 560px; margin: 0 auto; } }

/* ---------- About page (v3.9) ---------- */
.about-body { color: var(--slate); font-size: 1.05rem; }
.about-deliver h3 { margin-bottom: 4px; }
.about-deliver .check-list strong { color: var(--navy); }
.about-deliver .link-arrow { margin-top: 20px; }
.sector-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sector-card-head .card-icon { margin-bottom: 0; }
.sector-count { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.sector-card h3 { margin: 12px 0 8px; }
.sector-card p { color: var(--slate); font-size: 15px; }
.about-logos .marquee + .about-partners-title { margin-top: 56px; }
.about-partners-title { font-size: 1.4rem; margin-bottom: 20px; }
.about-center { text-align: center; }
.page-hero-aside .solution-logo { width: 100%; max-width: 420px; background: rgba(255,255,255,.92); }

/* Logo cloud fix: the link must fill its box, otherwise width:auto SVG logos (Dell) collapse to zero. */
.logo-cloud a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* Partner ticker in page-hero asides (v3.9.1) */
.partner-ticker {
  width: 100%; max-width: 460px; display: grid; gap: 12px; padding: 16px 0;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.partner-ticker .marquee { padding: 0; }
.partner-ticker .marquee-list li { width: 150px; height: 74px; margin-right: 12px; padding: 10px 14px; box-shadow: 0 4px 12px rgba(24, 52, 71, .05); }
.partner-ticker .marquee-list a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.partner-ticker .marquee-list img { max-height: 34px; }
.partner-ticker .marquee-list li:hover { border-color: var(--blue); }
@media (max-width: 599px) { .partner-ticker .marquee-list li { width: 128px; height: 66px; } }

/* ---------- Cloud Services page and Cloud Services Calculator (v3.10) ---------- */
.mega-highlight { position: relative; }
.mega-badge { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; vertical-align: 2px; }

.cloud-intro h2 { margin-bottom: 4px; }
.infra-partner { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.infra-partner-label { font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.infra-partner img { height: 30px; width: auto; }
.cloud-why-title { font-size: 1.3rem; margin-bottom: 18px; }
.cloud-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cloud-why li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.cloud-why .icon { color: var(--on-accent); background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.cloud-why strong { color: var(--navy); }
.cloud-why p { color: var(--slate); font-size: 15px; margin-top: 2px; }

.cloud-service-card h3 { margin-bottom: 8px; }
.cloud-service-card p { color: var(--slate); font-size: 16px; }
.cloud-service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.soon-chip { display: inline-block; font-size: 12px; font-weight: 700; color: #8a5a00; background: #fff4dc; border: 1px solid #f3dca6; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

.calc-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.calc-main { display: grid; gap: 22px; min-width: 0; }
.calc-label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.calc-preset-list { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-add { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px 14px; background: var(--surface); min-width: 0; }
.calc-add legend { font-weight: 800; color: var(--navy); padding: 0 6px; margin-left: -6px; }
.calc-add-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 120px auto; gap: 12px; align-items: end; }
.calc-add-grid .field, .calc-add-grid .field:first-child { grid-column: auto; min-width: 0; }
.calc-add-btn .btn { height: 46px; width: 100%; }
.calc-add-price { margin-top: 10px; font-size: 14px; color: var(--slate); min-height: 1.4em; }

/* v3.11.0: server cards, shared firewall, sliders */
.calc [hidden] { display: none !important; }
.calc-label-hint { font-weight: 500; color: var(--slate); }
.calc-empty-state { text-align: center; padding: 36px 24px; border: 1.5px dashed #b9c7d4; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--sky-wash), var(--white)); }
.calc-empty-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: var(--white); color: var(--blue); box-shadow: var(--shadow); margin-bottom: 14px; }
.calc-empty-icon .icon { width: 28px; height: 28px; }
.calc-empty-state h3 { font-size: 1.2rem; margin-bottom: 6px; }
.calc-empty-state p { color: var(--slate); max-width: 520px; margin: 0 auto; font-size: 15px; }
.calc-empty-actions, .calc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-empty-actions { justify-content: center; margin-top: 18px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.srv-list { display: grid; gap: 18px; }
.srv-list:empty { display: none; }
.srv.card { padding: 0; overflow: hidden; border-top: 3px solid var(--blue); }
.fw-card.card { border-top-color: var(--sky); }
.srv-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.srv-icon { flex: none; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: var(--white); color: var(--blue); border: 1px solid var(--line); }
.srv-icon .icon { width: 22px; height: 22px; }
.srv-head-text { flex: 1; min-width: 0; }
.srv-title { font-size: 1.05rem; color: var(--navy); margin: 0; overflow-wrap: anywhere; }
.srv-title:focus { outline: none; }
.srv-title:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.srv-head-price { display: block; font-size: 14px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.srv-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.srv-config { padding: 18px; display: grid; gap: 18px; min-width: 0; }
.srv-bill { padding: 18px; border-left: 1px solid var(--line); background: #fbfcfd; font-size: 14px; min-width: 0; }
.srv-bill-title { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.srv-bill-title span { font-weight: 600; color: var(--slate); }
.srv-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.srv-lines li { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); }
.srv-lines li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.srv-amt { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.srv-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.srv-total strong { font-size: 1.1rem; color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.srv-per { margin-top: 4px; text-align: right; color: var(--slate); font-size: 13px; }

.srv-types { border: 0; margin: 0; padding: 0; min-width: 0; }
.srv-types legend, .rs-head label, .stp-field > label { font-size: 14px; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: 8px; }
.srv-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.srv-type { position: relative; display: block; cursor: pointer; }
.srv-type input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.srv-type-box { display: grid; gap: 1px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .15s, background-color .15s; }
.srv-type-box strong { color: var(--navy); font-size: 14px; }
.srv-type-box span { font-size: 13px; color: var(--blue); font-weight: 700; }
.srv-type-box small { font-size: 12px; color: var(--slate); }
.srv-type:hover .srv-type-box { border-color: #9fb3c4; }
.srv-type input:checked + .srv-type-box { border-color: var(--blue); background: var(--sky-wash); box-shadow: inset 0 0 0 1px var(--blue); }
.srv-type input:focus-visible + .srv-type-box { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Range slider: filled track (--fill set by JS) and a value bubble */
.rs { min-width: 0; }
.rs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rs-head label { margin-bottom: 0; }
.rs-readout { font-size: 14px; font-weight: 700; color: var(--slate); }
.rs-num-wrap { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--slate); }
.rs-num, .stp-input { width: 96px; font: 600 15px/1.3 var(--font); color: var(--ink); border: 1.5px solid var(--field-line); border-radius: 8px; padding: 6px 8px; text-align: right; background: var(--field-bg); }
.rs-num:focus, .stp-input:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--blue); }
.rs-track { position: relative; padding-top: 30px; }
.rs-bubble { position: absolute; top: 0; left: 0; padding: 3px 9px; border-radius: 6px; background: var(--navy-solid); color: var(--on-accent); font: 700 13px/1.4 var(--font); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.rs-range { --fill: 0%; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.rs-range:focus { outline: none; }
.rs-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--blue) 0, var(--sky) var(--fill), #dbe4ec var(--fill), #dbe4ec 100%); }
.rs-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); box-shadow: 0 1px 4px rgba(24, 52, 71, .3); transition: transform .12s; }
.rs-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.rs-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(42, 163, 232, .45); }
.rs-range::-moz-range-track { height: 8px; border-radius: 999px; background: #dbe4ec; }
.rs-range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--blue), var(--sky)); }
.rs-range::-moz-range-thumb { box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); box-shadow: 0 1px 4px rgba(24, 52, 71, .3); }
.rs-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(42, 163, 232, .45); }
.rs-scale { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--slate); margin-top: 2px; }

/* Stepper */
.srv-steppers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stp-field { display: flex; flex-direction: column; min-width: 0; }
.stp-field > label { margin-bottom: 6px; }
.stp { display: inline-flex; align-items: center; gap: 6px; }
.stp-input { width: 64px; text-align: center; -moz-appearance: textfield; }
.stp-input::-webkit-inner-spin-button, .stp-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stp-btn { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--input-line); background: var(--white); color: var(--navy); font: 700 20px/1 var(--font); cursor: pointer; }
.stp-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.stp-btn:disabled { opacity: .4; cursor: not-allowed; }
.stp-hint { font-size: 12px; color: var(--slate); margin-top: 4px; }

/* Options (backup, HDD) */
.srv-opts { display: grid; gap: 10px; }
.srv-opt { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.srv-opt-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.srv-opt-label input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.srv-opt-label strong { display: block; color: var(--navy); font-size: 14px; }
.srv-opt-label small { display: block; color: var(--slate); font-size: 13px; }
.srv-opt-panel { margin-top: 12px; }
.fw-note { color: var(--slate); font-size: 14px; }
.fw-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.fw-ha { padding-bottom: 10px; }
.fw-off { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; color: var(--slate); font-size: 15px; }
.fw-off p { margin: 0; min-width: 0; }
.fw-card.is-off { border-top-color: var(--input-line); }
.fw-card.is-off .srv-head-price { color: var(--slate); }

.calc-other { display: grid; gap: 10px; }
.calc-lines-title { font-size: 1.1rem; margin-bottom: 0; }
.calc-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calc-line { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.calc-line-top { display: grid; grid-template-columns: minmax(0, 1fr) auto 42px; gap: 14px; align-items: center; }
.calc-line-name { min-width: 0; overflow-wrap: anywhere; }
.calc-line-cat { display: block; font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.calc-line-name strong { color: var(--navy); font-size: 15px; margin-right: 6px; }
.calc-line-unit { display: block; font-size: 13px; color: var(--slate); }
.calc-line-qty { min-width: 0; }
.calc-line-qty .stp-field { flex-direction: row; align-items: center; gap: 10px; }
.calc-line-qty .stp-field > label { margin: 0; }
.calc-line-total { text-align: right; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-remove { flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--slate); cursor: pointer; }
.calc-remove:hover { color: #b42318; border-color: #f5c2bd; background: #fdecea; }
.calc-parts { list-style: none; margin: 16px 0 0; padding: 12px 14px; display: grid; gap: 6px; border-radius: 10px; background: var(--surface); font-size: 14px; }
.calc-parts li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.calc-parts li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.calc-summary { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.calc-summary h3 { font-size: 1.2rem; margin-bottom: 14px; }
.calc-controls { display: grid; gap: 12px; }
.calc-currency { display: inline-flex; border: 1.5px solid var(--input-line); border-radius: 9px; padding: 3px; width: max-content; }
.seg { font: 700 14px/1 var(--font); border: 0; background: none; color: var(--navy); padding: 9px 16px; border-radius: 6px; cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.calc-totals { margin: 18px 0 0; display: grid; gap: 10px; }
.calc-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.calc-totals dt { color: var(--slate); font-weight: 600; font-size: 15px; }
.calc-totals dd { margin: 0; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.calc-grand dd { font-size: 1.45rem; color: var(--blue); }
.calc-rate { font-size: 13px; color: var(--slate); margin-top: 8px; }
.calc-cta { width: 100%; margin-top: 18px; }
.calc-notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--slate); }
.calc-notes li { padding-left: 14px; position: relative; }
.calc-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

.proposal-summary { margin-bottom: 18px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.proposal-summary-empty { color: var(--slate); }
.proposal-summary-title { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.proposal-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.proposal-summary li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.proposal-summary li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.proposal-summary li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.proposal-summary-total { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; color: var(--navy); }

@media (max-width: 1099px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-summary { position: static; }
  .calc-add-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 799px) {
  .srv-body { grid-template-columns: minmax(0, 1fr); }
  .srv-bill { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .calc-add { padding: 14px; }
  .calc-add-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-line-top { grid-template-columns: minmax(0, 1fr) 42px; grid-template-areas: "name remove" "total total"; gap: 8px 12px; }
  .calc-line-name { grid-area: name; }
  .calc-line-total { grid-area: total; text-align: left; }
  .calc-line-top .calc-remove { grid-area: remove; align-self: start; }
  .srv-type-grid { grid-template-columns: minmax(0, 1fr); }
  .srv-type-box { grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
  .srv-type-box small { grid-column: 1 / -1; }
  .srv-steppers, .fw-controls { grid-template-columns: minmax(0, 1fr); }
  .srv-head { padding: 14px; }
  .srv-config, .srv-bill { padding: 14px; }
  .calc-empty-state { padding: 28px 16px; }
  .calc-actions .btn, .calc-empty-actions .btn { flex: 1 1 100%; }
  .infra-partner { flex-wrap: wrap; }
}

/* ---------- Theme switch and dark mode (v3.12) ---------- */
/* Light is the default. The visitor's choice is saved in localStorage ("acemicro-theme") and applied in the
   <head> before paint, so there is no flash. Dark mode only redefines tokens plus a few fixed colours below. */
.brand { margin-right: auto; }
.theme-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: border-color .15s, color .15s, background-color .15s;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle span { display: inline-flex; }
.theme-toggle .ic-sun, [data-theme="dark"] .theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
@media (max-width: 959px) {
  .theme-toggle { order: 1; }
  .nav-toggle { order: 2; }
  .site-header-inner { gap: 12px; }
}
/* Smooth colour change only while switching (class added by site.js for 400 ms). */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, fill .3s ease, stroke .3s ease !important;
}

[data-theme="dark"] {
  color-scheme: dark;
  --navy: #eaf2f8;
  --ink: #d3dde6;
  --slate: #a3b4c4;
  --blue: #5ab4ee;
  --blue-hover: #8bcaf4;
  --sky: #2aa3e8;
  --sky-wash: #123049;
  --surface: #101c28;
  --line: #24384a;
  --white: #142230;
  --bg: #0c1520;
  --accent: #1675b5;
  --accent-hover: #0f659e;
  --navy-solid: #24557a;
  --input-line: #3a5268;
  --field-line: #5b7690;
  --field-bg: #0c1520;
  --logo-tile: #f1f5f8;
  --hero-a: #0c1520;
  --hero-b: #102131;
  --glass: rgba(20, 34, 48, .88);
  --header-bg: rgba(12, 21, 32, .95);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
}

/* Hero backgrounds and diagram */
[data-theme="dark"] .hero-gridlines { background-image: linear-gradient(rgba(170, 200, 225, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 200, 225, .06) 1px, transparent 1px); }
[data-theme="dark"] .hd-mesh { stroke: rgba(170, 200, 225, .18); }
[data-theme="dark"] .hd-hub-box { stroke: #5ab4ee; filter: drop-shadow(0 0 22px rgba(42, 163, 232, .35)); }
[data-theme="dark"] .hd-node-box { fill: rgba(20, 34, 48, .92); stroke: #2c4459; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
[data-theme="dark"] .hd-node-dot { fill: #123049; }
[data-theme="dark"] .hd-node-icon { stroke: #5ab4ee; }
[data-theme="dark"] .hd-node-label { fill: #eaf2f8; }
[data-theme="dark"] .hd-pulse { fill: #5ab4ee; }

/* Glass panels in page heroes */
[data-theme="dark"] .facts-panel,
[data-theme="dark"] .quick-contact a,
[data-theme="dark"] .partner-ticker { background: var(--glass); }
[data-theme="dark"] .quick-contact .qc-wa .qc-icon { background: rgba(37, 211, 102, .15); color: #4ade80; }

/* Logos keep a light tile so every brand colour stays readable */
[data-theme="dark"] .marquee-list li,
[data-theme="dark"] .logo-cloud span,
[data-theme="dark"] .partner-links a,
[data-theme="dark"] .solution-logo,
[data-theme="dark"] .page-hero-aside .solution-logo,
[data-theme="dark"] .infra-partner { background: var(--logo-tile); border-color: transparent; }
[data-theme="dark"] .infra-partner-label { color: #4f5f6d; }
[data-theme="dark"] .solution-card-logo { width: max-content; max-width: 100%; padding: 6px 12px; border-radius: 8px; background: var(--logo-tile); }

/* Cards, bands and states */
[data-theme="dark"] .service-card:hover, [data-theme="dark"] .product-card:hover, [data-theme="dark"] .office-card:hover { border-color: #3a5268; box-shadow: 0 14px 32px rgba(0, 0, 0, .35); }
[data-theme="dark"] .cta-band { border-top-color: var(--line); }
[data-theme="dark"] .field em { color: #f19a91; }
[data-theme="dark"] .form-notice-ok { background: rgba(22, 163, 74, .14); color: #86efac; border-color: rgba(22, 163, 74, .4); }
[data-theme="dark"] .form-notice-error { background: rgba(180, 35, 24, .16); color: #fca5a5; border-color: rgba(180, 35, 24, .45); }
[data-theme="dark"] .soon-chip { color: #fcd38d; background: rgba(234, 179, 8, .12); border-color: rgba(234, 179, 8, .35); }

/* Calculator */
[data-theme="dark"] .srv-bill { background: var(--surface); }
[data-theme="dark"] .srv-type:hover .srv-type-box { border-color: #4d6780; }
[data-theme="dark"] .calc-empty-state { border-color: var(--input-line); }
[data-theme="dark"] .calc-remove:hover { color: #fca5a5; border-color: rgba(180, 35, 24, .45); background: rgba(180, 35, 24, .16); }
[data-theme="dark"] .rs-range::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--accent) 0, var(--sky) var(--fill), #2b4054 var(--fill), #2b4054 100%); }
[data-theme="dark"] .rs-range::-moz-range-track { background: #2b4054; }

/* WhatsApp panel */
[data-theme="dark"] .wa-body { background: #0f1a24; }
[data-theme="dark"] .wa-avatar::after { border-color: var(--white); }

/* Careers plugin and form guard (their own CSS uses fixed light colours) */
[data-theme="dark"] .amc-hero { background: linear-gradient(180deg, var(--hero-a) 0%, var(--hero-b) 100%); }
[data-theme="dark"] .amc-facts li { background: var(--glass); }
[data-theme="dark"] .amc-job a { background: var(--white); }
[data-theme="dark"] .amc-job a:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .35); }
[data-theme="dark"] .amc-empty { border-color: var(--line); }
[data-theme="dark"] .ag-status { color: var(--slate); }
[data-theme="dark"] .ag-dot { background: #3a5268; }
[data-theme="dark"] .ag-status.is-done { color: #86efac; }

/* WordPress content: keep editor-set light backgrounds readable */
[data-theme="dark"] .prose [style*="background"] { color: #1d2a35; }

/* ---------- Platforms tab and page (v3.13) ---------- */
.mega-plat-list { display: grid; gap: 2px; }
.mega .mega-plat-list a { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; }
.mega-plat-icon { flex: none; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 9px; background: var(--sky-wash); color: var(--blue); }
.mega-plat-icon .icon { width: 20px; height: 20px; }
.mega-plat-list a:hover .mega-plat-icon { background: var(--accent); color: var(--on-accent); }
@media (min-width: 960px) {
  /* Small panel under its own tab instead of the full-width mega panel */
  .has-mega-sm { position: relative; }
  .mega.mega-sm { left: 50%; right: auto; width: 380px; top: calc(100% + 14px); margin-left: -190px; padding: 18px; }
  .mega-sm::before { top: -22px; height: 22px; }
}
@media (max-width: 959px) {
  .mega-sm .mega-title { margin-top: 4px; }
  .mega .mega-plat-list a { padding: 8px 6px; }
}

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1099px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .card-grid-4 { grid-template-columns: 1fr; } }
.product-card .card-icon { margin-bottom: 4px; }
.product-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card-head .card-icon { margin-bottom: 0; }

.platform-card { display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--sky); }
.platform-card .product-card-head { margin-bottom: 4px; }
.platform-card > p { color: var(--slate); }
.platform-card .check-list { margin: 4px 0 8px; flex: 1; align-content: start; }
.platform-card .btn { align-self: flex-start; margin-top: auto; }
.platforms-note { margin-top: 32px; color: var(--slate); }
.solutions-own-note { margin: 0; color: var(--slate); font-size: 1.05rem; }

/* ---------- Contact page form and offices, compact footer (v3.14) ---------- */
.contact-form-wrap { margin-top: 24px; scroll-margin-top: 100px; }
.contact-offices { scroll-margin-top: 100px; }
.contact-offices ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-offices li { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-offices li:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-offices strong { color: var(--navy); font-size: 1.05rem; }
.contact-offices .office-role { display: inline; margin: 0 0 0 6px; font-size: 13px; }
.contact-offices .office-address { margin: 6px 0 0; font-size: 15px; color: var(--ink); }

.site-footer { padding-top: 48px; }
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-contact { margin-top: 10px; }
.footer-hq { line-height: 1.55; }
.footer-offices-link { margin-top: 10px; font-size: 15px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; padding-bottom: 24px; }

/* ---------- Adobe shop (v3.15) ---------- */
.ashop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ashop-main { min-width: 0; display: grid; gap: 18px; }
.ashop-sector { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ashop-sector-btn { grid-column: span 2; }
.ashop-sector-btn[data-sector="individual"], .ashop-sector-btn[data-sector="student"] { grid-column: span 3; }
.ashop-sector-btn { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ashop-sector-btn strong { color: var(--navy); font-size: 15px; }
.ashop-sector-btn span { color: var(--slate); font-size: 13px; line-height: 1.4; }
.ashop-sector-btn:hover { border-color: var(--blue); }
.ashop-sector-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--sky-wash); box-shadow: inset 0 0 0 1px var(--blue); }
.ashop-search { margin: 0; }
.ashop-cats { justify-content: flex-start; margin: 0; }
.ashop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ashop-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.ashop-item.is-added { border-color: var(--blue); }
.ashop-item-text { display: grid; gap: 2px; min-width: 0; }
.ashop-item-text strong { color: var(--navy); font-size: 15px; overflow-wrap: anywhere; }
.ashop-item-detail { display: block; color: var(--slate); font-size: 13px; overflow-wrap: anywhere; }
.ashop-item-min { color: #8a5a00; font-size: 12px; font-weight: 700; }
.ashop-item-price { display: grid; text-align: right; white-space: nowrap; }
.ashop-item-price strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.ashop-item-price span { color: var(--slate); font-size: 12px; }
.ashop-add { padding: 9px 16px; min-width: 84px; }
.ashop-none { color: var(--slate); }
.ashop-summary { top: 96px; }
.ashop-cart { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; max-height: 420px; overflow-y: auto; }
.ashop-line { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ashop-line-head { display: flex; align-items: flex-start; gap: 10px; }
.ashop-line-name { flex: 1; min-width: 0; }
.ashop-line-head strong { color: var(--navy); font-size: 14px; }
.ashop-remove { width: 30px; height: 30px; font-size: 18px; line-height: 1; }
.ashop-line-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.ashop-line-foot .stp-btn { width: 32px; height: 32px; font-size: 18px; }
.ashop-line-foot .stp-input { width: 60px; padding: 4px 6px; }
.ashop-line-total { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.ashop-line-total strong { color: var(--navy); }
.ashop-line-total small { color: var(--slate); font-size: 12px; }
.ashop-cart-empty { margin: 16px 0 0; color: var(--slate); font-size: 14px; }
.ashop-level { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--sky-wash); color: var(--navy); font-size: 13px; font-weight: 600; }
.ashop-steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ashop-steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.ashop-steps li::before { content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy-solid); color: var(--on-accent); font-weight: 800; }
.ashop-steps strong { color: var(--navy); }
.ashop-steps span { color: var(--slate); font-size: 15px; }
.ashop-faq { display: grid; gap: 10px; }
.ashop-faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 0 18px; }
.ashop-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--navy); }
.ashop-faq details p { margin: 0 0 16px; color: var(--slate); }
[data-theme="dark"] .ashop-item-min { color: #fcd38d; }
@media (max-width: 1099px) {
  .ashop { grid-template-columns: minmax(0, 1fr); }
  .ashop-summary { position: static; }
  .ashop-cart { max-height: none; }
}
@media (max-width: 599px) {
  .ashop-sector { grid-template-columns: minmax(0, 1fr); }
  .ashop-sector-btn, .ashop-sector-btn[data-sector="individual"], .ashop-sector-btn[data-sector="student"] { grid-column: auto; }
  .ashop-item { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; }
  .ashop-item .ashop-icon { grid-row: 1 / span 2; }
  .ashop-item-text { grid-column: 2; }
  .ashop-item-price { grid-column: 2; text-align: left; }
  .ashop-add { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}
.ashop-icon { width: 40px; height: 40px; flex: none; border-radius: 9px; object-fit: contain; }
.ashop-line .ashop-icon { width: 28px; height: 28px; border-radius: 6px; }
.ashop-icon-text { display: inline-flex; align-items: center; justify-content: center; background: var(--navy-solid); color: var(--on-accent); font-weight: 800; font-size: 15px; }
.ashop-line .ashop-icon-text { font-size: 11px; }
.ashop-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--sky-wash); color: var(--ink); font-size: 14px; line-height: 1.5; }
.ashop-note .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 1px; }
.ashop-note strong { color: var(--navy); }

/* ---------- Legal links (v3.18) ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--slate); }
.footer-legal a:hover { color: var(--blue); }
.quote-form .form-foot a, .amc-consent a { color: var(--blue); }

/* ---------- Cookie consent bar (v3.23) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; display: flex; align-items: center; gap: 18px; max-width: 860px; width: 100%; padding: 14px 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 14px 40px rgba(24, 52, 71, .18); }
.consent-inner p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1; }
.consent-inner a { color: var(--blue); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { padding: 9px 18px; }
.has-consent-bar .wa { bottom: 110px; }
[data-theme="dark"] .consent-inner { box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
@media (max-width: 599px) {
  .consent { left: 10px; right: 10px; bottom: 10px; }
  .consent-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .consent-actions .btn { flex: 1; }
  .has-consent-bar .wa { bottom: 190px; }
}
