/* =========================================================
   DanhMay247 — Dịch vụ đánh máy chuyên nghiệp
   ========================================================= */
:root {
  --red: #f24d50;
  --red-dark: #d03c3f;
  --red-soft: #fde4e5;
  --navy: #2d3078;
  --navy-text: #c0c0d6;
  --navy-light: #eaeaf1;
  --ink: #000;
  --text: #454545;
  --text-2: #4d4d4d;
  --muted: #7f8491;
  --line: #e6e6ec;
  --bg-grey: #f7f7f7;
  --white: #fff;
  --green: #3bb54a;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, .05);
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);
  --radius: 15px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 18px; font-weight: 600; line-height: 1.5;
  width: 221px; max-width: 100%; height: 58px; padding: 14px 20px;
  background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 4px;
  cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .15s;
  text-align: center;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: .55; cursor: not-allowed; }
.button--sm { width: auto; height: 40px; font-size: 14px; padding: 8px 18px; }
.button--w100 { width: 100%; }
.button--ghost { background: transparent; color: var(--red); }
.button--ghost:hover { background: var(--red); color: #fff; }
.button--black { background: transparent; color: #3a3a3a; border-color: #000; }
.button--black:hover { background: #000; color: #fff; border-color: #000; }
.button--white { background: #fff; color: var(--red); border-color: #fff; }
.button--white:hover { background: var(--red-soft); border-color: var(--red-soft); }
.link { color: var(--red); font-weight: 600; border-bottom: 1px dashed currentColor; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; }
.link:hover { color: var(--red-dark); }

/* ---------- Section titles ---------- */
.section-title {
  font: 400 30px/1.3 var(--serif); color: var(--ink); text-align: center;
  position: relative; margin: 0 0 58px; padding-bottom: 26px;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 76px; height: 2px; background: #c9c9cf;
}
.section-title--left { text-align: left; }
.section-title--left::after { left: 0; transform: none; }
.section-title--light { color: #fff; }
.section-title--light::after { background: rgba(255, 255, 255, .35); }
@media (min-width: 768px) {
  .section-title { font-size: 45px; margin-bottom: 80px; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: #fff; display: flex; align-items: center;
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, .07); }
.header.page { background: var(--bg-grey); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; font: 700 20px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.logo__red { color: var(--red); }
.logo__black { color: #000; margin-left: 6px; }
.logo__caret { width: 2px; height: 22px; background: var(--red); margin-left: 5px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.logo--light .logo__black { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 15px; font-weight: 600; color: #000;
  border-radius: 4px; transition: color .2s; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__arrow { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; background: #fff;
  border-radius: 10px; box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__arrow { transform: rotate(225deg) translateY(-1px); }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 15px; color: #000; }
.nav__sub a:hover { background: var(--bg-grey); color: var(--red); }

.header__buttons { display: flex; align-items: center; gap: 16px; }
.login { position: relative; }
.login__toggle { background: none; border: 0; font-weight: 600; font-size: 15px; color: #000; cursor: pointer; padding: 10px 6px; display: flex; align-items: center; gap: 8px; }
.login__toggle:hover { color: var(--red); }
.login__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.login__panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: 320px; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14); padding: 26px 24px 22px; z-index: 10;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.login__panel::before { content: ""; position: absolute; top: -7px; right: 26px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.login.is-open .login__panel { opacity: 1; visibility: visible; transform: none; }
.login__title { font: 400 18px/1.4 var(--serif); color: #000; margin-bottom: 18px; padding-right: 24px; }
.login__close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 22px; color: var(--muted); border-radius: 50%; }
.login__close:hover { background: var(--bg-grey); }
.login__links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.login__menu a, .login__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 6px; font-size: 15px; color: #000; background: none; border: 0; cursor: pointer; }
.login__menu a:hover, .login__menu button:hover { background: var(--bg-grey); color: var(--red); }
.login__menu .login__email { font-size: 13px; color: var(--muted); padding: 0 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; word-break: break-all; }

.hamburger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -10px; }
.hamburger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #000; border-radius: 2px; transition: .25s; }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1099px) {
  .hamburger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 24px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { font-size: 18px; padding: 14px 4px; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; display: none; }
  .nav__item.is-open .nav__sub { display: block; }
  .header__buttons { flex-direction: column; align-items: stretch; }
  .header__buttons .button { width: 100%; height: 52px; font-size: 16px; }
  .login__panel { position: static; width: 100%; box-shadow: none; border: 1px solid var(--line); display: none; transform: none; }
  .login.is-open .login__panel { display: block; }
  .login__panel::before { display: none; }
  .login__toggle { justify-content: center; width: 100%; font-size: 17px; }
}

/* =========================================================
   FORM CONTROLS
   ========================================================= */
.field { margin-bottom: 18px; }
.field__label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); margin-bottom: 6px; }
.field__label .req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; height: 46px; border: 1px solid #d9d9e0; border-radius: 6px; background: #fff;
  padding: 10px 14px; font-size: 15px; color: #000; transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 130px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23454545' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: #b8b8c4; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(45, 48, 120, .12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field__error { display: none; color: var(--red-dark); font-size: 13px; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.password { position: relative; }
.password .input { padding-right: 48px; }
.password__eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.password__eye:hover { color: #000; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; color: #000; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid #b8b8c4; border-radius: 3px; margin-top: 2px; transition: .15s; display: grid; place-items: center; background: #fff; }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check input:checked + .check__box::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible + .check__box { outline: 2px solid var(--red); outline-offset: 2px; }
.check a { color: var(--red); text-decoration: underline; }

.tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #c7c7d1; color: #fff; font-size: 11px; font-weight: 700; cursor: help; }
.tip__text { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(240px, 80vw); background: #1f2140; color: #fff; font-size: 12.5px; font-weight: 400; line-height: 1.5; padding: 10px 12px; border-radius: 6px; display: none; z-index: 20; pointer-events: none; text-align: left; }
.tip:hover .tip__text, .tip:focus .tip__text { display: block; }

.segmented { display: flex; background: var(--bg-grey); border-radius: 6px; padding: 4px; }
.segmented button { flex: 1; height: 42px; border: 0; background: transparent; border-radius: 4px; cursor: pointer; font-size: 15px; color: #000; transition: .2s; }
.segmented button.is-active { background: #000; color: #fff; font-weight: 600; }

.stepper { display: inline-flex; align-items: center; border: 1px solid #d9d9e0; border-radius: 6px; overflow: hidden; height: 46px; }
.stepper button { width: 46px; height: 100%; border: 0; background: #fff; cursor: pointer; font-size: 20px; color: #000; }
.stepper button:hover { background: var(--bg-grey); }
.stepper input { width: 90px; height: 100%; border: 0; border-left: 1px solid #eee; border-right: 1px solid #eee; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper input:focus { outline: none; background: #fafaff; }

.alert { padding: 14px 18px; border-radius: 8px; font-size: 15px; margin-bottom: 18px; }
.alert--success { background: #e9f8ec; color: #1f6b2a; border: 1px solid #bfe6c6; }
.alert--error { background: var(--red-soft); color: #9b2326; border: 1px solid #f7b9ba; }
.alert--info { background: #eef0fb; color: var(--navy); border: 1px solid #d4d7f2; }

/* =========================================================
   HOME — FIRST SECTION
   ========================================================= */
.first-section { overflow: hidden; position: relative; }
.first-section__wrapper { display: flex; flex-wrap: wrap; align-items: center; padding: 60px 20px 70px; position: relative; }
.first-section__left { flex: 0 0 50%; padding-right: 30px; position: relative; z-index: 1; }
.first-section__title { font: 300 56px/1.3 var(--serif); margin: 0 0 35px; color: #000; }
.first-section__title strong { font-weight: 300; }
.first-section__title span.pct { font-size: .55em; }
.first-section__description { font-size: 20px; line-height: 1.5; max-width: 520px; color: var(--text); }
.first-section__description .button { display: flex; margin-top: 40px; }
.first-section__visual { flex: 0 0 50%; position: relative; min-height: 470px; }
.features { display: flex; gap: 70px; margin-top: 60px; width: 100%; }
.features div { display: flex; align-items: baseline; gap: 10px; }
.features strong { font: 400 40px/1 var(--serif); color: #000; }
.features strong span { font-size: 22px; }
.features div > span { font-size: 15px; line-height: 1.3; max-width: 90px; color: var(--muted); }

/* Hero illustration (pure CSS document mockup) */
.mock { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 20px 50px rgba(30, 33, 80, .14); overflow: hidden; }
.mock--back { top: 10px; left: 30px; right: 0; height: 330px; }
.mock--front { top: 190px; left: 150px; right: 60px; height: 260px; }
.mock__bar { height: 28px; background: #f1f2f6; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9dbe4; }
.mock__bar i:first-child { background: #ff7e6b; }
.mock__bar b { margin-left: 10px; font: 600 11px var(--sans); color: var(--muted); }
.mock--front .mock__bar { background: #2b579a; }
.mock--front .mock__bar b { color: #fff; }
.mock__body { padding: 18px 22px; }
.mock__hand { font-family: "Dancing Script", cursive; font-size: 17px; line-height: 1.55; color: #31407a; transform: rotate(-1deg); }
.mock__hand .row { display: flex; gap: 10px; border-bottom: 1px dashed #cfd3e6; padding: 3px 0; }
.mock__hand .row span:first-child { flex: 0 0 90px; color: #555; }
.mock__lines span { display: block; height: 8px; border-radius: 4px; background: #e8e9f0; margin: 10px 0; }
.mock__lines span.dark { background: #c9cbd8; }
.mock__typed { font: 13px/1.6 var(--sans); color: #333; }
.mock__typed h5 { margin: 0 0 6px; font: 700 13px var(--sans); color: #000; }
.badge-file { position: absolute; width: 44px; height: 52px; border-radius: 6px; display: grid; place-items: center; font: 800 12px var(--sans); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.badge-file--pdf { background: #ff6b5b; left: 0; top: 280px; }
.badge-file--doc { background: #2b579a; left: 70px; top: 390px; font-size: 20px; }
.avatar-bubble { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); display: grid; place-items: center; font: 700 15px var(--sans); color: #fff; }
.avatar-bubble--1 { background: #f3a33b; top: -6px; left: 4px; }
.avatar-bubble--2 { background: #2d3078; top: 120px; right: -14px; }
.avatar-bubble--3 { background: #3bb54a; bottom: 26px; right: 20px; }
.typing-dots { display: inline-flex; gap: 4px; margin-left: 4px; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: dot 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .2s; }
.typing-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.type-cursor::after { content: "|"; color: var(--red); animation: caret 1s steps(1) infinite; margin-left: 1px; }

/* =========================================================
   HOME — WHY
   ========================================================= */
.why-section { background: var(--bg-grey); padding: 90px 0 70px; }
.why-section__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.why-section__title { flex: 0 0 44%; margin: 0; padding: 0; text-align: left; }
.why-section__title::after { display: none; }
.why-section__title .line { display: inline-block; width: 76px; height: 2px; background: #c9c9cf; vertical-align: middle; margin-left: 18px; }
.why-section__description { flex: 1; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 560px; }
.why-section__list { display: flex; gap: 22px; margin: 60px 0; padding: 10px 2px 20px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.why-section__list::-webkit-scrollbar { display: none; }
.why-section__list li { flex: 1 0 200px; background: #fff; box-shadow: var(--shadow-sm); border-radius: 50px; padding: 20px 28px 40px; scroll-snap-align: start; transition: transform .25s, box-shadow .25s; }
.why-section__list li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.why-section__list .letter { font: 400 97px/1 var(--serif); color: #f0f0f2; }
.why-section__list .title { font: 400 20px/1.5 var(--serif); color: #000; margin: -6px 0 22px; position: relative; padding-right: 24px; }
.why-section__list .title::after { content: ""; position: absolute; right: 0; bottom: 12px; width: 13px; height: 13px; background: var(--red); }
.why-section__list li:nth-child(1) .title::after { width: 15px; height: 10px; border-radius: 1px; }
.why-section__list li:nth-child(2) .title::after { clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%); width: 17px; height: 17px; }
.why-section__list li:nth-child(3) .title::after { border-radius: 50%; }
.why-section__list li:nth-child(4) .title::after { clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); width: 15px; height: 14px; }
.why-section__list li:nth-child(5) .title::after { clip-path: polygon(0 0, 100% 50%, 0 100%); width: 12px; height: 14px; }
.why-section__list p { font-size: 15px; color: var(--text-2); margin: 0; }
.why-section__subtitle { flex: 0 0 200px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.why-section__row { display: flex; gap: 30px; align-items: flex-start; padding: 30px 0; border-top: 1px solid #e8e8ee; }
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 46px; list-style: none; }
.clients li { font: 700 18px/1 var(--serif); color: #b7b9c4; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; filter: grayscale(1); transition: color .2s; }
.clients li:hover { color: var(--navy); }
.clients li svg { width: 26px; height: 26px; }
.geo { flex: 1; }
.geo__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 30px; list-style: none; font-size: 15px; line-height: 1.9; color: var(--text); }
.geo__more { overflow: hidden; max-height: 0; transition: max-height .45s ease; }
.geo.is-open .geo__more { max-height: 600px; }
.geo__toggle { margin-top: 14px; }

/* =========================================================
   HOME — UNIQUE (before/after)
   ========================================================= */
.unique-section { overflow: hidden; }
.unique-section__wrapper { display: flex; }
.unique-section__left { flex: 0 0 50%; padding: 90px 55px 90px 0; }
.unique-section__title { text-align: left; margin-bottom: 60px; }
.unique-section__title::after { left: 0; transform: none; }
.unique-list { list-style: none; counter-reset: num; max-width: 500px; }
.unique-list li { counter-increment: num; position: relative; padding: 0 0 34px 64px; color: var(--text-2); font-size: 16px; }
.unique-list li::before { content: counter(num, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 300 22px/1.4 var(--serif); color: var(--muted); }
.unique-list .title { font: 400 20px/1.5 var(--serif); color: #000; margin-bottom: 10px; }
.unique-section__portfolio { flex: 0 0 50%; background: var(--navy); color: var(--navy-text); padding: 90px 0 70px 60px; position: relative; }
.unique-section__portfolio::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 100vw; background: var(--navy); }
.unique-section__subtitle { font-size: 19px; line-height: 1.55; color: var(--navy-light); margin-bottom: 40px; max-width: 470px; }
.ba-slider { position: relative; max-width: 420px; margin: 0 auto 0 40px; }
.ba-slider__track { overflow: hidden; border-radius: 6px; }
.ba-slider__slides { display: flex; transition: transform .45s ease; }
.ba-slider__slide { flex: 0 0 100%; }
.ba-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.ba-slider__nav:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.ba-slider__nav--prev { left: -70px; }
.ba-slider__nav--next { right: -70px; }
.ba-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.ba-slider__dots button { width: 22px; height: 3px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.ba-slider__dots button.is-active { background: var(--red); }
.unique-section__description { margin: 34px 0 0 40px; font-size: 15px; max-width: 420px; }

/* Compare widget */
.compare { position: relative; aspect-ratio: 4 / 5; background: #fff; border-radius: 6px; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare__doc { position: absolute; inset: 0; padding: 26px 26px; }
.compare__before { background: #f7f1e3; }
.compare__after { background: #fff; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #000; transform: translateX(-50%); }
.compare__knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 13px; letter-spacing: -2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.compare__label { position: absolute; top: 12px; font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; z-index: 2; }
.compare__label--before { left: 12px; background: rgba(0, 0, 0, .65); color: #fff; }
.compare__label--after { right: 12px; background: var(--red); color: #fff; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.doc-hand { font-family: "Dancing Script", cursive; color: #2b3570; font-size: 17px; line-height: 1.6; transform: rotate(-.6deg); }
.doc-hand h6 { font-size: 22px; margin: 0 0 8px; text-align: center; font-weight: 700; color: #1d2455; }
.doc-hand p { margin: 0 0 6px; }
.doc-hand .strike { text-decoration: line-through; opacity: .6; }
.doc-scan { font-family: "Courier New", monospace; color: #333; font-size: 12.5px; line-height: 1.55; filter: blur(.35px) contrast(.9); }
.doc-scan h6 { font: 700 16px "Courier New", monospace; text-align: center; margin: 0 0 10px; letter-spacing: .1em; border-bottom: 2px solid #444; padding-bottom: 6px; }
.doc-scan .stamp { position: absolute; right: 26px; bottom: 60px; border: 3px solid rgba(200, 40, 40, .55); color: rgba(200, 40, 40, .55); font: 800 22px var(--sans); padding: 4px 12px; transform: rotate(-14deg); letter-spacing: .12em; }
.doc-scan .watermark { position: absolute; inset: 0; display: grid; place-items: center; font: 800 64px var(--sans); color: rgba(0, 0, 0, .06); transform: rotate(-30deg); pointer-events: none; }
.doc-typed { font: 13px/1.6 var(--sans); color: #222; }
.doc-typed h6 { font: 700 15px var(--sans); text-align: center; margin: 0 0 10px; color: #000; text-transform: uppercase; letter-spacing: .04em; }
.doc-typed p { margin: 0 0 7px; }
.doc-typed table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 6px 0 10px; }
.doc-typed td, .doc-typed th { border: 1px solid #c9c9d1; padding: 4px 6px; text-align: left; }
.doc-typed th { background: #f1f2f6; }
.doc-hand table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc-hand td { border-bottom: 1px solid #b9b2a0; padding: 2px 4px; }

/* =========================================================
   HOME — SERVICES
   ========================================================= */
.services-section { background: var(--bg-grey); padding: 90px 0; }
.services-section__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.services-section__list li { background: #fff; border-radius: 30px; box-shadow: var(--shadow-sm); padding: 36px 26px 40px; text-align: center; font: 400 19px/1.45 var(--serif); color: #000; transition: transform .25s, box-shadow .25s; }
.services-section__list li a { display: block; }
.services-section__list li:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, .08); }
.svc-icon { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; height: 56px; opacity: .55; transition: opacity .25s; }
.services-section__list li:hover .svc-icon { opacity: 1; }
.svc-icon .from, .svc-icon .to { width: 44px; height: 50px; border-radius: 5px; display: grid; place-items: center; font: 800 11px var(--sans); color: #fff; }
.svc-icon .to { background: #2b579a; font-size: 18px; }
.svc-icon .arrow { width: 20px; height: 2px; background: #b9bccb; position: relative; }
.svc-icon .arrow::after { content: ""; position: absolute; right: 0; top: -4px; border: 5px solid transparent; border-left-color: #b9bccb; border-right: 0; }
.services-section__description { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 60px 0 50px; }
.services-section__description p { font-size: 18px; line-height: 1.6; max-width: 720px; margin: 0; }
.svc-lists { border-top: 1px solid #e3e3e9; }
.svc-lists__row { display: flex; gap: 30px; padding: 30px 0 0; }
.svc-lists__row ul { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 30px; list-style: none; font-size: 15px; line-height: 1.9; }
.svc-lists__row a:hover { color: var(--red); text-decoration: underline; }

/* =========================================================
   HOME — HOW IT WORKS
   ========================================================= */
.howit-section { padding: 100px 0; }
.howit-section .container { display: flex; align-items: center; gap: 60px; }
.howit-section__text { flex: 0 0 50%; }
.howit-section__title { text-align: left; }
.howit-section__title::after { left: 0; transform: none; }
.howit-list { list-style: none; counter-reset: step; }
.howit-list li { position: relative; padding: 0 0 40px 80px; color: var(--text-2); }
.howit-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 55px; height: 55px; border-radius: 50%; background: var(--red) no-repeat center / 24px; }
.howit-list li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E"); }
.howit-list li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E"); }
.howit-list li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cpolyline points='9 15 11 17 15 13'/%3E%3C/svg%3E"); }
.howit-list li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; width: 1px; background: repeating-linear-gradient(to bottom, #d6d6de 0 4px, transparent 4px 8px); }
.howit-list .title { font: 400 21px/1.5 var(--serif); color: #000; margin-bottom: 10px; }
.howit-list p { margin: 0; font-size: 16px; }
.howit-section__img { flex: 1; position: relative; min-height: 420px; }
.laptop { position: absolute; inset: 20px 0 0 20px; }
.laptop__screen { background: #1d2040; border-radius: 14px 14px 0 0; padding: 14px; height: 300px; }
.laptop__inner { background: #fff; border-radius: 4px; height: 100%; padding: 18px; display: flex; gap: 16px; }
.laptop__base { height: 18px; background: linear-gradient(#d7d9e2, #b7bac8); border-radius: 0 0 16px 16px; margin: 0 -26px; }
.laptop__side { flex: 0 0 34%; border-right: 1px solid #eee; padding-right: 12px; }
.laptop__side .mini { height: 9px; border-radius: 4px; background: #eceef4; margin-bottom: 10px; }
.laptop__side .mini.on { background: var(--red-soft); }
.laptop__main { flex: 1; }
.progress { height: 8px; background: #eceef4; border-radius: 4px; overflow: hidden; margin: 8px 0 16px; }
.progress span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 4px; animation: grow 3.5s ease-in-out infinite; }
@keyframes grow { 0% { width: 8%; } 70%, 100% { width: 100%; } }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--sans); padding: 4px 10px; border-radius: 20px; }
.chip--green { background: #e3f6e6; color: #1f7a2d; }
.chip--navy { background: #eceefb; color: var(--navy); }
.chip--red { background: var(--red-soft); color: #a32a2d; }
.chip--grey { background: #efeff3; color: #555; }
.chip--amber { background: #fff3d6; color: #8a5a00; }
.float-card { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .12); padding: 14px 16px; font-size: 13px; display: flex; gap: 12px; align-items: center; }
.float-card--mail { left: -10px; bottom: 40px; animation: float 5s ease-in-out infinite; }
.float-card--done { right: -10px; top: 0; animation: float 5s 1.5s ease-in-out infinite; }
.float-card .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: 0 0 36px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* =========================================================
   HOME — INDUSTRIES
   ========================================================= */
.industries-section { background: var(--navy); color: #fff; padding: 90px 0; }
.industries-section .container { display: flex; gap: 50px; }
.industries-section__title { flex: 0 0 320px; text-align: left; color: #fff; }
.industries-section__title::after { left: 0; transform: none; background: rgba(255, 255, 255, .3); }
.industries-section__content { flex: 1; }
.industries-list { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin-bottom: 44px; }
.industries-list li { display: flex; align-items: center; gap: 12px; padding: 14px 24px 14px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50px; font: 400 19px var(--serif); transition: .2s; }
.industries-list li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.industries-list li i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.industries-list li i svg { width: 20px; height: 20px; }
.industries-section__description { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 19px; line-height: 1.55; color: var(--navy-text); }
.industries-section__description p { margin: 0; max-width: 560px; }

/* =========================================================
   CUSTOMERS / REVIEWS
   ========================================================= */
.customers-section { background: var(--bg-grey); padding: 90px 0 120px; }
.customers-section__header { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 40px; }
.customers-section__title { margin: 0; text-align: left; }
.customers-section__title::after { left: 0; transform: none; }
.ratings { display: flex; gap: 16px; flex-wrap: wrap; }
.ratings > div { background: #fff; border-radius: 12px; box-shadow: 0 8px 16px rgba(0, 0, 0, .06); padding: 12px 18px; display: flex; align-items: center; gap: 12px; }
.ratings .r-ic { width: 38px; height: 38px; border-radius: 6px; background: #f3f8ff; display: grid; place-items: center; }
.ratings .r-title { font-weight: 600; font-size: 15px; color: #000; }
.ratings .r-count { font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 11px; height: 11px; background: var(--red); border-radius: 2px; position: relative; }
.stars i::after { content: ""; position: absolute; inset: 2px; background: #fff; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.off { background: #d6d6de; }

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; margin: 0 -15px; padding: 10px 0 30px; }
.carousel__track { display: flex; transition: transform .5s cubic-bezier(.25, .8, .25, 1); }
.carousel__item { flex: 0 0 33.333%; padding: 0 15px; }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.carousel__dots { display: flex; gap: 8px; flex-wrap: wrap; }
.carousel__dots button { width: 20px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: #c2c2c2; cursor: pointer; }
.carousel__dots button.is-active { background: var(--red); }
.carousel__arrows { display: flex; gap: 12px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #cfcfd8; background: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s; color: #000; }
.round-btn:hover { border-color: var(--red); color: var(--red); }
.round-btn svg { width: 18px; height: 18px; }

.review-card { background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 30px; height: 100%; display: flex; flex-direction: column; transition: background-color .3s; }
.review-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.review-card__icon { width: 50px; height: 50px; border-radius: 50%; background: #ff7e6b; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: 0 0 50px; }
.review-card__name { font: 400 18px/1.3 var(--serif); color: #000; }
.review-card__job { font-size: 13px; color: var(--muted); }
.review-card__content { flex: 1; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.review-card__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ebebf0; margin-top: 22px; padding-top: 18px; }
.review-card__type { font-size: 14px; font-weight: 600; color: #000; }
.review-card__date { font-size: 12.5px; color: var(--muted); }
.review-card--navy { background: var(--navy); }
.review-card--navy .review-card__icon { background: #e7bf9f; }
.review-card--navy .review-card__content { color: rgba(255, 255, 255, .78); }
.review-card--navy .review-card__name, .review-card--navy .review-card__type { color: #fff; }
.review-card--navy .review-card__job { color: rgba(255, 255, 255, .55); }
.review-card--navy .review-card__bottom { border-top-color: rgba(255, 255, 255, .25); }
.review-card--navy .stars i.off { background: rgba(255, 255, 255, .25); }
.carousel__item:nth-child(3n+2) .review-card__icon { background: #d49265; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--bg-grey); padding: 20px 0 100px; }
.faq-section__wrapper { display: flex; justify-content: space-between; gap: 40px; }
.faq-section__header { flex: 0 0 30%; }
.faq-section__title { text-align: left; margin-bottom: 40px; }
.faq-section__title::after { left: 0; transform: none; }
.faq-section__description { font-size: 17px; line-height: 1.6; }
.faq-section__items { flex: 1; }
.accordion__item { background: #fff; border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion__btn { width: 100%; text-align: left; border: 0; background: none; cursor: pointer; padding: 22px 64px 22px 28px; font: 400 18px/1.5 var(--serif); color: #000; position: relative; }
.accordion__btn::after { content: ""; position: absolute; right: 26px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg-grey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M5 0v10M0 5h10' stroke='%23f24d50' stroke-width='2'/%3E%3C/svg%3E") no-repeat center; transition: transform .25s; }
.accordion__item.is-open .accordion__btn::after { transform: rotate(45deg); }
.accordion__btn:hover { color: var(--red); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; }
.accordion__content { padding: 0 28px 24px; font-size: 16px; line-height: 1.65; color: var(--text); }
.accordion__content a { color: var(--red); text-decoration: underline; }
.accordion__content p:last-child { margin-bottom: 0; }

.routine-tasks { margin-top: 90px; background: var(--navy); border-radius: 30px; padding: 56px 60px; display: grid; grid-template-columns: 1fr auto; gap: 10px 40px; align-items: center; color: var(--navy-text); position: relative; overflow: hidden; }
.routine-tasks::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(242, 77, 80, .16); }
.routine-tasks::after { content: ""; position: absolute; right: 120px; bottom: -110px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.routine-tasks__title { font: 400 32px/1.3 var(--serif); color: #fff; }
.routine-tasks p { margin: 0; font-size: 17px; grid-column: 1; max-width: 620px; }
.routine-tasks .button { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 1; }

/* =========================================================
   TEXT SECTION
   ========================================================= */
.text-section { padding: 100px 0; }
.text-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.text-section h3 { font: 400 26px/1.4 var(--serif); margin-bottom: 22px; }
.text-section p { font-size: 16px; line-height: 1.7; color: var(--text); }
.text-section strong { color: #000; }
.text-section__img { margin-top: 30px; border-radius: 20px; background: var(--bg-grey); padding: 30px; display: flex; gap: 16px; align-items: flex-end; justify-content: center; min-height: 220px; }
.stack-doc { width: 120px; height: 160px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); padding: 14px; }
.stack-doc span { display: block; height: 6px; border-radius: 3px; background: #e7e8ef; margin-bottom: 8px; }
.stack-doc span.r { background: var(--red-soft); width: 60%; }
.stack-doc:nth-child(2) { height: 190px; transform: translateY(-10px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #fff; border-top: 1px solid #ececf1; padding: 70px 0 30px; font-size: 15px; }
.footer__main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; }
.footer__left p { margin-top: 20px; color: var(--muted); line-height: 1.65; max-width: 380px; }
.footer__title { font: 400 18px var(--serif); color: #000; margin-bottom: 18px; }
.footer__menu ul { list-style: none; }
.footer__menu li { margin-bottom: 10px; }
.footer__menu a { color: var(--text); }
.footer__menu a:hover { color: var(--red); }
.footer__left .tagline { margin-top: 14px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.footer__contact a { word-break: break-all; }
.footer__contact a { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; color: #000; }
.footer__contact a:hover { color: var(--red); }
.footer__contact svg { width: 18px; height: 18px; color: var(--red); flex: 0 0 18px; }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.footer__pay span { border: 1px solid #e3e3ea; border-radius: 5px; padding: 4px 8px; font-size: 11.5px; font-weight: 700; color: #6b6f80; }
.footer__bottom { border-top: 1px solid #ececf1; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer__terms { display: flex; gap: 8px; align-items: center; }
.footer__terms button { background: none; border: 0; color: var(--text); cursor: pointer; padding: 0; text-decoration: underline; font-size: 14px; }
.footer__terms button:hover { color: var(--red); }

/* =========================================================
   MODAL / COOKIE / CHAT / TOAST
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 22, 50, .55); opacity: 0; visibility: hidden; transition: .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog { background: #fff; border-radius: 16px; width: 100%; max-width: 760px; max-height: calc(100vh - 40px); overflow: auto; position: relative; padding: 44px 44px 36px; transform: translateY(16px) scale(.98); transition: .25s; }
.modal.is-open .modal__dialog { transform: none; }
.modal__dialog--sm { max-width: 480px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-grey); cursor: pointer; font-size: 22px; line-height: 1; color: #000; }
.modal__close:hover { background: #ececf1; }
.modal__title { font: 400 28px/1.3 var(--serif); margin-bottom: 20px; padding-right: 30px; }
.modal__body h4 { font: 700 16px var(--sans); margin: 22px 0 8px; }
.modal__body p, .modal__body li { font-size: 15px; line-height: 1.7; }
.modal__body ul { padding-left: 20px; margin-bottom: 1em; }

.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; background: #2a2463; color: #fff; font-size: 13.5px; padding: 12px 20px; display: flex; align-items: center; justify-content: center; gap: 18px; transform: translateY(100%); transition: transform .35s; }
.cookie.is-visible { transform: none; }
.cookie button.link { color: #fff; }
.cookie .button { height: 34px; width: auto; font-size: 13px; padding: 4px 16px; background: #fff; color: #000; border-color: #fff; }

.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 240; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(59, 181, 74, .45); transition: transform .2s, bottom .35s; }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 26px; height: 26px; }
.cookie-on .chat-fab { bottom: 76px; }
.menu-open .chat-fab, .menu-open .chat-box { display: none; }
.chat-box { position: fixed; right: 24px; bottom: 96px; z-index: 241; width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 140px); background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(14px); transition: .25s; }
.cookie-on .chat-box { bottom: 148px; }
.chat-box.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-box__head { background: var(--navy); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-box__head b { display: block; font-size: 15px; }
.chat-box__head small { color: var(--navy-text); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat-box__head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.chat-box__head .modal__close { position: static; margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; font-size: 18px; }
.chat-box__msgs { flex: 1; overflow-y: auto; padding: 16px; background: #f6f7fb; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.msg--bot { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); align-self: flex-start; }
.msg--me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg time { display: block; font-size: 11px; opacity: .55; margin-top: 4px; }
.chat-box__quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; background: #f6f7fb; }
.chat-box__quick button { border: 1px solid #d5d7e6; background: #fff; border-radius: 20px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; color: var(--navy); }
.chat-box__quick button:hover { border-color: var(--navy); }
.chat-box__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #ececf1; background: #fff; }
.chat-box__form .input { height: 42px; }
.chat-box__form .button { width: 46px; height: 42px; padding: 0; flex: 0 0 46px; }

.toast-wrap { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: #1f2140; color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); opacity: 0; transform: translateX(20px); transition: .3s; max-width: 340px; border-left: 4px solid var(--green); }
.toast.is-error { border-left-color: var(--red); }
.toast.is-visible { opacity: 1; transform: none; }

/* =========================================================
   INNER PAGES — shared
   ========================================================= */
.page-hero { background: var(--bg-grey); padding: 70px 0 60px; text-align: center; }
.page-hero h1 { font: 400 46px/1.25 var(--serif); margin-bottom: 18px; }
.page-hero p { font-size: 18px; max-width: 720px; margin: 0 auto; color: var(--text); }
.page-hero .button { margin-top: 30px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--red); }
.section { padding: 90px 0; }
.section--grey { background: var(--bg-grey); }
.section--navy { background: var(--navy); color: var(--navy-text); }
.lead { font-size: 18px; line-height: 1.65; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.card h3 { font: 400 21px/1.4 var(--serif); margin-bottom: 12px; }
.card p { font-size: 15.5px; line-height: 1.65; margin: 0; }
.card__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.card__ic svg { width: 26px; height: 26px; }
.stat { text-align: center; }
.stat b { display: block; font: 400 46px/1.1 var(--serif); color: #000; margin-bottom: 8px; }
.stat b span { color: var(--red); }
.stat small { font-size: 15px; color: var(--muted); }
.section--navy .stat b { color: #fff; }
.section--navy .stat small { color: var(--navy-text); }
.cta-band { text-align: center; }
.cta-band h2 { font: 400 36px/1.3 var(--serif); margin-bottom: 14px; }
.cta-band p { font-size: 18px; margin-bottom: 30px; }
.cta-band .button { margin: 0 auto; }
.prose { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.prose h2 { font: 400 30px/1.35 var(--serif); margin: 1.6em 0 .6em; }
.prose h3 { font: 400 22px/1.4 var(--serif); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--bg-grey); border-radius: 0 10px 10px 0; font-style: italic; }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- Pricing ---------- */
.page-prices__header { background: var(--bg-grey); padding: 60px 0 70px; text-align: center; }
.page-prices__header h1 { font: 400 46px/1.25 var(--serif); margin-bottom: 16px; }
.page-prices__header > .container > p { font-size: 16px; color: var(--text); }
.list-toggle { display: inline-flex; background: #fff; border-radius: 6px; padding: 4px; margin: 34px 0 40px; box-shadow: var(--shadow-sm); }
.list-toggle button { border: 0; background: none; padding: 10px 32px; border-radius: 4px; cursor: pointer; font-size: 15px; color: #000; }
.list-toggle button.is-active { background: #000; color: #fff; font-weight: 600; }
.products { position: relative; }
.products__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 4px 24px; margin: 0 -4px; scroll-behavior: smooth; }
.products__viewport::-webkit-scrollbar { display: none; }
.products__items { display: flex; gap: 18px; list-style: none; }
.products__item { flex: 0 0 calc((100% - 5 * 18px) / 6); min-width: 168px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 26px 14px 22px; text-align: center; position: relative; scroll-snap-align: start; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.products__item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .09); }
.products__item .popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 4px; white-space: nowrap; }
.products__item .time { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.products__item .price { font: 700 23px var(--sans); color: #000; }
.products__item .price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.products__item .description { font-size: 14.5px; color: var(--text); margin: 4px 0 18px; }
.products__item .line2 { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; padding: 3px 0; text-align: left; }
.products__item .line2 strong { color: #000; }
.products__item .btn { margin-top: auto; padding-top: 20px; color: var(--red); font-weight: 700; font-size: 15px; }
.products__item .btn:hover { color: var(--red-dark); text-decoration: underline; }
.products__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.products__arrow--prev { left: -64px; }
.products__arrow--next { right: -64px; }
.price-depend { margin-top: 60px; text-align: left; }
.price-depend__title { font: 400 28px/1.3 var(--serif); color: #000; text-align: center; margin-bottom: 36px; }
.price-depend__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; }
.price-depend__list li { font-size: 15px; line-height: 1.6; }
.price-depend__list .icon { width: 50px; height: 50px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.price-depend__list .icon svg { width: 22px; height: 22px; }
.price-depend__list .title { font: 400 20px var(--serif); color: #000; margin-bottom: 8px; }
.page-prices__questions { margin-top: 50px; background: #fff; border-radius: 10px; padding: 20px; font-size: 16px; box-shadow: var(--shadow-sm); }
.page-prices__questions a { color: var(--red); text-decoration: underline; }
.extras__header { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; margin-bottom: 50px; }
.extras__header .section-title { margin: 0; text-align: left; }
.extras__header .section-title::after { left: 0; transform: none; }
.extras__header p { max-width: 520px; font-size: 17px; line-height: 1.6; margin: 0; }
.extras__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.extras__list li { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 28px 24px; display: flex; flex-direction: column; }
.extras__list .title { font: 400 19px/1.4 var(--serif); color: #000; margin-bottom: 10px; }
.extras__list p { font-size: 14.5px; line-height: 1.6; flex: 1; }
.extras__list .price { font-weight: 700; color: var(--red); font-size: 15px; }
.extras__list .img { height: 90px; border-radius: 12px; background: var(--bg-grey); margin-bottom: 20px; display: grid; place-items: center; color: var(--navy); }
.extras__list .img svg { width: 40px; height: 40px; }
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.calc__form { padding: 40px; }
.calc__result { background: var(--navy); color: var(--navy-text); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.calc__result .total { font: 400 46px/1.1 var(--serif); color: #fff; margin: 10px 0 6px; }
.calc__result .per { font-size: 14px; margin-bottom: 26px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Order ---------- */
.order-page { background: var(--bg-grey); padding: 40px 0 90px; min-height: calc(100vh - var(--header-h)); }
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.order-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 34px 40px; margin-bottom: 24px; }
.order-card__title { font: 400 22px/1.3 var(--serif); color: #000; margin-bottom: 22px; }
.order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.extras-checks { display: grid; gap: 12px; margin-top: 6px; }
.extras-checks b { font-weight: 700; }
.extras-checks .muted { color: var(--muted); }
.dropzone { border: 2px dashed #cfd2e0; border-radius: 10px; padding: 26px; text-align: center; cursor: pointer; transition: .2s; background: #fbfbfd; color: var(--text); font-size: 15px; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--navy); background: #f2f3fb; }
.dropzone svg { width: 34px; height: 34px; color: var(--navy); margin: 0 auto 10px; }
.dropzone b { color: var(--red); }
.dropzone small { display: block; color: var(--muted); margin-top: 6px; font-size: 12.5px; }
.files { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 12px; background: var(--bg-grey); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.files .ext { width: 38px; height: 38px; border-radius: 6px; background: var(--navy); color: #fff; font: 800 10px var(--sans); display: grid; place-items: center; text-transform: uppercase; flex: 0 0 38px; }
.files .meta { flex: 1; min-width: 0; }
.files .meta b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #000; }
.files .meta small { color: var(--muted); }
.files button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--muted); font-size: 18px; }
.files button:hover { background: #fff; color: var(--red); }
.phone-group { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary .order-card { padding: 30px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; margin-bottom: 12px; }
.summary__row span:first-child { color: var(--text); }
.summary__row span:last-child { color: #000; text-align: right; font-weight: 600; }
.summary__row .green { color: var(--green) !important; }
.summary__sub { font-size: 15px; color: #000; margin-bottom: 16px; }
.summary__divider { height: 1px; background: #ececf1; margin: 18px 0; }
.summary__total { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.summary__total b { font: 700 26px var(--sans); color: #000; }
.summary__total s { color: var(--muted); font-size: 15px; display: block; text-align: right; }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.promo { display: flex; gap: 8px; margin-top: 10px; }
.promo .input { height: 42px; text-transform: uppercase; }
.promo .button { height: 42px; width: auto; font-size: 14px; padding: 0 16px; }
.after-pay { text-align: center; }
.after-pay__content { text-align: left; font-size: 14.5px; line-height: 1.65; margin-top: 12px; display: none; background: #fff; border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); }
.after-pay.is-open .after-pay__content { display: block; }
.pay-methods { display: grid; gap: 12px; margin: 20px 0; }
.pay-method { display: flex; align-items: center; gap: 14px; border: 1.5px solid #e0e1ea; border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.pay-method:hover { border-color: #b9bbd0; }
.pay-method input { accent-color: var(--red); width: 18px; height: 18px; }
.pay-method.is-active { border-color: var(--red); background: #fff8f8; }
.pay-method .pm-ic { width: 42px; height: 30px; border-radius: 5px; display: grid; place-items: center; font: 800 10px var(--sans); color: #fff; }
.pay-method b { display: block; color: #000; font-size: 15px; }
.pay-method small { color: var(--muted); font-size: 13px; }
.qr-box { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; background: var(--bg-grey); border-radius: 12px; padding: 18px; margin-bottom: 16px; font-size: 14px; }
.qr-box canvas, .qr-box svg { width: 150px; height: 150px; background: #fff; border-radius: 8px; padding: 8px; }
.qr-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.qr-box dt { color: var(--muted); }
.qr-box dd { margin: 0; font-weight: 600; color: #000; overflow-wrap: anywhere; }
.success-check { width: 76px; height: 76px; border-radius: 50%; background: #e3f6e6; color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.success-check svg { width: 38px; height: 38px; }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.account__side { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.account__user { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #ececf1; margin-bottom: 12px; }
.account__user .login__avatar { width: 44px; height: 44px; font-size: 15px; }
.account__user b { display: block; color: #000; font-size: 15px; word-break: break-all; }
.account__user small { color: var(--muted); font-size: 12.5px; }
.account__tabs { display: grid; gap: 4px; }
.account__tabs button { text-align: left; border: 0; background: none; padding: 11px 14px; border-radius: 8px; cursor: pointer; font-size: 15px; color: #000; display: flex; justify-content: space-between; }
.account__tabs button:hover { background: var(--bg-grey); }
.account__tabs button.is-active { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.account__tabs .count { background: var(--red); color: #fff; font-size: 12px; border-radius: 10px; padding: 0 8px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.orders-table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid #ececf1; }
.orders-table td { padding: 16px 12px; border-bottom: 1px solid #f1f1f5; vertical-align: middle; }
.orders-table tr:hover td { background: #fafafd; }
.orders-table .oid { font-weight: 700; color: var(--navy); cursor: pointer; }
.orders-table .oid:hover { text-decoration: underline; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; margin: 0 auto 14px; color: #c9cad6; }
.timeline { list-style: none; position: relative; margin: 10px 0 20px; }
.timeline li { position: relative; padding: 0 0 18px 30px; font-size: 14.5px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d0d2de; background: #fff; }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.current::before { border-color: var(--red); background: var(--red-soft); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 20px; bottom: 0; width: 2px; background: #e7e8ef; }
.timeline small { display: block; color: var(--muted); font-size: 12.5px; }
.thread { background: var(--bg-grey); border-radius: 12px; padding: 16px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; font-size: 14.5px; margin-bottom: 20px; }
.detail-grid div span { color: var(--muted); display: block; font-size: 12.5px; }
.detail-grid div b { color: #000; font-weight: 600; }

/* ---------- Reviews page ---------- */
.reviews-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pills button { border: 1px solid #d9dae4; background: #fff; border-radius: 30px; padding: 8px 18px; cursor: pointer; font-size: 14.5px; color: #000; transition: .15s; }
.filter-pills button:hover { border-color: #000; }
.filter-pills button.is-active { background: #000; color: #fff; border-color: #000; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 34px 40px; max-width: 760px; margin: 40px auto 0; text-align: left; }
.rating-summary__big { text-align: center; }
.rating-summary__big b { font: 400 60px/1 var(--serif); color: #000; }
.rating-summary__big small { display: block; color: var(--muted); margin-top: 8px; font-size: 13.5px; }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 50px 1fr 40px; gap: 12px; align-items: center; font-size: 13.5px; }
.bars .bar { height: 8px; background: #efeff3; border-radius: 4px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--red); border-radius: 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; width: 32px; height: 32px; background: #d6d6de; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { background: var(--red); }
.star-input input:focus-visible + label { outline: 2px solid var(--navy); }

/* ---------- Samples ---------- */
.samples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.sample { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.sample h3 { font: 400 21px/1.4 var(--serif); margin-bottom: 6px; }
.sample p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.sample .compare { aspect-ratio: 4 / 4.4; border: 1px solid #ececf1; }
.sample__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.audio-sample { background: var(--bg-grey); border-radius: 12px; padding: 18px; }
.audio-player { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.audio-player button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; flex: 0 0 46px; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; background: #c9cbe0; border-radius: 2px; transition: background .2s; }
.wave i.on { background: var(--navy); }
.transcript { font-size: 14px; line-height: 1.7; background: #fff; border-radius: 10px; padding: 16px; max-height: 260px; overflow: auto; }
.transcript p { margin: 0 0 10px; }
.transcript .ts { color: var(--red); font-weight: 700; font-size: 12.5px; margin-right: 6px; }
.transcript .sp { font-weight: 700; color: #000; }
.transcript p.is-current { background: #fff6e0; border-radius: 4px; }

/* ---------- Blog ---------- */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.search { position: relative; width: 320px; max-width: 100%; }
.search .input { padding-left: 42px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
.post-card__cover { height: 180px; display: grid; place-items: center; color: #fff; font: 400 54px var(--serif); position: relative; }
.post-card__cover .chip { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .92); color: #000; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font: 400 20px/1.4 var(--serif); margin-bottom: 10px; }
.post-card__body p { font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.post-card__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); border-top: 1px solid #f0f0f4; padding-top: 14px; }
.post-hero { padding: 60px 0 40px; background: var(--bg-grey); }
.post-hero h1 { font: 400 42px/1.3 var(--serif); max-width: 860px; margin: 0 auto 18px; text-align: center; }
.post-hero .meta { text-align: center; color: var(--muted); font-size: 14.5px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination button { width: 42px; height: 42px; border-radius: 8px; border: 1px solid #dcdde6; background: #fff; cursor: pointer; }
.pagination button.is-active { background: #000; color: #fff; border-color: #000; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 22px; }
.contact-item .card__ic { margin: 0; flex: 0 0 54px; }
.contact-item b { display: block; color: #000; font-size: 16px; margin-bottom: 2px; }
.contact-item a:hover { color: var(--red); }
.contact-item small { color: var(--muted); font-size: 13.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1260px) {
  .products__arrow--prev { left: -10px; }
  .products__arrow--next { right: -10px; }
  .ba-slider { margin-left: 60px; margin-right: 60px; }
  .ba-slider__nav--prev { left: -58px; }
  .ba-slider__nav--next { right: -58px; }
}
@media (max-width: 1099px) {
  .first-section__title { font-size: 44px; }
  .services-section__list { grid-template-columns: repeat(2, 1fr); }
  .extras__list { grid-template-columns: repeat(2, 1fr); }
  .carousel__item { flex-basis: 50%; }
  .order-layout { grid-template-columns: 1fr 330px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .blog-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .first-section__wrapper { padding-top: 40px; }
  .first-section__left { flex-basis: 100%; padding: 0; text-align: center; }
  .first-section__description { margin: 0 auto; }
  .first-section__description .button { margin: 30px auto 0; }
  .first-section__visual { flex-basis: 100%; min-height: 470px; margin-top: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .why-section__title { text-align: left; }
  .why-section__title .line { display: none; }
  .features { justify-content: center; gap: 40px; margin-top: 30px; }
  .why-section__header, .why-section__row { flex-direction: column; gap: 18px; }
  .why-section__subtitle { flex: none; }
  .geo__list { grid-template-columns: repeat(2, 1fr); }
  .unique-section__wrapper { flex-direction: column; }
  .unique-section__left { padding: 70px 0 30px; }
  .unique-section__portfolio { margin: 0 -20px; padding: 60px 20px; }
  .unique-section__portfolio::after { display: none; }
  .ba-slider { margin: 0 auto; max-width: 380px; }
  .ba-slider__nav--prev { left: -54px; }
  .ba-slider__nav--next { right: -54px; }
  .unique-section__description { margin: 30px auto 0; text-align: center; }
  .services-section__description, .industries-section__description { flex-direction: column; text-align: center; }
  .svc-lists__row { flex-direction: column; gap: 10px; }
  .svc-lists__row ul { grid-template-columns: repeat(2, 1fr); }
  .howit-section .container { flex-direction: column; }
  .howit-section__img { width: 100%; max-width: 520px; min-height: 380px; }
  .industries-section .container { flex-direction: column; gap: 0; }
  .industries-section__title { flex: none; }
  .customers-section__header { flex-direction: column; align-items: flex-start; }
  .faq-section__wrapper { flex-direction: column; gap: 0; }
  .routine-tasks { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .routine-tasks .button { grid-column: 1; grid-row: auto; margin: 16px auto 0; }
  .routine-tasks p { margin: 0 auto; }
  .text-section .container, .grid-2, .contact-grid, .samples-grid { grid-template-columns: 1fr; }
  .grid-3, .price-depend__list { grid-template-columns: 1fr; }
  .order-layout, .account { grid-template-columns: 1fr; }
  .summary, .account__side { position: static; }
  .calc { grid-template-columns: 1fr; }
  .extras__header { flex-direction: column; }
}
@media (max-width: 640px) {
  .section-title { font-size: 28px; margin-bottom: 44px; }
  .first-section__title { font-size: 34px; }
  .first-section__description { font-size: 17px; }
  .first-section__visual { min-height: 440px; margin-top: 30px; }
  .mock--back { left: 0; right: 18px; height: 300px; }
  .mock--front { left: 28px; right: 0; top: 196px; height: 236px; }
  .mock__hand { font-size: 15px; }
  .mock__hand .row span:first-child { flex-basis: 76px; }
  .badge-file--pdf { left: -8px; top: 244px; }
  .badge-file--doc { left: 4px; top: 384px; }
  .avatar-bubble--2 { right: -8px; }
  .avatar-bubble--3 { right: 8px; bottom: 0; }
  .features { gap: 24px; flex-wrap: wrap; }
  .features strong { font-size: 32px; }
  .why-section, .services-section, .howit-section, .industries-section, .customers-section, .text-section, .section { padding: 60px 0; }
  .why-section__list li { flex-basis: 74%; }
  .geo__list { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .services-section__list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .services-section__list li { padding: 24px 12px; font-size: 15px; border-radius: 20px; }
  .svc-icon { transform: scale(.8); margin-bottom: 14px; }
  .carousel__item { flex-basis: 100%; }
  .order-card { padding: 24px 20px; }
  .order-row, .calc__row, .detail-grid { grid-template-columns: 1fr; }
  .phone-group { grid-template-columns: 120px 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .page-hero h1, .page-prices__header h1, .post-hero h1 { font-size: 32px; }
  .modal__dialog { padding: 36px 22px 26px; }
  .blog-grid, .reviews-grid, .extras__list, .grid-4 { grid-template-columns: 1fr; }
  .list-toggle button { padding: 10px 18px; }
  .products__arrow { display: none; }
  .products__item { flex-basis: 70%; }
  .rating-summary { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .qr-box { grid-template-columns: 1fr; justify-items: center; }
  .cookie { flex-direction: column; gap: 8px; text-align: center; padding: 12px 16px; }
  .orders-table thead { display: none; }
  .orders-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid #eee; }
  .orders-table td { border: 0; padding: 4px 6px; }
  .ba-slider__nav { display: none; }
  .chat-fab { right: 16px; bottom: 16px; }
  .carousel__controls { padding-right: 70px; }
  .text-section__img { padding: 20px 12px; gap: 10px; }
  .stack-doc { width: 30%; height: 130px; padding: 10px; }
  .stack-doc:nth-child(2) { height: 150px; }
  .laptop__base { margin: 0 -8px; }
}
/* Cho phép phần tử con của lưới co lại, tránh tràn ngang trên điện thoại */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .samples-grid > *, .contact-grid > *, .text-section .container > *, .order-layout > *, .account > * { min-width: 0; }

/* Dòng thương hiệu chủ quản */
.hero-eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 30px; background: var(--red-soft); color: var(--red-dark); font-size: 13.5px; font-weight: 600; }
.contact-item > div { min-width: 0; overflow-wrap: anywhere; }
