/* ==========================================================================
   Avat Laundry – Vivid Violet–Teal Glass Theme
   Pure HTML / CSS theme  (RTL – Persian)
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --brand: #6d4cf5;
  --brand-dark: #12c7b0;
  --brand-light: #9b82ff;
  --brand-soft: #f1ecff;
  --brand-soft-2: #ddd2ff;
  --navy: #14122e;
  --ink: #26324a;
  --muted: #6f7a90;
  --line: rgba(109,76,245,.14);
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 4px 14px rgba(109, 76, 245, .08);
  --shadow: 0 14px 40px rgba(109, 76, 245, .14);
  --shadow-lg: 0 26px 60px rgba(16, 32, 74, .14);
  --container: 1200px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--avat-font, "IRANSansX"), system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--brand-soft); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

/* ---------- 3. Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: 46px 0; position: relative; }
.section--soft { background: var(--brand-soft); }
.section--tight { padding: 32px 0; }

.section-head { text-align: center; margin-bottom: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--brand-soft-2);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(109, 76, 245, .18);
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.6; font-weight: 800; }

.section-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.3px;
}
.section-title em { font-style: normal; color: var(--brand); }

.section-sub {
  color: var(--muted);
  max-width: 660px;
  margin: 14px auto 0;
  font-size: 14.5px;
}

.title-underline {
  width: 90px; height: 6px; margin: 18px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft-2));
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14.5px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(109, 76, 245, .32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(109, 76, 245, .4); }

.btn--ghost {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn--ghost:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .16); }

.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar__offer { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.topbar__address { display: inline-flex; align-items: center; gap: 6px; }
.topbar__address:hover { text-decoration: underline; }
.topbar__owner { font-weight: 800; }
.topbar__code {
  background: rgba(255, 255, 255, .2);
  border: 1px dashed rgba(255, 255, 255, .7);
  padding: 2px 12px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}
.topbar__links { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.topbar__links a:hover { opacity: 1; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.header.is-stuck { box-shadow: none; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text b { font-size: 21px; font-weight: 900; color: var(--navy); font-style: italic; }
.logo__text span { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: var(--transition);
}
.nav__link:hover,
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__link svg { width: 14px; height: 14px; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 215px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: var(--transition);
}
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown a i {
  width: 28px; height: 28px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.dropdown svg { width: 15px; height: 15px; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--navy); font-size: 14px;
}
.header__phone i {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.header__phone svg { width: 18px; height: 18px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  place-items: center;
}
.burger svg { width: 22px; height: 22px; }

/* mobile drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 0 20px;
}
.mobile-nav.is-open { display: block; animation: fade-down .3s ease; }
.mobile-nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}
.mobile-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.mobile-nav .btn { margin-top: 10px; }

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 110px;
  background:
    radial-gradient(60% 70% at 85% 10%, var(--brand-soft) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, #fff7f2 0%, transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-start: -160px;
  top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 44px solid var(--brand-soft);
  opacity: .8;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -.5px;
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__text {
  color: var(--muted);
  font-size: 15.5px;
  margin: 20px 0 30px;
  max-width: 520px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 20px;
  min-width: 128px;
  box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 25px; font-weight: 900; color: var(--brand); line-height: 1.3; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* hero collage */
.collage {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.collage__blob {
  position: absolute;
  width: 330px; height: 330px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%;
  filter: blur(.2px);
  opacity: .95;
  animation: morph 12s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; }
  50% { border-radius: 60% 40% 55% 45% / 40% 58% 42% 60%; }
}
.photo {
  position: relative;
  border-radius: 18px;
  border: 9px solid #fff;
  box-shadow: var(--shadow-lg);
  background-color: var(--brand-soft);
  background-size: cover;
  background-position: center;
}
.photo--a {
  width: 272px; height: 310px;
  transform: rotate(-5deg) translate(14px, 18px);
  z-index: 2;
}
.photo--b {
  position: absolute;
  width: 215px; height: 235px;
  top: 6px;
  inset-inline-end: 0;
  transform: rotate(7deg);
  z-index: 3;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
.float-card i {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.float-card svg { width: 18px; height: 18px; }
.float-card small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.float-card--1 { bottom: 42px; inset-inline-start: -6px; animation: float 4s ease-in-out infinite; }
.float-card--2 { top: 22px; inset-inline-start: 6px; animation: float 5s ease-in-out infinite .6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* marquee strip */
.strip {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  width: max-content;
}
.strip__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.strip__item svg { width: 17px; height: 17px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------- 8. Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: linear-gradient(180deg, var(--brand-soft), transparent);
  transition: var(--transition);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.service:hover::before { height: 100%; }
.service > * { position: relative; z-index: 2; }
.service__media {
  height: 165px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft-2));
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__media--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
}
.service__media--icon svg { width: 62px; height: 62px; }
.service h3 { font-size: 17px; margin-bottom: 8px; }
.service p { font-size: 13px; color: var(--muted); min-height: 66px; }
.service__price {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 14px;
  border-radius: 100px;
}
.service__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 800; font-size: 13.5px; color: var(--brand);
}
.service__link svg { width: 16px; height: 16px; transition: var(--transition); }
.service:hover .service__link svg { transform: translateX(-5px); }

/* featured (orange) service */
.service--featured {
  grid-column: span 2;
  background: linear-gradient(140deg, var(--brand), var(--brand-dark));
  border: 0;
  color: #fff;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}
.service--featured::before { display: none; }
.service--featured h3 { color: #fff; font-size: 24px; }
.service--featured p { color: rgba(255, 255, 255, .92); min-height: auto; font-size: 14px; }
.service--featured .chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; }
.chip {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  min-width: 86px;
}
.chip span { display: block; font-size: 22px; line-height: 1.5; }
.service--featured .btn { align-self: flex-start; }

/* ---------- 9. Steps (3 clicks) ---------- */
.steps {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.steps__title { font-size: clamp(23px, 3vw, 36px); font-weight: 900; line-height: 1.6; }
.steps__title em { color: var(--brand); font-style: normal; }
.steps__list { display: grid; gap: 18px; }
.step-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  transition: var(--transition);
  position: relative;
}
.step-card:hover { transform: translateX(-8px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.step-card__num {
  width: 50px; height: 50px; flex: 0 0 50px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 20px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: var(--transition);
}
.step-card:hover .step-card__num { background: var(--brand); color: #fff; }
.step-card h4 { font-size: 16px; margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--muted); }

/* ---------- 10. Why us ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.sun {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.sun__rays {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--brand) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%);
  mask: radial-gradient(circle, transparent 60%, #000 61%);
  border-radius: 50%;
  animation: spin 50s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sun__img {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(109, 76, 245, .28);
  position: relative;
  z-index: 2;
}
.sun__badge {
  position: absolute;
  bottom: 6%;
  inset-inline-start: 0;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
}
.sun__badge b { display: block; color: var(--brand); font-size: 22px; font-weight: 900; }
.sun__badge span { font-size: 11.5px; color: var(--muted); font-weight: 700; }

.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  transition: var(--transition);
}
.feature:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.feature i {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.feature svg { width: 21px; height: 21px; }
.feature h4 { font-size: 15px; }
.feature p { font-size: 13px; color: var(--muted); }

/* ---------- 11. Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 44px;
  inset-inline: 60px;
  height: 3px;
  background-image: linear-gradient(90deg, var(--brand) 55%, transparent 0);
  background-size: 14px 3px;
  background-repeat: repeat-x;
  opacity: .45;
}
.process__item { text-align: center; position: relative; z-index: 2; }
.process__icon {
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-soft-2);
  display: grid; place-items: center;
  color: var(--brand);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.process__item:hover .process__icon {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-7px);
}
.process__icon svg { width: 34px; height: 34px; }
.process__num {
  position: absolute;
  top: -6px; inset-inline-end: -4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: grid; place-items: center;
  border: 3px solid #fff;
}
.process__item h4 { font-size: 14px; }
.process__item p { font-size: 12px; color: var(--muted); }

/* ---------- 12. Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan--popular {
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  color: #fff;
  border: 0;
  box-shadow: 0 24px 50px rgba(109, 76, 245, .32);
}
.plan--popular h3, .plan--popular .plan__price b { color: #fff; }
.plan__tag {
  position: absolute;
  top: 20px; inset-inline-start: 20px;
  background: #fff;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan h3 { font-size: 19px; margin-bottom: 6px; }
.plan__desc { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.plan--popular .plan__desc { color: rgba(255, 255, 255, .9); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan__price b { font-size: 32px; font-weight: 900; color: var(--brand); }
.plan__price span { font-size: 13px; color: var(--muted); }
.plan--popular .plan__price span { color: rgba(255, 255, 255, .9); }
.plan ul { display: grid; gap: 11px; margin-bottom: 24px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.plan li svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 18px; }
.plan--popular li svg { color: #fff; }

/* ---------- 13. Blog / cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media {
  height: 180px;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft-2));
  overflow: hidden;
  position: relative;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.08); }
.card__tag {
  position: absolute;
  top: 14px; inset-inline-end: 14px;
  background: #fff;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}
.card__body { padding: 18px 20px 22px; }
.card__body h3 { font-size: 15.5px; margin-bottom: 8px; transition: var(--transition); }
.card:hover .card__body h3 { color: var(--brand); }
.card__body p { font-size: 13px; color: var(--muted); }
.card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; font-size: 12px; color: var(--muted); font-weight: 600;
}
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta svg { width: 14px; height: 14px; color: var(--brand); }

/* ---------- 14. Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.quote:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.quote::before {
  content: "”";
  position: absolute;
  top: 6px; inset-inline-start: 24px;
  font-size: 80px;
  line-height: 1;
  color: var(--brand-soft-2);
  font-family: Georgia, serif;
}
.quote__stars { color: #ffb703; margin-bottom: 12px; font-size: 15px; letter-spacing: 2px; }
.quote p { font-size: 13.8px; color: var(--ink); }
.quote__user { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 16px;
}
.quote__user b { display: block; font-size: 14px; color: var(--navy); }
.quote__user span { font-size: 12px; color: var(--muted); }

/* ---------- 15. CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  border-radius: 38px;
  padding: 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .09);
}
.cta::before { width: 300px; height: 300px; top: -130px; inset-inline-start: -60px; }
.cta::after { width: 200px; height: 200px; bottom: -110px; inset-inline-end: 12%; }
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(22px, 3vw, 33px); font-weight: 900; }
.cta p { color: rgba(255, 255, 255, .92); margin-top: 8px; font-size: 14.5px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.cta .btn--ghost:hover { background: #fff; color: var(--brand); }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}
.faq__item.is-open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  text-align: start;
}
.faq__q i {
  width: 32px; height: 32px; flex: 0 0 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  transition: var(--transition);
}
.faq__item.is-open .faq__q i { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq__q svg { width: 17px; height: 17px; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq__a p { padding: 0 22px 20px; color: var(--muted); font-size: 13.8px; }

/* ---------- 17. Article / benefits ---------- */
.article { max-width: 980px; margin-inline: auto; }
.article p { color: var(--muted); font-size: 14px; text-align: justify; margin-bottom: 16px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.benefit {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 16px;
  transition: var(--transition);
}
.benefit:hover { border-color: var(--brand); transform: translateY(-3px); }
.benefit svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 20px; margin-top: 4px; }
.benefit b { color: var(--navy); font-size: 14px; }
.benefit span { color: var(--muted); font-size: 13px; }

/* ---------- 18. Footer ---------- */
.footer { background: #fff; border-top: 4px solid var(--brand); padding-top: 56px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 42px;
}
.footer__about p { color: var(--muted); font-size: 13.3px; margin: 16px 0 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  transition: var(--transition);
}
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; }

.footer h4 { font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 36px; height: 3px; border-radius: 4px; background: var(--brand);
}
.footer__links { display: grid; gap: 11px; }
.footer__links a {
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer__links a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-soft-2); transition: var(--transition);
}
.footer__links a:hover { color: var(--brand); transform: translateX(-5px); }
.footer__links a:hover::before { background: var(--brand); }

.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--brand-soft);
  border-radius: 100px;
  padding: 12px 18px;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.newsletter input:focus { border-color: var(--brand); background: #fff; }
.badges { display: flex; gap: 12px; margin-top: 20px; }
.badge-box {
  width: 86px; height: 86px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid; place-items: center;
  text-align: center;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
  transition: var(--transition);
  padding: 8px;
}
.badge-box:hover { border-color: var(--brand); }
.badge-box b { display: block; color: var(--brand); font-size: 15px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--brand); }

/* ---------- 19. Floating widgets ---------- */
.dock {
  position: fixed;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: grid;
  gap: 10px;
}
.dock a {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.dock a:hover { background: var(--brand); color: #fff; transform: scale(1.08); }
.dock a.is-accent { background: var(--brand); color: #fff; }
.dock a.is-accent:hover { background: var(--brand-dark); }
.dock svg { width: 21px; height: 21px; }
.dock a span {
  position: absolute;
  inset-inline-start: calc(100% + 10px);
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.dock a:hover span { opacity: 1; visibility: visible; }

.to-top {
  position: fixed;
  inset-inline-start: 18px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service--featured { grid-column: span 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .hero__grid, .steps, .why { grid-template-columns: 1fr; }
  .hero { padding-bottom: 70px; }
  .collage { order: -1; min-height: 360px; }
  .pricing { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar .container { justify-content: center; text-align: center; gap: 6px; }
  .topbar__links { flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
  .services-grid, .cards { grid-template-columns: 1fr; }
  .service--featured { grid-column: span 1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .dock { display: none; }
  .cta { padding: 34px 24px; border-radius: 28px; }
  .photo--a { width: 215px; height: 250px; }
  .photo--b { width: 160px; height: 175px; }
  .collage__blob { width: 250px; height: 250px; }
  .float-card--2 { top: -6px; }
}



/* ==========================================================================
   Glass & gradient layer (violet → teal, inspired by paklean.com)
   ========================================================================== */
:root {
  --grad: linear-gradient(135deg, #6d4cf5 0%, #3fa9e8 55%, #12c7b0 100%);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .85);
}
html { background: #f4f1ff; }
body {
  background:
    radial-gradient(48% 38% at 8% 4%, rgba(168, 139, 255, .45) 0, transparent 70%),
    radial-gradient(45% 34% at 96% 16%, rgba(18, 199, 176, .32) 0, transparent 70%),
    radial-gradient(50% 36% at 0% 55%, rgba(98, 180, 255, .30) 0, transparent 70%),
    radial-gradient(48% 34% at 100% 82%, rgba(168, 139, 255, .30) 0, transparent 70%),
    linear-gradient(180deg, #f4f1ff 0%, #eefaf8 100%);
  background-attachment: fixed;
}
::-webkit-scrollbar-track { background: #f1ecff; }
::-webkit-scrollbar-thumb { background: var(--grad); }

/* gradient headline accents */
.hero__title em, .section-title em, .steps__title em {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__title { font-size: clamp(30px, 4.6vw, 56px); }
.title-underline { background: var(--grad); }

/* floating glass header */
.header { background: transparent; border: 0; backdrop-filter: none; padding: 12px 0 0; }
.header__inner {
  height: 66px; padding: 0 22px; border-radius: 100px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(109, 76, 245, .12);
}
.mobile-nav { background: var(--glass); border-radius: 24px; margin-top: 8px; padding: 14px; backdrop-filter: blur(16px); }
.logo__mark, .btn--primary, .service__media--icon, .quote__avatar, .dock a.is-accent, .to-top,
.process__num, .step-card:hover .step-card__num, .faq__item.is-open .faq__q i,
.process__item:hover .process__icon, .socials a:hover, .service--featured, .plan--popular, .strip, .topbar, .cta {
  background-image: var(--grad); background-color: transparent;
}
.btn--primary { box-shadow: 0 12px 28px rgba(109, 76, 245, .34); }
.btn--ghost { border-color: var(--brand); background: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--brand); }
.cta .btn--ghost:hover, .btn--white { color: var(--brand); }
.topbar { background-color: #6d4cf5; }
.strip { background-image: linear-gradient(90deg, #6d4cf5, #3fa9e8, #12c7b0, #3fa9e8, #6d4cf5); }
.cta { box-shadow: 0 30px 60px rgba(109, 76, 245, .28); }
.plan--popular { box-shadow: 0 26px 56px rgba(109, 76, 245, .34); }

/* hero */
.hero { background: none; }
.hero::after { border-color: rgba(255, 255, 255, .55); }
.collage__blob { background: var(--grad); filter: blur(2px); opacity: .85; }
.photo { border-color: rgba(255, 255, 255, .9); background-color: var(--brand-soft); }
.sun__rays { background: conic-gradient(from 0deg, #6d4cf5 0 6deg, #12c7b0 6deg 12deg, transparent 12deg 18deg); }
.sun__img { box-shadow: 0 24px 56px rgba(109, 76, 245, .3); }

/* sections */
.section--soft { background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(190, 215, 255, .25)); }

/* frosted glass cards */
.stat, .float-card, .step-card, .feature, .card, .quote, .faq__item, .benefit,
.badge-box, .process__icon, .sun__badge, .eyebrow, .dock a:not(.is-accent),
.service:not(.service--featured), .plan:not(.plan--popular) {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(109, 76, 245, .08);
}
.service:hover, .plan:hover, .card:hover, .quote:hover { box-shadow: 0 22px 50px rgba(109, 76, 245, .18); }
.service__media, .card__media { background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.service__price, .card__tag, .plan__tag { color: var(--brand); }
.dropdown { background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); }
.newsletter input { background: rgba(255,255,255,.7); }
.quote__stars { color: #f5b301; }
.quote::before { color: var(--brand-soft-2); }

/* footer */
.footer { background: linear-gradient(180deg, rgba(255,255,255,.55), #d9d0ff 100%); border-top: 0; margin-top: 30px; border-radius: 48px 48px 0 0; }
.footer h4::after { background: var(--grad); }
.stat b, .plan__price b, .sun__badge b { color: var(--brand); }

@media (max-width: 980px) { .header__inner { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }


/* ==========================================================================
   Round 2: clean menu, top-left glow, soap bubbles
   ========================================================================== */
/* top strip: no colored band, so nothing looks like an extension of the menu */
.topbar { background: none !important; background-image: none !important; color: var(--ink); padding: 10px 0 0; font-size: 12.5px; }
.topbar .container { opacity: .85; }
.topbar__owner { color: var(--navy); }

/* no big side rings in the background */
.hero::after { display: none; }
.cta::before, .cta::after { display: none; }

/* soft top-left glow on selected sections */
.hero::before, #services::before, .section--soft::before {
  content: ""; position: absolute; top: -140px; inset-inline-end: auto; left: -160px;
  width: 560px; height: 560px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(150, 120, 255, .42), rgba(150, 120, 255, 0) 100%);
  filter: blur(10px);
}
.section--soft::before { background: radial-gradient(closest-side, rgba(18, 199, 176, .28), rgba(18, 199, 176, 0) 100%); }
.hero > .container, .section > .container { position: relative; z-index: 2; }

/* soap bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute; border-radius: 50%; opacity: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.9) 0 7%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 70% 78%, rgba(18,199,176,.18) 0, rgba(18,199,176,0) 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 55%, rgba(109,76,245,.14) 100%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 0 12px rgba(255,255,255,.4), 0 4px 16px rgba(109,76,245,.06);
  animation:
    bubble-float var(--d, 9s) ease-in-out infinite var(--delay, 0s),
    bubble-fade var(--cycle, 10s) ease-in-out infinite var(--fd, 0s);
}
@keyframes bubble-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(var(--x, 10px), -26px); }
}
/* very faint: fades in, fades out; all are gone before the flash */
@keyframes bubble-fade {
  0%   { opacity: 0; }
  22%  { opacity: .34; }
  45%  { opacity: .2; }
  78%  { opacity: 0; }
  100% { opacity: 0; }
}

/* light flash when every bubble has faded away */
.bubbles__flash {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 60% 70% at var(--fx, 50%) var(--fy, 40%), rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
  animation: bubble-flash var(--cycle, 10s) ease-in-out infinite;
}
@keyframes bubble-flash {
  0%, 82%  { opacity: 0; }
  87%      { opacity: .9; }
  90%      { opacity: .25; }
  93%      { opacity: .7; }
  100%     { opacity: 0; }
}
.bubbles__spark {
  position: absolute; width: 22px; height: 22px; opacity: 0;
  background: radial-gradient(circle, #fff 0 12%, rgba(255,255,255,0) 60%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9));
  animation: bubble-spark var(--cycle, 10s) ease-in-out infinite var(--sd, 0s);
}
@keyframes bubble-spark {
  0%, 84%  { opacity: 0; transform: scale(.3) rotate(0); }
  89%      { opacity: 1; transform: scale(1.1) rotate(25deg); }
  95%, 100% { opacity: 0; transform: scale(.4) rotate(45deg); }
}
@media (max-width: 640px) { .bubble:nth-child(n+9) { display: none; } }


/* ==========================================================================
   Round 3: stronger menu box on scroll + blog slider
   ========================================================================== */
.header__inner { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, height .3s ease; }
.header.is-stuck .header__inner {
  height: 62px;
  background: rgba(255, 255, 255, .9);
  border-color: rgba(109, 76, 245, .28);
  box-shadow: 0 16px 44px rgba(109, 76, 245, .30), 0 3px 10px rgba(20, 18, 46, .08);
}

/* blog slider */
.slider { position: relative; }
.cards {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 34px; margin: -10px -4px -34px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
  display: block; background: rgba(255, 255, 255, .88); border-radius: 28px; overflow: visible;
}
.card__media { height: auto; overflow: visible; background: none; position: relative; }
.card__img { height: 200px; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.08); }
.card__go {
  position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; z-index: 3;
}
.card__go i {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background-image: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(109, 76, 245, .35);
  transition: transform .3s ease;
}
.card__go svg { width: 22px; height: 22px; }
.card:hover .card__go i { transform: scale(1.1); }
.card__body { padding: 44px 18px 22px; text-align: center; }
.card__body h3 { font-size: 15.5px; margin: 0; }

.slider__btn {
  position: absolute; top: 90px; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand);
  background: rgba(255, 255, 255, .95); box-shadow: 0 10px 26px rgba(109, 76, 245, .25);
  transition: var(--transition);
}
.slider__btn:hover { background-image: var(--grad); color: #fff; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn--next { left: -14px; }
.slider__btn--prev { right: -14px; }
.slider__btn--prev svg { transform: rotate(180deg); }

@media (max-width: 980px) { .card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) {
  .cards { gap: 12px; }
  .card { flex-basis: calc((100% - 12px) / 2); border-radius: 22px; }
  .card__img { height: 120px; border-radius: 22px; }
  .card__go { width: 56px; height: 56px; bottom: -26px; }
  .card__go i { width: 38px; height: 38px; }
  .card__go svg { width: 18px; height: 18px; }
  .card__body { padding: 34px 10px 16px; }
  .card__body h3 { font-size: 13px; line-height: 1.8; }
  .slider__btn { display: none; }
}


/* ==========================================================================
   Round 3: AvatLAUNDRY logo, bigger top bar, footer with 4 contact icons
   ========================================================================== */
/* logo: single-line AvatLAUNDRY */
.logo__text { flex-direction: row; align-items: baseline; line-height: 1; letter-spacing: 0; }
.logo__text b { font-size: 24px; }
.logo__text span { font-size: 24px; font-weight: 900; letter-spacing: 0; }

/* top bar: larger address + phones with icons */
.topbar { font-size: 15.5px; }
.topbar .container { opacity: 1; }
.topbar__address, .topbar__links a { font-weight: 800; gap: 8px; }
.topbar svg { width: 21px; height: 21px; color: var(--brand); flex: none; }
.topbar__links { gap: 26px; }
.topbar__tel { direction: ltr; letter-spacing: .3px; }

/* footer: no newsletter column, wider brand column */
.footer__top { grid-template-columns: 2.6fr 1fr 1fr; }
.footer__about p { font-size: 14.5px; max-width: 520px; }

/* four contact icons: bigger, colorful, with lift on hover */
.socials { gap: 16px; flex-wrap: wrap; }
.socials a {
  width: 62px; height: 62px; border-radius: 20px; color: #fff;
  box-shadow: 0 14px 28px rgba(109, 76, 245, .28);
  position: relative; overflow: hidden;
}
.socials a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 55%);
  pointer-events: none;
}
.socials svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.socials .s-bale img { width: 30px; height: 30px; position: relative; z-index: 1; display: block; }
.socials .s-mobile { background-image: linear-gradient(135deg, #6d4cf5, #3fa9e8); }
.socials .s-phone  { background-image: linear-gradient(135deg, #12c7b0, #3fa9e8); }
.socials .s-bale   { background-image: none; background-color: #0cbc8d; }
.socials .s-insta  { background-image: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 62%, #4f5bd5); }
.socials a:hover { background-color: transparent; color: #fff; transform: translateY(-6px) scale(1.08); box-shadow: 0 20px 36px rgba(109, 76, 245, .38); }

@media (max-width: 1100px) { .footer__about { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .topbar { font-size: 14px; }
  .topbar svg { width: 19px; height: 19px; }
  .socials a { width: 56px; height: 56px; }
}

/* Round 4: Persian logo text */
.logo__text { gap: 6px; }
.logo__text b { font-style: normal; font-size: 22px; }
.logo__text span { font-size: 22px; }


/* ==========================================================================
   Round 4: no strip behind the menu, 20px floating gap, footer credit
   ========================================================================== */
/* the hero glow was clipped at the hero's top edge, which drew a hard line
   (a separate-looking band) right under the menu: remove it */
.hero::before { display: none; }

/* when the menu sticks while scrolling it floats 20px from the top
   (8px offset + 12px header padding) */
.header { top: 8px; }

/* footer credit */
.footer__bottom a.footer__credit { color: #1a73e8; font-weight: 700; }
.footer__bottom a.footer__credit:hover { color: #0b57d0; text-decoration: underline; }


/* ==========================================================================
   Round 5: "more info" button on service cards (icon blinks every 3s)
   ========================================================================== */
.service__btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 8px 10px 8px 12px; border-radius: 100px;
  font-weight: 800; font-size: 14px; line-height: 1.4; color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(109, 76, 245, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service__btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 24px rgba(109, 76, 245, .3), inset 0 1px 0 rgba(255, 255, 255, .4); }
.service__btn > i {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px;
  background: none;
  animation: svc-blink 5s ease-in-out infinite;
}
.service__btn > i svg { width: 20px; height: 20px; }
.service__btn-arrow { width: 15px; height: 15px; transition: transform .3s ease; }
.service__btn:hover .service__btn-arrow { transform: translateX(-4px); }
/* only the icon blinks (no circle behind it), every 5s */
@keyframes svc-blink {
  0%, 82%, 100% { transform: scale(1) rotate(0); filter: none; }
  88% { transform: scale(1.35) rotate(-10deg); filter: drop-shadow(0 0 5px rgba(255, 255, 255, .95)); }
  94% { transform: scale(.92) rotate(0); filter: none; }
}
/* featured (purple) card keeps its white button */
.btn.service__btn--blink { display: inline-flex; align-items: center; gap: 10px; padding: 8px 22px 8px 10px; }
.btn.service__btn--blink > i { display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand); width: 32px; height: 32px; animation-name: svc-blink-white; }
@keyframes svc-blink-white {
  0%, 78%, 100% { transform: scale(1); background: var(--brand-soft); box-shadow: 0 0 0 0 rgba(109, 76, 245, 0); }
  86% { transform: scale(1.28) rotate(-8deg); background: var(--brand); color: #fff; box-shadow: 0 0 0 7px rgba(109, 76, 245, .22), 0 0 18px rgba(109, 76, 245, .7); }
  93% { transform: scale(.94); background: var(--brand-soft); box-shadow: 0 0 0 0 rgba(109, 76, 245, 0); }
}
.btn.service__btn--blink > i svg { width: 18px; height: 18px; }

/* ==========================================================================
   Round 6: button shadow, mobile footer order and full width
   ========================================================================== */
/* white button on the featured card: clear shadow so it stands out */
.btn.service__btn--blink { box-shadow: 0 8px 18px rgba(20, 18, 46, .16); }
.btn.service__btn--blink:hover { box-shadow: 0 12px 24px rgba(20, 18, 46, .22); }

/* mobile footer: brand, then Services, then Quick access; each 100% wide */
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 100%; }
  .footer__top > * { width: 100%; min-width: 0; }
  .footer__top > .footer__about { order: 1; }
  .footer__top > .footer__services { order: 2; }
  .footer__top > .footer__quick { order: 3; }
}

/* all boxes: stronger two-layer shadow so they stand out from the background */
.stat, .float-card, .step-card, .feature, .card, .quote, .faq__item, .benefit,
.badge-box, .service, .plan, .cta, .faq__item.is-open {
  box-shadow: 0 18px 44px rgba(109, 76, 245, .22), 0 4px 12px rgba(20, 18, 46, .08);
}
.service:hover, .plan:hover, .card:hover, .quote:hover, .step-card:hover, .feature:hover {
  box-shadow: 0 28px 60px rgba(109, 76, 245, .3), 0 6px 16px rgba(20, 18, 46, .1);
}

/* featured card: brand story instead of the small chips */
.service--featured .service__story { display: grid; gap: 8px; margin: 14px 0 0; }
.service--featured .service__story p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .92); }
.service--featured .service__story b { color: #fff; font-weight: 800; }

/* ==========================================================================
   Round 7: compact featured box in solid blue, tighter service cards
   ========================================================================== */
/* solid brand blue (the top-left corner color of the old gradient) */
.service.service--featured {
  background-image: none; background-color: #6d4cf5;
  padding: 24px 28px; justify-content: center;
}
.service--featured h3 { font-size: 22px; margin-bottom: 6px; }
.service--featured > p { margin: 0 0 8px; line-height: 1.7; }
.service--featured .service__story { gap: 2px; margin: 0; }
.service--featured .service__story p { line-height: 1.7; }

/* service cards: button sits close to the text */
.service:not(.service--featured) { display: flex; flex-direction: column; }
.service:not(.service--featured) p { min-height: 0; margin: 0 0 10px; }
.service:not(.service--featured) .service__btn { margin-top: auto; align-self: center; }

/* Round 8: larger text in the blue box, solid blue buttons on service cards */
.service--featured h3 { font-size: 30px; margin-bottom: 10px; }
.service--featured > p { font-size: 17px; line-height: 1.85; margin: 0 0 12px; }
.service--featured .service__story { gap: 6px; }
.service--featured .service__story p { font-size: 17px; line-height: 1.85; }
@media (max-width: 640px) {
  .service--featured h3 { font-size: 24px; }
  .service--featured > p, .service--featured .service__story p { font-size: 15px; }
}

.service__btn { background-image: none; background-color: #6d4cf5; }

/* ==========================================================================
   Round 9: one continuous page background, separated service boxes
   ========================================================================== */
/* no section paints its own band: the body gradient is the only background */
.section, .section--soft, .section--tight { background: none; background-image: none; }
.hero { overflow-x: clip; overflow-y: visible; }
.bubbles { overflow: visible; }

/* the six service boxes: own shadow + a firmer surface, clearly separate */
.services-grid { gap: 26px; }
.service:not(.service--featured) {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(109, 76, 245, .12);
  box-shadow: 0 18px 40px rgba(109, 76, 245, .24), 0 4px 12px rgba(20, 18, 46, .1);
}
.service:not(.service--featured):hover {
  box-shadow: 0 28px 58px rgba(109, 76, 245, .32), 0 6px 16px rgba(20, 18, 46, .12);
}
.service.service--featured {
  box-shadow: 0 18px 40px rgba(109, 76, 245, .34), 0 4px 12px rgba(20, 18, 46, .12);
}

/* ==========================================================================
   Round 10: footer quick links + top bar hover
   ========================================================================== */
/* footer links (دسترسی سریع / خدمات): the dot is always the solid brand colour
   and never moves; on hover only the text gets a bit bigger */
.footer__links a { transform: none !important; transition: font-size .2s ease, color .2s ease; }
.footer__links a::before { background: var(--brand); flex: none; transition: none; }
.footer__links a:hover { transform: none !important; font-size: 15px; }
.footer__links a:hover::before { background: var(--brand); }

/* top bar: address + phones turn blue on hover, no underline */
.topbar__address:hover,
.topbar__links a:hover,
.topbar__tel:hover { text-decoration: none !important; color: #1a73e8; }
.topbar__address, .topbar__links a { transition: color .2s ease; }
.topbar__address:hover svg,
.topbar__links a:hover svg { color: #1a73e8; }

/* ==========================================================================
   Round 11: mobile footer accordions (دسترسی سریع / خدمات)
   ========================================================================== */
/* desktop: the title button looks like the normal heading, panel always visible */
.footer__toggle {
  all: unset; box-sizing: border-box; display: block; width: 100%;
  font: inherit; color: inherit; cursor: default; pointer-events: none;
}
.footer__toggle svg { display: none; }
.footer__panel { display: block; }

@media (max-width: 640px) {
  .footer__services { margin-bottom: -22px; } /* tighter gap to the menu below */

  /* title bar */
  .footer h4.footer__acc-title { margin: 0; padding: 0; }
  .footer h4.footer__acc-title::after { display: none; }
  .footer__toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; border-radius: 16px; cursor: pointer; pointer-events: auto;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(109, 76, 245, .22);
    box-shadow: 0 8px 20px rgba(109, 76, 245, .14);
    color: var(--navy); font-size: 16px; font-weight: 800;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s ease, border-color .25s ease;
  }
  .footer__toggle svg {
    display: block; width: 20px; height: 20px; flex: none; color: var(--brand);
    transition: transform .3s ease;
  }
  .footer__toggle[aria-expanded="true"] { border-color: var(--brand); background: #fff; }
  .footer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .footer__toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  /* collapsible panel (smooth height animation) */
  .footer__panel {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease;
  }
  .footer__panel > .footer__links { overflow: hidden; min-height: 0; }
  .footer__panel.is-open { grid-template-rows: 1fr; }

  /* the opened list: framed box, every link is its own row */
  .footer__panel.is-open > .footer__links {
    margin-top: 10px; padding: 12px; gap: 10px;
    background: var(--brand-soft-2); border-radius: 16px;
  }
  .footer__panel > .footer__links { padding: 0 12px; gap: 10px; }
  .footer__panel .footer__links a {
    display: flex; width: 100%; padding: 14px 16px; border-radius: 10px;
    background: #fff; color: var(--navy); font-size: 14.5px; font-weight: 700;
  }
  .footer__panel .footer__links a:hover { color: var(--brand); font-size: 15.5px; }
}

/* ==========================================================================
   Round 12: process numbers + clickable service boxes
   ========================================================================== */
/* process number badge: solid purple like the icon; on hover it takes the same
   colour the icon circle turns into */
.process__num { background-image: none; background-color: var(--brand); transition: var(--transition); }
.process__item:hover .process__num { background-image: var(--grad); background-color: transparent; }

/* six regular service boxes: whole box is a link (new tab) */
.service__cover { position: absolute !important; inset: 0; z-index: 3 !important; border-radius: inherit; }
.service__cover:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }

/* box hover = same motion as the "اطلاعات بیشتر" button (lift + slight scale + button shadow) */
.service:not(.service--featured) { cursor: pointer; }
.js .service:not(.service--featured).reveal.is-in { transition: opacity .7s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.service:not(.service--featured):hover,
.js .service:not(.service--featured).reveal.is-in:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 24px rgba(109, 76, 245, .3), inset 0 1px 0 rgba(255, 255, 255, .4);
}
/* the button inside lights up together with its box */
.service:hover .service__btn { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 24px rgba(109, 76, 245, .3), inset 0 1px 0 rgba(255, 255, 255, .4); }
.service:hover .service__btn-arrow { transform: translateX(-4px); }


/* ==========================================================================
   Mobile fix: menu fits inside its box, no horizontal scroll,
   back-to-top button on the left
   ========================================================================== */
/* only vertical scrolling: nothing may push the page sideways */
html, body { max-width: 100%; overflow-x: clip; }
html { overscroll-behavior-x: none; }
body { overflow-x: hidden; position: relative; }
@supports (overflow: clip) { body { overflow-x: clip; } }

/* back-to-top: always on the physical left side */
.to-top { inset-inline-start: auto; right: auto; left: 18px; }

/* header children may shrink instead of spilling out of the pill */
.header__inner > * { min-width: 0; }
.logo { flex: none; }
.logo__text { white-space: nowrap; }
.header__actions { flex: 0 0 auto; }

@media (max-width: 640px) {
  .header__inner { gap: 8px; padding: 0 10px 0 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 38px; height: 38px; border-radius: 12px; }
  .logo__mark svg { width: 21px; height: 21px; }
  .logo__text b, .logo__text span { font-size: 18px; }
  .logo__text { gap: 4px; }
  .header__actions { gap: 6px; }
  .header__actions .btn--sm { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .burger { width: 40px; height: 40px; border-radius: 12px; flex: none; }
  .mobile-nav { max-width: 100%; box-sizing: border-box; }
  .to-top { left: 14px; bottom: 18px; }
}

/* phones: no room for logo + order button + burger in one pill;
   the order button is inside the opened menu anyway */
@media (max-width: 480px) {
  .header__actions .btn--sm { display: none; }
}


/* ==========================================================================
   Contact page: phone / address cards + full-width, full-height map
   ========================================================================== */
.page-hero { padding-bottom: 30px; }
.page-hero .section-head { margin-bottom: 24px; }
.page-hero h1.section-title { font-size: clamp(30px, 4.6vw, 52px); }

.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1000px; margin-inline: auto;
}
.contact-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 34px 24px 28px; border-radius: 28px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(109, 76, 245, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(109, 76, 245, .22), 0 4px 12px rgba(20, 18, 46, .08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(109, 76, 245, .3), 0 6px 16px rgba(20, 18, 46, .1);
}
.contact-card > i {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  background-image: var(--grad); color: #fff; margin-bottom: 14px;
  box-shadow: 0 12px 26px rgba(109, 76, 245, .32);
}
.contact-card > i svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 20px; line-height: 1.4; }
.contact-card__sub { color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.contact-card b { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: .5px; }
.contact-card b.contact-card__addr { font-size: 15px; line-height: 2; letter-spacing: 0; font-weight: 800; }
.contact-card em {
  margin-top: auto; padding-top: 16px; font-style: normal; font-weight: 800; font-size: 14px; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}
.contact-card em svg { width: 16px; height: 16px; transition: transform var(--transition); }
.contact-card:hover em svg { transform: translateX(-4px); }

/* map: 100% of the width and 100% of the screen height */
.map-full {
  position: relative; width: 100%;
  height: 100vh; height: 100svh; min-height: 480px;
  overflow: hidden; background: #e4dcff;
  scroll-margin-top: 0;
}
.map-full iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-full__card {
  position: absolute; z-index: 2; inset-inline: 0; bottom: 28px; margin-inline: auto;
  width: min(560px, calc(100% - 28px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 24px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(20, 18, 46, .28);
}
.map-full__card > i {
  flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  background-image: var(--grad); color: #fff;
}
.map-full__card > i svg { width: 22px; height: 22px; }
.map-full__card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.7; }
.map-full__card b { font-size: 15px; color: var(--navy); }
.map-full__card span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.map-full__card .btn { flex: none; white-space: nowrap; }

/* services + FAQ sit right under the map */
#map + #services { padding-top: 86px; }

@media (max-width: 980px) {
  .contact-cards { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .contact-card { padding: 28px 18px 24px; }
  .map-full__card { bottom: 84px; padding: 12px; gap: 10px; }
  .map-full__card > i { width: 40px; height: 40px; border-radius: 13px; }
  #map + #services { padding-top: 64px; }
}

/* six service boxes on the contact page: 3 x 2 on desktop */
@media (min-width: 1101px) {
  #map + #services .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 641px) and (max-width: 1100px) {
  #map + #services .services-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   Service detail page (gallery, description, order form, satisfaction)
   ========================================================================== */
.sv-hero { padding-top: 34px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--brand); }
.crumbs svg { width: 14px; height: 14px; }
.crumbs span { color: var(--navy); }

.sv-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.gal__main { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e4dcff, #c9f3ec);
  border: 6px solid rgba(255, 255, 255, .9); box-shadow: 0 26px 56px rgba(109, 76, 245, .28); }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.gal__thumb { aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: grid; place-items: center; padding: 0;
  background: linear-gradient(135deg, #e4dcff, #c9f3ec); border: 3px solid transparent; transition: var(--transition); }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-active, button.gal__thumb:hover { border-color: var(--brand); }
.gal__thumb--empty { color: rgba(109, 76, 245, .45); }
.gal__thumb--empty svg { width: 30px; height: 30px; }

.sv-info h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 8px; }
.sv-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.sv-rate b { color: var(--navy); }
.sv-rate .quote__stars { margin: 0; }
.sv-lead { font-size: 16px; margin-bottom: 22px; }
.sv-price { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 24px; padding: 16px 22px; margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(109, 76, 245, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sv-price small { color: var(--muted); font-weight: 700; font-size: 13px; }
.sv-price div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sv-price b { font-size: 40px; font-weight: 900; color: var(--brand); line-height: 1.4; }
.sv-price span { font-weight: 700; color: var(--ink); font-size: 14px; }
.sv-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.sv-desc__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.sv-desc__text p { font-size: 15.5px; margin-bottom: 16px; }
.sv-feats { display: grid; gap: 14px; }
.sv-feats li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(109, 76, 245, .12); box-shadow: 0 14px 34px rgba(109, 76, 245, .16); }
.sv-feats i { flex: none; width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background-image: var(--grad); }
.sv-feats i svg { width: 24px; height: 24px; }
.sv-feats b { display: block; font-size: 15px; color: var(--navy); line-height: 1.7; }
.sv-feats span { font-size: 13px; color: var(--muted); font-weight: 600; }

.sv-form { max-width: 820px; margin-inline: auto; display: grid; gap: 18px; padding: 34px; border-radius: 32px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(109, 76, 245, .12); box-shadow: 0 26px 60px rgba(109, 76, 245, .24); }
.sv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sv-form label { display: grid; gap: 8px; font-weight: 800; font-size: 14px; color: var(--navy); }
.sv-form input, .sv-form select, .sv-form textarea { font: inherit; font-weight: 600; width: 100%; padding: 13px 16px; border-radius: 16px;
  border: 1.5px solid var(--brand-soft-2); background: #fff; color: var(--ink); outline: none; transition: var(--transition); }
.sv-form input:focus, .sv-form select:focus, .sv-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109, 76, 245, .15); }
.sv-form [aria-invalid="true"] { border-color: #e5484d; }
.sv-form__error { color: #e5484d; font-weight: 700; font-size: 14px; }
.sv-form__ok { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; background: #e7f9f4; color: #0b7a69; }
.sv-form__ok svg { width: 34px; height: 34px; flex: none; }
.sv-form__ok b { display: block; } .sv-form__ok span { font-size: 13.5px; font-weight: 700; }
.sv-form [hidden] { display: none; }

.sv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; text-align: center; }
.sv-stats div { padding: 22px 12px; border-radius: 26px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(109, 76, 245, .12);
  box-shadow: 0 18px 44px rgba(109, 76, 245, .2); }
.sv-stats b { display: block; font-size: 32px; font-weight: 900; color: var(--brand); line-height: 1.5; }
.sv-stats span { font-weight: 700; font-size: 14px; color: var(--ink); }

@media (max-width: 980px) {
  .sv-hero__grid, .sv-desc__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .sv-form { padding: 22px 16px; border-radius: 26px; }
  .sv-form__row { grid-template-columns: 1fr; }
  .sv-stats { grid-template-columns: 1fr; gap: 14px; }
  .sv-stats b { font-size: 28px; }
  .sv-cta .btn { flex: 1 1 100%; }
  .sv-price b { font-size: 34px; }
}

/* other services + back to home */
.sv-more { padding-top: 40px; }
.sv-more__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sv-more__list a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 100px; font-weight: 800; font-size: 14px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(109, 76, 245, .14); box-shadow: 0 10px 26px rgba(109, 76, 245, .16); transition: var(--transition); }
.sv-more__list a svg { width: 20px; height: 20px; color: var(--brand); }
.sv-more__list a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.sv-more__list a:hover svg { color: #fff; }
.sv-more__home { text-align: center; margin-top: 30px; }


/* ==========================================================================
   Discount page (coupon card + copy button)
   ========================================================================== */
.dc-photo { aspect-ratio: 4 / 3.4; }
.dc-photo img { object-position: center 25%; }
.coupon { display: flex; align-items: stretch; gap: 0; margin-top: -42px; margin-inline: 18px; position: relative; z-index: 2;
  border-radius: 26px; overflow: hidden; background: rgba(255, 255, 255, .96); border: 1px solid rgba(109, 76, 245, .16);
  box-shadow: 0 26px 56px rgba(109, 76, 245, .28); }
.coupon__off { flex: none; display: grid; place-content: center; text-align: center; padding: 18px 22px; color: #fff; background-image: var(--grad, linear-gradient(135deg, #6d4cf5, #12c7b0)); }
.coupon__off b { font-size: 38px; font-weight: 900; line-height: 1.2; }
.coupon__off span { font-size: 13px; font-weight: 800; }
.coupon__body { flex: 1; padding: 16px 20px; border-inline-start: 2px dashed rgba(109, 76, 245, .35); min-width: 0; }
.coupon__body small { color: var(--muted); font-weight: 700; font-size: 13px; }
.coupon__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 8px; }
.coupon__row code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 26px; font-weight: 800; letter-spacing: 3px; color: var(--navy);
  padding: 6px 16px; border-radius: 14px; background: var(--brand-soft); border: 1.5px dashed var(--brand-light); }
.coupon__copy svg { width: 17px; height: 17px; }
.coupon__copy.is-copied { background: #12a58f; }
.coupon__hint { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.9; }
.dc-services { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .dc-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .dc-services { grid-template-columns: 1fr; }
  .coupon { flex-direction: column; margin-inline: 8px; }
  .coupon__body { border-inline-start: 0; border-top: 2px dashed rgba(109, 76, 245, .35); }
  .coupon__off { padding: 12px; }
}


/* ==========================================================================
   Blog single post
   ========================================================================== */
.bl-hero { padding-bottom: 10px; }
.bl-head { max-width: 860px; margin: 0 auto 26px; text-align: center; }
.bl-cat { display: inline-block; padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--brand-soft-2); }
.bl-head h1 { font-size: clamp(26px, 4.2vw, 44px); line-height: 1.7; margin: 0 0 12px; }
.bl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: var(--muted); font-weight: 700; font-size: 13.5px; }
.bl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bl-meta svg { width: 16px; height: 16px; color: var(--brand); }
.bl-cover { max-width: 980px; margin: 0 auto; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8; border: 6px solid rgba(255,255,255,.9);
  background: linear-gradient(135deg, #e4dcff, #c9f3ec); box-shadow: 0 26px 56px rgba(109, 76, 245, .24); }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; }
.bl-body { padding-top: 40px; }
.bl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 38px; align-items: start; max-width: 1080px; margin-inline: auto; }
.bl-article { background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); border-radius: 30px; padding: 38px 40px; box-shadow: 0 18px 44px rgba(109,76,245,.14); }
.bl-lead { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 2.1; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px dashed var(--brand-soft-2); }
.bl-article h2 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; color: var(--navy); margin: 30px 0 12px; scroll-margin-top: 100px; position: relative; padding-inline-start: 18px; }
.bl-article h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 6px; height: .9em; border-radius: 4px; background-image: var(--grad); }
.bl-article p { font-size: 15.5px; line-height: 2.1; color: var(--ink); margin-bottom: 14px; }
.bl-list { display: grid; gap: 10px; margin: 6px 0 16px; }
.bl-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.9; padding: 10px 14px; border-radius: 16px; background: var(--brand-soft); }
.bl-list svg { width: 19px; height: 19px; flex: none; color: var(--brand); margin-top: 5px; }
.bl-tip { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding: 22px; border-radius: 24px; color: #fff; background-image: var(--grad); box-shadow: 0 20px 44px rgba(109,76,245,.3); }
.bl-tip > svg { width: 34px; height: 34px; flex: none; }
.bl-tip b { display: block; font-size: 17px; margin-bottom: 4px; }
.bl-article .bl-tip p { color: rgba(255,255,255,.95); font-size: 14.5px; margin-bottom: 14px; }
.bl-tip .btn { background: #fff; color: var(--brand); }
.bl-offer { margin-top: 30px; }
.bl-offer__tag { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.22); }
.bl-offer .btn svg { width: 14px; height: 14px; }
.bl-aside { position: sticky; top: 104px; display: grid; gap: 18px; }
.bl-box { padding: 22px; border-radius: 26px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 16px 38px rgba(109,76,245,.16); }
.bl-box h4 { font-size: 16px; margin-bottom: 12px; }
.bl-toc { display: grid; gap: 4px; }
.bl-toc a { padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--ink); transition: var(--transition); }
.bl-toc a:hover { background: var(--brand-soft); color: var(--brand); }
.bl-box--code { text-align: center; color: #fff; background-image: var(--grad); border: 0; }
.bl-box--code small { font-weight: 700; opacity: .9; }
.bl-box--code b { display: block; font-size: 34px; font-weight: 900; line-height: 1.5; }
.bl-box--code code { display: block; margin: 8px 0 14px; padding: 8px; border-radius: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 22px; font-weight: 800; letter-spacing: 3px; background: rgba(255,255,255,.2); border: 1.5px dashed rgba(255,255,255,.7); }
.bl-box--code .btn { color: var(--brand); }
.bl-box--code .btn svg { width: 16px; height: 16px; }
.bl-box--code .btn.is-copied { background: #e7f9f4; color: #0b7a69; }
.bl-box__more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.bl-related { padding-top: 56px; }
.bl-rel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bl-rel { display: block; padding: 14px; border-radius: 26px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 14px 34px rgba(109,76,245,.14); transition: var(--transition); }
.bl-rel:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(109,76,245,.22); }
.bl-rel__img { height: 170px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.bl-rel__img img { width: 100%; height: 100%; object-fit: cover; }
.bl-rel h3 { font-size: 15.5px; line-height: 1.8; margin: 14px 6px 6px; }
.bl-rel span { display: inline-flex; align-items: center; gap: 4px; margin: 0 6px 4px; font-size: 13px; font-weight: 800; color: var(--brand); }
.bl-rel span svg { width: 15px; height: 15px; }
@media (max-width: 980px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-aside { position: static; } /* order: title > cover > article text > services box */
  .bl-rel__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bl-article { padding: 24px 18px; border-radius: 24px; }
  .bl-cover { aspect-ratio: 4 / 3; border-radius: 24px; }
  .bl-tip { flex-direction: column; }
  .bl-rel__grid { grid-template-columns: 1fr; }
}

/* blog slider: prev/next arrows under the cards (mobile only) */
.slider__nav { display: none; }
@media (max-width: 640px) {
  .slider__btn { display: none; }
  .slider__nav { display: flex; justify-content: center; gap: 16px; margin-top: 20px; }
  .slider__arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); cursor: pointer;
    background: rgba(255,255,255,.96); border: 1px solid rgba(109,76,245,.2); box-shadow: 0 10px 24px rgba(109,76,245,.22); transition: var(--transition); }
  .slider__arrow svg { width: 22px; height: 22px; }
  .slider__arrow--prev svg { transform: rotate(180deg); }
  .slider__arrow:active { background-image: var(--grad); color: #fff; }
  .slider__arrow:disabled { opacity: .35; box-shadow: none; }
}


/* ==========================================================================
   Other-services image cards (service pages)
   ========================================================================== */
.sv-more__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sv-more__card { display: block; padding: 10px; border-radius: 26px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12);
  box-shadow: 0 14px 34px rgba(109,76,245,.16); transition: var(--transition); }
.sv-more__card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(109,76,245,.26); }
.sv-more__img { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.sv-more__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sv-more__card:hover .sv-more__img img { transform: scale(1.08); }
.sv-more__name { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 4px 6px; font-weight: 800; font-size: 14px; line-height: 1.7; text-align: center; color: var(--navy); }
.sv-more__name svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
@media (max-width: 980px) { .sv-more__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .sv-more__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sv-more__card { padding: 8px; border-radius: 22px; }
  .sv-more__name { font-size: 12.5px; }
}

/* ==========================================================================
   Online order page
   ========================================================================== */
.od-hero { padding-bottom: 6px; }
.od-hero__box { max-width: 860px; margin-inline: auto; text-align: center; }
.od-hero__box h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.7; margin-bottom: 10px; }
.od-hero__box p { color: var(--muted); font-size: 16px; font-weight: 600; max-width: 640px; margin-inline: auto; }
.od-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.od-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; font-weight: 800; font-size: 13px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(109,76,245,.14); box-shadow: 0 8px 20px rgba(109,76,245,.12); }
.od-badges svg { width: 18px; height: 18px; color: var(--brand); }
.od-main { padding-top: 34px; }
.od-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.od-steps { display: grid; gap: 20px; }
.od-card { padding: 28px; border-radius: 30px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 18px 44px rgba(109,76,245,.14); }
.od-card h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 900; margin-bottom: 16px; }
.od-num { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 16px; background-image: var(--grad); }
.od-sub { margin: -6px 0 16px; color: var(--muted); font-weight: 600; font-size: 14px; }
.od-svcs { display: grid; gap: 12px; }
.od-svc { border-radius: 24px; border: 2px solid rgba(109,76,245,.12); background: #fff; transition: var(--transition); overflow: hidden; }
.od-svc:hover { border-color: var(--brand-light); }
.od-svc.is-on { border-color: var(--brand); box-shadow: 0 14px 34px rgba(109,76,245,.22); }
.od-svc__main { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; background: none; border: 0; cursor: pointer; font: inherit; text-align: start; color: inherit; }
.od-svc__img { flex: none; width: 84px; height: 72px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.od-svc__img img { width: 100%; height: 100%; object-fit: cover; }
.od-svc__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.od-svc__txt b { font-size: 15.5px; color: var(--navy); line-height: 1.7; }
.od-svc__txt small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.od-svc__txt em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--brand); }
.od-svc__tick { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); transition: var(--transition); }
.od-svc__tick svg { width: 18px; height: 18px; transition: transform .3s ease; }
.od-svc.is-on .od-svc__tick { color: #fff; background-image: var(--grad); }
.od-svc.is-on .od-svc__tick svg { transform: rotate(45deg); }
.od-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 14px; border-top: 1px dashed rgba(109,76,245,.25); background: var(--brand-soft); }
.od-qty[hidden] { display: none; }
.od-qty__lbl { font-weight: 800; font-size: 13.5px; }
.od-qty__ctl { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 100px; background: #fff; border: 1px solid rgba(109,76,245,.2); }
.od-qty__btn { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; font: inherit; font-size: 20px; font-weight: 800; line-height: 1; color: var(--brand); background: var(--brand-soft); transition: var(--transition); }
.od-qty__btn:hover { color: #fff; background-image: var(--grad); }
.od-qty output { min-width: 44px; text-align: center; font-weight: 900; font-size: 16px; color: var(--navy); }

.od-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.od-card label, .od-field { display: grid; gap: 8px; font-weight: 800; font-size: 14px; color: var(--navy); }
.od-field { margin-bottom: 16px; }
.od-row + .od-field, .od-opts + .od-field { margin-top: 16px; margin-bottom: 0; }
.od-card input[type="text"], .od-card input[type="tel"], .od-card input[type="password"], .od-card input[type="email"], .od-card input[type="number"], .od-card select, .od-card textarea { font: inherit; font-weight: 600; width: 100%; padding: 13px 16px; border-radius: 16px;
  border: 2px solid rgba(109,76,245,.45); background: #fff; color: var(--ink); outline: none; transition: var(--transition); }
.od-card input:focus, .od-card select:focus, .od-card textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109,76,245,.15); }
.od-card [aria-invalid="true"] { border-color: #e5484d; }
.od-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.od-opts--pay { margin: 18px 0 0; }
.od-opt { position: relative; cursor: pointer; }
.od-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.od-opt > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 22px; border: 2px solid rgba(109,76,245,.14); background: #fff; transition: var(--transition); }
.od-opt > span svg { grid-row: span 3; width: 28px; height: 28px; color: var(--brand); }
.od-opt b { font-size: 15px; } .od-opt small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.od-opt em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--brand); grid-column: 2; }
.od-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 26px rgba(109,76,245,.2); }
.od-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(109,76,245,.25); }
.od-code__row { display: flex; gap: 10px; }
.od-code__row input { flex: 1; text-transform: uppercase; letter-spacing: 2px; font-weight: 800 !important; }
.od-code__row .btn { flex: none; }
.od-code__msg { min-height: 24px; margin-top: 8px; font-weight: 800; font-size: 13.5px; }
.od-code__msg.is-ok { color: #0b7a69; } .od-code__msg.is-bad { color: #e5484d; }
.od-code__hint { font-size: 13px; font-weight: 700; color: var(--muted); }
.od-code__hint a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

.od-summary { position: sticky; top: 104px; }
.od-sum { padding: 24px; border-radius: 30px; background: rgba(255,255,255,.96); border: 1px solid rgba(109,76,245,.14); box-shadow: 0 26px 56px rgba(109,76,245,.24); }
.od-sum h3 { font-size: 19px; font-weight: 900; margin-bottom: 14px; }
.od-lines { display: grid; gap: 8px; margin-bottom: 14px; }
.od-lines li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); font-size: 14px; font-weight: 700; }
.od-lines li span { color: var(--muted); font-size: 12.5px; display: block; }
.od-lines li strong { white-space: nowrap; color: var(--navy); }
.od-lines .od-empty { display: block; text-align: center; color: var(--muted); background: transparent; border: 1.5px dashed var(--brand-soft-2); }
.od-tot { display: grid; gap: 10px; padding-top: 14px; border-top: 1px dashed rgba(109,76,245,.3); }
.od-tot > div { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; }
.od-tot > div[hidden] { display: none; }
.od-tot dt { color: var(--muted); } .od-tot dd { font-weight: 800; color: var(--navy); }
.od-neg { color: #0b7a69 !important; }
.od-tot__final { padding-top: 12px; margin-top: 2px; border-top: 1px solid rgba(109,76,245,.15); }
.od-tot__final dt { color: var(--navy); font-weight: 900; font-size: 16px; }
.od-tot__final dd { color: var(--brand); font-size: 22px; font-weight: 900; }
.od-note { margin: 14px 0; font-size: 12.5px; font-weight: 600; line-height: 1.9; color: var(--muted); }
.od-err { margin-bottom: 12px; color: #e5484d; font-weight: 800; font-size: 14px; }
.od-ok { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: #e7f9f4; color: #0b7a69; }
.od-ok svg { width: 34px; height: 34px; flex: none; } .od-ok b { display: block; } .od-ok span { font-size: 13.5px; font-weight: 700; }
.od-err[hidden], .od-ok[hidden] { display: none; }
.od-trust { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(109,76,245,.25); }
.od-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.od-trust svg { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 980px) {
  .od-grid { grid-template-columns: 1fr; }
  .od-summary { position: static; }
}
@media (max-width: 640px) {
  .od-card { padding: 20px 16px; border-radius: 24px; }
  .od-row, .od-opts { grid-template-columns: 1fr; }
  .od-svc__img { width: 72px; height: 64px; }
  .od-svc__txt b { font-size: 14.5px; }
  .od-code__row { flex-direction: column; }
  .od-sum { padding: 20px 16px; border-radius: 24px; }
}
@media (max-width: 640px) { .od-svc__txt small { display: none; } .od-svc__txt em { line-height: 1.7; } }

/* ---------- Plans page ---------- */
.pl-quiz-sec{padding-top:0}
.pl-q{margin-top:18px}
.pl-q>p{font-weight:700;color:var(--navy);margin-bottom:8px}
.pl-opts3{grid-template-columns:repeat(3,1fr)}
.pl-result{margin-top:20px;padding:14px 18px;border-radius:var(--radius-sm);background:var(--brand-soft);color:var(--ink);font-weight:600}
.pl-result.is-on{background:linear-gradient(135deg,var(--brand),var(--brand-light));color:#fff}
.plan.is-rec{outline:3px solid var(--brand-dark);outline-offset:4px}
.plan .pl-rec{background:var(--brand-dark);color:#fff}
.plan--popular .pl-rec{top:44px}
.pl-quiz{max-width:900px;margin-inline:auto}
.pl-quiz h2{font-size:20px;color:var(--navy)}
.pl-quiz .od-opts{margin-bottom:0}
@media(max-width:640px){.pl-opts3{grid-template-columns:1fr}}
.sv-desc__text strong { color: var(--brand); font-weight: 800; }

/* Blog: services list in sidebar */
.bl-toc--svc a { display: flex; align-items: center; gap: 12px; }
.bl-toc--svc i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background-image: var(--grad); }
.bl-toc--svc i svg { width: 19px; height: 19px; }

/* Footer contact icons: titles + 2x2 grid on mobile only */
.socials .s-label { display: none; }
@media (max-width: 640px) {
  .socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .socials a { width: 100%; height: 58px; border-radius: 18px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; }
  .socials .s-label { display: block; position: relative; z-index: 1; font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
  .socials svg { flex: none; width: 26px; height: 26px; }
  .socials .s-bale img { flex: none; width: 28px; height: 28px; }
  .socials .s-bale { order: 1; }
  .socials .s-insta { order: 2; }
  .socials .s-phone { order: 3; }
  .socials .s-mobile { order: 4; }
}

/* Plans: full-width description */
.sv-desc--wide .sv-desc__grid { grid-template-columns: 1fr; }
.sv-desc--wide .sv-desc__text p { font-size: 16px; line-height: 2.1; margin-bottom: 0; }

/* Footer: larger column titles and links (desktop/tablet) */
@media (min-width: 641px) {
  .footer h4 { font-size: 21px; margin-bottom: 24px; }
  .footer__links { gap: 17px; }
  .footer__links a { font-size: 17px; }
  .footer__links a:hover { font-size: 18px; }
}

/* Same service boxes everywhere */
@media (min-width: 981px) { .sv-more__grid--6 { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.bl-box .sv-more__grid--side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* sidebar services: 1st box 100%, the next two 50% each, then again (desktop + mobile) */
.bl-box .sv-more__grid--side > .sv-more__card:nth-child(3n+1) { grid-column: 1 / -1; }
.bl-box .sv-more__grid--side > .sv-more__card:last-child:nth-child(3n+2) { grid-column: 1 / -1; }
.bl-box .sv-more__grid--side > .sv-more__card:nth-child(3n+1) .sv-more__img,
.bl-box .sv-more__grid--side > .sv-more__card:last-child:nth-child(3n+2) .sv-more__img { aspect-ratio: 16 / 9; }
.bl-box .sv-more__grid--side > .sv-more__card:nth-child(3n+1) .sv-more__name,
.bl-box .sv-more__grid--side > .sv-more__card:last-child:nth-child(3n+2) .sv-more__name { font-size: 14px; }
.bl-box .sv-more__card { padding: 8px; border-radius: 22px; }
.bl-box .sv-more__name { font-size: 12.5px; padding: 10px 2px 4px; }
.bl-box .sv-more__name svg { width: 16px; height: 16px; }

/* ---------- Terms & conditions page ---------- */
.tm-hero { padding-bottom: 10px; }
.tm-hero__box { margin-top: 14px; padding: 34px 34px 30px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-soft), #e6fbf7); border: 1px solid var(--line); }
.tm-hero__box h1 { font-size: clamp(26px, 4vw, 38px); color: var(--navy); line-height: 1.5; margin: 12px 0 8px; }
.tm-hero__box h1 em { font-style: normal; color: var(--brand); }
.tm-hero__box { text-align: center; }
.tm-hero__box p { width: 100%; max-width: 100%; margin: 0; color: var(--ink); font-size: 16px; line-height: 2.1; text-align: center; text-wrap: balance; }
.tm-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: #fff; color: var(--brand); font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.tm-badge svg { width: 18px; height: 18px; }
.tm-main { padding-top: 26px; }
.tm-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.tm-nav { position: sticky; top: 104px; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tm-nav h3 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.tm-nav nav { display: grid; gap: 2px; }
.tm-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--ink); transition: var(--transition); }
.tm-nav a:hover { background: var(--brand-soft); color: var(--brand); }
.tm-body { display: grid; gap: 20px; }
.tm-sec { padding: 26px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-bottom: 2px solid var(--brand); scroll-margin-top: 100px; }
.tm-sec header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tm-sec__ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background-image: var(--grad); }
.tm-sec__ic svg { width: 22px; height: 22px; }
.tm-sec h2 { font-size: 20px; color: var(--navy); }
.tm-sum { padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); margin-bottom: 14px; }
.tm-sum b { color: var(--brand); }
.tm-list { list-style: none; display: grid; gap: 10px; }
.tm-list li { position: relative; padding-inline-start: 26px; line-height: 2; }
.tm-list li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background-image: var(--grad); }
.tm-ver { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: 22px; color: #fff; background-image: var(--grad); }
.tm-ver svg { flex: none; width: 34px; height: 34px; }
.tm-ver b { display: block; font-size: 16px; }
@media (max-width: 900px) {
  .tm-grid { grid-template-columns: minmax(0, 1fr); }
  .tm-nav, .tm-body { min-width: 0; }
  .tm-nav { position: static; padding: 12px; }
  .tm-nav nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .tm-nav a { flex: none; white-space: nowrap; background: var(--brand-soft); }
  .tm-hero__box { padding: 28px 24px; }
  .tm-sec { padding: 20px 18px; }
}

/* Footer proportions: slightly smaller links, tighter bottom spacing, bigger brand text */
@media (min-width: 641px) {
  .footer h4 { font-size: 19px; margin-bottom: 18px; }
  .footer__links { gap: 12px; }
  .footer__links a { font-size: 15.5px; }
  .footer__links a:hover { font-size: 16.5px; }
  .footer__top { padding-bottom: 8px; }
}
.footer__about p { font-size: 16px; line-height: 2; }
@media (max-width: 640px) { .footer__about p { font-size: 15px; } }

/* Terms page: mobile redesign (spacious, flat sections, no numbers) */
@media (max-width: 640px) {
  .tm-hero .container, .tm-main .container { padding-inline: 24px; }
  .tm-hero { padding-top: 18px; }
  .tm-hero .crumbs { margin-bottom: 14px; }
  .tm-hero__box { margin-top: 0; padding: 28px 22px; border-radius: 28px; }
  .tm-hero__box h1 { font-size: 24px; line-height: 1.7; margin: 0 0 10px; }
  .tm-hero__box p { width: 100%; font-size: 15.5px; line-height: 2.1; max-width: 100%; }
  .tm-badge { font-size: 12.5px; padding: 6px 14px; }
  .tm-main { padding-top: 22px; }
  .tm-grid { gap: 22px; }

  /* topic chips: one horizontal swipe row, no card around it */
  .tm-nav { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .tm-nav h3 { display: none; }
  .tm-nav nav { display: flex; gap: 10px; overflow-x: auto; margin-inline: -24px; padding: 4px 24px 10px; scroll-padding-inline: 24px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tm-nav nav::-webkit-scrollbar { display: none; }
  .tm-nav a { flex: none; scroll-snap-align: start; white-space: nowrap; padding: 10px 18px; border-radius: 100px; font-size: 13.5px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

  /* sections: flat blocks separated by hairlines instead of boxed cards */
  .tm-body { gap: 0; }
  .tm-sec { padding: 30px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; scroll-margin-top: 84px; }
  .tm-sec:first-child { padding-top: 6px; }
  .tm-sec header { gap: 14px; margin-bottom: 16px; }
  .tm-sec__ic { width: 44px; height: 44px; border-radius: 14px; }
  .tm-sec__ic svg { width: 22px; height: 22px; }
  .tm-sec h2 { font-size: 18px; line-height: 1.7; }
  .tm-sum { padding: 16px 18px; border-radius: 18px; font-size: 14px; line-height: 2.05; margin-bottom: 18px; }
  .tm-list { gap: 16px; }
  .tm-list li { padding-inline-start: 28px; font-size: 14.5px; line-height: 2.1; }
  .tm-list li::before { width: 9px; height: 9px; top: 16px; inset-inline-start: 6px; }
  .tm-ver { margin-top: 26px; padding: 20px 20px; border-radius: 24px; gap: 14px; }
  .tm-ver svg { width: 30px; height: 30px; }
  .tm-ver b { font-size: 15.5px; margin-bottom: 4px; }
  .tm-ver span { font-size: 13.5px; line-height: 1.9; }
}

/* Popular plan: same solid brand colour as the featured service box, everywhere */
.plan.plan--popular { background-image: none; background-color: #6d4cf5; }

/* ---------- Shared order form (order + service pages) ---------- */
.av-order { max-width: 820px; margin-inline: auto; display: grid; gap: 22px; }
.av-form { display: grid; gap: 0; }
.av-gap { margin-top: 16px; }
.av-form .od-field { margin: 16px 0 0; }
.av-payfield { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.av-payfield legend { font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 10px; padding: 0; }
.av-form .od-err { margin: 14px 0 0; }
.av-form .btn--block { margin-top: 18px; }
.av-pay { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: stretch; }
.av-pay__box { padding: 22px; border-radius: 26px; background: rgba(255,255,255,.94); border: 2px solid rgba(109,76,245,.12); transition: var(--transition); }
.av-pay__box.is-active { border-color: var(--brand); box-shadow: 0 16px 38px rgba(109,76,245,.2); }
.av-pay__box h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.av-pay__box h3 svg { width: 24px; height: 24px; color: var(--brand); }
.av-pay__box p { font-size: 13.5px; font-weight: 600; line-height: 1.9; color: var(--muted); }
.av-card { display: grid; gap: 10px; margin-top: 14px; padding: 18px; border-radius: 22px; color: #fff; background-image: var(--grad); box-shadow: 0 14px 30px rgba(109,76,245,.3); }
.av-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.av-card__owner { font-weight: 800; font-size: 14px; opacity: .95; }
.av-card__bank { font-weight: 800; font-size: 13.5px; opacity: .95; padding: 3px 12px; border-radius: 100px; background: rgba(255,255,255,.2); }
.av-card__num { font-size: clamp(20px, 3.4vw, 26px); letter-spacing: 2px; font-weight: 900; text-align: center; direction: ltr; }
.av-card__copy { justify-self: center; padding: 9px 20px; border: 0; border-radius: 100px; cursor: pointer; font: inherit; font-weight: 800; font-size: 13.5px; color: var(--brand); background: #fff; transition: var(--transition); }
.av-card__copy:hover { transform: translateY(-2px); }
@media (max-width: 760px) { .av-pay { grid-template-columns: 1fr; } .av-card { padding: 16px 12px; } .av-card__num { letter-spacing: 1px; } }

.socials .s-bale:hover { background-color: #0cbc8d; }
.socials .s-bale::after { display: none; }

/* extra social networks (added from the theme settings) */
.socials .s-extra { background-image: none; background-color: var(--s-bg, #6d4cf5); }
.socials .s-extra:hover { background-color: var(--s-bg, #6d4cf5); }
.socials .s-extra img { width: 30px; height: 30px; position: relative; z-index: 1; display: block; object-fit: contain; }
@media (max-width: 640px) {
  .socials .s-extra { order: 5; }
  .socials .s-extra img { flex: none; width: 28px; height: 28px; }
  /* odd number of icons: the last one takes the whole row (100%) */
  .socials .s-wide { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Blog lists: category / tag / blog index / search ---------- */
.bl-archive__desc { max-width: 680px; margin: 14px auto 0; color: var(--muted); font-weight: 600; line-height: 2; }
.bl-archive__more { max-width: 820px; margin: 40px auto 0; line-height: 2.2; font-size: 17.5px; text-align: justify; text-justify: inter-word; }
.bl-archive__more h2, .bl-archive__more h3, .bl-archive__more h4 { text-align: start; }
.bl-archive__more p, .bl-archive__more li { text-align: justify; text-justify: inter-word; }
.bl-archive .bl-archive__more ul, .bl-archive .bl-archive__more ol { list-style: none !important; counter-reset: avatli; padding: 0 !important; margin: 12px 0; }
.bl-archive .bl-archive__more li { list-style: none !important; position: relative; counter-increment: avatli; margin-bottom: 10px; padding-inline-start: 40px; padding-inline-end: 0; font-weight: var(--avat-mkw, 700); }
.bl-archive .bl-archive__more li::marker { content: ""; font-size: 0; }
.bl-archive .bl-archive__more li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .55em; width: 24px; height: 24px; border-radius: 50%; background: rgba(59, 130, 246, .2); background: color-mix(in srgb, var(--avat-mk, #3b82f6) 20%, transparent); }
.bl-archive .bl-archive__more ul > li::after { content: ""; position: absolute; inset-inline-start: 14px; top: calc(.55em + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--avat-mk, #3b82f6); }
.bl-archive .bl-archive__more ol > li::after { content: counter(avatli); position: absolute; inset-inline-start: 6px; top: .55em; width: 24px; height: 24px; line-height: 24px; text-align: center; font-size: 12px; font-weight: 800; color: var(--avat-mk, #3b82f6); }
@media (max-width: 640px) { .bl-archive__more { font-size: 14.5px; line-height: 2.05; } .avat-rm:not(.is-open):not(.is-short) .avat-rm__box { max-height: 6.15em; } }
.bl-archive__more h2, .bl-archive__more h3 { margin: 24px 0 10px; }
.bl-archive__more img { max-width: 100%; height: auto; border-radius: 12px; }
.avat-rm__box { overflow: hidden; }
.avat-rm:not(.is-open):not(.is-short) .avat-rm__box { max-height: 6.6em; } /* 3 lines (line-height 2.2) */
.avat-rm.is-short .avat-rm__btn { display: none; }
.avat-rm { scroll-margin-top: 110px; }
.avat-rm__btn { display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0; padding: 10px 22px; border: 0; border-radius: 100px; background-image: var(--grad); color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: var(--transition); }
.avat-rm { text-align: start; }
.avat-rm__btn { display: flex; width: fit-content; }
.avat-rm__btn:hover { transform: translateY(-2px); }
.avat-rm__ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s ease; }
.avat-rm.is-open .avat-rm__ic { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .avat-rm__ic { transition: none; } }
.bl-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bl-pcard { display: block; padding: 12px; border-radius: 26px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 14px 34px rgba(109,76,245,.12); transition: var(--transition); }
.bl-pcard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(109,76,245,.22); }
.bl-pcard__img { display: block; height: 200px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #c9f3ec); }
.bl-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bl-pcard:hover .bl-pcard__img img { transform: scale(1.08); }
.bl-pcard__body { display: block; padding: 16px 8px 8px; text-align: center; }
.bl-pcard__body h2 { font-size: 15.5px; line-height: 1.9; margin: 0; transition: var(--transition); }
.bl-pcard:hover .bl-pcard__body h2 { color: var(--brand); }
.bl-empty { text-align: center; color: var(--muted); font-weight: 700; }

.bl-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.bl-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 100px; font-weight: 800; font-size: 14.5px; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.14); box-shadow: 0 8px 20px rgba(109,76,245,.1); transition: var(--transition); }
.bl-pager a.page-numbers:hover { color: #fff; background-image: var(--grad); border-color: transparent; transform: translateY(-2px); }
.bl-pager .page-numbers.current { color: #fff; background-image: var(--grad); border-color: transparent; box-shadow: 0 10px 24px rgba(109,76,245,.32); }
.bl-pager .page-numbers.dots { border: 0; box-shadow: none; background: none; min-width: auto; padding: 0 2px; }
.bl-pager .page-numbers svg { width: 16px; height: 16px; flex: none; }
.bl-pager .prev.page-numbers svg { transform: rotate(180deg); }

@media (max-width: 768px) {
  .bl-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bl-pcard { padding: 8px; border-radius: 22px; }
  .bl-pcard__img { height: 120px; border-radius: 16px; }
  .bl-pcard__body { padding: 12px 4px 6px; }
  .bl-pcard__body h2 { font-size: 13px; line-height: 1.8; }
  .bl-pager { gap: 6px; margin-top: 30px; }
  .bl-pager .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; font-size: 13.5px; }
  .bl-pager .prev.page-numbers span, .bl-pager .next.page-numbers span { display: none; }
}

/* ---------- Customer account ---------- */
.ac-auth { max-width: 560px; margin: 0 auto; }
.ac-tabs { display: flex; gap: 8px; justify-content: center; margin: 0 0 18px; }
.ac-tab { flex: 1; height: 46px; border-radius: 100px; font-weight: 800; font-size: 14.5px; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.14); cursor: pointer; transition: var(--transition); }
.ac-tab.is-active { color: #fff; background-image: var(--grad); border-color: transparent; box-shadow: 0 10px 24px rgba(109,76,245,.28); }
.ac-form[hidden] { display: none; }
.ac-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 34px; }
.ac-stat { text-align: center; padding: 22px 12px; border-radius: 24px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 14px 34px rgba(109,76,245,.1); }
.ac-stat b { display: block; font-size: 30px; line-height: 1.3; color: var(--brand); }
.ac-stat b small { font-size: 14px; font-weight: 700; }
.ac-stat span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.ac-block { margin-bottom: 38px; }
.ac-block > h2 { font-size: 20px; margin-bottom: 16px; }
.ac-note, .ac-empty { color: var(--muted); font-weight: 600; }
.ac-empty a { color: var(--brand); font-weight: 800; }
.ac-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ac-plan { padding: 20px; border-radius: 24px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); box-shadow: 0 14px 34px rgba(109,76,245,.1); }
.ac-plan--expired { opacity: .7; }
.ac-plan__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ac-plan__top b { font-size: 16px; }
.ac-plan__dates { font-size: 13px; color: var(--muted); font-weight: 600; margin: 8px 0 12px; }
.ac-bar { height: 10px; border-radius: 100px; background: rgba(109,76,245,.12); overflow: hidden; }
.ac-bar i { display: block; height: 100%; border-radius: 100px; background-image: var(--grad); }
.ac-plan__left { margin: 10px 0 0; font-weight: 800; font-size: 14px; color: var(--navy); }
.ac-badge { display: inline-block; padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 800; background: #eef; color: #3a3a8c; white-space: nowrap; }
.ac-badge--active, .ac-badge--o-done { background: #e3f6e8; color: #1a7a35; }
.ac-badge--expired, .ac-badge--o-cancel { background: #eee; color: #666; }
.ac-badge--o-new { background: #fde8e8; color: #b32d2e; }
.ac-badge--o-contact, .ac-badge--upcoming { background: #fff4d6; color: #8a5a00; }
.ac-orders { display: grid; gap: 10px; }
.ac-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.12); }
.ac-order b { display: block; font-size: 15px; }
.ac-order small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.ac-ok { margin: 8px 0; color: #1a7a35; font-weight: 800; text-align: center; }
.ac-logout { text-align: center; margin-top: 18px; }
.ac-logout a { color: var(--muted); font-weight: 700; text-decoration: underline; }
@media (max-width: 768px) {
  .ac-stats { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-stat { padding: 16px 6px; border-radius: 20px; }
  .ac-stat b { font-size: 22px; }
  .ac-stat span { font-size: 12px; }
  .ac-plans { grid-template-columns: 1fr; }
}

/* ---------- Account: menu, service ticks, info form ---------- */
.ac-menu { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 30px; }
.ac-menu button, .ac-menu a { height: 44px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 100px; font-weight: 800; font-size: 14.5px; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.14); cursor: pointer; transition: var(--transition); }
.ac-menu button.is-active { color: #fff; background-image: var(--grad); border-color: transparent; box-shadow: 0 10px 24px rgba(109,76,245,.28); }
.ac-menu a { color: var(--muted); }
.ac-menu button:hover:not(.is-active), .ac-menu a:hover { color: var(--brand); }
.ac-view[hidden] { display: none; }
.ac-sub { font-size: 15.5px; margin: 20px 0 10px; }
.ac-sub small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.ac-svs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.ac-sv { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: 22px; background: rgba(255,255,255,.94); border: 2px solid rgba(109,76,245,.12); cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--navy); text-align: center; transition: var(--transition); }
.ac-sv i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft-2)); color: var(--brand); }
.ac-sv i svg { width: 24px; height: 24px; }
.ac-sv:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(109,76,245,.16); }
.ac-sv__tick { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background-image: var(--grad); color: #fff; transform: scale(0); transition: transform .2s ease; }
.ac-sv__tick svg { width: 14px; height: 14px; }
.ac-sv.is-on { border-color: var(--brand); box-shadow: 0 12px 28px rgba(109,76,245,.22); }
.ac-sv.is-on .ac-sv__tick { transform: scale(1); }
.ac-pick { margin-top: 8px; }
.ac-fs { border: 0; padding: 0; margin: 0 0 16px; }
.ac-fs legend { font-weight: 800; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.ac-opt { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 8px; border-radius: 18px; background: rgba(255,255,255,.94); border: 1px solid rgba(109,76,245,.14); cursor: pointer; font-weight: 700; font-size: 14px; }
.ac-opt small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; margin-top: 2px; }
.ac-opt input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
@media (max-width: 768px) {
  .ac-svs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ac-sv { padding: 14px 8px 12px; border-radius: 18px; font-size: 12.5px; }
  .ac-menu button, .ac-menu a { height: 40px; padding: 0 16px; font-size: 13.5px; }
}

/* ---------- Account: payment choice + order details ---------- */
.ac-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ac-paybox { margin: 4px 0 16px; }
.ac-paybox .av-pay__box[hidden] { display: none; }
.ac-note-field { display: grid; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--navy); margin: 0 0 16px; }
.ac-note-field textarea { font: inherit; font-weight: 600; width: 100%; padding: 13px 16px; border-radius: 16px; border: 2px solid rgba(109,76,245,.45); background: #fff; color: var(--ink); outline: none; resize: none; transition: var(--transition); }
.ac-note-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109,76,245,.15); }
.ac-order { display: block; padding: 0; overflow: hidden; }
.ac-order > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; }
.ac-order > summary::-webkit-details-marker { display: none; }
.ac-order > summary::after { content: "▾"; color: var(--brand); font-size: 14px; transition: transform .2s ease; margin-inline-start: 4px; }
.ac-order[open] > summary::after { transform: rotate(180deg); }
.ac-order__sum { flex: 1; min-width: 0; }
.ac-order__det { margin: 0; padding: 4px 18px 16px; display: grid; gap: 8px; border-top: 1px dashed rgba(109,76,245,.2); }
.ac-order__det div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 13.5px; padding-top: 8px; }
.ac-order__det dt { color: var(--muted); font-weight: 800; }
.ac-order__det dd { margin: 0; font-weight: 700; color: var(--navy); white-space: pre-line; word-break: break-word; }
@media (max-width: 600px) { .ac-order__det div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Account: exclusive panel ---------- */
.ac-sv--panel { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; border-color: rgba(109,76,245,.4); background-image: linear-gradient(135deg, rgba(109,76,245,.1), rgba(0,200,180,.12)); font-size: 15px; }
.ac-sv--panel i { width: 40px; height: 40px; }
.ac-panel { margin: 4px 0 8px; padding: 20px; border-radius: 24px; background: rgba(255,255,255,.94); border: 2px solid rgba(109,76,245,.3); }
.ac-panel[hidden] { display: none; }
.ac-panel__lead { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; font-weight: 800; font-size: 14.5px; line-height: 2; color: var(--navy); }
.ac-panel__lead svg { flex: none; width: 24px; height: 24px; color: var(--brand); margin-top: 6px; }
.ac-plansel-unused { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.ac-planopt { position: relative; cursor: pointer; }
.ac-planopt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ac-planopt > span { display: grid; gap: 4px; padding: 14px 16px; border-radius: 20px; border: 2px solid rgba(109,76,245,.2); background: #fff; transition: var(--transition); }
.ac-planopt b { font-size: 16px; }
.ac-planopt small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.ac-planopt em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--brand); }
.ac-planopt input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 26px rgba(109,76,245,.2); }

.ac-pricing { margin-top: 4px; }
.ac-pricing .plan { transform: none; }
.ac-order.is-delivered { opacity: .6; filter: grayscale(1); background: #eceef2; }
.ac-badge--o-delivered { background: #dfe3ea; color: #4a5263; }
.ac-rc { padding: 4px 18px 16px; border-top: 1px dashed rgba(109,76,245,.2); display: grid; gap: 10px; }
.ac-rc__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 12px; }
.ac-rc__file { flex: 1 1 220px; display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: var(--navy); }
.ac-rc__file input { font: inherit; padding: 10px 12px; border-radius: 14px; border: 2px solid rgba(109,76,245,.45); background: #fff; width: 100%; }
.ac-rc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ac-rc__list a { color: var(--brand); font-weight: 800; font-size: 13.5px; text-decoration: underline; }
.od-err.is-ok { color: #1a7a35; }

.ac-badge--pending, .ac-badge--receipt { background: #fff4d6; color: #8a5a00; }
.ac-badge--receipt { background: #e4eeff; color: #1f4fa3; }
.ac-badge--disabled { background: #e3e5ea; color: #5a6070; }
.ac-plan--disabled, .ac-plan--pending { opacity: .85; }
.ac-plan--disabled { opacity: .6; filter: grayscale(1); }

.ac-dur__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ac-dur__opt { position: relative; cursor: pointer; }
.ac-dur__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ac-dur__opt > span { display: grid; gap: 2px; text-align: center; padding: 12px 8px; border-radius: 18px; border: 2px solid rgba(109,76,245,.25); background: #fff; transition: var(--transition); }
.ac-dur__opt b { font-size: 15px; color: var(--navy); }
.ac-dur__opt em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--brand); }
.ac-dur__opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 26px rgba(109,76,245,.2); }
.ac-plan-total { margin: 4px 0 10px; font-size: 13px; font-weight: 800; color: var(--brand); line-height: 1.8; }
.plan--popular .ac-plan-total { color: #fff; }

.ac-plan-total { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.ac-plan-total[hidden] { display: none; }
.ac-old { color: #e5484d; font-weight: 800; font-size: 14px; text-decoration: line-through; text-decoration-thickness: 2px; }
.plan--popular .ac-old { color: #ffd0d2; }
.ac-off { background: #e5484d; color: #fff; font-weight: 900; font-size: 12.5px; padding: 3px 12px; border-radius: 100px; }

.ac-plan__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.ac-plan__price b { font-size: 16px; color: var(--navy); }
.ac-plan .ac-old { color: #e5484d; }

.plan__price { flex-wrap: wrap; }
.ac-old--big { font-size: 24px; font-weight: 900; color: #e5484d; text-decoration: line-through; text-decoration-thickness: 3px; }
.plan--popular .ac-old--big { color: #ffc2c5; }
.ac-plan__price { align-items: baseline; }
.ac-plan__price b { font-size: 28px; font-weight: 900; color: var(--brand); }
.ac-plan__price small { color: var(--muted); font-weight: 700; font-size: 13px; }

.ac-wait { display: inline-block; font-style: normal; font-size: 12px; font-weight: 800; color: #8a5a00; background: #fff4d6; padding: 2px 10px; border-radius: 100px; margin: 2px 0; }
.ac-order__sum .ac-wait { margin-inline-start: 0; }
.ac-order__act { padding: 4px 18px 16px; }


/* ===== hero stats: three boxes in one row on phones ===== */
@media (max-width: 768px) {
  .hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  .hero__stats .stat { min-width: 0; padding: 12px 6px; text-align: center; border-radius: 16px; }
  .hero__stats .stat b { font-size: 18px; white-space: nowrap; }
  .hero__stats .stat span { font-size: 11px; line-height: 1.6; display: block; }
}

/* ===== order form: payment receipt ===== */
.od-rc { margin: 4px 0 14px; padding: 14px 16px; border-radius: 20px; background: var(--brand-soft, #f1edff); border: 1px dashed rgba(109,76,245,.35); }
.od-rc[hidden], .od-rc__warn[hidden] { display: none; }
.od-rc__file { display: block; font-weight: 800; font-size: 14px; }
.od-rc__file input { display: block; width: 100%; margin-top: 8px; font-size: 13px; }
.od-rc__name { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; font-size: 12.5px; word-break: break-all; }
.od-rc__warn { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: #fff4d6; color: #7a5200; }
.od-rc__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.od-rc__btns .btn { flex: 1 1 140px; padding: 10px 14px; font-size: 13.5px; }


/* ===== hero buttons centred on phones ===== */
@media (max-width: 768px) {
  .hero__cta { justify-content: center; }
}

/* ===== card box inside the order form (above the receipt field) ===== */
.av-pay__box--inform { margin: 4px 0 14px; }
.av-pay__box--inform[hidden] { display: none; }
.av-pay--single { grid-template-columns: 1fr; }
.av-card__top { flex-wrap: nowrap; }
.av-card__bank, .av-card__owner { white-space: nowrap; }
@media (max-width: 760px) {
  .av-card__top { gap: 6px; }
  .av-card__bank { font-size: 12.5px; padding: 3px 10px; }
  .av-card__owner { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
}

/* تعرفه‌ها: items of the chosen service + live invoice in the order form ---- */
.av-tf[hidden], .av-tf__sum[hidden] { display: none; }
.av-tf { padding: 16px; border-radius: 22px; background: var(--brand-soft, #f1edff); border: 1px solid rgba(109,76,245,.2); }
.av-tf h3 { font-size: 16px; font-weight: 900; color: var(--navy); margin: 0 0 4px; }
.av-tf__hint { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.av-tf__list { display: grid; gap: 10px; }
.av-tf__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 16px; background: #fff; border: 1px solid transparent; }
.av-tf__row.is-on { border-color: var(--brand, #6d4cf5); box-shadow: 0 6px 18px rgba(109,76,245,.12); }
.av-tf__name { display: grid; gap: 2px; min-width: 0; }
.av-tf__name b { font-size: 14px; font-weight: 800; color: var(--navy); }
.av-tf__name small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.av-tf__qty { display: flex; align-items: center; gap: 6px; flex: none; }
.av-tf__qty button { width: 34px; height: 34px; border-radius: 12px; border: 0; background: var(--brand-soft, #f1edff); color: var(--brand, #6d4cf5); font: inherit; font-size: 20px; font-weight: 900; line-height: 1; cursor: pointer; }
.av-tf__qty button:active { transform: scale(.94); }
.od-card .av-tf__qty input[type="text"] { width: 52px; padding: 7px 4px; text-align: center; border-radius: 12px; font-weight: 800; }
.av-tf__sum { margin-top: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1px dashed rgba(109,76,245,.4); }
.av-tf__sum h4 { margin: 0 0 8px; font-size: 14px; font-weight: 900; color: var(--navy); }
.av-tf__sum ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.av-tf__sum li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; }
.av-tf__sum li span { display: grid; gap: 1px; }
.av-tf__sum li small { color: var(--muted); font-weight: 600; font-size: 12px; }
.av-tf__total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(109,76,245,.18); font-weight: 900; color: var(--navy); }
.av-tf__total b { color: var(--brand, #6d4cf5); font-size: 16px; }
@media (max-width: 520px) { .av-tf__row { flex-wrap: wrap; } .av-tf__qty { margin-inline-start: auto; } }

/* مبلغ قابل پرداخت: inside the bank card (Rial + copy) and in the cash-on-delivery box */
.av-card__amt { display: grid; gap: 8px; justify-items: center; margin-top: 4px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.45); text-align: center; }
.av-card__amt[hidden], .av-amt-cod[hidden] { display: none; }
.av-card__amt span { font-weight: 700; font-size: 13px; opacity: .92; }
.av-card__amt b { font-size: clamp(18px, 5vw, 22px); font-weight: 900; letter-spacing: .5px; }
.av-card__copy--amt { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.av-amt-cod { display: grid; gap: 4px; margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--brand-soft, #f1edff); text-align: center; }
.av-amt-cod span { font-weight: 700; font-size: 13px; color: var(--muted); }
.av-amt-cod b { font-size: 20px; font-weight: 900; color: var(--brand, #6d4cf5); }

/* ---------- Plans page: duration picker (ماهانه / ۳ / ۶ / ۱۲ ماهه) + live price ---------- */
.pl-dur-sec { max-width: 820px; margin: 0 auto 20px; text-align: center; }
.pl-dur-sec .ac-fs { margin-bottom: 12px; }
.pl-dur-sec .ac-fs legend { float: none; width: 100%; text-align: center; font-size: 16px; margin-bottom: 12px; }
.pl-dur-sec .ac-dur__row, .pl-dur-form .ac-dur__row { grid-template-columns: repeat(4, 1fr); }
.pl-dur-note { margin: 0; font-size: 13.5px; line-height: 2; color: var(--muted); }
.pl-dur-note b { color: var(--brand); font-weight: 800; }
.pl-dur-form { min-width: 0; }
.sv-form .ac-dur__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; box-shadow: none; }
.sv-form .ac-dur__opt { display: block; gap: 0; }
.pl-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 18px; border-radius: 20px; background: var(--brand-soft); border: 1px dashed rgba(109, 76, 245, .45); color: var(--navy); font-weight: 800; }
.pl-sum__lbl { font-size: 14px; }
.pl-sum__val { display: inline-flex; align-items: baseline; gap: 8px; margin-inline-start: auto; font-size: 13px; }
.pl-sum__val b { font-size: 22px; font-weight: 900; color: var(--brand); }
.pl-sum__pm { flex: 1 0 100%; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pl-pm { font-size: 12.5px; font-weight: 700; }
.plan--popular .pl-pm { color: rgba(255, 255, 255, .92); }

/* Mobile: smaller price numbers on plan cards and duration chips */
@media (max-width: 640px) {
  .plan { padding: 26px 20px; }
  .plan__price b { font-size: 24px; }
  .plan__price span { font-size: 12px; }
  .ac-old--big { font-size: 16px; text-decoration-thickness: 2px; }
  .ac-plan__price b { font-size: 22px; }
  .ac-off { font-size: 11.5px; padding: 2px 10px; }
  .pl-dur-sec .ac-dur__row, .pl-dur-form .ac-dur__row, .ac-dur__row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ac-dur__opt > span { padding: 10px 6px; border-radius: 16px; }
  .ac-dur__opt b { font-size: 13.5px; }
  .ac-dur__opt em { font-size: 11.5px; }
  .pl-dur-note { font-size: 12.5px; }
  .pl-sum { padding: 12px 14px; }
  .pl-sum__lbl { font-size: 13px; }
  .pl-sum__val b { font-size: 18px; }
}

/* ---------- Plans page: price comparison table ---------- */
.pl-cmp { max-width: 900px; margin-inline: auto; }
.pl-cmp__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.pl-cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: center; }
.pl-cmp__table--wide { min-width: 620px; }
.pl-cmp__table th, .pl-cmp__table td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pl-cmp__table tbody tr:last-child th, .pl-cmp__table tbody tr:last-child td { border-bottom: 0; }
.pl-cmp__table thead th { position: relative; background: var(--brand-soft); color: var(--navy); padding-top: 22px; }
.pl-cmp__table thead th b { display: block; font-size: 17px; font-weight: 900; }
.pl-cmp__table thead th small, .pl-cmp__table tbody th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--muted); }
.pl-cmp__table thead th.is-pop { background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; }
.pl-cmp__table thead th.is-pop small { color: rgba(255, 255, 255, .9); }
.pl-cmp__tag { position: absolute; top: 5px; inset-inline: 0; margin-inline: auto; width: max-content; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 10px; border-radius: 100px; background: #fff; color: var(--brand); }
.pl-cmp__corner { width: 104px; }
.pl-cmp__table tbody th { background: #faf9ff; color: var(--navy); font-weight: 800; }
.pl-cmp__table tbody th b { display: block; font-size: 15px; font-weight: 900; }
.pl-cmp__table tbody th small { color: #e5484d; }
.pl-cmp__table td.is-pop { background: rgba(109, 76, 245, .06); }
.pl-cmp__table tr.is-best th { box-shadow: inset -4px 0 0 var(--brand); }
.pl-cmp__table tr.is-best td { background-color: rgba(109, 76, 245, .04); }
.pl-cmp__table tr.is-best td.is-pop { background: rgba(109, 76, 245, .1); }
.pl-cmp__cell { display: grid; gap: 1px; justify-items: center; width: 100%; padding: 8px 4px; border: 0; border-radius: 14px; background: transparent; font: inherit; color: var(--navy); cursor: pointer; transition: var(--transition); }
.pl-cmp__cell:hover, .pl-cmp__cell:focus-visible { background: var(--brand-soft); outline: 0; box-shadow: 0 0 0 2px var(--brand); }
.pl-cmp__cell s { font-size: 12.5px; font-weight: 800; color: #e5484d; text-decoration-thickness: 2px; }
.pl-cmp__cell strong { font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--brand); }
.pl-cmp__cell em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.pl-cmp__cell small { margin-top: 2px; font-size: 11.5px; font-weight: 800; color: #0b7a69; background: #e7f9f4; padding: 1px 8px; border-radius: 100px; }
.pl-cmp__call { display: inline-block; font-size: 13.5px; font-weight: 800; color: var(--brand); text-decoration: underline; padding: 8px 4px; }
.pl-cmp__note { margin: 14px 4px 0; font-size: 13px; line-height: 2; color: var(--muted); text-align: center; }

/* Mobile: whole table fits the screen, compact numbers */
@media (max-width: 640px) {
  #compare .container { padding-inline: 12px; }
  .pl-cmp__wrap { border-radius: 20px; }
  .pl-cmp__corner { width: 62px; }
  .pl-cmp__table th, .pl-cmp__table td { padding: 10px 3px; }
  .pl-cmp__table thead th { padding-top: 20px; }
  .pl-cmp__table thead th b { font-size: 13.5px; }
  .pl-cmp__table thead th small, .pl-cmp__table tbody th small { font-size: 10px; }
  .pl-cmp__tag { font-size: 9px; padding: 0 7px; top: 4px; }
  .pl-cmp__table tbody th b { font-size: 12.5px; }
  .pl-cmp__cell { padding: 6px 1px; border-radius: 10px; }
  .pl-cmp__cell strong { font-size: 16px; }
  .pl-cmp__cell s { font-size: 10.5px; }
  .pl-cmp__cell em { font-size: 9.5px; }
  .pl-cmp__cell small { font-size: 9.5px; padding: 0 6px; }
  .pl-cmp__call { font-size: 11.5px; }
  .pl-cmp__note { font-size: 12px; }
  .pl-cmp__table--wide { min-width: 480px; }
  .pl-cmp__table--wide th:first-child, .pl-cmp__table--wide thead .pl-cmp__corner { position: sticky; inset-inline-start: 0; z-index: 1; }
}

/* ---------- Order form: «پنل‌ها» block (plan + duration + live total) ---------- */
.od-pl { display: grid; gap: 14px; }
.od-pl[hidden], .od-pl [hidden] { display: none; }
.od-pl .ac-fs { margin: 0; min-width: 0; }
.od-pl .ac-fs legend { font-weight: 800; font-size: 14px; color: var(--navy); margin-bottom: 8px; padding: 0; }
.od-pl__opts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.od-pl__opts .od-opt > span { position: relative; grid-template-columns: 1fr; row-gap: 2px; justify-items: center; text-align: center; padding: 16px 10px 12px; }
.od-pl__opts .od-opt em { grid-column: auto; font-size: 13px; }
.od-pl__tag { position: absolute; top: -9px; inset-inline: 0; margin-inline: auto; width: max-content; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 10px; border-radius: 100px; background: var(--brand); color: #fff; }
.od-card .ac-dur__opt { display: block; gap: 0; }
.od-card .ac-dur__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; box-shadow: none; }
.od-card .ac-dur__row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .od-pl__opts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .od-pl__opts .od-opt > span { padding: 14px 4px 10px; border-radius: 16px; }
  .od-pl__opts .od-opt b { font-size: 13.5px; }
  .od-pl__opts .od-opt small { font-size: 10.5px; line-height: 1.6; }
  .od-pl__opts .od-opt em { font-size: 11px; }
  .od-card .ac-dur__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile quick bar: پلن‌ها + ثبت سفارش (every page, mobile only) ---------- */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(30, 20, 80, .08); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 16px; font-weight: 800; font-size: 14.5px; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(109, 76, 245, .25); }
  .mbar a svg { width: 20px; height: 20px; flex: none; }
  .mbar a.is-accent { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-color: transparent; box-shadow: 0 8px 20px rgba(109, 76, 245, .3); }
  .mbar a.is-active:not(.is-accent) { background: var(--brand); color: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .to-top { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Plans page: full-width banner ---------- */
.pl-banner { width: 100%; margin: 0; padding: 0; line-height: 0; background: var(--brand-soft); }
.pl-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
@media (max-width: 640px) {
  .pl-banner img { aspect-ratio: 16 / 8; }
}

/* ---------- Plans page: short order form (name + mobile + chosen plan + payment) ---------- */
.od-pl .pl-chosen { display: grid; gap: 10px; padding: 16px 18px; border-radius: 22px; background: var(--brand-soft); border: 1px dashed rgba(109, 76, 245, .45); }
.pl-chosen__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pl-chosen__chg { color: var(--brand); font-weight: 800; text-decoration: underline; white-space: nowrap; }
.pl-chosen__name { font-size: 20px; font-weight: 900; color: var(--navy); }
.pl-chosen__call { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.pl-chosen .pl-sum { padding: 0; border: 0; background: transparent; }
@media (max-width: 640px) {
  .od-pl .pl-chosen { padding: 13px 14px; border-radius: 18px; }
  .pl-chosen__top { font-size: 12px; }
  .pl-chosen__name { font-size: 16px; }
  .pl-chosen__call { font-size: 12.5px; }
}


/* Order form: select arrow, responsive service label, hidden fields */
.od-card [hidden] { display: none !important; }
.od-sel { position: relative; display: block; }
.od-card .od-sel select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-inline-end: 46px; cursor: pointer; }
.od-sel__ic { position: absolute; inset-inline-end: 14px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); color: var(--brand); pointer-events: none; transition: transform .2s ease; }
.od-sel:focus-within .od-sel__ic { transform: translateY(-50%) rotate(180deg); }
@media (max-width: 760px) {
    .od-sel__ic { width: 30px; height: 30px; inset-inline-end: 12px; }
}

/* Plans: cash-on-delivery box hidden; the three plan boxes always sit side by side */
.av-pay__box[hidden] { display: none !important; }
.od-card .od-pl__opts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.od-card .od-pl__opts .od-opt { min-width: 0; }
.od-card .od-pl__opts .od-opt > span { min-width: 0; overflow-wrap: anywhere; }

/* Service select: titles on the right, check circle on the left (also in the phone's picker) */
.od-card select[name="service"], .od-card select[name="service"] option, .ac-tk__new select, .ac-tk__new select option { direction: rtl; text-align: right; text-align-last: right; }

/* Custom service dropdown (RTL list, check circle on the left) */
.od-sel.is-custom select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.od-sel__btn { display: block; width: 100%; font: inherit; font-weight: 600; text-align: right; padding: 13px 16px; padding-inline-end: 46px; border-radius: 16px; border: 2px solid rgba(109,76,245,.45); background: #fff; color: var(--ink); cursor: pointer; transition: var(--transition); direction: rtl; }
.od-sel__btn:focus-visible, .od-sel.is-open .od-sel__btn { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109,76,245,.15); outline: none; }
.od-sel.is-open .od-sel__ic { transform: translateY(-50%) rotate(180deg); }
.od-sel__list { position: absolute; z-index: 60; inset-inline: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: min(60vh, 380px); overflow-y: auto; background: #fff; border: 2px solid rgba(109,76,245,.25); border-radius: 18px; box-shadow: 0 18px 44px rgba(30,20,80,.18); direction: rtl; text-align: right; }
.od-sel__list[hidden] { display: none !important; }
.od-sel__list li { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--navy); cursor: pointer; }
.od-sel__list li span { flex: 1; text-align: right; }
.od-sel__list li i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(109,76,245,.45); background: #fff; position: relative; }
.od-sel__list li:hover, .od-sel__list li:focus { background: var(--brand-soft); outline: none; }
.od-sel__list li[aria-selected="true"] i { border-color: var(--brand); }
.od-sel__list li[aria-selected="true"] i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }

/* Service select arrow returns to its normal state once the list is closed */
.od-sel:focus-within .od-sel__ic { transform: translateY(-50%); }
.od-sel.is-open .od-sel__ic { transform: translateY(-50%) rotate(180deg); }
.od-card textarea[name="address"] { min-height: 110px; resize: none; }

/* Logged-in customer: current plan note and address picker */
.pl-mine { padding: 12px 16px; border-radius: 18px; background: var(--brand-soft); border: 1px solid rgba(109,76,245,.25); color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.pl-mine b { color: var(--brand); }
.pl-mine--expired { background: #fff4f4; border-color: rgba(229,72,77,.35); }
.pl-mine--expired b { color: #d23a3f; }
.av-addrs { display: grid; gap: 8px; }
.av-addrs__t { font-weight: 800; font-size: 14px; color: var(--navy); }
.od-card .av-addr { position: relative; display: block; cursor: pointer; }
.av-addr input { position: absolute; opacity: 0; inset: 0; }
.av-addr > span { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; border: 2px solid rgba(109,76,245,.2); background: #fff; transition: var(--transition); }
.av-addr small { color: var(--muted); font-weight: 600; font-size: 12.5px; line-height: 1.7; }
.av-addr input:checked + span { border-color: var(--brand); background: var(--brand-soft); }

/* کد تخفیف */
.od-coupon__row { display: flex; gap: 8px; align-items: stretch; }
.od-coupon__row input { flex: 1; min-width: 0; text-transform: uppercase; }
.od-coupon__row .btn { flex: none; white-space: nowrap; }
.od-coupon__msg { display: block; margin-top: 8px; font-weight: 700; font-size: 13px; line-height: 1.9; color: #0b7a69; }
.od-coupon__msg.is-bad { color: #d23a3f; }

/* Profile order: one open service, shared invoice */
.ac-items { margin: 4px 0 16px; }
.ac-items h3 { font-size: 16px; font-weight: 900; color: var(--navy); margin: 0 0 4px; }
.ac-items .ac-note { margin: 0 0 12px; }
.ac-sv__cnt { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; background: var(--navy, #1b1b3a); color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; }
.ac-sv.has-sel { border-color: rgba(109,76,245,.45); }
.ac-inv { margin: 0 0 16px; }
.ac-inv__grp { padding: 8px 0; border-bottom: 1px dashed rgba(109,76,245,.2); }
.ac-inv__grp:last-of-type { border-bottom: 0; }
.ac-inv__svc { border: 0; background: none; padding: 0; margin: 0 0 6px; font: inherit; font-weight: 900; color: var(--brand, #6d4cf5); cursor: pointer; }
.ac-inv__np { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ac-inv .av-tf__sum ul, .ac-inv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-inv li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; }
.ac-inv li span { display: grid; gap: 1px; }
.ac-inv li small { color: var(--muted); font-weight: 600; font-size: 12px; }
.ac-inv h4 { margin: 0 0 8px; font-size: 14px; font-weight: 900; color: var(--navy); }
.ac-items[hidden], .ac-inv[hidden] { display: none; }
.ac-items .od-card .av-tf__qty input[type="text"], .ac-items .av-tf__qty input[type="text"] { width: 52px; padding: 7px 4px; text-align: center; border-radius: 12px; font-weight: 800; border: 1px solid rgba(109,76,245,.2); }

/* Profile: coupon + receipt inside the order box, support tickets */
.ac-coupon { margin: 0 0 16px; }
.ac-coupon .od-field { margin: 0 0 8px; }
.ac-coupon .od-coupon__row { display: flex; gap: 10px; align-items: stretch; }
.ac-coupon input[type="text"] { flex: 1; min-width: 0; width: 100%; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-align: left; text-transform: uppercase;
  padding: 13px 16px; border-radius: 16px; border: 2px solid rgba(109,76,245,.45); background: #fff; color: var(--ink); outline: none; transition: var(--transition); }
.ac-coupon input[type="text"]::placeholder { text-transform: none; letter-spacing: 0; font-weight: 600; opacity: .55; }
.ac-coupon input[type="text"]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109,76,245,.15); }
.ac-coupon__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; padding: 0 22px; border-radius: 16px; white-space: nowrap; }
.ac-coupon__btn svg { width: 17px; height: 17px; flex: none; }
.ac-coupon__btn[data-mode="apply"] svg { display: none; }
.ac-coupon__btn.is-copied { background: #12a58f; border-color: #12a58f; }
@media (max-width: 480px) { .ac-coupon__btn { min-width: 0; padding: 0 16px; } }
.od-coupon__msg.is-bad { color: #b32d2e; }
.ac-pick .od-rc { margin-top: 14px; }
.ac-inv__off b { color: #1a7a35; }
.ac-menu__dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-inline-start: 8px; padding: 0 6px; border-radius: 10px; background: #e5384a; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 900; }
.ac-menu button.is-active .ac-menu__dot { background: #fff; color: #6d4cf5; }
.ac-tk__new { margin-top: 12px; }
.ac-tk__new select { width: 100%; }
.ac-tk__body { padding: 4px 18px 18px; border-top: 1px dashed rgba(109,76,245,.2); }
.ac-tk__ord { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.ac-tk__thread { display: grid; gap: 10px; margin: 12px 0 14px; }
.ac-tk__msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; }
.ac-tk__msg b { font-size: 12.5px; }
.ac-tk__msg p { margin: 4px 0; font-weight: 600; line-height: 1.9; word-break: break-word; }
.ac-tk__msg small { color: var(--muted); font-size: 11.5px; }
.ac-tk__msg.is-me { justify-self: start; background: var(--brand-soft, #f1edff); }
.ac-tk__msg.is-admin { justify-self: end; background: #e8f7ee; border: 1px solid #bfe6cd; }
.ac-tk__reply .od-field { margin-bottom: 8px; }
.ac-tk.is-closed { opacity: .7; }
.ac-tkb--open { background: #fff4d6; color: #8a5a00; }
.ac-tkb--answered { background: #e3f6e8; color: #1a7a35; }
.ac-tkb--closed { background: #eee; color: #666; }
.od-err.is-ok { color: #1a7a35; }
@media (max-width: 600px) { .ac-tk__msg { max-width: 100%; } .ac-tk__body { padding: 4px 12px 14px; } }

/* Text areas: fixed width and height, no resize handle; long text scrolls inside (Enter adds lines, the box never grows) */
textarea,
.od-card textarea,
.sv-form textarea,
.ac-note-field textarea,
.ac-tk__new textarea,
.ac-tk__reply textarea { resize: none !important; overflow-y: auto; overflow-x: hidden; max-width: 100%; box-sizing: border-box; }
.od-card textarea, .sv-form textarea, .ac-note-field textarea { width: 100%; height: 110px; min-height: 110px; max-height: 110px; line-height: 1.9; }
.od-card textarea[name="address"] { height: 110px; min-height: 110px; max-height: 110px; }
.ac-tk__new textarea[name="message"] { height: 150px; min-height: 150px; max-height: 150px; }
.ac-tk__reply textarea { height: 100px; min-height: 100px; max-height: 100px; }
.ac-form textarea { height: 84px; min-height: 84px; max-height: 84px; }

/* Top bar: address and phone numbers a little bigger, but always inside the box */
.topbar { font-size: 14.5px; }
.topbar svg { width: 17px; height: 17px; }
.topbar .container { max-width: 100%; }
.topbar__offer, .topbar__links { min-width: 0; max-width: 100%; }
.topbar__address, .topbar__links a { gap: 6px; font-weight: 700; max-width: 100%; overflow-wrap: anywhere; line-height: 1.7; }
.topbar__links { gap: 8px 20px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .topbar { font-size: 13px; }
  .topbar svg { width: 15px; height: 15px; }
  .topbar__links { gap: 4px 12px; }
}

/* Profile: buying a plan from the price table (invoice, coupon and payment follow the table) */
.pl-cmp--account { margin-top: 10px; }
.pl-cmp--account .pl-cmp__cell.is-sel { background: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand); }
.pl-cmp--account .pl-cmp__call { border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.pl-cmp--account .pl-cmp__call.is-sel { background: var(--brand-soft); border-radius: 12px; box-shadow: 0 0 0 2px var(--brand); }
.ac-pick.is-plan .ac-only-sv { display: none !important; }
.ac-pick.is-nopay .ac-paywrap { display: none; }
.ac-panel + .ac-pick, .ac-panel ~ .ac-items + .ac-pick { margin-top: 14px; }
@media (max-width: 640px) { .pl-cmp--account .pl-cmp__call { font-size: 11px; } }
.ac-panel__hint { margin: 0 0 12px; padding: 11px 14px; border-radius: 16px; background: var(--brand-soft); color: var(--navy); font-weight: 800; line-height: 1.9; text-align: center; }

/* ---------- Cart (سبد خرید) ---------- */
.cart-badge { position: relative; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: 6px; border-radius: 100px; background: linear-gradient(135deg, #ff7a8a 0%, #e5484d 55%, #c9252d 100%); color: #fff; font-family: inherit; font-weight: 800; font-size: 11.5px; line-height: 1; font-style: normal; vertical-align: middle; box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(229, 72, 77, .45); }
.cart-badge::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgba(229, 72, 77, .55); pointer-events: none; animation: cartBadgePulse 2.4s ease-out infinite; }
.cart-badge.is-pop { animation: cartBadgePop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes cartBadgePulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.65); opacity: 0; } }
@keyframes cartBadgePop { 0% { transform: scale(.4); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cart-badge::after, .cart-badge.is-pop { animation: none; } }
.cart-badge[hidden] { display: none; }
.nav__link--cart { display: inline-flex; align-items: center; gap: 6px; }
.nav__link--cart svg { width: 18px; height: 18px; }
.mobile-nav a.is-account, .mobile-nav a.is-account:hover { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); font-weight: 800; text-align: center; box-shadow: 0 8px 20px rgba(109, 76, 245, .25); }
.mobile-nav a.is-cart { display: flex; align-items: center; gap: 6px; }
.footer__links a .cart-badge { vertical-align: middle; }

.cart-toast { position: fixed; inset-inline: 14px; bottom: 84px; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 460px; margin-inline: auto; padding: 13px 16px; border-radius: 18px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 18px 40px rgba(20, 18, 46, .35); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.cart-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cart-toast a { flex: none; padding: 7px 14px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 800; font-size: 13px; }

.cart__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cart__keep { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft); color: var(--navy); font-weight: 700; font-size: 13px; }
.cart__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 12px; }
.cart__head h2 { margin: 0; font-size: 17px; color: var(--navy); }
.cart__head span { padding: 5px 13px; border-radius: 100px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 12.5px; }
.cart-it { position: relative; overflow: hidden; margin-bottom: 14px; padding: 16px 18px 8px; border-radius: 26px; background: #fff; border: 1px solid rgba(109, 76, 245, .12); box-shadow: 0 14px 34px rgba(109, 76, 245, .10); transition: box-shadow .25s ease; }
.cart-it::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: linear-gradient(180deg, var(--brand), var(--brand-dark)); }
.cart-it:hover { box-shadow: 0 18px 40px rgba(109, 76, 245, .16); }
.cart-it--plan { border-color: rgba(109, 76, 245, .3); background-image: linear-gradient(135deg, rgba(109, 76, 245, .07), rgba(18, 199, 176, .09)); }
.cart-it__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cart-it__top b { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--navy); font-size: 16px; }
.cart-it__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 8px 18px rgba(109, 76, 245, .28); }
.cart-it__ic svg { width: 21px; height: 21px; color: #fff; }
.cart-it__rm { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px; border: 1px solid rgba(229, 72, 77, .25); border-radius: 100px; background: #fff5f5; color: #e5484d; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cart-it__rm svg { width: 16px; height: 16px; }
.cart-it__rm:hover, .cart-it__rm:focus-visible { background: #e5484d; border-color: #e5484d; color: #fff; }
.cart-it__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px dashed rgba(109, 76, 245, .2); flex-wrap: wrap; }
.cart-it__row > span { flex: 1 1 140px; font-weight: 800; color: var(--navy); font-size: 14.5px; }
.cart-it__row small { display: block; margin-top: 2px; font-weight: 700; font-size: 12px; color: var(--muted); }
.cart-it__row > b { color: var(--brand); font-size: 16px; white-space: nowrap; }
.cart-it__row > b em { font-style: normal; font-size: 11.5px; color: var(--muted); margin-inline-start: 4px; }
.cart-it__row > b s { display: block; font-size: 12px; color: #e5484d; font-weight: 800; }
.cart-it__note { margin: 0; padding: 10px 0; border-top: 1px dashed rgba(109, 76, 245, .2); font-weight: 700; font-size: 13px; color: var(--muted); line-height: 1.9; }
.cart .av-tf__qty input[type="text"] { width: 48px; height: 34px; padding: 0 4px; text-align: center; border-radius: 12px; border: 1px solid rgba(109, 76, 245, .22); background: #fff; color: var(--navy); font: inherit; font-weight: 800; }
.cart-sum { display: grid; gap: 10px; padding: 18px 20px; border-radius: 24px; background: linear-gradient(135deg, var(--navy), #2b2163); color: #fff; box-shadow: 0 16px 36px rgba(20, 18, 46, .25); }
.cart-sum div { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; }
.cart-sum .is-off { color: #7ff0dc; }
.cart-sum .is-final { font-size: 17px; font-weight: 900; }
.cart__more { margin-top: 14px; }
.cart__add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 22px; border: 0; border-radius: 20px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font: inherit; font-weight: 900; font-size: 15px; cursor: pointer; box-shadow: 0 14px 30px rgba(109, 76, 245, .32); transition: transform .2s ease, box-shadow .2s ease; }
.cart__add:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(109, 76, 245, .4); }
.cart__add i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .25s ease; }
.cart__add i svg { width: 15px; height: 15px; }
.cart__add.is-open i { transform: rotate(45deg); }

/* picker: «خدمات / پنل‌ها» inside the cart page */
.cart-pick { margin-top: 12px; padding: 16px; border-radius: 26px; background: #fff; border: 1px solid rgba(109, 76, 245, .16); box-shadow: 0 14px 34px rgba(109, 76, 245, .10); }
.cart-pick[hidden] { display: none; }
.cart-pick__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 5px; margin-bottom: 14px; border-radius: 18px; background: var(--brand-soft); }
.cart-pick__tabs button { padding: 11px 8px; border: 0; border-radius: 14px; background: transparent; color: var(--brand); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.cart-pick__tabs button.is-on { background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(109, 76, 245, .18); }
.cart-pick__msg { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #e8fbf6; color: #0b7d6c; font-weight: 800; font-size: 13.5px; }
.cart-pick__svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-pick__svc { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid rgba(109, 76, 245, .14); border-radius: 18px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; font-size: 13.5px; line-height: 1.5; text-align: start; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.cart-pick__svc i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.cart-pick__svc i svg { width: 20px; height: 20px; }
.cart-pick__svc:hover { border-color: var(--brand); }
.cart-pick__svc.is-on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 8px 20px rgba(109, 76, 245, .16); }
.cart-pick__svc.is-on i { background: var(--brand); color: #fff; }
.cart-pick__svc em { position: absolute; top: -8px; inset-inline-end: 10px; padding: 2px 9px; border-radius: 100px; background: var(--brand-dark); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.cart-pick__panel { margin-top: 14px; padding: 14px; border-radius: 20px; background: var(--brand-soft); }
.cart-pick__ph { margin-bottom: 10px; font-weight: 900; font-size: 15px; color: var(--navy); }
.cart-pick__rows { display: grid; gap: 8px; }
.cart-pick__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid transparent; border-radius: 16px; background: #fff; }
.cart-pick__row.is-on { border-color: var(--brand); box-shadow: 0 6px 18px rgba(109, 76, 245, .12); }
.cart-pick__row > span { flex: 1 1 auto; min-width: 0; font-weight: 800; font-size: 14px; color: var(--navy); line-height: 1.6; }
.cart-pick__row small { display: block; font-weight: 700; font-size: 12px; color: var(--muted); }
.cart-pick__foot { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; margin-top: 14px; }
.cart-pick__foot b { display: block; width: 100%; text-align: center; color: var(--brand); font-size: 30px; line-height: 1.4; font-weight: 900; }
.cart-pick__foot b:empty { display: none; }
.cart-pick__foot b em { font-style: normal; font-size: 15px; color: var(--muted); }
.cart-pick__foot .btn { margin-inline: auto; }
.cart-pick__foot .btn[disabled], .cart-pick__plan .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.cart-pick__durs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cart-pick__durs button { display: grid; gap: 1px; padding: 8px 14px; border: 1.5px solid rgba(109, 76, 245, .18); border-radius: 14px; background: #fff; color: var(--navy); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; text-align: center; }
.cart-pick__durs button small { font-size: 11px; font-weight: 800; color: var(--brand-dark); }
.cart-pick__durs button.is-on { border-color: var(--brand); background: var(--brand); color: #fff; }
.cart-pick__durs button.is-on small { color: #d9fff7; }
.cart-pick__plans { display: grid; gap: 10px; }
.cart-pick__plan { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; border: 1.5px solid rgba(109, 76, 245, .14); border-radius: 20px; background: #fff; }
.cart-pick__plan.is-pop { border-color: var(--brand); background-image: linear-gradient(135deg, rgba(109, 76, 245, .06), rgba(18, 199, 176, .08)); }
.cart-pick__tag { position: absolute; top: -9px; inset-inline-start: 14px; padding: 2px 10px; border-radius: 100px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-size: 11px; font-weight: 800; }
.cart-pick__pi { flex: 1 1 150px; min-width: 0; }
.cart-pick__pi b { display: block; color: var(--navy); font-size: 15px; font-weight: 900; }
.cart-pick__pi small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 12.5px; line-height: 1.8; }
.cart-pick__price { text-align: end; line-height: 1.5; }
.cart-pick__price b { color: var(--brand); font-size: 16px; font-weight: 900; }
.cart-pick__price s { display: block; color: #e5484d; font-size: 12px; font-weight: 800; }
.cart-pick__price em { margin-inline-start: 4px; font-style: normal; color: var(--muted); font-size: 12px; font-weight: 700; }

/* «حذف» confirmation dialog */
.cart-modal-open { overflow: hidden; }
.cart-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 18px; background: rgba(20, 18, 46, .55); backdrop-filter: blur(4px); animation: cartModalFade .2s ease; }
.cart-modal__box { width: 100%; max-width: 380px; padding: 26px 22px 22px; border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 30px 70px rgba(20, 18, 46, .35); animation: cartModalUp .25s cubic-bezier(.2, 1.2, .4, 1); }
.cart-modal__ic { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 50%; background: #fff0f0; color: #e5484d; box-shadow: 0 0 0 8px #fff7f7; }
.cart-modal__ic svg { width: 28px; height: 28px; }
.cart-modal__box h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.cart-modal__box p { margin: 0 0 20px; color: var(--muted); font-weight: 600; line-height: 1.9; font-size: 14px; }
.cart-modal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-modal__btns .btn { padding: 12px 10px; }
.cart-modal__yes { background: linear-gradient(135deg, #ff6b7a, #e5484d); color: #fff; box-shadow: 0 12px 26px rgba(229, 72, 77, .35); }
.cart-modal__yes:hover { transform: translateY(-2px); }
@keyframes cartModalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cartModalUp { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cart-modal, .cart-modal__box { animation: none; } }
@media (max-width: 420px) { .cart-pick__svcs { grid-template-columns: 1fr; } }
.cart__h { margin: 0 0 14px; font-size: 18px; color: var(--navy); }
.cart__form .av-pay__box { margin-top: 14px; }
.cart__empty { max-width: 520px; margin: 10px auto 0; padding: 34px 22px; text-align: center; border-radius: 28px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(109, 76, 245, .12); box-shadow: 0 18px 44px rgba(109, 76, 245, .12); }
.cart__empty > svg { width: 54px; height: 54px; color: var(--brand); }
.cart__empty h2 { margin: 10px 0 6px; font-size: 20px; color: var(--navy); }
.cart__empty p { margin: 0 0 18px; color: var(--muted); font-weight: 600; line-height: 2; }
.cart__empty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cart__empty[hidden], .cart__grid[hidden], .cart__done[hidden] { display: none; }
.cart__done { margin: 0 auto 18px; max-width: 760px; }
.cart__done a { text-decoration: underline; font-weight: 800; }
.cart__form [hidden] { display: none !important; }
@media (max-width: 900px) { .cart__grid { grid-template-columns: 1fr; } .cart-toast { bottom: 76px; } }

/* «افزودن به سبد خرید» buttons */
.btn--cart { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn--cart svg { width: 19px; height: 19px; }
.av-form .btn--cart { margin-top: 10px; width: 100%; }
.ac-pick .btn--cart { margin-top: 10px; }
.ac-cartbox { margin-bottom: 18px; }
.ac-cartbox__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.ac-cartbox__list li { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 14px; color: var(--navy); padding: 8px 12px; border-radius: 14px; background: var(--brand-soft); }
.ac-cartbox__list li small { color: var(--muted); font-weight: 700; }
.ac-menu__cart { display: inline-flex; align-items: center; gap: 6px; }

/* Price rows: same height for every row; a long title wraps inside the row (2 lines) instead of making it taller */
.av-tf__row { flex-wrap: nowrap !important; height: 84px; min-height: 84px; overflow: hidden; }
.av-tf__name { flex: 1 1 auto; align-content: center; }
.av-tf__name b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; font-size: 14.5px; }
.av-tf__name small { white-space: nowrap; line-height: 1.5; }
.av-tf__qty { margin-inline-start: 0 !important; }
@media (max-width: 520px) {
  .av-tf__row { gap: 8px; padding: 8px 10px; }
  .av-tf__name b { font-size: 14px; }
  .av-tf__qty { gap: 4px; }
  .av-tf__qty button { width: 32px; height: 32px; font-size: 18px; }
  .od-card .av-tf__qty input[type="text"], .ac-items .av-tf__qty input[type="text"], .av-tf__qty input[type="text"] { width: 44px !important; padding: 6px 2px; }
}

/* Desktop: a very light line between the items of the services drop-down */
.dropdown a { position: relative; }
.dropdown a:not(:last-child)::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 1px; background: rgba(109, 76, 245, .09); }

/* Mobile header menu: separate, easy-to-tap rows, each with its own icon */
.mobile-nav { display: none; }
.mobile-nav.is-open { display: grid; gap: 8px; }
.mobile-nav a, .mobile-nav a.is-cart, .mobile-nav a.is-account { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(109, 76, 245, .14); box-shadow: 0 6px 16px rgba(109, 76, 245, .07); font-size: 15px; font-weight: 800; color: var(--navy); text-align: start; }
.mobile-nav a:hover, .mobile-nav a:active { background: var(--brand-soft); color: var(--brand); }
.mn__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), #3fa9e8); box-shadow: 0 6px 14px rgba(109, 76, 245, .25); }
.mn__ic svg { width: 21px; height: 21px; }
.mobile-nav a:nth-child(3n+2) .mn__ic { background: linear-gradient(135deg, #12c7b0, #3fa9e8); box-shadow: 0 6px 14px rgba(18, 199, 176, .28); }
.mobile-nav a:nth-child(3n) .mn__ic { background: linear-gradient(135deg, #a078ff, #e062c4); box-shadow: 0 6px 14px rgba(160, 120, 255, .28); }
.mn__t { flex: 1; min-width: 0; }
.mn__go { flex: none; width: 18px; height: 18px; opacity: .45; }
.mobile-nav a.is-account, .mobile-nav a.is-account:hover { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-color: transparent; box-shadow: 0 10px 22px rgba(109, 76, 245, .3); }
.mobile-nav a.is-account .mn__ic { background: rgba(255, 255, 255, .22); box-shadow: none; }
.mobile-nav a.is-account .mn__go { opacity: .8; }

/* Footer lists: the same icons as the mobile header menu, on mobile only */
.fl__ic { display: none; }
@media (max-width: 640px) {
  .footer__links { gap: 10px; }
  .footer__links a::before { display: none; }
  .footer__links a { gap: 12px; font-weight: 700; }
  .fl__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--brand), #3fa9e8); box-shadow: 0 5px 12px rgba(109, 76, 245, .22); }
  .fl__ic svg { width: 18px; height: 18px; }
  .footer__links a:nth-child(3n+2) .fl__ic { background: linear-gradient(135deg, #12c7b0, #3fa9e8); box-shadow: 0 5px 12px rgba(18, 199, 176, .25); }
  .footer__links a:nth-child(3n) .fl__ic { background: linear-gradient(135deg, #a078ff, #e062c4); box-shadow: 0 5px 12px rgba(160, 120, 255, .25); }
}


/* ---------- مدت پنل (ماهانه / ۳ / ۶ / ۱۲ ماهه): همه‌جا دو ستون در هر سطر ---------- */
.ac-dur__row, .pl-dur-sec .ac-dur__row, .pl-dur-form .ac-dur__row, .od-card .ac-dur__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-pick__durs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-pick__durs button { width: 100%; padding: 12px 10px; }
@media (max-width: 640px) {
  .ac-dur__row, .pl-dur-sec .ac-dur__row, .pl-dur-form .ac-dur__row, .od-card .ac-dur__row { gap: 8px; }
}


/* ---------- دکمهٔ «افزودن» کد تخفیف: هم‌قد و هم‌شکل با کادر کناری ---------- */
.od-coupon__row { align-items: stretch; gap: 8px; }
.od-coupon__row .btn, .ac-coupon__btn { border-radius: 12px; padding: 0 26px; min-height: 48px; font-size: 14px; font-weight: 800; letter-spacing: 0; box-shadow: 0 6px 16px rgba(109, 76, 245, .22); }
.od-coupon__row .btn:hover, .ac-coupon__btn:hover { box-shadow: 0 10px 22px rgba(109, 76, 245, .3); }
.od-coupon__row .btn:active, .ac-coupon__btn:active { transform: scale(.97); }
@media (max-width: 480px) { .od-coupon__row .btn { padding: 0 20px; } }

/* مبلغ نهایی بزرگ و وسط‌چین (جای دکمهٔ «افزودن به سبد خرید») */
.av-bigtotal { display: grid; gap: 4px; justify-items: center; text-align: center; margin: 14px 0 0; padding: 16px 14px; border-radius: 18px; background: var(--brand-soft, #f1edff); }
.av-bigtotal[hidden] { display: none; }
.av-bigtotal span { font-weight: 700; font-size: 13px; color: var(--muted); }
.av-bigtotal b { font-size: clamp(26px, 7vw, 34px); font-weight: 900; line-height: 1.4; color: var(--brand, #6d4cf5); }

/* اعتبار پنل: جعبه‌ی بالای روش‌های پرداخت در سبد خرید + نمایش در پروفایل */
.cart-credit { border-radius: 22px; border: 2px solid rgba(109, 76, 245, .16); background: #fff; padding: 12px 14px; transition: var(--transition); }
.cart-credit.is-on { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 10px 26px rgba(109, 76, 245, .18); }
.cart-credit__chk { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.cart-credit__chk input { width: 22px; height: 22px; flex: none; accent-color: var(--brand); }
.cart-credit__chk > span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; flex: 1; min-width: 0; }
.cart-credit__chk i svg { width: 28px; height: 28px; color: var(--brand); }
.cart-credit__chk i { grid-row: span 2; }
.cart-credit__chk b { font-size: 15px; color: var(--navy); }
.cart-credit__chk small { font-size: 13px; font-weight: 800; color: var(--brand); }
.cart-credit__note { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.9; }
.cart-credit__more { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.9; }
.cart-credit__more[hidden], .cart-credit[hidden], .cart-credit__note[hidden] { display: none; }
.ac-plan__credit { margin: 6px 0 0; font-weight: 700; font-size: 13px; color: var(--muted); }
.ac-plan__credit b { color: var(--brand); }
.pl-cmp__off { font-style: normal; margin-top: 2px; font-size: 11.5px; font-weight: 800; color: #0b7a69; background: #e7f9f4; padding: 1px 8px; border-radius: 100px; }

/* upload progress (receipt): green line + percent, shown under the submit button while a file is being sent */
.av-up { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 10px 14px; border-radius: 16px; background: #ecfdf3; border: 1px solid rgba(34, 197, 94, .35); direction: rtl; }
.av-up__bar { position: relative; flex: 1 1 auto; height: 10px; border-radius: 99px; background: rgba(34, 197, 94, .18); overflow: hidden; }
.av-up__bar i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #16a34a, #22c55e 60%, #4ade80); transition: width .2s ease; }
.av-up__txt { flex: none; font-weight: 800; font-size: 13px; color: #15803d; white-space: nowrap; }
@media (max-width: 480px) { .av-up { flex-wrap: wrap; } .av-up__txt { white-space: normal; } }

/* «اعتبار پنل» = first option of «نحوه‌ی پرداخت» */
.od-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 14px; }
.od-credit > .od-opt { flex: 1 1 260px; min-width: 0; }
.od-opt--credit > span { border-color: rgba(109, 76, 245, .3); background: linear-gradient(135deg, #fff, var(--brand-soft, #f1edff)); }
.od-opt--credit b { color: var(--navy, #14122e); }
.od-opt--credit small { font-weight: 800; color: var(--brand); }
.od-opt--credit.is-off { cursor: not-allowed; }
.od-opt--credit.is-off input { cursor: not-allowed; }
.od-opt--credit.is-off > span { background: #f4f4f8; border-color: rgba(20, 18, 46, .12); }
.od-opt--credit.is-off > span > svg, .od-opt--credit.is-off > span > b, .od-opt--credit.is-off > span > small { opacity: .6; filter: grayscale(.55); }
.od-opt--credit > span { grid-template-columns: auto 1fr auto; }
.od-opt--credit .od-credit__go { grid-column: 3; grid-row: 1 / span 3; align-self: center; margin-inline-start: 12px; position: relative; z-index: 2; opacity: 1; filter: none; }
.od-opt--credit.is-off small { color: var(--muted); }
.od-credit__go { flex: none; white-space: nowrap; }
.od-credit__go[hidden] { display: none !important; }
.od-credit__note { flex: 1 1 100%; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--brand-soft, #f1edff); color: var(--navy, #14122e); font-weight: 700; font-size: 13.5px; line-height: 1.8; }
.od-credit__note[hidden], .od-credit__go[hidden] { display: none; }
.od-credit[hidden] { display: none; }
.ac-pay[hidden], .od-opts[hidden], .av-payfield__opts[hidden], .ac-paybox[hidden] { display: none; }

/* ---- نرخ توافقی: the sentence under an item without a fixed price (tip icon + attractive colour) ---- */
.av-neg { display: inline-flex; align-items: flex-start; gap: 6px; margin: 0; font-style: normal; font-weight: 800; font-size: 12px; line-height: 1.7; white-space: normal; color: #e8590c; }
.av-neg svg { flex: none; width: 15px; height: 15px; margin-top: 3px; padding: 2px; box-sizing: content-box; border-radius: 50%; background: linear-gradient(135deg, #ffb347, #ff6b6b); color: #fff; stroke-width: 2.4; }
.av-neg span { background: linear-gradient(90deg, #f76707, #e64980); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #e8590c; }
.av-tf__row.is-neg { height: auto; min-height: 84px; overflow: visible; background: linear-gradient(135deg, #fff, #fff7f0); }
.av-tf__row.is-neg.is-on { border-color: #f76707; box-shadow: 0 6px 18px rgba(247, 103, 7, .14); }
.av-tf__row.is-neg .av-tf__name small { white-space: normal; }
.cart-pick__row.is-neg.is-on { border-color: #f76707; box-shadow: 0 6px 18px rgba(247, 103, 7, .14); }
.av-neg-tag { flex: none; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: #fff1e6; color: #d9480f; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cart-it__row > b.av-neg-tag { font-size: 12px; color: #d9480f; }
.av-neg-foot { margin: 10px 0 0; }
.av-neg-par { font-weight: 800; font-size: .92em; white-space: nowrap; background: linear-gradient(90deg, #f76707, #e64980); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #e8590c; }

/* ==========================================================================
   Services: tailoring + dyeing (9 home boxes: 3 x 3 on desktop, 2 columns on tablet, 1 on mobile)
   ========================================================================== */
@media (min-width: 1101px) {
  .services-grid--home { grid-template-columns: repeat(3, 1fr); }
  #map + #services .services-grid { grid-template-columns: repeat(4, 1fr); }
}
/* "other services" cards: any number of cards, last row centered */
.sv-more__grid--flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sv-more__grid--flex > .sv-more__card { flex: 0 0 calc((100% - 54px) / 4); min-width: 0; }
@media (max-width: 980px) {
  .sv-more__grid--flex > .sv-more__card { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 640px) {
  .sv-more__grid--flex { gap: 12px; }
  .sv-more__grid--flex > .sv-more__card { flex-basis: calc((100% - 12px) / 2); }
}

/* Home services order. Desktop (3 columns): clothes, ironing, stain / blue box (full row) / tailoring, shoes, bedding / carpet, sofa, dyeing.
   Tablet + mobile: clothes, ironing, stain, tailoring, then the blue box, then the rest. */
@media (min-width: 1101px) {
  .services-grid--home .service--featured { grid-column: span 3; }
  .services-grid--home .service--featured .service__story p { min-height: 0; }
  .services-grid--home .service--featured .service__story { grid-template-columns: 1fr; gap: 6px; }
  #map + #services .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* اعتبار پنل: حساب‌کتاب when the credit is not enough (table + «افزایش اعتبار») */
.od-credit__gap { flex: 1 1 100%; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(109, 76, 245, .22); box-shadow: 0 8px 22px rgba(109, 76, 245, .1); }
.od-credit__gap[hidden], .od-credit__acts[hidden], .od-credit__or[hidden], .od-credit__err[hidden] { display: none; }
.od-credit__tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.od-credit__tbl th { text-align: right; font-weight: 700; color: var(--muted, #6b6a85); padding: 8px 4px; }
.od-credit__tbl td { text-align: left; font-weight: 900; padding: 8px 4px; white-space: nowrap; direction: rtl; }
.od-credit__tbl tr + tr th, .od-credit__tbl tr + tr td { border-top: 1px dashed rgba(20, 18, 46, .14); }
.od-credit__tbl .is-used td { color: #12a58f; }
.od-credit__tbl .is-rest th, .od-credit__tbl .is-rest td { color: #d6336c; font-size: 15px; }
.od-credit__acts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; }
.od-credit__or { margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.9; color: var(--muted, #6b6a85); flex: 1 1 220px; }
.od-credit__or--alt { margin-top: 10px; }
.od-credit__err { margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: #fff0f3; color: #b32d4a; font-size: 13px; font-weight: 700; }
.od-credit__acts .btn { white-space: normal; }
@media (max-width: 640px) { .od-credit__acts .btn { width: 100%; justify-content: center; } }

.od-credit__lead { margin: 0 0 8px; font-size: 14px; font-weight: 800; line-height: 1.9; color: #d6336c; }

/* افزایش اعتبار: custom amount, online or card-to-card */
.od-tu { display: grid; gap: 10px; margin-top: 12px; }
.od-tu__lbl { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.od-tu__lbl input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(109, 76, 245, .28); background: #fff; font: inherit; font-size: 17px; font-weight: 900; text-align: left; }
.od-tu__lbl input:focus { outline: none; border-color: #6d4cf5; box-shadow: 0 0 0 3px rgba(109, 76, 245, .16); }
.od-tu__hint { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted, #6b6a85); font-weight: 700; }
.od-tu__hint:empty { display: none; }
.od-tu__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.od-tu__btns .btn { flex: 1 1 200px; justify-content: center; }
.od-tu__cardbox { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(109, 76, 245, .06); border: 1px dashed rgba(109, 76, 245, .35); }
.od-tu__cardbox[hidden], .od-tu__ok[hidden] { display: none; }
.od-tu__lead { margin: 0; font-size: 14px; line-height: 1.9; font-weight: 700; }
.od-tu__card { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(109, 76, 245, .12); }
.od-tu__card b { font-size: 20px; letter-spacing: 1px; text-align: center; direction: ltr; }
.od-tu__card span { font-size: 13px; text-align: center; color: var(--muted, #6b6a85); font-weight: 700; }
.od-tu__copy { justify-self: center; border: 0; background: transparent; color: #6d4cf5; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; padding: 4px 8px; }
.od-tu__file { display: grid; gap: 6px; font-weight: 800; font-size: 13px; }
.od-tu__file input { font: inherit; font-size: 13px; }
.od-tu__ok { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(18, 165, 143, .12); color: #0b7a69; font-weight: 800; font-size: 14px; line-height: 1.9; }
.od-credit__tu { margin-top: 4px; }

/* Article lists (blog page, categories): 4 columns on desktop, 3 on tablet, 2 on mobile */
@media (min-width: 1101px) { .bl-pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .bl-pcard__img { height: 170px; } }
@media (min-width: 769px) and (max-width: 1100px) { .bl-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bl-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 26px; }
.bl-cats__a { padding: 8px 16px; border-radius: 100px; background: rgba(255, 255, 255, .94); border: 1px solid rgba(109, 76, 245, .16); font-weight: 800; font-size: 13.5px; color: var(--ink); transition: var(--transition); }
.bl-cats__a.is-active, .bl-cats__a:hover, .bl-cats__a:focus-visible, .bl-cats__a:active { color: #fff; background-image: var(--grad); border-color: transparent; transform: translateY(-2px); }
@media (max-width: 640px) { .bl-cats { gap: 6px; } .bl-cats__a { padding: 6px 12px; font-size: 12.5px; } }

/* Article table of contents (فهرست) */
.bl-article :is(h2, h3, h4) { scroll-margin-top: 110px; }
.bl-tocbar { margin: 0 0 22px; }
.bl-tocbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 100px; color: #fff; background-image: var(--grad); font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: 0 10px 24px rgba(109, 76, 245, .28); }
.bl-tocbtn svg { width: 18px; height: 18px; }
.bl-tocpanel { margin-top: 12px; padding: 14px 18px; border-radius: 20px; background: var(--brand-soft, #f1edff); border: 1px solid rgba(109, 76, 245, .16); }
.bl-tocpanel[hidden] { display: none; }
.bl-tocpanel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bl-tocpanel a { display: block; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.bl-tocpanel a:hover { background: #fff; color: var(--brand); }
.bl-tocpanel .lv3 { padding-inline-start: 18px; }
.bl-tocpanel .lv4 { padding-inline-start: 36px; }
.bl-tocpanel .lv3 a, .bl-tocpanel .lv4 a { font-weight: 600; font-size: 13.5px; }

/* «سبد خرید باز دارید» reminder */
.cart-remind { position: fixed; inset-inline: 14px; bottom: 84px; z-index: 121; display: flex; align-items: center; gap: 12px; max-width: 460px; margin-inline: auto; padding: 13px 16px; border-radius: 18px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 18px 40px rgba(20, 18, 46, .35); opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.cart-remind.is-on { opacity: 1; transform: none; }
.cart-remind__t { flex: 1; min-width: 0; line-height: 1.7; }
.cart-remind__go { flex: none; white-space: nowrap; }
.cart-remind__x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
@media (min-width: 981px) { .cart-remind { inset-inline-start: auto; inset-inline-end: 24px; bottom: 24px; margin: 0; } }
@media (max-width: 980px) { .cart-remind { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   Round 7: no "more info" button; the icon sits beside the service title,
   wiggles every few seconds while a red/blue shine runs over the dark title
   ========================================================================== */
.service:not(.service--featured) h3 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 21px; /* 25% bigger than before (17px), on phones too */
  line-height: 1.5;
}
.service:not(.service--featured) h3 > .service__ico {
  display: grid; place-items: center; flex: none;
  position: relative; z-index: 1;
  width: 30px; height: 30px;
  color: var(--brand);
  animation: svc-ico-wiggle 6s ease-in-out infinite;
}
.service:not(.service--featured) h3 > .service__ico svg { width: 26px; height: 26px; }
/* one 6s round per card: the icon first rises a little, grows a bit, gives a tiny shake and turns red (0 - 0.9s), then goes back down;
   then the light runs over the title letters (starts at 0.6s, crosses the whole title in 3s),
   then everything rests until the next round. script.js sets each letter's delay. */
@keyframes svc-ico-wiggle {
  0%   { transform: translateY(0) scale(1) rotate(0); color: var(--brand); filter: none; }
  3%   { transform: translateY(-5px) scale(1.25) rotate(-9deg); color: #ff3b30; filter: drop-shadow(0 0 5px rgba(255, 59, 48, .5)); }
  5%   { transform: translateY(-8px) scale(1.45) rotate(9deg); color: #ff3b30; }
  7%   { transform: translateY(-9px) scale(1.5) rotate(-6deg); color: #ff3b30; }
  9%   { transform: translateY(-9px) scale(1.5) rotate(4deg); color: #ff3b30; }
  10%  { transform: translateY(-9px) scale(1.5) rotate(0); color: #ff3b30; }
  15%, 100% { transform: translateY(0) scale(1) rotate(0); color: var(--brand); filter: none; }
}
.svc-t { display: inline; }
.svc-w { display: inline-block; white-space: nowrap; }
.svc-l { display: inline-block; transform-origin: 50% 70%; animation: svc-wave 6s linear infinite; animation-delay: var(--d, .6s); }
/* each letter is lit for 0.9s (15% of 6s): red -> purple -> blue, quick and light on the browser */
@keyframes svc-wave {
  0%        { color: var(--navy); transform: scale(1); }
  4%        { color: #ff3b30;     transform: scale(1.2); }
  8%        { color: #a855f7;     transform: scale(1.25); }
  12%       { color: #2f6bff;     transform: scale(1.15); }
  15%, 100% { color: var(--navy); transform: scale(1); }
}
/* the animations only run while the card is on screen (script.js adds .svc-live) */
.js .service:not(.service--featured):not(.svc-live) .svc-l,
.js .service:not(.service--featured):not(.svc-live) h3 > .service__ico { animation-play-state: paused; }
.service:not(.service--featured) { padding-bottom: 22px; }
@media (prefers-reduced-motion: reduce) {
  .svc-l, .service:not(.service--featured) h3 > .service__ico { animation: none; }
}

/* ==========================================================================
   Mobile menu: smooth open / close, items fly in one by one, no scrollbar,
   the address + phone bar folds away softly (no page jump)
   ========================================================================== */
@media (max-width: 980px) {
  .topbar { max-height: 140px; overflow: hidden; transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .45s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; }
  body.nav-open .topbar { max-height: 0; padding-block: 0; opacity: 0; }

  header .mobile-nav { padding: 10px; }
  header .mobile-nav.is-open, header .mobile-nav.is-closing { display: grid; gap: 6px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; transform-origin: 50% 0; }
  header .mobile-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
  header .mobile-nav a, header .mobile-nav a.is-cart, header .mobile-nav a.is-account { min-height: 50px; padding-block: 5px; }

  header .mobile-nav.is-open { animation: mn-open .5s cubic-bezier(.2, .9, .25, 1) both; }
  header .mobile-nav.is-closing { animation: mn-close .26s ease-in both; pointer-events: none; }
  header .mobile-nav.is-open a { animation: mn-item .5s cubic-bezier(.2, .9, .25, 1) both; }
  header .mobile-nav.is-open a:nth-child(1) { animation-delay: .08s; }
  header .mobile-nav.is-open a:nth-child(2) { animation-delay: .12s; }
  header .mobile-nav.is-open a:nth-child(3) { animation-delay: .16s; }
  header .mobile-nav.is-open a:nth-child(4) { animation-delay: .20s; }
  header .mobile-nav.is-open a:nth-child(5) { animation-delay: .24s; }
  header .mobile-nav.is-open a:nth-child(6) { animation-delay: .28s; }
  header .mobile-nav.is-open a:nth-child(7) { animation-delay: .32s; }
  header .mobile-nav.is-open a:nth-child(8) { animation-delay: .36s; }
  header .mobile-nav.is-open a:nth-child(n+9) { animation-delay: .40s; }
}
@keyframes mn-open {
  0%   { opacity: 0; transform: translateY(-14px) scale(.96); clip-path: inset(0 0 100% 0 round 24px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); }
}
@keyframes mn-close {
  from { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); }
  to   { opacity: 0; transform: translateY(-10px) scale(.97); clip-path: inset(0 0 100% 0 round 24px); }
}
@keyframes mn-item {
  0%   { opacity: 0; transform: translateX(26px) scale(.9); }
  65%  { opacity: 1; transform: translateX(-4px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  header .mobile-nav.is-open, header .mobile-nav.is-closing, header .mobile-nav.is-open a { animation: none; }
  .topbar { transition: none; }
}

/* ==========================================================================
   Burger: no lilac tile / tap flash; it turns into a cross while the menu is open
   ========================================================================== */
.burger, .burger:hover, .burger:active, .burger:focus {
  background: transparent !important; box-shadow: none; outline: none;
  -webkit-tap-highlight-color: transparent;
}
.burger { position: relative; display: none; }
.burger svg { grid-area: 1 / 1; transition: opacity .2s ease, transform .25s ease; }
.burger .burger__x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.burger[aria-expanded="true"] .burger__m { opacity: 0; transform: rotate(90deg) scale(.6); }
.burger[aria-expanded="true"] .burger__x { opacity: 1; transform: none; }
@media (max-width: 980px) { .burger { display: grid; place-items: center; } }

/* ==========================================================================
   Mobile footer accordions: same soft opening as the header menu, links fly in one by one
   ========================================================================== */
@media (max-width: 640px) {
  .footer__panel { transition: grid-template-rows .5s cubic-bezier(.2, .9, .25, 1); }
  .footer__panel > .footer__links { opacity: 0; transition: opacity .3s ease; }
  .footer__panel.is-open > .footer__links { opacity: 1; transition: opacity .4s ease .05s; }
  .footer__panel.is-open .footer__links a { animation: mn-item .5s cubic-bezier(.2, .9, .25, 1) both; }
  .footer__panel.is-open .footer__links a:nth-child(1) { animation-delay: .06s; }
  .footer__panel.is-open .footer__links a:nth-child(2) { animation-delay: .10s; }
  .footer__panel.is-open .footer__links a:nth-child(3) { animation-delay: .14s; }
  .footer__panel.is-open .footer__links a:nth-child(4) { animation-delay: .18s; }
  .footer__panel.is-open .footer__links a:nth-child(5) { animation-delay: .22s; }
  .footer__panel.is-open .footer__links a:nth-child(6) { animation-delay: .26s; }
  .footer__panel.is-open .footer__links a:nth-child(7) { animation-delay: .30s; }
  .footer__panel.is-open .footer__links a:nth-child(8) { animation-delay: .34s; }
  .footer__panel.is-open .footer__links a:nth-child(n+9) { animation-delay: .38s; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__panel.is-open .footer__links a { animation: none; }
}

/* ==========================================================================
   One colour theme for every page title: dark words + the theme gradient (like «جدول قیمت پلن‌ها»)
   ========================================================================== */
.od-hero__box h1 em, .sv-info h1 em, .bl-head h1 em, .tm-hero__box h1 em, .od-hero h1 em, .g-em,
.page-hero h1 em, .bl-archive h1 em, h1.section-title em, h2.section-title em, .sv-hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Order page on phones: the form is always there, no scroll-reveal animation */
@media (max-width: 768px) {
  .js .od-hero__box.reveal, .js .av-order.reveal {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
