:root {
  --brand: #E60001;
  --brand-dark: #B80001;
  --brand-soft: #FFE5E5;
  --brand-glow: rgba(230, 0, 1, 0.18);
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e2dc;
  --bg: #f7f4ef;
  --bg-warm: #faf7f2;
  --white: #ffffff;
  --topbar: #E60001;
  --radius: 13px;
  --radius-lg: 20px;
  --shadow: 0 20px 55px rgba(17, 17, 17, 0.08);
  --font: "Google Sans", system-ui, sans-serif;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 110%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  background: var(--white);
}

body.page-home .hero {
  background: var(--bg);
}

body.page-home .section--alt {
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  background: var(--topbar);
  color: #fff;
  font-size: 0.8125rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  opacity: 0.92;
}

.topbar__item svg {
  flex-shrink: 0;
  color: #fff;
  stroke: currentColor;
}

.topbar__item:hover {
  opacity: 1;
}

.topbar__follow {
  opacity: 0.7;
}

.topbar__login {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  opacity: 0.95;
  letter-spacing: 0.01em;
}

.topbar__login:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 69px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  color: var(--brand);
  display: grid;
  place-items: center;
}

.logo__img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 42px;
  object-fit: contain;
}

.logo--footer .logo__img {
  height: 40px;
  max-width: 176px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
}

.nav__item {
  position: relative;
}

.nav__item--has-sub > .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link.is-active,
.nav__item.is-active > .nav__link {
  color: var(--ink);
}

.nav__link.is-active::after,
.nav__item.is-active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}

.nav__dropdown--sm {
  min-width: 0;
  width: max-content;
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.9rem;
  height: 0.9rem;
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--brand-soft);
  color: var(--brand);
}

.nav__dropdown a:hover .nav__dropdown-icon,
.drawer__sublink:hover .nav__dropdown-icon {
  background: #fff;
}

.nav__dropdown a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav__item--has-sub:hover > .nav__dropdown,
.nav__item--has-sub:focus-within > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__item--has-sub:hover > .nav__link .nav__caret,
.nav__item--has-sub:focus-within > .nav__link .nav__caret {
  transform: rotate(180deg);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.header__login {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
}

.header__login:hover {
  border-color: #f0c8c8;
  color: var(--brand);
}

.header__burger:hover {
  border-color: #f0c8c8;
  color: var(--brand);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--brand);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.drawer[hidden] {
  display: none;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--white);
  box-shadow: -12px 0 40px rgba(17, 17, 17, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.1rem 1.15rem 1.5rem;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.drawer__head .logo__img {
  height: 36px;
  max-width: 160px;
}

.drawer__head .logo__text {
  font-size: 1.15rem;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.drawer__close:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink-soft);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.drawer__link:hover,
.drawer__link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}

.drawer__link-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.drawer__group {
  display: grid;
}

.drawer__submenu {
  display: grid;
  gap: 0.1rem;
  padding: 0 0.35rem 0.45rem 0.85rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.drawer__group.is-open .drawer__submenu {
  max-height: 360px;
  opacity: 1;
}

.drawer__group.is-open .nav__caret {
  transform: rotate(180deg);
}

.drawer__sublink {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.drawer__sublink:hover {
  color: var(--brand);
  background: rgba(230, 0, 1, 0.06);
}

.drawer__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.drawer__btn {
  width: 100%;
}

body.is-drawer-open,
body.is-callback-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 24px var(--brand-glow);
}

.btn--primary:hover {
  background: var(--brand-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--menu {
  padding: 0.55rem 0.9rem;
  box-shadow: none;
}

.btn--menu:hover {
  box-shadow: none;
}

.btn--lg {
  padding: 1rem 1.45rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  animation: rise 0.7s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 14ch;
  animation: rise 0.75s ease 0.08s both;
}

.hero__price {
  color: var(--brand);
  font-weight: 700;
}

.hero__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 1.5rem 0 1.25rem;
  animation: rise 0.75s ease 0.14s both;
}

.hero__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38ch;
  animation: rise 0.75s ease 0.18s both;
}

.hero__text strong {
  color: var(--ink);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  animation: rise 0.8s ease 0.24s both;
}

.hero__cta .btn {
  box-shadow: none;
}

.hero__cta .btn:hover {
  box-shadow: none;
}

.hero__visual {
  position: relative;
  animation: float-in 0.9s ease 0.2s both;
}

.hero__art {
  width: 100%;
  max-width: 616px;
  margin-left: auto;
  display: block;
  height: auto;
  aspect-ratio: 560 / 480;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
}

.hero__glow {
  position: absolute;
  inset: 18% 12% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
  animation: pulse 3.5s ease-in-out infinite;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, #f3efe8 0%, var(--bg) 100%);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section__eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid,
.services-split-grid,
.projects-grid,
.pricing-grid,
.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid,
.services-split-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-split {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-split:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #f0c8c8;
}

.service-split:hover .service-split__btn {
  background: #ffd0d0;
}

.service-split__media {
  background: var(--white);
  aspect-ratio: 800 / 480;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  overflow: hidden;
}

.service-split__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.service-split__media:has(img) {
  padding: 0.85rem 1rem;
}

.service-split__art {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.service-split__content {
  background: var(--white);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-split__content h3 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.service-split__content p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.service-split__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-split__btn:hover {
  background: #ffd0d0;
  transform: translateY(-1px);
}

.service-split--flip .service-split__content {
  order: -1;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #f0c8c8;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section--themes {
  padding-top: 2.5rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.theme-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.theme-tile:hover {
  border-color: #f0c8c8;
}

.theme-tile__preview {
  display: block;
  background: #f4f2ef;
  aspect-ratio: 800 / 560;
  overflow: hidden;
}

.theme-tile__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-tile__body {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
}

.theme-tile__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.theme-tile__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.theme-tile__order:hover {
  background: var(--brand-dark);
}

.theme-tile__demo {
  justify-self: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.theme-tile__demo:hover {
  color: var(--brand);
}

.section--references {
  padding-top: 2.5rem;
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.theme-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f4f2ef;
  aspect-ratio: 800 / 560;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.theme-card:hover .theme-card__media {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  border-color: #f0c8c8;
}

.theme-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.theme-card:hover .theme-card__media img {
  transform: scale(1.03);
}

.theme-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.theme-card:hover .theme-card__overlay {
  opacity: 1;
}

.theme-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  transform: translateY(8px);
  transition: transform 0.25s ease, background 0.2s ease;
}

.theme-card:hover .theme-card__btn {
  transform: translateY(0);
}

.theme-card__btn:hover {
  background: var(--brand-dark);
}

.theme-card__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-inline: 0.15rem;
}

.theme-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.theme-card__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.72rem 0.7rem;
  font-size: 0.86rem;
}

.theme-demo {
  display: grid;
  gap: 1.25rem;
}

.theme-demo__frame {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #f4f2ef;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

.theme-demo__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.theme-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.theme-card--select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}

.theme-card--select.is-selected .theme-card__media {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

.checkout-steps {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  flex-wrap: wrap;
}

.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .checkout-steps li {
  color: var(--muted);
}

.checkout-steps li span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  background: var(--white);
  color: var(--ink);
}

.checkout-steps li.is-active {
  color: var(--ink);
}

.checkout-steps li.is-active span,
.checkout-steps li.is-done span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.checkout-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
}

.checkout-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.checkout-summary dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.85rem;
}

.checkout-summary dt {
  font-size: 0.8rem;
  color: var(--muted);
}

.checkout-summary dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.checkout-summary dd small {
  font-weight: 600;
  color: var(--muted);
}

.checkout-summary__total {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.checkout-summary__total dd {
  font-size: 1.15rem;
}

.paytr-totals {
  margin: 0 0 1.15rem;
}

.hero-vat {
  color: var(--muted);
  font-weight: 600;
}

.page-auth .footer {
  margin-top: 0;
}

.auth-page {
  padding: 3rem 0 4rem;
}

.auth-page__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
  gap: 1.5rem;
  align-items: stretch;
}

.auth-aside {
  background: var(--brand);
  color: #fff;
  border-radius: 28px;
  padding: 2.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 24px 50px var(--brand-glow);
  min-height: 100%;
}

.auth-aside__kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.auth-aside h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.auth-aside > p {
  margin: 0 0 1.6rem;
  opacity: 0.92;
  max-width: 32ch;
}

.auth-aside__list {
  display: grid;
  gap: 0.75rem;
}

.auth-aside__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.auth-aside__list span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.6rem 1.6rem 1.75rem;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: #f4f1ec;
}

.auth-tabs__link {
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 11px;
  font-weight: 700;
  color: var(--muted);
}

.auth-tabs__link.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06);
}

.auth-note {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.auth-field {
  position: relative;
  display: block;
}

.auth-field svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9a9a;
  pointer-events: none;
}

.auth-field input {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.9rem 2.7rem;
  background: #fafafa;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input::placeholder {
  color: #a8a8a8;
}

.auth-field input:focus {
  outline: none;
  border-color: #f0a0a0;
  background: var(--white);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.auth-form__submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
}

.auth-form__switch {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-form__switch a {
  color: var(--brand);
  font-weight: 700;
}

.auth-form__switch a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-order-done .footer {
  margin-top: 0;
}

.order-done {
  padding: 3rem 0 4.25rem;
}

.order-done__wrap {
  max-width: 760px;
}

.order-done__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.4rem 2.1rem 2.1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.order-done__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e8f7ee;
  color: #146c36;
  box-shadow: 0 12px 28px rgba(20, 108, 54, 0.12);
}

.order-done__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #146c36;
}

.order-done__card h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.order-done__lead {
  margin: 0 auto 1.5rem;
  max-width: 42ch;
  color: var(--muted);
}

.order-done__no {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.order-done__no span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-done__no strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.order-done__summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.15rem;
  align-items: center;
  text-align: left;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-warm);
  margin-bottom: 1.35rem;
}

.order-done__theme {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.order-done__theme img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 800 / 560;
}

.order-done__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.order-done__facts dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.order-done__facts dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.order-done__fallback {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.order-done__next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.order-done__next li {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.9rem 0.6rem;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.order-done__next span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
}

.paytr-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 720px;
}

.page-account .footer {
  margin-top: 0;
}

.account-hero {
  padding: 2.6rem 0 2.1rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.account-hero__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.account-hero__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.account-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.account-hero p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.account-section {
  padding-top: 1.75rem;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.account-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  color: inherit;
  text-decoration: none;
}

a.account-stat:hover {
  border-color: #f0c8c8;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.account-stat strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.account-stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.account-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem 1.35rem 1.45rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.04);
}

.account-block__head h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.account-empty {
  margin: 0;
  color: var(--muted);
}

.account-orders,
.account-tickets {
  display: grid;
  gap: 0.85rem;
}

.account-order {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-warm);
}

.account-order img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.account-order__top,
.account-ticket__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.account-order p,
.account-ticket p {
  margin: 0.2rem 0 0;
}

.account-order__meta,
.account-ticket__meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #eee;
  color: #444;
  white-space: nowrap;
}

.account-pill--yeni,
.account-pill--ticket-acik {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.account-pill--incelemede,
.account-pill--ticket-inceleniyor {
  background: #fff4d6;
  color: #8a5a00;
}

.account-pill--onaylandi,
.account-pill--ticket-yanitlandi {
  background: #e8f7ee;
  color: #146c36;
}

.account-pill--tamamlandi {
  background: #e8f0fb;
  color: #1d4f91;
}

.account-pill--iptal,
.account-pill--ticket-kapali {
  background: #f1f1f1;
  color: #666;
}

.account-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.account-support .account-block {
  margin-bottom: 0;
}

.account-form {
  display: grid;
  gap: 0.9rem;
}

.account-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.account-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fafafa;
}

.account-form textarea {
  min-height: 140px;
  resize: vertical;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
  outline: none;
  border-color: #f0a0a0;
  background: #fff;
}

.account-ticket {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-warm);
  text-align: left;
}

.account-ticket h3 {
  margin: 0.15rem 0 0;
  font-size: 1rem;
}

.account-ticket__reply {
  margin-top: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: #e8f7ee;
}

.account-ticket__reply strong {
  display: block;
  color: #146c36;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.account-service {
  align-items: flex-start;
}

.account-service__end {
  margin-top: 0.45rem;
}

.account-service__note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.account-extend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-top: 0.85rem;
}

.account-extend label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.account-extend select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  min-width: 140px;
}

@media (max-width: 980px) {
  .themes-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.reference-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.reference-card:hover {
  border-color: #f0c8c8;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
  transform: translateY(-2px);
}

.reference-card:hover .reference-card__arrow {
  background: var(--brand-dark);
}

.reference-card:hover .reference-card__logo {
  filter: none;
}

.reference-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.reference-card__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.reference-card__logo {
  display: block;
  max-width: min(100%, 200px);
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  transition: filter 0.25s ease;
}

.reference-card__sector {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  max-width: 9.5rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reference-card__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--brand);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.reference-card__arrow:hover {
  background: var(--brand-dark);
}

.ref-cta {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.75rem 2.5rem;
  border-radius: 28px;
  background: var(--brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ref-cta__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.ref-cta__content h2 {
  margin: 0;
  font-size: 45px;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 700;
}

.ref-cta__line {
  display: block;
  white-space: nowrap;
}

.ref-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}

.ref-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.35rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ref-cta__btn:hover {
  transform: translateY(-2px);
}

.ref-cta__btn--call {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ref-cta__btn--call:hover {
  background: #fff5f5;
}

.ref-cta__btn--wa {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.ref-cta__btn--wa:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 980px) {
  .ref-cta {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .ref-cta__line {
    white-space: normal;
  }

  .ref-cta__actions {
    width: 100%;
    min-width: 0;
  }

  .ref-cta__btn {
    width: 100%;
  }
}

.projects-grid {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 280px;
  background: #1a1a1a;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--brand-glow), transparent 40%),
    linear-gradient(160deg, #2a2a2a, #111 70%);
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card__cat {
  display: inline-flex;
  width: fit-content;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.project-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36ch;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.stat span {
  color: var(--muted);
  font-weight: 500;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff8e8;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.reviews-summary__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #f5b400;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.45rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.07);
}

.testimonial__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial__stars .is-on {
  color: #f5b400;
}

.testimonial__stars .is-off {
  color: #e5e5e5;
}

.testimonial__quote {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__author span {
  color: var(--muted);
  font-size: 0.85rem;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.reviews-cta .btn {
  box-shadow: none;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.35rem;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.price-card--featured {
  background: var(--brand-soft);
  border-color: transparent;
  padding: 0;
}

.price-card__badge {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.7rem 1rem;
}

.price-card__body {
  padding: 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-card__top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.price-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.price-card--featured .price-card__icon {
  background: rgba(230, 0, 1, 0.12);
}

.price-card__top h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.price-card__price strong {
  font-size: clamp(2.4rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card__billing {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-card__vat {
  margin: -0.05rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.price-card__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #ececec;
  color: #8a8a8a;
}

.price-card--featured .price-card__check {
  background: var(--brand);
  color: var(--white);
}

.price-card:last-child .price-card__check {
  background: var(--ink);
  color: var(--white);
}

.price-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.price-card__btn:hover {
  transform: translateY(-1px);
}

.price-card__btn--muted {
  background: #ececec;
  color: var(--ink);
}

.price-card__btn--muted:hover {
  background: #e2e2e2;
}

.price-card__btn--brand {
  background: var(--brand);
  color: var(--white);
  box-shadow: none;
}

.price-card__btn--brand:hover {
  background: var(--brand-dark);
}

.price-card__btn--dark {
  background: var(--ink);
  color: var(--white);
}

.price-card__btn--dark:hover {
  background: #000;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 48ch;
}

.page-hero--service {
  padding-bottom: 3rem;
}

.page-hero--service__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero--service h1 {
  max-width: 16ch;
}

.page-hero--service p {
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.page-hero--service__visual {
  display: grid;
  place-items: center;
}

.page-hero--service__visual img {
  width: min(100%, 480px);
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 28px;
}

.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.svc-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.svc-overview {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.75rem;
  align-items: start;
}

.svc-overview__text h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.svc-overview__text p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.svc-overview__text p:last-child {
  margin-bottom: 0;
}

.svc-overview__text strong {
  color: var(--ink);
  font-weight: 700;
}

.svc-overview__aside {
  display: grid;
  gap: 1rem;
}

.svc-visual {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, #fff 0%, #fff8f8 45%, #ffe8e8 100%);
  padding: 1.5rem;
  display: grid;
  align-content: end;
}

.svc-visual__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 0, 1, 0.22) 0%, transparent 70%);
  top: -40px;
  right: -30px;
  pointer-events: none;
}

.svc-visual__grid {
  position: absolute;
  inset: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  opacity: 0.55;
}

.svc-visual__grid span {
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.svc-visual__grid span:nth-child(1) {
  background: rgba(230, 0, 1, 0.08);
}

.svc-visual__grid span:nth-child(4) {
  background: rgba(230, 0, 1, 0.14);
}

.svc-visual__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
  max-width: 260px;
}

.svc-visual__card strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.svc-visual__card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.svc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.svc-stats__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 0.85rem;
  text-align: center;
}

.svc-stats__item strong {
  display: block;
  color: var(--brand);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.svc-stats__item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}

.section--svc-features {
  background: #faf8f6;
}

.svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.svc-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.45rem 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

.svc-feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1rem;
}

.svc-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.svc-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.svc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  counter-reset: none;
}

.svc-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.svc-steps__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.svc-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.svc-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section--svc-panel {
  background: #faf8f6;
}

.svc-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.svc-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.85rem;
}

.svc-panel--soft {
  background: linear-gradient(160deg, #fff 0%, #fff5f5 100%);
}

.svc-panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.svc-panel > p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.svc-check-list {
  display: grid;
  gap: 0.85rem;
}

.svc-check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.98rem;
}

.svc-check-list svg {
  color: var(--brand);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.svc-audience {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.svc-audience li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.45;
}

.svc-audience__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.svc-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.svc-panel__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.svc-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.svc-related__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem 1.45rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-related__card:hover {
  border-color: rgba(230, 0, 1, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.06);
}

.svc-related__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.svc-related__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.svc-related__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.svc-related__card:hover .svc-related__arrow {
  background: var(--brand);
  color: #fff;
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-intro__text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.about-intro__text p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__text strong {
  color: var(--ink);
  font-weight: 700;
}

.about-highlight {
  display: grid;
  gap: 0.85rem;
}

.about-highlight__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
}

.about-highlight__item strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.about-highlight__item span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.section--about-values {
  background: #faf8f6;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.45rem;
}

.about-value__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}

.about-value h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.about-value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.about-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-steps__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.about-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.about-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
}

.about-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.about-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.about-list {
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.about-list svg {
  color: var(--brand);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Contact */
.page-hero--contact p {
  max-width: 46ch;
}

.section--contact {
  padding-top: 2.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.contact-aside__intro {
  margin-bottom: 1.25rem;
}

.contact-aside__intro h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.contact-aside__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.contact-card:hover {
  border-color: #f0b0b0;
  background: #fffafa;
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.contact-card__body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contact-card__body strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.contact-card__body span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-quick {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf8f6;
}

.contact-quick > p {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-quick__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.contact-quick__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-quick__btn--call {
  background: var(--brand);
  color: #fff;
}

.contact-quick__btn--call:hover {
  background: var(--brand-dark);
}

.contact-quick__btn--wa {
  background: var(--white);
  color: #128c7e;
  border: 1px solid #cde8e3;
}

.contact-quick__btn--wa:hover {
  background: #e8f8f5;
  border-color: #9fd4c9;
}

.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}

@media (max-width: 720px) {
  .wa-float {
    right: 0.95rem;
    bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
}

.contact-form-wrap {
  min-width: 0;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.form--contact {
  padding: 1.85rem;
}

.form__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.form__head-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.form__head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.form__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fafafa;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #a3a3a3;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: #f0a0a0;
  background: var(--white);
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form__submit {
  justify-self: start;
  margin-top: 0.25rem;
  box-shadow: none;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.alert--success {
  background: #e8f7ee;
  color: #146c36;
}

.alert--error {
  background: #fde8e8;
  color: #9b1c1c;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.callback-modal[hidden] {
  display: none;
}

.callback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
}

.callback-modal__box {
  position: relative;
  width: min(100%, 420px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.7rem 1.5rem 1.45rem;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.18);
}

.callback-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f4f1ec;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.callback-modal__close:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.callback-modal__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.callback-modal__box h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.callback-modal__box > p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.callback-modal__form {
  display: grid;
  gap: 0.85rem;
}

.callback-modal__form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.callback-modal__form input {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fafafa;
  color: var(--ink);
}

.callback-modal__form input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.callback-modal__form .btn {
  margin-top: 0.2rem;
  width: 100%;
}

.callback-modal__error,
.callback-modal__ok {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.callback-modal__error {
  background: #fde8e8;
  color: #9b1c1c;
}

.callback-modal__ok {
  background: #e8f7ee;
  color: #146c36;
}

/* Footer */
.footer {
  background: var(--white);
  color: var(--ink);
  padding: 3.25rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.footer__top .logo {
  margin: 0;
}

.footer__badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__badge {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer__badge--text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 80px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: #fafafa;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.95fr 1.05fr 1.1fr;
  gap: 2.5rem 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer__col h4 {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer__col--about > p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34ch;
}

.footer__social h4 {
  margin-bottom: 0.85rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__socials a {
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__socials a:hover {
  color: var(--brand);
  transform: translateY(-1px);
}

.footer ul {
  display: grid;
  gap: 0.7rem;
}

.footer a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--brand);
}

.footer__contact {
  gap: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer__contact-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 0.05rem;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 280px;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer__cta:hover {
  background: var(--brand-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.footer__bottom {
  padding-top: 1.4rem;
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.logo--footer {
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Admin */
.admin-body {
  --admin-bg: #f5f5f6;
  --admin-side: #ffffff;
  --admin-line: #ebebeb;
  --admin-ink: #151515;
  --admin-muted: #6f6f73;
  background: var(--admin-bg);
  min-height: 100vh;
  color: var(--admin-ink);
}

.admin-body .btn,
.admin-body .btn--primary,
.admin-btn {
  box-shadow: none !important;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--admin-side);
  border-right: 1px solid var(--admin-line);
  padding: 1.25rem 1rem;
  overflow-y: auto;
}

.admin-side__brand {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.5rem 1.15rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-side__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--admin-ink);
  font-weight: 700;
}

.admin-side__logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.admin-side__mark {
  color: var(--brand);
  display: grid;
  place-items: center;
}

.admin-side__name {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.admin-nav__label {
  margin: 0.95rem 0 0.4rem;
  padding: 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9aa0;
}

.admin-nav__label:first-child {
  margin-top: 0.25rem;
}

.admin-nav__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #3f3f46;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-nav__link svg {
  flex-shrink: 0;
  color: #8b8b93;
}

.admin-nav__link:hover {
  background: #f3f3f4;
  color: var(--admin-ink);
}

.admin-nav__link:hover svg {
  color: var(--admin-ink);
}

.admin-nav__link.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.admin-nav__link.is-active svg {
  color: var(--brand);
}

.admin-nav__link--danger:hover {
  background: #fff1f1;
  color: var(--brand);
}

.admin-nav__link--danger:hover svg {
  color: var(--brand);
}

.admin-nav__link-main {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.admin-nav-group__toggle {
  justify-content: space-between;
}

.admin-nav__caret {
  transition: transform 0.2s ease;
  color: #9a9aa0;
}

.admin-nav-group.is-open .admin-nav__caret {
  transform: rotate(180deg);
}

.admin-nav-group__items {
  display: none;
  padding: 0.15rem 0 0.35rem 0.55rem;
}

.admin-nav-group.is-open .admin-nav-group__items {
  display: grid;
  gap: 0.15rem;
}

.admin-nav__sublink {
  display: block;
  padding: 0.58rem 0.85rem;
  border-radius: 10px;
  color: var(--admin-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-nav__sublink:hover,
.admin-nav__sublink.is-active {
  background: #f3f3f4;
  color: var(--brand);
}

.admin-side__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--admin-line);
  display: grid;
  gap: 0.2rem;
}

.admin-main {
  min-width: 0;
  padding: 1.75rem 1.75rem 2.5rem;
}

.admin-main__inner {
  width: min(100%, 1120px);
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.admin-header p,
.admin-meta {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.95rem;
}

.admin-back {
  margin: 0 0 0.85rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.admin-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
}

.admin-stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.admin-stat__icon--warn {
  background: #fff4e5;
  color: #c05600;
}

.admin-stat__icon--ok {
  background: #e8f7ef;
  color: #0f7a43;
}

.admin-stat__icon--info {
  background: #eef2ff;
  color: #3b4cca;
}

.admin-stat strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.admin-stat span {
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

a.admin-stat {
  text-decoration: none;
  color: inherit;
}

a.admin-stat:hover {
  border-color: #f0c8c8;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.dash-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
  text-decoration: none;
  color: inherit;
  min-height: 118px;
}

a.dash-kpi:hover {
  border-color: #f0c8c8;
}

.dash-kpi__label {
  color: var(--admin-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.dash-kpi strong {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.dash-kpi__hint {
  margin-top: auto;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.dash-kpi--warn strong {
  color: var(--brand);
}

.dash-kpis--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-svc-list {
  display: grid;
  gap: 0.9rem;
}

.panel-svc {
  display: grid;
  gap: 0.95rem;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.panel-svc.is-urgent {
  border-color: #f0c8c8;
}

.panel-svc__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.panel-svc__top h2 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.panel-svc__top p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.86rem;
}

.panel-svc__meter-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.panel-svc__meter-row strong {
  color: var(--admin-ink);
}

.panel-svc__progress {
  height: 8px;
  border-radius: 99px;
  background: #f0f0f2;
  overflow: hidden;
}

.panel-svc__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.panel-svc__progress span.is-ok {
  background: #16a34a;
}

.panel-svc__progress span.is-warn {
  background: #d97706;
}

.panel-svc__progress span.is-danger {
  background: var(--brand);
}

.panel-svc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.panel-svc__price {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.panel-svc__price small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--admin-muted);
}

.inbox-detail__side .btn {
  width: 100%;
  justify-content: center;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.dash-table th,
.dash-table td {
  padding: 0.8rem 0.5rem;
}

.admin-pill--warn {
  background: #fff4e5;
  color: #c05600;
  border-color: #f5d3a8;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
}

.admin-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.admin-card__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.admin-card > .admin-card__head:first-child {
  margin-bottom: 1.1rem;
}

.admin-link {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.admin-link:hover {
  color: var(--brand-dark);
}

button.admin-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 24, 0.46);
}

.admin-modal__box {
  position: relative;
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.admin-modal__box h2 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.admin-modal__box p {
  margin: 0 0 1.15rem;
  color: var(--admin-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-modal__box p strong {
  color: var(--admin-ink);
}

.admin-modal__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}

.admin-empty {
  margin: 0;
  color: var(--admin-muted);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.9rem 0.65rem;
  border-bottom: 1px solid var(--admin-line);
  font-size: 0.92rem;
  vertical-align: middle;
}

.admin-table th {
  color: var(--admin-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table select {
  font: inherit;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  background: #fff;
}

.admin-table tr.is-unread td {
  font-weight: 700;
}

.admin-person {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.admin-person__avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f0f0f2;
  color: #555;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.admin-pill--brand {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: #ffd0d0;
}

.admin-pill--muted {
  background: #f3f3f4;
  color: #666;
  border-color: #e6e6e8;
}

.admin-pill--ok {
  background: #e8f7ef;
  color: #0f7a43;
  border-color: #c9ebd8;
}

.admin-pill--fail {
  background: #fdecec;
  color: #b42318;
  border-color: #f5c2c0;
}

.order-convert {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--admin-line);
}

.order-convert h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.order-convert > p {
  margin: 0 0 0.9rem;
  color: var(--admin-muted);
  font-size: 0.88rem;
}

.admin-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  background: #f5f5f6;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
  color: #444;
}

.admin-page-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--admin-ink);
}

.admin-page-title__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f3f3f4;
  color: #666;
}

.admin-thumb {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--admin-line);
  background: #f6f6f7;
  flex-shrink: 0;
}

.admin-subject {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.admin-message {
  margin: 0 0 1.15rem;
  white-space: pre-wrap;
  line-height: 1.65;
  color: #333;
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.95rem;
  color: var(--admin-muted);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.admin-tabs__item.is-active,
.admin-tabs__item:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.admin-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-logo-preview--favicon img {
  max-height: 48px;
  max-width: 48px;
}

.admin-logo-preview {
  display: grid;
  place-items: center;
  min-height: 130px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  padding: 1rem;
  border: 1px dashed #d8d8dc;
  background: #fafafa;
}

.admin-logo-preview img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.admin-logo-preview__empty {
  color: var(--admin-muted);
  font-size: 0.9rem;
  text-align: center;
}

.admin-logo-form {
  display: grid;
  gap: 0.75rem;
}

.admin-logo-remove {
  margin-top: 0.75rem;
}

.admin-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-file input[type="file"] {
  font: inherit;
  font-weight: 500;
  color: var(--admin-muted);
  max-width: 100%;
}

.admin-btn {
  border-radius: 12px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.admin-form-grid label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-form-grid__full {
  grid-column: 1 / -1;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.admin-form-grid label[hidden] {
  display: none !important;
}

.admin-form-grid .admin-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.admin-pay-mode {
  margin: 0;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 0.9rem 1rem 1rem;
  display: grid;
  gap: 0.65rem;
}

.admin-pay-mode legend {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 0.25rem;
}

.admin-form-grid .admin-pay-mode__option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: #fafafa;
}

.admin-form-grid .admin-pay-mode__option span {
  display: grid;
  gap: 0.2rem;
  color: var(--admin-muted);
  font-size: 0.86rem;
}

.admin-form-grid .admin-pay-mode__option strong {
  color: #111;
  font-size: 0.92rem;
}

.admin-form-grid .admin-meta {
  font-weight: 500;
}

.pkg-edit {
  display: grid;
  gap: 1rem;
  max-width: 720px;
}

.pkg-edit__section {
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  padding: 1.3rem 1.35rem 1.4rem;
}

.pkg-edit__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.pkg-edit__section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.pkg-edit__switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--admin-muted);
  white-space: nowrap;
}

.pkg-edit__switch input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.pkg-edit__fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 0.9rem 1rem;
}

.pkg-edit__field.is-hidden {
  display: none !important;
}

.pkg-edit__field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.pkg-edit__field--full {
  grid-column: 1 / -1;
}

.pkg-edit__field input,
.pkg-edit__field select,
.pkg-edit__field textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background: #fff;
}

.pkg-edit__field textarea {
  min-height: 11rem;
  resize: vertical;
  line-height: 1.55;
}

.pkg-edit__hint {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.pkg-edit__field--grow {
  flex: 1;
  min-width: 0;
}

.social-rows {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.social-row {
  display: grid;
  grid-template-columns: minmax(160px, 200px) minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.social-row .pkg-edit__field {
  margin: 0;
}

.social-row__remove {
  height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: #fff;
  color: var(--admin-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.social-row__remove:hover {
  color: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 720px) {
  .social-row {
    grid-template-columns: 1fr;
  }

  .social-row__remove {
    width: 100%;
  }
}

.pkg-edit__copy {
  display: flex;
  gap: 0.5rem;
}

.pkg-edit__copy input {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
}

.pkg-edit__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.pkg-edit__mode {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #fafafa;
  cursor: pointer;
}

.pkg-edit__mode:has(input:checked) {
  background: var(--brand-soft);
  border-color: #f3b4b4;
}

.pkg-edit__mode input {
  margin-top: 0.2rem;
  accent-color: var(--brand);
}

.pkg-edit__mode span {
  display: grid;
  gap: 0.15rem;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.pkg-edit__mode strong {
  color: var(--admin-ink);
  font-size: 0.92rem;
}

.pkg-edit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.smtp-log {
  margin: 0;
  padding: 0.9rem 1rem;
  background: #111;
  color: #e8e4dc;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 720px) {
  .pkg-edit__fields,
  .pkg-edit__modes,
  .pkg-edit__section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .pkg-edit__field--full {
    grid-column: auto;
  }
}

.legal-edit-content {
  min-height: 28rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.admin-form-grid .tox-tinymce {
  border-radius: 12px !important;
  border-color: var(--admin-line) !important;
}

.page-legal .page-hero p {
  max-width: none;
}

.legal-section {
  padding-top: 2.5rem;
}

.legal-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.legal-body h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.05rem;
}

.legal-body h2:first-child,
.legal-body h3:first-child {
  margin-top: 0;
}

.legal-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-body li {
  margin: 0.25rem 0;
}

.legal-body a {
  color: var(--brand);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
}

.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.legal-body strong,
.legal-body b {
  color: inherit;
}

@media (max-width: 980px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.thread-list {
  display: grid;
  gap: 0.65rem;
}

.thread-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.thread-item:hover,
.thread-item.is-unread {
  background: #fff;
  border-color: #f0c8c8;
}

.thread-item__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.thread-item p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.92rem;
}

.thread-item__meta {
  font-size: 0.8rem;
  color: var(--admin-muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: 460px;
  overflow: auto;
  padding: 1rem;
  border-radius: 16px;
  background: #f4f4f5;
  margin-bottom: 1rem;
}

.chat__empty {
  margin: 0;
  text-align: center;
  color: var(--admin-muted);
}

.chat__row {
  display: flex;
}

.chat__row--mine {
  justify-content: flex-end;
}

.chat__row--theirs {
  justify-content: flex-start;
}

.chat__bubble {
  max-width: min(78%, 420px);
  padding: 0.7rem 0.9rem 0.55rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--admin-line);
}

.chat__row--mine .chat__bubble {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  border-bottom-right-radius: 6px;
}

.chat__row--theirs .chat__bubble {
  border-bottom-left-radius: 6px;
}

.chat__name {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  opacity: 0.8;
}

.chat__bubble p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.45;
}

.chat__bubble time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  opacity: 0.7;
}

.chat-compose {
  display: grid;
  gap: 0.7rem;
}

.chat-compose textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  min-height: 88px;
  resize: vertical;
  background: #fff;
}

.chat-compose__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  justify-content: space-between;
}

.chat-compose__row label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.chat-compose__row select {
  font: inherit;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  background: #fff;
}

.inbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.inbox-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--admin-line);
  background: #fff;
  color: var(--admin-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.inbox-filter span {
  min-width: 1.3rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #f3f3f4;
  color: #555;
  font-size: 0.75rem;
  text-align: center;
}

.inbox-filter:hover,
.inbox-filter.is-active {
  border-color: #f0c8c8;
  color: var(--admin-ink);
}

.inbox-filter.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.inbox-filter.is-active span {
  background: #fff;
  color: var(--brand);
}

.inbox-list {
  display: grid;
  gap: 0.55rem;
}

.inbox-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.inbox-row:hover,
.inbox-row.is-open {
  background: #fff;
  border-color: #f0c8c8;
}

.inbox-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  flex-shrink: 0;
}

.inbox-avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 1.05rem;
}

.inbox-row__body {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.inbox-row__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.inbox-row__top strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.inbox-row__top time {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.inbox-row__body p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-row__meta {
  font-size: 0.78rem;
  color: var(--admin-muted);
}

.inbox-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1rem;
  align-items: start;
}

.inbox-detail__chat .chat {
  max-height: 520px;
  margin-bottom: 1rem;
}

.inbox-side__person {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.inbox-side__person strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.inbox-side__person span {
  display: block;
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.inbox-meta {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
}

.inbox-meta div {
  display: grid;
  gap: 0.15rem;
}

.inbox-meta dt {
  color: var(--admin-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.inbox-meta dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.inbox-status {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--admin-line);
}

.inbox-status label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.inbox-status select,
.inbox-status textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.inbox-status textarea {
  resize: vertical;
  min-height: 110px;
}

.svc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.svc-search {
  display: flex;
  gap: 0.5rem;
  min-width: min(100%, 320px);
}

.svc-search input {
  flex: 1;
  font: inherit;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  background: #fff;
}

.svc-row__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.svc-meta-grid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 980px) {
  .svc-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .svc-search {
    min-width: 0;
  }

  .svc-row__tags {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-self: start;
  }

  .svc-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .inbox-detail {
    grid-template-columns: 1fr;
  }

  .inbox-row {
    grid-template-columns: auto 1fr;
  }

  .inbox-row .account-pill {
    grid-column: 2;
    justify-self: start;
  }
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(180deg, #fff 0%, var(--admin-bg) 100%);
}

.login-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  padding: 2rem;
}

.login-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  font-weight: 700;
  color: var(--admin-ink);
}

.login-card__mark {
  color: var(--brand);
  display: grid;
  place-items: center;
}

.login-card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.login-card > p {
  margin: 0 0 1.35rem;
  color: var(--admin-muted);
}

.login-form {
  display: grid;
  gap: 0.95rem;
}

.login-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
}

.login-form input:focus {
  outline: none;
  border-color: #f0a0a0;
}

.login-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

@media (max-width: 980px) {
  .admin-logo-grid,
  .admin-stats,
  .dash-kpis,
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .header::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: var(--brand);
  }

  .topbar__follow {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav--desktop,
  .header__cta-link,
  .header__cta-btn {
    display: none;
  }

  .header__burger,
  .header__login {
    display: inline-flex;
  }

  .hero__grid,
  .about-grid,
  .about-intro,
  .about-values,
  .about-steps,
  .contact-grid,
  .contact-layout,
  .footer__grid,
  .services-grid,
  .services-split-grid,
  .references-grid,
  .projects-grid,
  .checkout-layout,
  .auth-page__grid,
  .auth-form__row,
  .order-done__summary,
  .order-done__facts,
  .order-done__next,
  .account-hero__inner,
  .account-stats,
  .account-support,
  .account-form__row,
  .account-order,
  .pricing-grid,
  .testimonials-grid,
  .stats-grid,
  .svc-overview,
  .svc-features,
  .svc-steps,
  .svc-panel-grid,
  .svc-related,
  .page-hero--service__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__art {
    width: 100%;
    max-width: none;
    margin-left: 0;
    border-radius: 22px;
  }

  .svc-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__badges {
    justify-content: flex-start;
  }

  .footer__cta {
    max-width: none;
  }

  .price-card--featured {
    transform: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-quick__actions {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--admin-line);
  }

  .admin-stats,
  .admin-logo-grid,
  .dash-kpis,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .panel-svc__top {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar__left .topbar__item:first-child {
    display: none;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .hero h1 {
    max-width: none;
  }

  .svc-features,
  .svc-stats {
    grid-template-columns: 1fr;
  }

  .page-hero--service h1 {
    max-width: none;
  }

  .page-hero--service__visual img {
    width: min(100%, 360px);
  }
}
