:root {
  color-scheme: light;
  --font-family-base: "Vazirmatn", Tahoma, Arial, sans-serif;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --secondary: #082f49;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbeafe;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 28px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 34rem),
    radial-gradient(circle at 16% 24%, rgba(245, 158, 11, 0.12), transparent 25rem),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.9 var(--font-family-base);
}

.page-top-anchor {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

h1 {
  max-width: 850px;
  font-size: clamp(1.9rem, 4.4vw, 3.8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.45rem, 2.45vw, 2.25rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.18rem;
}

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

.narrow {
  max-width: 900px;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.58);
  border-block: 1px solid rgba(219, 234, 254, 0.8);
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  padding: 10px 18px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 234, 254, 0.78);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.nav > .brand {
  order: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo-nav {
  max-height: 48px;
}

.brand-logo-footer {
  max-height: 52px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #334155;
  font-size: 0.95rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 13px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--surface-soft);
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  order: 3;
}

.nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  order: 2;
}

.nav-menu-panel {
  display: flex;
  flex: 1;
  align-items: center;
}

.nav-menu-backdrop {
  display: none;
}

.nav-menu-panel .nav-links {
  flex: 1;
  justify-content: center;
}

.nav-menu-panel .nav-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: #fff;
  border-color: rgba(8, 47, 73, 0.18);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta.active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 18px 42px rgba(8, 47, 73, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  box-shadow: 0 18px 42px rgba(8, 47, 73, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(8, 47, 73, 0.26);
}

.btn-small {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-ghost,
.btn-light {
  border-color: rgba(15, 118, 110, 0.22);
  background: #fff;
  color: var(--secondary);
  box-shadow: none;
}

.alert {
  margin-top: 24px;
  border-radius: 20px;
  padding: 16px 20px;
  font-weight: 700;
}

.alert-success {
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: #ecfdf5;
  color: #065f46;
}

.alert-error {
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: #fef2f2;
  color: #991b1b;
}

.alert ul {
  margin: 8px 0 0;
}

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(8, 47, 73, 0.24);
  background:
    linear-gradient(90deg, rgba(8, 47, 73, 0.2) 0%, rgba(8, 47, 73, 0.34) 42%, rgba(8, 47, 73, 0.9) 100%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.18), rgba(8, 47, 73, 0.12)),
    url("/assets/images/hero-luxury-minimal-office-bg.png") center / cover no-repeat;
  padding-top: 96px;
  padding-bottom: 76px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  -webkit-mask-image: linear-gradient(
    to inline-end,
    rgb(0 0 0 / 0.9) 0%,
    rgb(0 0 0 / 0.55) 38%,
    rgb(0 0 0 / 0.22) 68%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to inline-end,
    rgb(0 0 0 / 0.9) 0%,
    rgb(0 0 0 / 0.55) 38%,
    rgb(0 0 0 / 0.22) 68%,
    transparent 100%
  );
}

.hero::before {
  background-image: url("/assets/images/hero-grid-pattern.svg");
  background-size: 144px 144px;
  background-position: 0 0;
}

.hero::after {
  background-image: url("/assets/images/hero-grid-pattern-alt.svg");
  background-size: 144px 144px;
  background-position: 47px 31px;
  opacity: 0.82;
}

.page-hero {
  --holo-a: #5eead4;
  --holo-b: #60a5fa;
  --holo-c: #c084fc;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 72px;
  text-align: center;
  border-bottom: 1px solid rgba(147, 197, 253, 0.55);
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.35) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    var(--holo-a) 0%,
    var(--holo-b) 22%,
    var(--holo-c) 48%,
    var(--holo-b) 72%,
    var(--holo-a) 100%
  );
  background-size: 420% 420%;
  opacity: 0.78;
  filter: saturate(1.35) brightness(1.06);
  animation: holo-gradient 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgb(0 0 0 / 0.72) 10%,
    rgb(0 0 0 / 0.98) 38%,
    rgb(0 0 0 / 0.72) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgb(0 0 0 / 0.72) 10%,
    rgb(0 0 0 / 0.98) 38%,
    rgb(0 0 0 / 0.72) 84%,
    transparent 100%
  );
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      rgba(255, 255, 255, 0.55) 0%,
      transparent 28%,
      rgba(186, 230, 253, 0.42) 44%,
      transparent 58%,
      rgba(233, 213, 255, 0.38) 72%,
      rgba(255, 255, 255, 0.22) 100%
    ),
    radial-gradient(ellipse 92% 78% at 50% 34%, rgba(255, 255, 255, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.22) 0%, rgba(255, 255, 255, 0.48) 50%, rgba(248, 250, 252, 0.58) 100%);
  background-size: 300% 100%, auto, auto;
  animation: holo-sheen 5.8s ease-in-out infinite;
}

.page-hero h1 {
  font-size: clamp(0.95rem, 2.2vw, 1.9rem);
}

.page-hero .container,
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.page-hero > .container > p:not(.breadcrumb):not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.hero-grid,
.split,
.about-grid,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-areas:
    "copy card";
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.hero-copy {
  grid-area: copy;
  align-self: center;
  justify-items: start;
  align-content: center;
  padding: 22px 0;
}

.hero-copy h1 {
  position: relative;
  max-width: 820px;
  color: #fff;
  font-size: clamp(1.55rem, 4.2vw, 1.875rem);
  line-height: 1.42;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(240, 253, 250, 0.8);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 6px 14px;
}

.hero .eyebrow {
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(8, 47, 73, 0.58);
  color: #ccfbf1;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.breadcrumb {
  color: #64748b;
  font-size: 0.92rem;
}

.breadcrumb a,
.text-link {
  color: var(--primary-dark);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
}

.text-link::after {
  content: " ←";
}

.hero-text {
  max-width: 720px;
  color: #dbeafe;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 2.05;
}

.hero-badges {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(219, 234, 254, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #e0f2fe;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 13px;
}

.hero-badges span::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  flex-shrink: 0;
}

.cta-actions .btn {
  width: 100%;
}

.hero-actions .btn:first-child {
  box-shadow: 0 18px 42px rgba(8, 47, 73, 0.22);
}

.cards,
.feature-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.trust-grid article,
.card,
.feature-grid article,
.service-list article,
.registry-card,
.contact-card,
.hero-card,
.timeline li {
  border: 1px solid rgba(219, 234, 254, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.hero-card {
  grid-area: card;
  border-color: rgba(8, 47, 73, 0.12);
  border-radius: calc(var(--radius) + 4px);
  background: var(--secondary);
  color: #fff;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(8, 47, 73, 0.2);
}

.hero-card h2 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: -0.03em;
}

.hero-card p {
  margin-top: 14px;
  color: #cbd5e1;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
  color: #ccfbf1;
  font-weight: 700;
  padding: 7px 13px;
}

.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(219, 234, 254, 0.9);
  padding-top: 12px;
}

.clean-list span,
.contact-card span,
.trust-badge-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-grid article,
.feature-grid article {
  border-radius: 22px;
  padding: 22px;
}

.trust-badge {
  display: grid;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trust-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.trust-badge-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.95), rgba(204, 251, 241, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.trust-badge-icon lord-icon {
  width: 38px;
  height: 38px;
}

.trust-badge:hover lord-icon {
  --lord-icon-scale: 1.08;
}

.trust-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--secondary);
}

.section-heading {
  display: grid;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  justify-items: center;
  gap: 14px;
}

.section-heading h2 {
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
}

.align-start {
  margin-inline: 0;
  text-align: start;
  justify-items: start;
}

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

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

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

.card {
  min-height: 230px;
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.32);
}

.card h2,
.feature-grid h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.card-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  border-radius: 24px;
  padding: 24px;
}

.startup-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, #082f49, #0f766e);
  color: #fff;
  padding: 48px;
  box-shadow: var(--shadow);
}

.startup-panel h2,
.startup-panel p {
  color: #fff;
}

.startup-panel .eyebrow,
.cta-box .eyebrow {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin-bottom: 14px;
}

.startup-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.startup-steps span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  padding: 20px;
  color: #fff;
  font-weight: 800;
}

.page-hero .hero-actions {
  justify-content: center;
}

.startup-offer-meta {
  display: grid;
  gap: 10px;
  margin: 16px 0 12px;
  font-size: 0.92rem;
}

.startup-offer-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.startup-offer-meta dt {
  color: var(--muted);
}

.startup-offer-meta dd {
  margin: 0;
  font-weight: 800;
}

.startup-showcase .section {
  padding-block: 72px;
}

.startup-block {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.startup-block--reverse .startup-block__media {
  order: 2;
}

.startup-block__media {
  overflow: hidden;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.95), rgba(204, 251, 241, 0.45));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.startup-block__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  padding: 28px;
}

.startup-block__copy {
  display: grid;
  gap: 16px;
}

.startup-block__copy h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.45;
}

.startup-block__copy p {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.9;
}

.section-footer-link {
  margin-top: 28px;
  text-align: center;
}

.about-grid {
  align-items: start;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-stat {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 28px 20px;
  text-align: center;
}

.about-stat strong {
  display: block;
  color: var(--secondary);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
}

.about-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.registry-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.about-grid > div:first-child {
  display: grid;
  gap: 18px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-list span {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 7px 13px;
}

.registry-card {
  border-radius: var(--radius);
  padding: 30px;
}

.registry-card dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.registry-card div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(219, 234, 254, 0.88);
  padding-top: 10px;
}

.registry-card dt {
  color: var(--muted);
}

.registry-card dd {
  margin: 0;
  font-weight: 800;
}

.cta {
  padding-block: 70px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.94), rgba(15, 118, 110, 0.94));
  color: #fff;
  padding: 44px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.cta-box p {
  color: #fff;
}

.consultation-box {
  align-items: stretch;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  border-radius: var(--radius);
  padding: 28px;
  font-style: normal;
}

.contact-card div {
  border-radius: 18px;
  background: var(--surface-soft);
  padding: 16px;
}

.contact-card span,
.contact-card a,
.contact-card p {
  display: block;
}

.contact-card a {
  color: var(--secondary);
  direction: ltr;
  font-weight: 800;
  text-align: right;
}

.contact-card .full {
  grid-column: 1 / -1;
}

.contact-card .full p {
  color: var(--secondary);
  font-weight: 800;
}

.contact-cta {
  align-items: stretch;
}

.contact-channels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.contact-channel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-channel:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.32);
}

.contact-channel h2 {
  font-size: 1.2rem;
}

.contact-channel .text-link {
  margin-top: auto;
}

.contact-office-panel {
  display: grid;
  align-items: start;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.contact-map-wrap {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 14px;
}

.contact-map {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: calc(var(--radius) - 10px);
}

.contact-map-link {
  display: inline-flex;
  color: var(--primary-dark);
  font-weight: 800;
  padding-inline: 8px 4px;
}

.contact-office-details {
  display: grid;
  gap: 22px;
}

.contact-hours {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 22px;
  background: var(--surface-soft);
  padding: 18px 20px;
}

.contact-hours strong {
  color: var(--secondary);
}

.contact-form-layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

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

.contact-trust-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
}

.contact-trust-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.72em;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.form-alert {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 18px;
  background: rgba(254, 242, 242, 0.92);
  color: #991b1b;
  padding: 14px 16px;
}

.form-alert ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  border-radius: 24px;
  padding: 24px;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 1.15rem;
}

.seo-cards {
  position: relative;
}

.seo-card {
  min-height: 320px;
  will-change: transform;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.seo-cards .seo-card:hover {
  transform: none;
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.seo-card p,
.compact-card p,
.content-card p {
  color: #334155;
}

.keyword-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 18rem),
    #fff;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 30px;
}

.keyword-panel span {
  color: var(--muted);
  font-weight: 800;
}

.keyword-panel strong {
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--secondary);
  padding: 13px 16px;
}

.product-highlights .compact-card {
  --holo-a: #ffd6e8;
  --holo-b: #d6eeff;
  --holo-c: #e8d6ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 220px;
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.product-highlights .compact-card > * {
  position: relative;
  z-index: 1;
}

.product-highlights .compact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    var(--holo-a) 0%,
    var(--holo-b) 28%,
    var(--holo-c) 56%,
    var(--holo-b) 78%,
    var(--holo-a) 100%
  );
  background-size: 320% 320%;
  animation: holo-gradient 8s ease-in-out infinite;
}

.product-highlights .compact-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  background:
    linear-gradient(
      108deg,
      rgba(255, 255, 255, 0.42) 0%,
      transparent 38%,
      rgba(255, 255, 255, 0.28) 52%,
      transparent 68%,
      rgba(255, 255, 255, 0.18) 100%
    ),
    rgba(255, 255, 255, 0.84);
  background-size: 240% 100%, auto;
  animation: holo-sheen 5.5s ease-in-out infinite;
}

.product-highlights .compact-card:nth-child(6n + 1) {
  --holo-a: #ffd6e8;
  --holo-b: #d6eeff;
  --holo-c: #e8d6ff;
}

.product-highlights .compact-card:nth-child(6n + 2) {
  --holo-a: #d4f5ea;
  --holo-b: #ffe8d6;
  --holo-c: #ddd6ff;
}

.product-highlights .compact-card:nth-child(6n + 3) {
  --holo-a: #ffe0cc;
  --holo-b: #fff5cc;
  --holo-c: #ffd6e0;
}

.product-highlights .compact-card:nth-child(6n + 4) {
  --holo-a: #cce8ff;
  --holo-b: #ccf5e8;
  --holo-c: #ffd6e8;
}

.product-highlights .compact-card:nth-child(6n + 5) {
  --holo-a: #e0d6ff;
  --holo-b: #d6f0ff;
  --holo-c: #d6ffe8;
}

.product-highlights .compact-card:nth-child(6n + 6) {
  --holo-a: #ffd6d6;
  --holo-b: #e8d6ff;
  --holo-c: #d6fff5;
}

.product-highlights .compact-card:nth-child(6n + 1)::before {
  animation-duration: 8s;
  animation-delay: 0s;
}

.product-highlights .compact-card:nth-child(6n + 2)::before {
  animation-duration: 9s;
  animation-delay: -1.4s;
}

.product-highlights .compact-card:nth-child(6n + 3)::before {
  animation-duration: 7.5s;
  animation-delay: -2.8s;
}

.product-highlights .compact-card:nth-child(6n + 4)::before {
  animation-duration: 8.5s;
  animation-delay: -1s;
}

.product-highlights .compact-card:nth-child(6n + 5)::before {
  animation-duration: 9.5s;
  animation-delay: -3.2s;
}

.product-highlights .compact-card:nth-child(6n + 6)::before {
  animation-duration: 7.8s;
  animation-delay: -2.1s;
}

.product-highlights .compact-card:nth-child(6n + 1)::after {
  animation-delay: 0s;
}

.product-highlights .compact-card:nth-child(6n + 2)::after {
  animation-delay: -0.9s;
}

.product-highlights .compact-card:nth-child(6n + 3)::after {
  animation-delay: -1.8s;
}

.product-highlights .compact-card:nth-child(6n + 4)::after {
  animation-delay: -0.6s;
}

.product-highlights .compact-card:nth-child(6n + 5)::after {
  animation-delay: -2.1s;
}

.product-highlights .compact-card:nth-child(6n + 6)::after {
  animation-delay: -1.3s;
}

.product-highlights .compact-card:hover {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
}

.product-highlights .compact-card:hover::before {
  background-size: 280% 280%;
}

@keyframes holo-gradient {
  0%,
  100% {
    background-position: 0% 42%;
  }

  33% {
    background-position: 100% 8%;
  }

  66% {
    background-position: 48% 100%;
  }
}

@keyframes holo-sheen {
  0%,
  100% {
    background-position: -160% 0, 0 0, 0 0;
  }

  50% {
    background-position: 160% 0, 0 0, 0 0;
  }
}

.support-security-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-security-grid .content-card {
  padding-top: 38px;
}

.support-security-grid .content-card h2 {
  margin-top: 14px;
  font-size: clamp(1.15rem, 2.8vw, 1.6rem);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  color: #334155;
  padding-inline-start: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.1);
}

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

.timeline-h {
  display: flex;
  gap: 18px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.timeline-h::before {
  content: "";
  position: absolute;
  top: 27px;
  inset-inline: 12.5%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(15, 118, 110, 0.12),
    rgba(14, 165, 233, 0.42),
    rgba(15, 118, 110, 0.12)
  );
  z-index: 0;
}

.timeline-h-item {
  flex: 1;
  display: grid;
  gap: 22px;
  justify-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.timeline-h-marker {
  display: grid;
  place-items: center;
}

.timeline-h-step {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(15, 118, 110, 0.24);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.95rem;
}

.timeline-h-body {
  width: 100%;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 24px;
  text-align: center;
}

.timeline-h-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 1.05rem;
}

.timeline-h-body p {
  color: #334155;
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(20, 184, 166, 0.28);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.16), transparent 24rem),
    linear-gradient(135deg, #061826, #082f49 48%, #0f172a);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(160px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-link {
  justify-content: start;
}

.footer-brand-link strong {
  color: #f8fafc;
}

.footer-brand-link small {
  color: #cbd5e1;
}

.footer-brand p {
  max-width: 560px;
  color: #cbd5e1;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-col > strong,
.footer-trust strong {
  color: #f8fafc;
  font-size: 1.02rem;
}

.footer-org {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-org p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.footer-org p a {
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.22);
  color: #ccfbf1;
  font-weight: 750;
  padding: 6px 11px;
}

.footer-org p a:hover {
  color: #fff;
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(15, 118, 110, 0.35);
}

.footer-col a,
.footer-bottom a {
  color: #dbeafe;
  font-weight: 750;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: #5eead4;
}

.footer-contact a {
  display: grid;
  gap: 2px;
}

.footer-contact span,
.footer-trust dt {
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 650;
}

.footer-contact b,
.footer-trust dd {
  color: #f8fafc;
}

.footer-contact address {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  color: #cbd5e1;
  font-style: normal;
  line-height: 1.9;
}

.footer-trust {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
  padding: 24px;
}

.footer-trust dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.footer-trust dl div {
  border-radius: 16px;
  background: rgba(8, 47, 73, 0.72);
  padding: 12px;
}

.footer-trust dt,
.footer-trust dd {
  margin: 0;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding-top: 18px;
}

.copyright {
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .nav {
    flex-wrap: nowrap;
    padding: 16px 0;
  }

  .nav-actions {
    order: 2;
    margin-inline-start: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .brand,
  .nav-actions {
    position: relative;
    z-index: 101;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    flex: none;
    order: initial;
    width: auto;
    padding: 0;
    border: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .nav.is-open .nav-menu {
    pointer-events: auto;
    visibility: visible;
  }

  .nav-menu-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.28s ease;
  }

  .nav.is-open .nav-menu-backdrop {
    opacity: 1;
  }

  .nav-menu-panel {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: min(320px, 88vw);
    height: 100%;
    padding: 88px 20px 24px;
    border-left: 1px solid rgba(219, 234, 254, 0.78);
    background: rgba(248, 250, 252, 0.98);
    box-shadow: -18px 0 48px rgba(8, 47, 73, 0.14);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .nav.is-open .nav-menu-panel {
    transform: translateX(0);
  }

  .nav-menu-panel .nav-links {
    flex: 1;
    justify-content: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    border-radius: 14px;
    padding: 12px 14px;
  }

  .nav-menu-panel .nav-cta {
    width: 100%;
    margin-top: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .cards-4,
  .cards-3,
  .feature-grid,
  .timeline,
  .timeline-4,
  .support-security-grid,
  .trust-grid,
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-h {
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
    padding-inline-end: 44px;
  }

  .timeline-h::before {
    top: 28px;
    bottom: 28px;
    inset-inline: auto;
    inset-inline-end: 27px;
    width: 2px;
    height: auto;
  }

  .timeline-h-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: end;
    position: relative;
    padding-bottom: 32px;
  }

  .timeline-h-item:last-child {
    padding-bottom: 0;
  }

  .timeline-h-marker {
    position: absolute;
    inset-inline-end: -44px;
    top: 0;
  }

  .timeline-h-body {
    text-align: start;
  }

  .hero-grid,
  .hero-layout,
  .split,
  .about-grid,
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-grid,
  .startup-panel,
  .startup-block,
  .footer-grid,
  .footer-trust {
    grid-template-columns: 1fr;
  }

  .startup-block--reverse .startup-block__media {
    order: 0;
  }

  .hero-layout {
    grid-template-areas:
      "copy"
      "card";
  }

  .hero,
  .page-hero {
    padding-top: 52px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .hero-grid,
  .hero-layout {
    gap: 38px;
  }

  .hero-card {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --radius: 22px;
  }

  .section {
    padding: 52px 0;
  }

  .site-header .nav {
    min-height: 68px;
    padding-block: 10px;
  }

  .nav {
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .brand small {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .btn-small:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .nav-menu-panel {
    width: min(300px, 92vw);
    padding: 80px 16px 20px;
  }

  .cards-4,
  .cards-3,
  .contact-channels,
  .feature-grid,
  .startup-steps,
  .contact-card,
  .timeline,
  .timeline-4,
  .support-security-grid,
  .trust-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 28px;
    gap: 12px;
  }

  .card,
  .seo-card,
  .product-highlights .compact-card {
    min-height: auto;
  }

  .timeline-h {
    padding-inline-end: 38px;
  }

  .timeline-h::before {
    inset-inline-end: 22px;
  }

  .timeline-h-marker {
    inset-inline-end: -38px;
  }

  .timeline-h-step {
    width: 48px;
    height: 48px;
    font-size: 0.88rem;
  }

  .timeline-h-body {
    padding: 20px;
  }

  .hero-card,
  .startup-panel,
  .cta-box,
  .content-card {
    padding: 22px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
    background:
      linear-gradient(180deg, rgba(8, 47, 73, 0.72) 0%, rgba(8, 47, 73, 0.92) 100%),
      linear-gradient(180deg, rgba(15, 118, 110, 0.18), rgba(8, 47, 73, 0.12)),
      url("/assets/images/hero-luxury-minimal-office-bg.png") center / cover no-repeat;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-copy {
    padding: 8px 0;
    gap: 18px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.85;
  }

  .hero-badges span {
    width: 100%;
    text-align: start;
    justify-content: flex-start;
    font-size: 0.88rem;
    padding: 10px 12px;
  }

  .clean-list li,
  .cta-box {
    display: grid;
  }

  .cta-box {
    gap: 22px;
  }

  .cta {
    padding-block: 52px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .faq-item p {
    padding: 0 18px 18px;
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .footer-trust dl {
    grid-template-columns: 1fr;
  }

  .footer-cta .btn,
  .footer-bottom a {
    width: 100%;
  }

  .site-footer {
    padding: 44px 0 22px;
  }

  .registry-card div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .cta-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand small {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.45rem, 6.8vw, 1.7rem);
  }
}

.cms-body {
  min-height: 100vh;
  background: #0f1117;
  color: #f1f5f9;
}

.cms-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 290px minmax(0, 1fr);
}

.cms-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-left: 1px solid #2a2d3a;
  background: #1a1d27;
  padding: 24px;
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.cms-brand strong,
.cms-brand small {
  display: block;
}

.cms-brand small,
.cms-card span,
.cms-topbar span {
  color: #94a3b8;
}

.cms-nav {
  display: grid;
  gap: 8px;
}

.cms-nav a {
  border: 1px solid transparent;
  border-radius: 16px;
  color: #cbd5e1;
  padding: 11px 14px;
}

.cms-nav a:hover,
.cms-nav a.active {
  border-color: #4f7ef7;
  background: rgba(79, 126, 247, 0.14);
  color: #fff;
}

.cms-nav a.disabled {
  opacity: 0.58;
}

.cms-main-wrap {
  min-width: 0;
}

.cms-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #2a2d3a;
  background: rgba(15, 17, 23, 0.88);
  padding: 16px 28px;
  backdrop-filter: blur(18px);
}

.cms-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a2d3a;
  border-radius: 999px;
  background: #1a1d27;
  color: #f1f5f9;
  padding: 9px 14px;
}

.notification-pill span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #4f7ef7;
  color: #fff;
  font-size: 0.8rem;
}

.cms-content {
  padding: 32px;
}

.cms-page {
  display: grid;
  gap: 24px;
}

.cms-page-heading {
  display: grid;
  gap: 10px;
}

.cms-page-heading h1 {
  color: #f1f5f9;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cms-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cms-card,
.cms-table-card,
.cms-upload,
.confirm-dialog-card {
  border: 1px solid #2a2d3a;
  border-radius: 24px;
  background: #1a1d27;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.cms-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.cms-card strong {
  color: #f1f5f9;
  font-size: 1.25rem;
}

.cms-card h2 {
  color: #f1f5f9;
  font-size: 1.25rem;
}

.dashboard-kpi small,
.dashboard-list-item span,
.muted {
  color: #94a3b8;
}

.dashboard-sections {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 22px;
}

.dashboard-summary-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dashboard-summary-heading h2 {
  margin: 0;
}

.dashboard-list-item {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: inherit;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
}

.dashboard-list-item:first-of-type {
  border-top: 0;
}

.cms-form {
  display: grid;
  gap: 20px;
}

.cms-form .form-grid span {
  color: #e2e8f0;
}

.cms-actions,
.cms-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cms-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cms-inline-form select {
  min-height: 42px;
  border: 1px solid rgba(79, 126, 247, 0.35);
  border-radius: 14px;
  background: #10131c;
  color: #f1f5f9;
  padding: 8px 12px;
}

.cms-inline-form input {
  min-height: 42px;
  border: 1px solid rgba(79, 126, 247, 0.35);
  border-radius: 14px;
  background: #10131c;
  color: #f1f5f9;
  padding: 8px 12px;
}

.cms-details {
  min-width: 320px;
}

.cms-details summary {
  cursor: pointer;
  color: #bfdbfe;
  font-weight: 700;
}

.cms-details .cms-form {
  margin-top: 14px;
}

.cms-table td strong,
.cms-table td small {
  display: block;
}

.cms-table td small {
  color: #94a3b8;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-active,
.status-approved,
.status-paid,
.status-succeeded,
.status-sent,
.status-issued,
.status-qualified,
.status-won,
.status-confirmed,
.status-completed,
.status-resolved,
.status-registered {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.status-pending,
.status-draft,
.status-submitted,
.status-potential,
.status-under_review,
.status-open,
.status-waiting_customer,
.status-assigned,
.status-responded,
.status-todo,
.status-submitted,
.status-partially_paid {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}

.status-new,
.status-contacted,
.status-proposal {
  background: rgba(79, 126, 247, 0.16);
  color: #bfdbfe;
}

.status-in_progress,
.status-high,
.status-urgent {
  background: rgba(79, 126, 247, 0.16);
  color: #bfdbfe;
}

.status-rejected,
.status-failed,
.status-lost,
.status-cancelled,
.status-suspended,
.status-inactive,
.status-expired,
.status-closed,
.status-archived {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}

.ticket-thread {
  display: grid;
  gap: 16px;
}

.ticket-message {
  display: grid;
  gap: 12px;
  border: 1px solid #2a2d3a;
  border-radius: 24px;
  background: #1a1d27;
  padding: 20px;
}

.ticket-message.internal {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.08);
}

.ticket-message header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ticket-message header span,
.ticket-message p {
  color: #cbd5e1;
}

.cms-table-card {
  overflow: hidden;
}

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

.cms-table {
  width: 100%;
  border-collapse: collapse;
  color: #e2e8f0;
}

.cms-table th,
.cms-table td {
  border-bottom: 1px solid #2a2d3a;
  padding: 13px 16px;
  text-align: right;
}

.cms-table th {
  background: rgba(79, 126, 247, 0.1);
  color: #f1f5f9;
}

.cms-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.cms-upload {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.cms-upload-box {
  display: grid;
  cursor: pointer;
  gap: 6px;
  border: 1px dashed #4f7ef7;
  border-radius: 18px;
  padding: 18px;
}

.cms-upload-box input {
  margin-top: 8px;
}

.cms-upload-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.confirm-dialog {
  width: min(100% - 32px, 460px);
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #f1f5f9;
  padding: 0;
}

.confirm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.confirm-dialog-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.confirm-dialog-card h2 {
  color: #f1f5f9;
  font-size: 1.35rem;
}

.confirm-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .cms-shell {
    grid-template-columns: 1fr;
  }

  .cms-sidebar {
    position: static;
    height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.blog-layout,
.article-layout {
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: 320px minmax(0, 1fr);
}

.blog-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}

.search-box,
.category-box,
.post-card,
.article-main,
.empty-state {
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.search-box {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.search-box label,
.category-box h2 {
  color: var(--secondary);
  font-size: 1.08rem;
  font-weight: 800;
}

.search-box div {
  display: grid;
  gap: 10px;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 8px 16px;
}

.category-box {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.category-box a {
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-weight: 700;
  padding: 10px 14px;
}

.category-box a:hover,
.category-box a.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.blog-results {
  display: grid;
  gap: 20px;
}

.result-note {
  border-radius: 18px;
  background: #fff;
  color: var(--secondary);
  font-weight: 800;
  padding: 12px 18px;
}

.post-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 300px minmax(0, 1fr);
}

.post-image {
  min-height: 220px;
  background: var(--surface-soft);
}

.post-image img,
.article-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.post-meta a,
.post-meta span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-weight: 800;
  padding: 5px 10px;
}

.post-meta-center {
  justify-content: center;
}

.post-card h2 {
  font-size: clamp(0.675rem, 1.1vw, 1rem);
}

.project-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 34px;
}

.article-hero h1 {
  max-width: 980px;
}

.article-main {
  overflow: hidden;
}

.article-cover {
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--surface-soft);
}

.article-content {
  display: grid;
  gap: 20px;
  padding: 34px;
}

.article-content p {
  color: #334155;
  font-size: 1.08rem;
}

.article-sidebar {
  grid-column: 1;
  grid-row: 1;
}

.article-main {
  grid-column: 2;
}

@media (max-width: 1040px) {
  .blog-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .article-sidebar,
  .article-main {
    position: static;
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .post-image {
    min-height: auto;
  }

  .post-image img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .article-content,
  .post-body {
    padding: 24px;
  }
}

.products-filter {
  display: grid;
  align-items: end;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  margin-bottom: 24px;
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field.col-8 {
  grid-column: span 8;
}

.filter-field.col-4 {
  grid-column: span 4;
}

.filter-field label {
  color: var(--secondary);
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 8px 16px;
}

.filter-field select {
  cursor: pointer;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.table-card {
  overflow: hidden;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.table-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(219, 234, 254, 0.9);
  padding: 18px 22px;
}

.table-summary strong {
  color: var(--secondary);
}

.table-summary span {
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

.products-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.products-table th,
.products-table td {
  border-bottom: 1px solid rgba(219, 234, 254, 0.9);
  padding: 16px;
  text-align: right;
  vertical-align: middle;
}

.products-table th {
  background: var(--surface-soft);
  color: var(--secondary);
  font-weight: 800;
  white-space: nowrap;
}

.products-table td {
  color: #334155;
}

.products-table tbody tr:hover {
  background: rgba(240, 253, 250, 0.45);
}

.products-table td:nth-child(2) {
  white-space: nowrap;
}

.products-table code {
  border-radius: 999px;
  background: #e0f2fe;
  color: var(--secondary);
  direction: ltr;
  display: inline-block;
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.table-title-link {
  color: var(--secondary);
  font-weight: 800;
}

.table-title-link:hover {
  color: var(--primary-dark);
}

.table-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.btn-table {
  min-height: 38px;
  padding: 6px 12px;
  font-size: 0.88rem;
  box-shadow: none;
}

.table-empty {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 28px;
}

.table-empty strong {
  color: var(--secondary);
}

.table-empty span {
  color: var(--muted);
}

.form-panel,
.detail-card {
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
  padding: 32px;
}

.consultation-form-panel {
  margin-bottom: 48px;
}

.site-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid span {
  color: var(--secondary);
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 11px 15px;
}

.form-grid textarea {
  resize: vertical;
}

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

.detail-card {
  display: grid;
  gap: 18px;
}

.detail-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 24px;
  background: var(--surface-soft);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(219, 234, 254, 0.88);
  padding-top: 12px;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  color: var(--secondary);
  font-weight: 800;
}

.detail-actions {
  display: grid;
  gap: 10px;
}

.error-page {
  min-height: 68vh;
  display: grid;
  align-items: center;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pagination-wrap,
.cms-pagination {
  display: flex;
  justify-content: center;
  padding: 18px 0 0;
}

.table-card .pagination-wrap {
  padding: 28px 22px 36px;
}

.cms-pagination {
  padding: 14px 16px;
}

.pagination-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.pagination-page,
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--secondary);
  padding: 7px 11px;
  font-weight: 600;
  text-decoration: none;
}

.pagination-page:hover {
  background: rgba(15, 118, 110, 0.08);
}

.pagination-page.is-active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.pagination-ellipsis {
  border-color: transparent;
  background: transparent;
  color: #64748b;
  min-width: auto;
  padding-inline: 4px;
}

.project-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

.project-card .post-image {
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.95), rgba(204, 251, 241, 0.45));
}

.project-card .post-image img {
  object-fit: contain;
  padding: 20px;
}

.content-layout {
  display: grid;
  align-items: start;
  gap: 30px;
  grid-template-columns: 320px minmax(0, 1fr);
}

.content-aside,
.content-card,
.faq-item {
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.content-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  padding: 26px;
}

.content-aside strong {
  color: var(--secondary);
  font-size: 1.2rem;
}

.content-stack,
.faq-list {
  display: grid;
  gap: 14px;
}

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
}

.content-card p {
  color: #334155;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  color: var(--secondary);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 800;
  line-height: 1.8;
  padding: 18px 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary-dark);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary {
  padding-bottom: 8px;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  color: #334155;
  padding: 0 24px 20px;
}

.content-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  .filter-field.col-8,
  .filter-field.col-4 {
    grid-column: 1 / -1;
  }

  .filter-actions .btn {
    width: 100%;
  }

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

  .detail-list div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .content-layout,
  .content-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .content-aside {
    position: static;
  }
}
