/* ==========================================================================
   Hyper Design — 2026 redesign
   Bootstrap 5.3 + custom layer. Direction-agnostic: every rule uses logical
   properties, so the same sheet serves Arabic (RTL) and English (LTR).
   ========================================================================== */

:root {
  /* Brand — carried over from the live site's blues, plus one warm accent */
  --hd-ink: #061633;          /* Nile ink: hero, dark bands, headings */
  --hd-ink-2: #0B2350;
  --hd-ink-3: #040F24;
  --hd-primary: #0B84F3;      /* Hyper blue */
  --hd-primary-dark: #066AC9;
  --hd-sky: #22C3FF;          /* signal cyan */
  --hd-sun: #FFB547;          /* Giza sun: calls to action only */
  --hd-sun-dark: #F59E1B;
  --hd-paper: #F3F7FC;
  --hd-body: #4A5B78;
  --hd-border: #DCE6F2;
  --hd-white: #fff;

  /* System */
  --hd-radius: 18px;
  --hd-radius-sm: 12px;
  --hd-shadow: 0 6px 24px rgba(6, 22, 51, .06);
  --hd-shadow-lg: 0 24px 60px rgba(6, 22, 51, .14);
  --hd-font-display: 'Alexandria', 'Cairo', system-ui, sans-serif;
  --hd-font-body: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hd-font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --hd-lh-display: 1.35;      /* Arabic needs air above and below */
  --hd-nav-h: 76px;
  --hd-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap bridges */
  --bs-primary: var(--hd-primary);
  --bs-primary-rgb: 11, 132, 243;
  --bs-body-font-family: var(--hd-font-body);
  --bs-body-color: var(--hd-body);
  --bs-body-bg: var(--hd-white);
  --bs-link-color: var(--hd-primary);
  --bs-link-color-rgb: 11, 132, 243;
  --bs-link-hover-color: var(--hd-primary-dark);
  --bs-border-color: var(--hd-border);
  --bs-border-radius: var(--hd-radius-sm);
}

html[lang="en"] { --hd-lh-display: 1.1; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-nav-h) + 12px); }

body {
  font-family: var(--hd-font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--hd-body);
  background: var(--hd-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: opacity .22s ease;
}
body.is-switching { opacity: 0; }

h1, h2, h3, h4 { font-family: var(--hd-font-display); color: var(--hd-ink); line-height: var(--hd-lh-display); }
img { max-width: 100%; }
::selection { background: var(--hd-sky); color: var(--hd-ink); }

:focus-visible { outline: 3px solid var(--hd-sun); outline-offset: 3px; border-radius: 6px; }

.hd-skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 2000; background: var(--hd-sun); color: var(--hd-ink); padding: .5rem 1rem; border-radius: var(--hd-radius-sm); font-weight: 700; }

/* Arrow glyph points "forward" in both directions */
.hd-arrow { display: inline-block; transition: transform .3s var(--hd-ease); }
[dir="rtl"] .hd-arrow { transform: scaleX(-1); }

/* Hero is held back until the intro animation takes over (see inline head script) */
.hd-boot .hd-nav, .hd-boot .hd-hero .container { opacity: 0; }

.hd-count { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .hd-work__go i { transform: scaleX(-1); }

/* ---------- Scroll progress ---------- */
.hd-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100; pointer-events: none; }
.hd-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--hd-sky), var(--hd-sun)); transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .hd-progress span { transform-origin: right center; }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-family: var(--hd-font-body);
  --bs-btn-font-weight: 700;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: .7rem;
  --bs-btn-border-radius: var(--hd-radius-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  transition: transform .25s var(--hd-ease), box-shadow .25s var(--hd-ease), background-color .2s, border-color .2s, color .2s;
}
.btn-lg { --bs-btn-padding-x: 1.7rem; --bs-btn-padding-y: .9rem; --bs-btn-font-size: 1.05rem; --bs-btn-border-radius: 14px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover .hd-arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .hd-arrow { transform: scaleX(-1) translateX(4px); }

.btn-primary {
  --bs-btn-bg: var(--hd-primary); --bs-btn-border-color: var(--hd-primary);
  --bs-btn-hover-bg: var(--hd-primary-dark); --bs-btn-hover-border-color: var(--hd-primary-dark);
  --bs-btn-active-bg: var(--hd-primary-dark); --bs-btn-active-border-color: var(--hd-primary-dark);
  --bs-btn-disabled-bg: var(--hd-primary); --bs-btn-disabled-border-color: var(--hd-primary);
  box-shadow: 0 10px 24px rgba(11, 132, 243, .28);
}
.btn-outline-primary {
  --bs-btn-color: var(--hd-primary); --bs-btn-border-color: var(--hd-primary);
  --bs-btn-hover-bg: var(--hd-primary); --bs-btn-hover-border-color: var(--hd-primary);
  --bs-btn-active-bg: var(--hd-primary-dark); --bs-btn-active-border-color: var(--hd-primary-dark);
  --bs-btn-border-width: 2px;
}
.btn-sun {
  --bs-btn-color: var(--hd-ink); --bs-btn-bg: var(--hd-sun); --bs-btn-border-color: var(--hd-sun);
  --bs-btn-hover-color: var(--hd-ink); --bs-btn-hover-bg: #FFC468; --bs-btn-hover-border-color: #FFC468;
  --bs-btn-active-color: var(--hd-ink); --bs-btn-active-bg: var(--hd-sun-dark); --bs-btn-active-border-color: var(--hd-sun-dark);
  box-shadow: 0 10px 28px rgba(255, 181, 71, .28);
}
.btn-ghost {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .28);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .1); --bs-btn-hover-border-color: rgba(255, 255, 255, .6);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: rgba(255, 255, 255, .16); --bs-btn-active-border-color: #fff;
}
.btn-link { --bs-btn-color: var(--hd-body); --bs-btn-hover-color: var(--hd-ink); text-decoration: none; }

/* ---------- Nav ---------- */
.hd-nav { position: fixed; inset: 0 0 auto 0; z-index: 1050; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.hd-nav .navbar { min-height: var(--hd-nav-h); padding-block: .5rem; transition: min-height .35s var(--hd-ease); }
.hd-nav.is-scrolled { background: rgba(6, 22, 51, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hd-nav.is-scrolled .navbar { min-height: 64px; }
.hd-nav .navbar-brand img { height: 44px; width: auto; transition: height .35s var(--hd-ease); }
.hd-nav.is-scrolled .navbar-brand img { height: 38px; }
.hd-brand-text { font-family: var(--hd-font-display); font-weight: 700; color: #fff; font-size: 1.25rem; }

.hd-nav .nav-link { position: relative; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .98rem; padding: .5rem .9rem !important; transition: color .2s; }
.hd-nav .nav-link::after { content: ''; position: absolute; inset-inline: .9rem; inset-block-end: .2rem; height: 2px; border-radius: 2px; background: var(--hd-sun); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--hd-ease); }
.hd-nav .nav-link:hover, .hd-nav .nav-link.active { color: #fff; }
.hd-nav .nav-link.active::after { transform: scaleX(1); }

.hd-nav__tools { display: flex; align-items: center; gap: .6rem; }
.hd-lang { display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding-inline: .85rem; border-radius: var(--hd-radius-sm); border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font-family: var(--hd-font-display); font-weight: 600; font-size: .9rem; transition: background-color .2s, border-color .2s; }
.hd-lang { text-decoration: none; }
.hd-lang:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.hd-nav .btn-sun { --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1.1rem; box-shadow: none; }

.navbar-toggler { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--hd-radius-sm); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--hd-ease), opacity .2s; }
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 992px) { .navbar-toggler { display: none; } }
@media (max-width: 991.98px) {
  .hd-nav .navbar-collapse { background: rgba(6, 22, 51, .97); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--hd-radius); margin-block-start: .6rem; padding: .6rem; }
  .hd-nav .nav-link { padding: .75rem 1rem !important; border-radius: 10px; }
  .hd-nav .nav-link::after { display: none; }
  .hd-nav .nav-link.active { background: rgba(255, 255, 255, .08); }
}

/* ---------- Shared section pieces ---------- */
.hd-section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.hd-section--paper { background: var(--hd-paper); }
.hd-section--ink { background: var(--hd-ink); color: rgba(255, 255, 255, .72); overflow: hidden; }

.hd-head { max-width: 720px; margin-block-end: clamp(2.2rem, 4vw, 3.5rem); }
.hd-head--wide { max-width: 860px; }

.hd-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-block-end: 1rem; font-family: var(--hd-font-display); font-weight: 600; font-size: .92rem; color: var(--hd-primary); }
.hd-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hd-eyebrow--light { color: var(--hd-sky); }
html[lang="en"] .hd-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

.hd-title { font-weight: 700; font-size: clamp(1.75rem, 3.4vw, 2.75rem); margin-block-end: 1.1rem; text-wrap: balance; }
.hd-title--light { color: #fff; }
.hd-lead { font-size: 1.15rem; color: var(--hd-body); margin-block-end: 1.25rem; max-width: 60ch; }
.hd-lead--light { color: rgba(255, 255, 255, .72); }
.hd-text { max-width: 62ch; }

.hd-sticky { position: sticky; inset-block-start: calc(var(--hd-nav-h) + 32px); }
@media (max-width: 991.98px) { .hd-sticky { position: static; } }

.hd-card { background: #fff; border: 1px solid var(--hd-border); border-radius: var(--hd-radius); box-shadow: var(--hd-shadow); }

.hd-more { display: inline-flex; align-items: center; gap: .5rem; padding: 0; border: 0; background: none; color: var(--hd-primary); font-weight: 700; font-size: .98rem; text-decoration: none; transition: color .2s, gap .3s var(--hd-ease); }
.hd-more:hover { color: var(--hd-primary-dark); gap: .8rem; }

/* ---------- Hero ---------- */
.hd-hero { position: relative; isolation: isolate; background: var(--hd-ink); color: #fff; padding-block: calc(var(--hd-nav-h) + clamp(2.5rem, 6vw, 5rem)) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hd-hero__bg { position: absolute; inset: 0; z-index: -1; }
.hd-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.hd-orb--a { width: 620px; height: 620px; inset-block-start: -220px; inset-inline-end: -160px; background: radial-gradient(circle, var(--hd-primary) 0%, transparent 68%); animation: hd-drift 18s ease-in-out infinite alternate; }
.hd-orb--b { width: 520px; height: 520px; inset-block-end: -260px; inset-inline-start: -180px; background: radial-gradient(circle, var(--hd-sky) 0%, transparent 68%); opacity: .32; animation: hd-drift 22s ease-in-out infinite alternate-reverse; }
.hd-orb--c { width: 560px; height: 560px; inset-block-start: -240px; inset-inline-start: -200px; background: radial-gradient(circle, var(--hd-primary) 0%, transparent 68%); opacity: .4; }
.hd-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%); }
@keyframes hd-drift { to { transform: translate3d(40px, 50px, 0) scale(1.12); } }

.hd-hero__title { font-weight: 800; font-size: clamp(2rem, 4.3vw, 3.7rem); color: #fff; margin-block-end: 1.4rem; }
.hd-line { display: block; overflow: hidden; padding-block: .14em; margin-block: -.14em; }
.hd-line__in { display: block; }
.hd-rotator__word { display: inline-block; position: relative; white-space: nowrap; color: var(--hd-sky); padding-block-end: .12em; will-change: transform, opacity; }
.hd-rotator__word::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: .02em; height: .1em; border-radius: 99px; background: var(--hd-sun); }

@media (max-width: 575.98px) { .hd-rotator__word { white-space: normal; } }

.hd-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; margin-block-end: 1.1rem; padding: .7rem 1rem; max-width: max-content; border-radius: var(--hd-radius); background: #fff; color: var(--hd-ink); }
.hd-hero__price strong { font-family: var(--hd-font-display); font-size: 1.15rem; font-weight: 800; }
.hd-hero__price span { font-size: .92rem; color: var(--hd-body, #475569); }
.hd-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .76); max-width: 54ch; margin-block-end: 2rem; }
.hd-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-block-end: 2.2rem; }

.hd-proof { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; font-weight: 600; font-size: .98rem; color: rgba(255, 255, 255, .86); }
.hd-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hd-proof i { color: var(--hd-sun); font-size: 1.1rem; }

/* Wall of real client work */
.hd-wall { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: clamp(380px, 46vw, 600px); overflow: hidden; transform: rotate(-4deg) scale(1.04); -webkit-mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent 100%); }
[dir="rtl"] .hd-wall { transform: rotate(4deg) scale(1.04); }
.hd-wall__col { display: flex; flex-direction: column; gap: 16px; animation: hd-wall-up 46s linear infinite; will-change: transform; }
.hd-wall__col:nth-child(2) { animation-name: hd-wall-down; animation-duration: 54s; }
.hd-wall__col:nth-child(3) { animation-duration: 40s; }
.hd-wall:hover .hd-wall__col { animation-play-state: paused; }
.hd-tile { position: relative; flex: none; aspect-ratio: 1; background: #fff; border-radius: var(--hd-radius); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); overflow: hidden; }
.hd-tile img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; }
@keyframes hd-wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes hd-wall-down { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@media (max-width: 991.98px) { .hd-wall { height: 340px; max-width: 560px; margin-inline: auto; } }

/* ---------- Ticker ---------- */
.hd-ticker { background: var(--hd-ink-2); border-block: 1px solid rgba(255, 255, 255, .08); overflow: hidden; padding-block: 1.05rem; direction: ltr; }
.hd-ticker__track { display: flex; width: max-content; animation: hd-ticker 38s linear infinite; }
.hd-ticker__track span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--hd-font-display); font-weight: 600; font-size: 1.05rem; color: rgba(255, 255, 255, .86); }
.hd-ticker__track span::after { content: ''; width: 8px; height: 8px; margin-inline: 1.6rem; border-radius: 2px; background: var(--hd-sun); transform: rotate(45deg); }
@keyframes hd-ticker { to { transform: translateX(-50%); } }
/* Arabic: the strip runs left to right; English keeps right to left */
[dir="rtl"] .hd-ticker__track { animation-direction: reverse; }

/* ---------- Services ---------- */
.hd-svc { position: relative; height: 100%; padding: 2rem; overflow: hidden; transition: transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease), border-color .3s; }
.hd-svc::before { content: ''; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 195, 255, .16), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.hd-svc:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow-lg); border-color: rgba(11, 132, 243, .45); }
.hd-svc:hover::before { opacity: 1; }
.hd-svc > * { position: relative; }
.hd-svc__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-block-end: 1.4rem; border-radius: 16px; font-size: 1.55rem; color: var(--hd-primary); background: linear-gradient(140deg, #E6F3FF, #D2EDFF); transition: background .35s, color .35s, transform .45s var(--hd-ease); }
.hd-svc:hover .hd-svc__icon { background: linear-gradient(140deg, var(--hd-primary), var(--hd-sky)); color: #fff; transform: rotate(-6deg) scale(1.06); }
a.hd-svc, a.hd-sys { display: block; color: inherit; text-decoration: none; }
a.hd-sys { display: flex; }
a.hd-svc:hover .hd-more, a.hd-sys:hover .hd-more { color: var(--hd-primary-dark); gap: .8rem; }
a.hd-svc:focus-visible, a.hd-sys:focus-visible { outline: 3px solid rgba(11, 132, 243, .45); outline-offset: 3px; }
.hd-svc__title { font-size: 1.22rem; font-weight: 700; margin-block-end: .6rem; }
.hd-svc__text { margin-block-end: 1.3rem; min-height: 3.6em; }

/* ---------- Why ---------- */
.hd-why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-block-start: 1px solid rgba(255, 255, 255, .12); }
.hd-why li { display: flex; gap: 1.1rem; padding: 1.8rem 0; padding-inline-end: 1.6rem; border-block-end: 1px solid rgba(255, 255, 255, .12); }
.hd-why li:nth-child(even) { padding-inline: 1.6rem 0; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.hd-why i { flex: none; font-size: 1.6rem; line-height: 1.3; color: var(--hd-sky); }
.hd-why h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-block-end: .35rem; }
.hd-why p { margin: 0; font-size: .98rem; color: rgba(255, 255, 255, .66); }
@media (max-width: 575.98px) {
  .hd-why { grid-template-columns: 1fr; }
  .hd-why li, .hd-why li:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
}

/* ---------- Systems ---------- */
.hd-feature { overflow: hidden; }
.hd-feature__media { display: block; height: 100%; min-height: 280px; background: #EAF4FE; }
.hd-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--hd-ease); }
.hd-feature:hover .hd-feature__media img { transform: scale(1.04); }
.hd-feature__body { padding: clamp(1.6rem, 3.4vw, 3rem); }
.hd-feature__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; margin-block-end: .8rem; }
.hd-feature__title a { color: inherit; text-decoration: none; transition: color .2s; }
.hd-feature__title a:hover { color: var(--hd-primary); }
.hd-feature__text { margin-block-end: 1.3rem; max-width: 58ch; }
.hd-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }

.hd-chips { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hd-chips li { padding: .3rem .85rem; border-radius: 99px; background: var(--hd-paper); border: 1px solid var(--hd-border); font-size: .88rem; font-weight: 600; color: var(--hd-ink-2); }

.hd-sys { height: 100%; display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease), border-color .3s; }
.hd-sys:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow-lg); border-color: rgba(11, 132, 243, .45); }
.hd-sys__media { aspect-ratio: 4 / 3; overflow: hidden; background: #EAF4FE; }
.hd-sys__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--hd-ease); }
.hd-sys:hover .hd-sys__media img { transform: scale(1.06); }
.hd-sys__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
.hd-sys__body h3 { font-size: 1.02rem; font-weight: 700; margin-block-end: .45rem; }
.hd-sys__body p { font-size: .92rem; line-height: 1.7; margin-block-end: 1rem; }
.hd-sys__body .hd-more { margin-block-start: auto; font-size: .92rem; }

/* ---------- Process ---------- */
.hd-stepper { position: relative; }
.hd-steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.hd-steps__rail { position: absolute; inset-block: 26px; inset-inline-start: 25px; width: 2px; background: var(--hd-border); border-radius: 2px; }
.hd-steps__fill { display: block; width: 100%; height: 100%; background: linear-gradient(var(--hd-primary), var(--hd-sky)); transform: scaleY(0); transform-origin: top center; border-radius: 2px; }
.hd-step { position: relative; display: flex; gap: 1.4rem; padding-block-end: 2.1rem; }
.hd-step:last-child { padding-block-end: 0; }
.hd-step__n { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--hd-border); font-family: var(--hd-font-mono); font-weight: 500; font-size: 1.1rem; color: var(--hd-body); transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--hd-ease), box-shadow .4s; }
.hd-step h3 { font-size: 1.18rem; font-weight: 700; margin-block: .55rem .3rem; transition: color .3s; }
.hd-step p { margin: 0; max-width: 52ch; }
.hd-static .hd-steps__fill { transform: none; }
.hd-step.is-active .hd-step__n, .hd-static .hd-step__n { background: var(--hd-primary); border-color: var(--hd-primary); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(11, 132, 243, .14); }

/* ---------- About ---------- */
.hd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--hd-border); border: 1px solid var(--hd-border); border-radius: var(--hd-radius); overflow: hidden; }
.hd-stat { background: #fff; padding: clamp(1.4rem, 3vw, 2.2rem); }
.hd-stat dd { margin: 0; font-family: var(--hd-font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; color: var(--hd-ink); direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .hd-stat dd { text-align: right; }
.hd-stat__pre { color: var(--hd-primary); }
.hd-stat dt { margin-block-start: .5rem; font-weight: 600; color: var(--hd-body); }

.hd-plates { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.hd-plate { position: relative; height: 100%; padding: 1.6rem 1.6rem 1.5rem; padding-inline-start: 4.4rem; border-radius: var(--hd-radius); background: var(--hd-ink); color: #fff; overflow: hidden; }
.hd-plate::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: linear-gradient(var(--hd-sky), var(--hd-primary)); }
.hd-plate i { position: absolute; inset-block-start: 1.5rem; inset-inline-start: 1.5rem; font-size: 1.8rem; line-height: 1; color: var(--hd-sun); }
.hd-plate__k { margin: 0 0 .5rem; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .74); line-height: 1.6; }
.hd-plate__v { margin: 0; font-family: var(--hd-font-mono); font-size: 1.3rem; font-weight: 500; color: #fff; }
.hd-plate__v span { font-family: var(--hd-font-body); font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* ---------- Projects ---------- */
.hd-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-block-end: 2.2rem; }
.hd-filter { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.05rem; border-radius: 99px; border: 1px solid var(--hd-border); background: #fff; color: var(--hd-ink-2); font-weight: 600; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--hd-ease); }
.hd-filter:hover { border-color: var(--hd-primary); color: var(--hd-primary); transform: translateY(-2px); }
.hd-filter.is-active { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }
.hd-count { font-family: var(--hd-font-mono); font-size: .8rem; font-weight: 500; opacity: .65; }

.hd-work { height: 100%; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease), border-color .3s; }
.hd-work:hover { transform: translateY(-6px); box-shadow: var(--hd-shadow-lg); border-color: rgba(11, 132, 243, .45); }
.hd-work__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; border-block-end: 1px solid var(--hd-border); overflow: hidden; }
.hd-work__media img { position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain; transition: transform .6s var(--hd-ease); }
.hd-work:hover .hd-work__media img { transform: scale(1.07); }
.hd-work__media.is-fallback { background: linear-gradient(140deg, #E6F3FF, #D2EDFF); font-family: var(--hd-font-display); font-weight: 800; font-size: 2.2rem; color: var(--hd-primary); }
.hd-work__go { position: absolute; inset-block-start: .7rem; inset-inline-end: .7rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hd-ink); color: #fff; font-size: .9rem; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s var(--hd-ease); }
.hd-work:hover .hd-work__go, .hd-work:focus-visible .hd-work__go { opacity: 1; transform: scale(1); }
.hd-work__body { flex: 1; display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; }
.hd-work__name { font-family: var(--hd-font-display); font-weight: 700; font-size: 1rem; line-height: 1.5; color: var(--hd-ink); margin: 0; }
.hd-work__cat { font-size: .85rem; color: var(--hd-body); margin: 0; line-height: 1.6; }
.hd-work__plat { display: flex; gap: .6rem; margin-block-start: auto; padding-block-start: .5rem; color: var(--hd-primary); font-size: 1rem; }
.hd-empty { grid-column: 1 / -1; width: 100%; text-align: center; padding: 3rem 1rem; }

/* ---------- Contact ---------- */
.hd-contact .container { position: relative; }
.hd-info { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.3rem; }
.hd-info li { display: flex; gap: 1rem; align-items: flex-start; }
.hd-info i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--hd-sky); font-size: 1.2rem; }
.hd-info span { display: block; font-size: .85rem; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.hd-info a, .hd-info p { margin: 0; color: #fff; font-weight: 600; font-size: 1.08rem; text-decoration: none; }
.hd-info a:hover { color: var(--hd-sun); }

.hd-social { display: flex; gap: .6rem; }
.hd-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--hd-ease); }
.hd-social a:hover { background: var(--hd-sun); border-color: var(--hd-sun); color: var(--hd-ink); transform: translateY(-3px); }

.hd-form { background: #fff; color: var(--hd-body); border-radius: calc(var(--hd-radius) + 4px); padding: clamp(1.5rem, 3.4vw, 2.6rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.hd-form__title { font-size: 1.35rem; font-weight: 700; margin-block-end: 1.4rem; }
.hd-form .form-label { font-weight: 600; font-size: .93rem; color: var(--hd-ink); margin-block-end: .4rem; }
.hd-req { color: #D43C5C; }
.form-control, .form-select { padding: .75rem 1rem; border: 1.5px solid var(--hd-border); border-radius: var(--hd-radius-sm); background-color: var(--hd-paper); color: var(--hd-ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.form-control::placeholder { color: #8FA0BA; }
.form-control:focus, .form-select:focus { border-color: var(--hd-primary); background-color: #fff; box-shadow: 0 0 0 4px rgba(11, 132, 243, .14); }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.hd-form__note { font-size: .88rem; color: var(--hd-body); flex: 1 1 220px; line-height: 1.6; }
.hd-form__ok { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--hd-radius-sm); background: #E7F8EF; color: #0B6B3A; font-weight: 600; }
.hd-form__ok[hidden], .hd-form__err[hidden] { display: none; }
.hd-form__err { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; padding: .85rem 1rem; border-radius: var(--hd-radius-sm); background: #FDECEF; color: #A12842; font-weight: 600; }
.hd-form__err a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.invalid-feedback { font-size: .85rem; }

/* ---------- Footer ---------- */
.hd-footer { background: var(--hd-ink-3); color: rgba(255, 255, 255, .6); padding-block: 2rem; }
.hd-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.hd-footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.hd-footer__nav a { color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s; }
.hd-footer__nav a:hover { color: var(--hd-sun); }
.hd-footer__copy { margin: 0; font-size: .9rem; }

/* ---------- Floating WhatsApp ---------- */
.hd-fab { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 1040; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.7rem; text-decoration: none; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .3s var(--hd-ease); }
.hd-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: hd-ping 2.4s ease-out infinite; }
.hd-fab:hover { color: #fff; transform: scale(1.08); }
@keyframes hd-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }

/* ==========================================================================
   Inner pages (service.html, system.html, project.html)
   ========================================================================== */

/* ---------- Page hero ---------- */
.hd-hero--page { padding-block: calc(var(--hd-nav-h) + clamp(2rem, 4vw, 3.5rem)) clamp(3.5rem, 6vw, 5.5rem); }
.hd-hero__title--page { font-size: clamp(1.9rem, 3.8vw, 3.2rem); margin-block-end: 1rem; }
.hd-hero__sub { font-family: var(--hd-font-display); font-weight: 600; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--hd-sky); margin-block-end: 1rem; }
.hd-hero__sub--mono { font-family: var(--hd-font-mono); font-weight: 400; font-size: 1rem; }
.hd-hero__plats { display: flex; gap: .9rem; margin-block-end: 1.8rem; font-size: 1.35rem; color: rgba(255, 255, 255, .82); }
.hd-hero .hd-eyebrow a { color: inherit; text-decoration: none; }
.hd-hero .hd-eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; padding: 0; margin: 0 0 1.5rem; font-size: .9rem; color: rgba(255, 255, 255, .5); }
.hd-crumbs li + li::before { content: '/'; margin-inline-end: .6rem; opacity: .6; }
.hd-crumbs a { color: rgba(255, 255, 255, .74); text-decoration: none; transition: color .2s; }
.hd-crumbs a:hover { color: var(--hd-sun); }
.hd-crumbs [aria-current] { color: #fff; }

.hd-badge { display: inline-flex; align-items: flex-start; gap: .6rem; padding: .6rem 1rem; margin-block-end: 1.8rem; border-radius: var(--hd-radius-sm); background: rgba(34, 195, 255, .1); border: 1px solid rgba(34, 195, 255, .3); color: #DDF4FF; font-size: .92rem; font-weight: 600; line-height: 1.7; }
.hd-badge i { color: var(--hd-sky); font-size: 1.1rem; line-height: 1.5; }

/* Service / system picture */
.hd-shot { position: relative; max-width: 540px; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--hd-ink-2); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); rotate: -2deg; }
[dir="rtl"] .hd-shot { rotate: 2deg; }
.hd-shot img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hd-shot__icon { position: absolute; inset-block-end: -22px; inset-inline-start: -14px; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--hd-sun); color: var(--hd-ink); font-size: 2rem; box-shadow: 0 16px 36px rgba(255, 181, 71, .35); }
@media (max-width: 575.98px) { .hd-shot__icon { width: 60px; height: 60px; font-size: 1.6rem; inset-inline-start: 6px; } }

/* Project logo */
.hd-logo { position: relative; max-width: 460px; margin-inline: auto; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; }
.hd-logo img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.hd-logo__link { position: absolute; inset: 0; display: block; }
.hd-logo__link:focus-visible { outline: 3px solid var(--hd-sun, #FFB020); outline-offset: -3px; }
.hd-hero__titlelink { color: inherit; text-decoration: none; transition: color .2s; }
.hd-hero__titlelink:hover { color: var(--hd-sun, #FFB020); }
.hd-logo.is-fallback { background: linear-gradient(140deg, #E6F3FF, #D2EDFF); font-family: var(--hd-font-display); font-weight: 800; font-size: 5rem; color: var(--hd-primary); }


/* ---------- Content blocks ---------- */
.hd-block { padding-block: clamp(3rem, 6vw, 5.5rem); }
.hd-block__solo { max-width: 880px; }
.hd-title--sm { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.hd-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.hd-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.hd-prose p { font-size: 1.15rem; color: var(--hd-ink-2); max-width: 70ch; }
.hd-prose p:last-child { margin-block-end: 0; }

.hd-checks { list-style: none; padding: 0; margin: 0; display: grid; border-block-start: 1px solid var(--hd-border); }
.hd-checks li { display: flex; gap: .9rem; padding: .95rem 0; border-block-end: 1px solid var(--hd-border); }
.hd-checks i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-block-start: .2rem; border-radius: 50%; background: rgba(11, 132, 243, .1); color: var(--hd-primary); font-size: .95rem; }
.hd-checks strong { color: var(--hd-ink); }
@media (min-width: 768px) { .hd-checks--2 { grid-template-columns: 1fr 1fr; column-gap: 2.2rem; } }

.hd-mini { position: relative; height: 100%; padding: 1.5rem; overflow: hidden; transition: transform .4s var(--hd-ease), box-shadow .4s var(--hd-ease), border-color .3s; }
.hd-mini::before { content: ''; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 195, 255, .16), transparent 62%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.hd-mini:hover { transform: translateY(-4px); box-shadow: var(--hd-shadow-lg); border-color: rgba(11, 132, 243, .45); }
.hd-mini:hover::before { opacity: 1; }
.hd-mini > * { position: relative; }
.hd-mini h3 { font-size: 1.08rem; font-weight: 700; margin-block-end: .5rem; }
.hd-mini p { margin: 0; font-size: .97rem; }

.hd-groups { columns: 2 280px; column-gap: 1.25rem; }
.hd-group { padding: 1.5rem; margin-block-end: 1.25rem; break-inside: avoid; }
.hd-group h3 { font-size: 1.1rem; font-weight: 700; margin-block-end: .9rem; }
.hd-group__d { font-size: .95rem; margin-block-end: .9rem; }
.hd-dots { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .96rem; line-height: 1.7; }
.hd-dots li { position: relative; padding-inline-start: 1.25rem; }
.hd-dots li::before { content: ''; position: absolute; inset-inline-start: 0; inset-block-start: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--hd-primary); transform: rotate(45deg); }
.hd-group__sub { display: flex; align-items: center; gap: .5rem; margin: 1.2rem 0 .7rem; padding-block-start: 1rem; border-block-start: 1px dashed var(--hd-border); font-family: var(--hd-font-display); font-weight: 600; font-size: .88rem; color: var(--hd-ink); }
.hd-group__sub i { color: var(--hd-sun-dark); }
.hd-dots--sub { font-size: .9rem; }
.hd-dots--sub li::before { background: var(--hd-sun); }

.hd-steps--plain .hd-step p { margin-block-start: .7rem; font-size: 1.05rem; color: var(--hd-ink-2); }

.hd-chips--lg { margin: 0; gap: .6rem; }
.hd-chips--lg li { padding: .55rem 1.1rem; background: #fff; font-size: .98rem; }
.hd-chips--mono { margin: 0; }
.hd-chips--mono li { font-family: var(--hd-font-mono); font-weight: 500; font-size: .84rem; }
.hd-chips a { color: inherit; text-decoration: none; transition: color .2s; }
.hd-chips a:hover { color: var(--hd-primary); }

.hd-noteband { background: var(--hd-ink-2); padding-block: 2rem; }
.hd-note { display: flex; align-items: center; gap: 1rem; margin: 0; font-family: var(--hd-font-display); font-weight: 600; font-size: clamp(1.02rem, 1.7vw, 1.25rem); line-height: 1.8; color: #fff; }
.hd-note i { flex: none; font-size: 1.6rem; color: var(--hd-sun); }

/* ---------- Pricing ---------- */
#pricing .container { position: relative; }
.hd-billing { display: inline-flex; gap: .3rem; padding: .3rem; margin-block-start: .6rem; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.hd-billing button { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.2rem; border: 0; border-radius: 99px; background: transparent; color: rgba(255, 255, 255, .78); font-weight: 700; font-size: .95rem; transition: background-color .25s, color .25s; }
.hd-billing button[aria-pressed="true"] { background: #fff; color: var(--hd-ink); }
.hd-billing__save { padding: .1rem .6rem; border-radius: 99px; background: var(--hd-sun); color: var(--hd-ink); font-size: .75rem; white-space: nowrap; }

.hd-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block-start: .5rem; }
@media (max-width: 1199.98px) { .hd-plans { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }
@media (max-width: 767.98px) { .hd-plans { grid-template-columns: 1fr; } }
/* each card spans three shared rows, so prices, buttons and feature lists line up across cards */
.hd-plan { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 2rem 1.5rem 1.6rem; border-radius: var(--hd-radius); background: #fff; color: var(--hd-body); border: 1px solid transparent; }
.hd-plan.is-featured { border-color: var(--hd-sun); box-shadow: 0 0 0 3px rgba(255, 181, 71, .35), 0 30px 70px rgba(0, 0, 0, .35); }
.hd-plan__tag { position: absolute; inset-block-start: -13px; inset-inline-start: 1.5rem; padding: .1rem .8rem; border-radius: 99px; background: var(--hd-sky); color: var(--hd-ink); font-size: .78rem; font-weight: 700; }
.hd-plan.is-featured .hd-plan__tag { background: var(--hd-sun); }
.hd-plan__name { font-size: 1.2rem; font-weight: 700; margin-block-end: .7rem; }
.hd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: 0; }
.hd-price__n { font-family: var(--hd-font-display); font-weight: 800; font-size: 2.3rem; line-height: 1.3; color: var(--hd-ink); }
.hd-price__n--text { font-size: 1.55rem; line-height: 1.95; }
.hd-price__u { font-size: .9rem; font-weight: 600; }
.hd-price__billed { margin: .2rem 0 0; font-size: .82rem; line-height: 1.6; }
#pricing .hd-price__m { display: none; }
#pricing.is-monthly .hd-price__m { display: inline; }
#pricing.is-monthly .hd-price__a { display: none; }
.hd-plan__desc { margin: .9rem 0 1.2rem; font-size: .95rem; line-height: 1.7; }
.hd-plan__cta { align-self: end; }
.hd-plan__list:first-child { margin-block-start: 1.3rem; }
.hd-plan .btn { --bs-btn-padding-x: .9rem; --bs-btn-font-size: .92rem; }
.hd-plan__trial { margin: .6rem 0 0; font-size: .8rem; text-align: center; }
.hd-plan__list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .6rem; font-size: .93rem; line-height: 1.7; }
.hd-plan__list li { display: flex; gap: .6rem; }
.hd-plan__list i { flex: none; color: var(--hd-primary); }
.hd-plan__extra { margin: 1.2rem 0 0; padding-block-start: 1rem; border-block-start: 1px dashed var(--hd-border); font-weight: 700; font-size: .88rem; color: var(--hd-ink); }
.hd-plan__list--plus { margin-block-start: .6rem; }
.hd-plan__list--plus i { color: var(--hd-sun-dark); }
.hd-plans__foot { margin: 2.2rem 0 0; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* ---------- FAQ ---------- */
.hd-faq { --bs-accordion-border-color: var(--hd-border); --bs-accordion-border-radius: var(--hd-radius); --bs-accordion-inner-border-radius: calc(var(--hd-radius) - 1px); --bs-accordion-btn-color: var(--hd-ink); --bs-accordion-active-color: var(--hd-primary); --bs-accordion-active-bg: #fff; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-btn-padding-x: 1.4rem; --bs-accordion-btn-padding-y: 1.15rem; --bs-accordion-body-padding-x: 1.4rem; --bs-accordion-color: var(--hd-body); }
.hd-faq .accordion-button { gap: 1rem; font-family: var(--hd-font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.7; }
.hd-faq .accordion-button:not(.collapsed) { box-shadow: none; }
.hd-faq .accordion-button:focus-visible { outline: 3px solid var(--hd-sun); outline-offset: -3px; }
.hd-faq .accordion-body { padding-block: 0 1.3rem; }

/* ---------- Project page ---------- */
.hd-about { margin-block-end: 2.5rem; }
.hd-about p { font-size: 1.08rem; color: var(--hd-ink-2); max-width: 70ch; }
.hd-about p:last-child { margin-block-end: 0; }
.hd-spec { margin: 0; border-block-start: 1px solid var(--hd-border); }
.hd-spec__row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: .6rem 1.5rem; padding: 1.2rem 0; border-block-end: 1px solid var(--hd-border); }
.hd-spec dt { font-family: var(--hd-font-display); font-weight: 600; font-size: .95rem; color: var(--hd-ink); }
.hd-spec dd { margin: 0; }
.hd-spec .hd-chips { margin: 0; }
@media (max-width: 575.98px) { .hd-spec__row { grid-template-columns: 1fr; } }

.hd-like { padding: 1.8rem; border-radius: var(--hd-radius); background: var(--hd-ink); color: rgba(255, 255, 255, .72); }
.hd-like h2 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-block-end: .6rem; }
.hd-like p { font-size: .97rem; margin-block-end: 1.3rem; }


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hd-wall__col, .hd-ticker__track { animation: none !important; }
}


/* ---- sticky contact bar (phones, pages with plans) ---- */
.hd-callbar { display: none; }
@media (max-width: 767.98px) {
  .hd-callbar { display: flex; gap: .55rem; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 1050; padding: .5rem .65rem calc(.5rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(6, 22, 51, .16); transform: translateY(110%); transition: transform .25s ease; }
  .hd-callbar.is-shown { transform: translateY(0); }
  .hd-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 10px; font-size: 1rem; font-weight: 800; text-decoration: none; }
  .hd-callbar__wa { flex: 1.4; background: #15803d; color: #fff; }
  .hd-callbar__wa:hover { color: #fff; }
  .hd-callbar__call { background: #fff; color: var(--hd-ink); border: 2px solid var(--hd-ink); }
  body.has-sticky-cta { padding-bottom: 72px; }
  body.has-sticky-cta .hd-fab { display: none; }   /* the bar replaces the floating button on phones */
}

/* Phones, pages with plans: title, price and the contact buttons first, the longer intro below them */
@media (max-width: 767.98px) {
  .hd-hero__text--quick { display: flex; flex-direction: column; align-items: flex-start; }
  .hd-hero__text--quick .hd-hero__sub,
  .hd-hero__text--quick .hd-hero__lead,
  .hd-hero__text--quick .hd-badge { order: 2; }
  .hd-hero__text--quick .hd-hero__cta { margin-block-end: 1.6rem !important; }
}
