/* ==========================================================================
   HSKG IT Limited - core stylesheet
   Palette: violet ink + electric purple brand + warm amber accent
   Shape language: soft-square corners, offset frames, dotted grids
   ========================================================================== */

:root {
  --ink:         #150e26;
  --ink-2:       #241443;
  --brand:       #7b2ff7;
  --brand-dark:  #5f1fd0;
  --brand-soft:  #f1eaff;
  --accent:      #ff8a3d;
  --accent-dark: #e5701f;
  --accent-soft: #fff1e6;
  --body:        #5b5573;
  --heading:     #1b1533;
  --line:        #e8e3f2;
  --line-2:      #d9d2ea;
  --surface:     #ffffff;
  --surface-2:   #f8f6fc;

  --radius:      14px;
  --radius-sm:   10px;
  --radius-xs:   8px;
  --shadow-sm:   0 3px 12px rgba(27, 21, 51, .05);
  --shadow:      0 20px 44px -22px rgba(27, 21, 51, .30);
  --shadow-lg:   0 44px 90px -34px rgba(43, 20, 90, .45);
  --ease:        cubic-bezier(.2, .8, .3, 1);

  --ff-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.25rem, 4.7vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.55vw, 1.3rem); }

a { text-decoration: none; color: var(--brand); transition: color .25s var(--ease); }
a:hover { color: var(--brand-dark); }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }

.section    { padding: clamp(62px, 7.6vw, 108px) 0; }
.bg-tint    { background: var(--surface-2); }
.bg-ink     { background: var(--ink); }
.text-brand { color: var(--brand) !important; }
.text-amber { color: var(--accent) !important; }

/* ---------- section labels & headings ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--ff-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.tag::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.tag.on-dark { color: #d8c8ff; }

.head-block { max-width: 690px; }
.head-block p { font-size: 1.05rem; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .text-dim { color: #bcb0d8; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  border-radius: var(--radius-sm);
  padding: .78rem 1.55rem;
  border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn-brand {
  background: linear-gradient(120deg, var(--brand) 0%, #9a4bff 100%);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(123, 47, 247, .85);
}
.btn-brand:hover { background: linear-gradient(120deg, var(--brand-dark), #7f2ff0); color: #fff; transform: translateY(-2px); }

.btn-amber { background: var(--accent); color: #2b1503; box-shadow: 0 14px 28px -14px rgba(255, 138, 61, .95); }
.btn-amber:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.btn-line {
  background: transparent;
  color: var(--heading);
  border: 1.5px solid var(--line-2);
}
.btn-line:hover { border-color: var(--heading); color: var(--heading); background: #fff; transform: translateY(-2px); }

.btn-line-light { background: rgba(255, 255, 255, .07); color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.btn-line-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.btn-lg { padding: .92rem 1.95rem; font-size: 1rem; }

.arrow-link {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.arrow-link i { transition: transform .25s var(--ease); }
.arrow-link:hover i { transform: translateX(4px); }

/* ---------- navbar (always light) ---------- */
.site-nav {
  padding: .9rem 0;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}
.site-nav.is-solid {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: .72rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.03em;
  color: var(--heading);
  line-height: 1.1;
}
.brand-mark small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: .15rem;
}
.brand-badge {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px -12px rgba(83, 18, 184, .8);
}
.brand-badge img { width: 100%; height: 100%; display: block; }

.site-nav .nav-link {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--body);
  padding: .5rem .9rem !important;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  bottom: .3rem;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { width: 18px; }
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--heading); }

.navbar-toggler {
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--heading);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  padding: 0;
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    margin-top: .9rem;
    padding: .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link.active { color: var(--brand); }
  .nav-cta { margin-top: .6rem; }
}

/* ---------- decorative layers ---------- */
.dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(123, 47, 247, .18) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 25%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 55% 25%, #000 25%, transparent 78%);
}

/* ---------- hero (light) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f6f1ff 0%, #fcfaff 58%, #ffffff 100%);
  padding: clamp(128px, 15vw, 178px) 0 clamp(70px, 9vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}
.hero::before {
  width: 460px;
  height: 460px;
  background: rgba(123, 47, 247, .20);
  top: -150px;
  right: -60px;
}
.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(255, 138, 61, .22);
  bottom: -170px;
  left: -130px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--accent) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 1.1rem; max-width: 545px; color: #4f4a66; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .35rem .95rem .35rem .4rem;
  font-size: .82rem;
  font-family: var(--ff-head);
  font-weight: 500;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.hero-note b {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 100px;
  padding: .15rem .7rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* offset-frame image treatment */
.hero-shot { position: relative; }
.hero-shot::before {
  content: "";
  position: absolute;
  inset: 22px -20px -22px 20px;
  border: 2px solid rgba(123, 47, 247, .45);
  border-radius: var(--radius);
  z-index: 0;
}
.hero-shot img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.pop-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: .8rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--ff-head);
  animation: hover-float 6s ease-in-out infinite;
}
.pop-card i { font-size: 1.3rem; }
.pop-card strong { display: block; font-size: 1rem; color: var(--heading); line-height: 1.2; }
.pop-card span { font-size: .75rem; color: var(--body); }
.pop-card.p1 { left: -24px; top: 14%; }
.pop-card.p2 { right: -14px; bottom: 8%; border-left-color: var(--accent); animation-delay: 1.6s; }

@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 575.98px) {
  .pop-card { padding: .6rem .8rem; }
  .pop-card.p1 { left: -6px; }
  .pop-card.p2 { right: -2px; }
  .pop-card strong { font-size: .9rem; }
  .hero-shot::before { inset: 14px -10px -14px 12px; }
}

.hero-metrics { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px dashed var(--line-2); }
.hero-metrics .num {
  font-family: var(--ff-head);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
  letter-spacing: -.03em;
}
.hero-metrics .lbl { font-size: .8rem; color: #7d7794; }

/* ---------- inner page header ---------- */
.page-head {
  position: relative;
  padding: clamp(120px, 13vw, 160px) 0 clamp(50px, 6vw, 76px);
  background: linear-gradient(180deg, #f6f1ff, #ffffff);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-head::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(123, 47, 247, .16);
  filter: blur(100px);
  top: -210px;
  right: -110px;
  z-index: -1;
}
.page-head p { max-width: 630px; }
.crumb { font-size: .84rem; color: #8b83a5; font-family: var(--ff-head); }
.crumb a { color: var(--brand); }
.crumb span { opacity: .55; margin: 0 .45rem; }

/* ---------- technology strip ---------- */
.tech-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; background: #fff; }
.tech-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8b83a5;
  font-family: var(--ff-head);
}
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--heading);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .45rem 1rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tech-chip i { color: var(--brand); font-size: 1.05rem; }
.tech-chip:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }

/* ---------- service cards ---------- */
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  height: 100%;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card:hover::before { transform: scaleY(1); }

a.svc-card { color: var(--body); display: block; }
a.svc-card h3 { color: var(--heading); }
a.svc-card:hover { color: var(--body); }

.svc-tile {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.2rem;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.svc-card:hover .svc-tile { transform: translateY(-3px); background: var(--brand); color: #fff; }
.svc-tile.amber { background: var(--accent-soft); color: var(--accent-dark); }
.svc-card:hover .svc-tile.amber { background: var(--accent); color: #fff; }

.tick-list { list-style: none; padding: 0; margin: 1.05rem 0 1.3rem; font-size: .92rem; }
.tick-list li { position: relative; padding-left: 1.55rem; margin-bottom: .4rem; }
.tick-list li::before {
  content: "\F633";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: .78rem;
  line-height: 1.9;
}

/* ---------- service detail rows ---------- */
.detail-shot { position: relative; }
.detail-shot::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(123, 47, 247, .16), rgba(255, 138, 61, .18));
  z-index: 0;
}
.detail-shot img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.svc-index {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  opacity: .22;
  letter-spacing: -.04em;
  display: block;
  margin-bottom: .35rem;
}
.chip {
  display: inline-block;
  font-size: .78rem;
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xs);
  padding: .28rem .8rem;
  margin: 0 .4rem .5rem 0;
}

/* ---------- quick jump nav ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.jump-nav a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .45rem 1.1rem;
  transition: all .28s var(--ease);
}
.jump-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- image stack (about) ---------- */
.image-stack { position: relative; }
.image-stack .back {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-stack .front {
  position: absolute;
  left: -22px;
  bottom: -34px;
  width: 46%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 7px solid #fff;
  box-shadow: var(--shadow-lg);
}
.image-stack .badge-blk {
  position: absolute;
  right: -14px;
  top: -18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .9rem 1.15rem;
  font-family: var(--ff-head);
  text-align: center;
  box-shadow: var(--shadow);
}
.image-stack .badge-blk b { display: block; font-size: 1.5rem; line-height: 1; color: var(--accent); }
.image-stack .badge-blk span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #c3b8de; }

@media (max-width: 767.98px) {
  .image-stack .front { width: 42%; left: -8px; bottom: -22px; border-width: 5px; }
  .image-stack { margin-bottom: 2.4rem; }
}

/* ---------- points / features ---------- */
.point { display: flex; gap: 1rem; }
.point .ico {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.1rem;
}
.point.on-ink .ico { background: rgba(255, 255, 255, .09); color: var(--accent); }
.point h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.point p { font-size: .93rem; margin: 0; }

/* ---------- stat band ---------- */
.stat-band {
  background: linear-gradient(115deg, var(--ink) 0%, #35186f 55%, #5b18c9 115%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stat-band::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 138, 61, .28);
  filter: blur(110px);
  right: -100px;
  top: -160px;
  z-index: -1;
}
.stat-cell { text-align: center; padding: .5rem; }
.stat-cell .num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -.04em;
}
.stat-cell .lbl { color: #c3b8de; font-size: .86rem; margin-top: .4rem; }
@media (min-width: 992px) {
  .stat-cell { border-right: 1px solid rgba(255, 255, 255, .14); }
  .stat-col:last-child .stat-cell { border-right: 0; }
}

/* ---------- industries tabs ---------- */
.ind-tabs { gap: .6rem; }
.ind-tabs .nav-link {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .6rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .28s var(--ease);
}
.ind-tabs .nav-link i { color: var(--brand); }
.ind-tabs .nav-link:hover { border-color: var(--brand); }
.ind-tabs .nav-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.ind-tabs .nav-link.active i { color: var(--accent); }

.ind-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.ind-panel img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- process ---------- */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.75rem;
  height: 100%;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step-card .ghost {
  position: absolute;
  right: .5rem;
  top: -1.1rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 5.4rem;
  line-height: 1;
  color: var(--brand);
  opacity: .08;
  letter-spacing: -.06em;
}
.step-card .pin {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1.1rem;
  transition: background .35s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.step-card:hover .pin { background: var(--brand); }

/* ---------- testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial .qmark { font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: .78; color: var(--brand); opacity: .3; margin-bottom: .3rem; }
.testimonial p { color: var(--heading); font-size: .99rem; }
.stars { color: var(--accent); font-size: .85rem; letter-spacing: .1em; }

.avatar-initials {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
}
.avatar-initials.amber { background: var(--accent-soft); color: var(--accent-dark); }
.avatar-initials.lg { width: 78px; height: 78px; font-size: 1.55rem; border-radius: var(--radius-sm); }

/* ---------- accordion ---------- */
.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237b2ff7' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M8 3v10M3 8h10'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ff8a3d' stroke-width='2' stroke-linecap='round'%3e%3cpath d='M3 8h10'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-transform: rotate(180deg);
}
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .75rem;
  overflow: hidden;
  background: #fff;
}
.accordion-button {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--heading);
  font-size: 1rem;
  padding: 1.1rem 1.3rem;
  background: #fff;
}
.accordion-button:not(.collapsed) { background: #fff; color: var(--brand-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }
.accordion-body { padding: 0 1.3rem 1.25rem; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: clamp(38px, 5.5vw, 64px);
  background: linear-gradient(125deg, var(--ink) 0%, #2f1263 52%, #4a17a8 100%);
  isolation: isolate;
}
.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.cta-wrap::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 138, 61, .35);
  filter: blur(95px);
  right: -90px;
  bottom: -130px;
  z-index: -1;
}

/* ---------- contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.contact-card .ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
  margin-bottom: .95rem;
}
.contact-card .ico.amber { background: var(--accent-soft); color: var(--accent-dark); }
.contact-card a { color: var(--heading); font-weight: 600; }
.contact-card a:hover { color: var(--brand); }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.6vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-label {
  font-family: var(--ff-head);
  font-size: .84rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: .38rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .75rem .95rem;
  font-size: .95rem;
  color: var(--heading);
  background: var(--surface-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 47, 247, .13);
}
.form-control::placeholder { color: #a49dba; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(123, 47, 247, .18); }
.invalid-feedback { font-size: .81rem; }

.map-frame {
  border: 0;
  width: 100%;
  height: 430px;
  border-radius: var(--radius);
  display: block;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: .94rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row span:first-child { font-family: var(--ff-head); font-weight: 600; color: var(--heading); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a99fc4; padding: clamp(54px, 6.5vw, 80px) 0 0; }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-mark small { color: var(--accent); }
.site-footer h5 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  font-family: var(--ff-head);
  position: relative;
  padding-bottom: .65rem;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.site-footer a { color: #a99fc4; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.soc {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, .07);
  display: grid;
  place-items: center;
  color: #ded6f2;
  transition: all .3s var(--ease);
}
.soc:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding: 1.4rem 0;
  font-size: .86rem;
}

/* ---------- responsive guards ---------- */
/* Wide gutters create negative margins bigger than the container padding on
   phones, which pushes the page sideways. Cap the horizontal gutter below 576px. */
@media (max-width: 575.98px) {
  .row.g-5, .row.gx-5, .row.g-4, .row.gx-4 { --bs-gutter-x: 1.5rem; }
}
.footer-links a, .contact-card a { overflow-wrap: anywhere; }

/* ---------- misc ---------- */
#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--ink);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s var(--ease);
  z-index: 900;
}
#toTop:hover { background: var(--brand); }
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
