/* Font is loaded from <head> with preconnect for better render performance. */

:root {
  /* Fallbacks — overridden on every page by Admin → Settings → Brand colors */
  --primary: #1478a3;
  --secondary: #111827;
  --accent: #f59e0b;
  --dark: var(--secondary);
  --primary-soft: rgba(20, 120, 163, 0.08);
  --primary-medium: rgba(20, 120, 163, 0.15);
  --primary-20: rgba(20, 120, 163, 0.2);
  --primary-shadow: rgba(20, 120, 163, 0.22);
  --primary-light: #fecaca;
  --secondary-soft: rgba(17, 24, 39, 0.08);
  --secondary-border: #27272a;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --soft: #f4f6f9;
  --muted: #64748b;
  --text: var(--secondary);
  --border: #e5e7eb;
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-lift: 0 18px 40px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(20, 120, 163, 0.04), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(17, 24, 39, 0.03), transparent 45%),
    #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .brand-main, .section-header h2, .hero h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

body.site-protected {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.site-protected input,
body.site-protected textarea,
body.site-protected select,
body.site-protected option,
body.site-protected [contenteditable="true"],
body.site-protected .allow-copy {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

body.site-protected img:not(.allow-copy) {
  -webkit-user-drag: none;
  pointer-events: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.nav-shell {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.brand-main {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #000;
}

.dot {
  color: var(--primary);
}

.brand-sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #6b7280;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(10px, 1.2vw, 22px);
}

.site-nav a {
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3f3f46;
  transition: 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}
.site-nav .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav .nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav .has-sub > a::after {
  content: "▾";
  font-size: 11px;
  color: #71717a;
  margin-top: 1px;
}

.site-nav .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 140;
}

.nav-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: #374151;
}

.nav-submenu a:hover,
.nav-submenu a.active {
  background: #f3f4f6;
  color: #111827;
}

.site-nav .has-sub:hover > .nav-submenu,
.site-nav .has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu .nav-item {
  display: block;
}

.nav-submenu .has-sub::after {
  display: none;
}

.nav-submenu .has-sub > a::after {
  content: "▸";
  margin-top: 0;
  margin-left: 10px;
}

.nav-submenu .nav-submenu {
  top: -8px;
  left: calc(100% - 2px);
}

.nav-submenu .has-sub:hover > .nav-submenu,
.nav-submenu .has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 24px var(--primary-shadow);
  transition: 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
}

.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-inner {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-inner a {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #3f3f46;
  transition: 0.2s;
}

.mobile-nav-inner a:hover,
.mobile-nav-inner a.active {
  background: #f4f4f5;
  color: var(--secondary);
}
.mobile-nav-group {
  display: grid;
  gap: 6px;
}

.mobile-nav-group .mobile-parent {
  font-weight: 700;
}

.mobile-submenu {
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px solid #e5e7eb;
  margin-left: 10px;
}

.mobile-submenu .mobile-submenu {
  margin-left: 8px;
  padding-left: 10px;
  border-left-color: #d1d5db;
}

.mobile-sub-link {
  font-size: 13px;
  color: #4b5563;
  padding: 10px 12px;
}

.mobile-sub-parent {
  font-weight: 700;
}

.mobile-nav-inner .mobile-cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--primary);
  color: #fff;
}

.section {
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
}

.section-soft {
  background:
    radial-gradient(circle at 12% 18%, rgba(20, 120, 163, 0.045), transparent 36%),
    radial-gradient(circle at 88% 82%, rgba(17, 24, 39, 0.04), transparent 40%),
    var(--soft);
}

.section-header {
  max-width: 860px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.section-header h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  color: var(--secondary);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.1), transparent 26%),
    radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.06), transparent 32%);
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: 1.08fr 0.92fr;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: #fafafa;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #201a08;
  box-shadow: 0 10px 24px var(--accent-soft);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px var(--accent-soft);
  filter: brightness(1.05);
}

.btn-secondary {
  border-color: #d4d4d8;
  background: #fff;
  color: var(--secondary);
}

.btn-secondary:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, #d4d4d8);
  color: var(--primary);
}

.admin-btn-danger,
.btn-danger {
  background: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
}

.admin-btn-danger:hover,
.btn-danger:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.stat-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.stat-card span {
  margin-top: 4px;
  display: block;
  font-size: 13px;
  color: #71717a;
}

.hero-visual {
  position: relative;
}

.hero-visual .blob-a,
.hero-visual .blob-b {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  filter: blur(40px);
}

.hero-visual .blob-a {
  right: -32px;
  top: -24px;
  background: rgba(20, 120, 163, 0.26);
}

.hero-visual .blob-b {
  left: -28px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.mock-wrap {
  position: relative;
  border-radius: 32px;
  border: 1px solid #e4e4e7;
  background: var(--secondary);
  padding: 10px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
}

.mock-inner {
  border-radius: 24px;
  background: #fff;
  padding: 20px;
}

.dashboard-card {
  border-radius: 22px;
  background: var(--secondary);
  color: #fff;
  padding: 20px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.live-chip {
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--primary);
}

.metric-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.metric {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.metric small {
  display: block;
  color: #a1a1aa;
  font-size: 11px;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.mini-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  padding: 14px;
}

.trusted-strip {
  border-top: 1px solid var(--secondary-border);
  border-bottom: 1px solid var(--secondary-border);
  background: var(--secondary);
  color: #e4e4e7;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
}

.trusted-row span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  margin-right: 8px;
  vertical-align: middle;
}

.grid-2,
.grid-3,
.grid-6 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: #63636f;
}

.chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #52525b;
}

.two-col {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.panel-dark {
  border-radius: 28px;
  background: var(--secondary);
  color: #fff;
  padding: 28px;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.24);
}

.panel-dark p {
  color: #d4d4d8;
}

.point-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.point-list li {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fafafa;
  color: #3f3f46;
}

.review-stars {
  color: var(--primary);
  letter-spacing: 1px;
}

.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 80% at 18% 0%, rgba(255, 255, 255, 0.2), transparent 52%),
    radial-gradient(ellipse 55% 70% at 92% 100%, rgba(0, 0, 0, 0.16), transparent 48%),
    var(--primary);
  color: #fff;
  padding: clamp(48px, 6vw, 64px) 24px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(20, 120, 163, 0.28);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 44%);
}

.cta-block > * {
  position: relative;
}

.cta-block p {
  max-width: 860px;
  margin: 12px auto 20px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-panel {
  border-radius: 32px;
  background: var(--secondary);
  color: #fff;
  padding: 28px;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.25);
}

.contact-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-item-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex: 0 0 auto;
}

.contact-form {
  border-radius: 32px;
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 22px;
}

.contact-panel-eyebrow {
  color: var(--primary-light);
}

.contact-page-section .contact-offices-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(12px, 2vw, 20px);
  width: 100%;
}

.contact-offices-header {
  text-align: center;
  width: 100%;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.contact-offices-title {
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.contact-offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.contact-office-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: #fff;
  padding: clamp(20px, 2.5vw, 26px) clamp(18px, 2.2vw, 24px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.contact-office-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-office-name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--secondary);
}

.contact-office-flag {
  flex: 0 0 auto;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1;
}

.contact-office-address {
  margin: 0 0 14px;
  color: #3f3f46;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.7;
}

.contact-office-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  gap: 10px;
}

.contact-office-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.contact-office-meta-item:hover {
  color: var(--primary);
}

.contact-office-meta-item .icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--primary);
}

@media (min-width: 1280px) {
  .contact-offices-grid:has(.contact-office-card:nth-child(4)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contact-offices-grid {
    gap: 14px;
  }

  .contact-office-card {
    padding: 20px 18px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #27272a;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-card.featured {
  border-color: #111827;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.24);
}

.quote-card.featured p {
  color: #e4e4e7;
}

.quote-card.featured .point-list li,
.quote-card.featured .point-list li span {
  color: #111827;
}

.featured-tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  margin-bottom: 12px;
}

/* Pricing / Quote page */
.pricing-page {
  --pricing-accent: var(--primary);
  --pricing-accent-soft: rgba(20, 120, 163, 0.08);
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding: 56px 0 64px;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.pricing-hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.pricing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 14px;
}

.pricing-breadcrumb a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.pricing-breadcrumb a:hover {
  text-decoration: underline;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.pricing-hero p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 680px;
}

.pricing-body {
  padding: 0 0 72px;
  margin-top: -28px;
}

.pricing-toggle-shell {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pricing-toggle-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 39, 68, .08);
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0;
}

.pricing-toggle-btn {
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

.pricing-toggle-btn.is-active {
  background: var(--pricing-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 120, 163, 0.22);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  min-height: 100%;
}

.pricing-card.is-featured {
  border-color: rgba(20, 120, 163, 0.35);
  box-shadow: 0 16px 36px rgba(20, 120, 163, 0.1);
}

.pricing-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pricing-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pricing-accent-soft);
  color: var(--pricing-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card-icon .icon {
  width: 20px;
  height: 20px;
}

.pricing-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.pricing-card-price {
  background: var(--pricing-accent-soft);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.pricing-card-price strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1;
  color: var(--pricing-accent);
  letter-spacing: -0.02em;
}

.pricing-card-price span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

.pricing-card-desc {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.55;
  font-size: 14px;
}

.pricing-card-features {
  flex: 1 1 auto;
}

.pricing-card-features h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #111827;
}

.pricing-card-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pricing-card-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

.pricing-check {
  width: 18px;
  height: 18px;
  color: var(--pricing-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  background: var(--pricing-accent);
  border-color: var(--pricing-accent);
  color: #fff;
}

.pricing-card-cta:hover {
  filter: brightness(1.05);
}

.pricing-empty,
.pricing-footnote {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.pricing-footnote {
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-toggle-wrap {
    display: flex;
    width: 100%;
  }

  .pricing-toggle-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 11px 14px;
  }
}

@media (max-width: 640px) {
  .pricing-hero {
    padding: 42px 0 52px;
  }

  .pricing-body {
    margin-top: -18px;
    padding-bottom: 48px;
  }

  .pricing-card {
    padding: 18px 16px 16px;
  }
}

/* About page */
.about-page {
  --about-accent: var(--primary);
  --about-accent-soft: var(--primary-soft);
}

.about-hero {
  position: relative;
  background: var(--secondary);
  color: #fff;
  padding: 56px 0 80px;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb, 201, 162, 39), 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.about-hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.about-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 14px;
}

.about-breadcrumb a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}

.about-breadcrumb a:hover {
  text-decoration: underline;
}

.about-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.about-hero p {
  margin: 0;
  max-width: 700px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.about-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.15);
  z-index: 1;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.about-mission-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-mission-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}

.about-mission-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--about-accent-soft);
  border: 1px solid rgba(20, 120, 163, 0.14);
}

.about-callout-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-mission-callout p {
  margin: 0;
  color: #3f3f46;
  font-weight: 600;
  line-height: 1.5;
}

.about-visual-card {
  min-height: 100%;
}

.about-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 120, 163, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.about-visual-card h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.about-visual-card > p {
  margin: 0 0 14px;
  color: #d4d4d8;
  line-height: 1.6;
}

.about-visual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.about-visual-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: #e4e4e7;
}

.about-visual-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
}

.about-perspective {
  padding-top: 24px;
}

.about-perspective-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.about-perspective-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.about-perspective-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  max-width: 42ch;
}

.about-perspective-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #e8edf3;
}

.about-perspective-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-perspective-media.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(20, 120, 163, 0.12)),
    linear-gradient(180deg, #dbe3ee, #c7d2e0);
}

.about-ceo {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
}

.about-ceo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(20, 120, 163, 0.18), transparent 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 40%);
}

.about-ceo-bg::before,
.about-ceo-bg::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
}

.about-ceo-bg::before {
  top: 0;
  left: 0;
  width: min(42vw, 420px);
  height: min(28vw, 220px);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

.about-ceo-bg::after {
  top: 0;
  left: 0;
  width: min(28vw, 260px);
  height: min(18vw, 140px);
  background: rgba(20, 120, 163, 0.16);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
}

.about-ceo-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.about-ceo-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.about-ceo-role {
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.about-ceo-quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.about-ceo-quote p {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.about-ceo-quote p::before {
  content: "“";
  display: inline;
}

.about-ceo-quote p::after {
  content: "”";
  display: inline;
}

.about-ceo-photo-wrap {
  display: flex;
  justify-content: flex-end;
}

.about-ceo-photo {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.about-ceo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-ceo-photo.is-placeholder {
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  background:
    linear-gradient(145deg, rgba(20, 120, 163, 0.55), rgba(15, 23, 42, 0.2)),
    var(--secondary);
}

.about-stats-bar {
  background: var(--secondary);
  color: #fff;
  padding: 28px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-value-card {
  border-radius: 20px;
  padding: 20px 18px;
}

.about-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--about-accent-soft);
  color: var(--primary);
  margin-bottom: 12px;
}

.about-value-icon .icon {
  width: 22px;
  height: 22px;
}

.about-value-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 0;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(rgba(20, 120, 163, 0.2), var(--primary));
  border-radius: 999px;
}

.about-timeline-item {
  position: relative;
  width: 50%;
  padding: 0 28px 28px 0;
}

.about-timeline-item.is-right {
  margin-left: 50%;
  padding: 0 0 28px 28px;
}

.about-timeline-item::after {
  content: '';
  position: absolute;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid rgba(20, 120, 163, 0.2);
  box-shadow: 0 0 0 4px var(--about-accent-soft);
}

.about-timeline-item:not(.is-right)::after {
  right: -7px;
}

.about-timeline-item.is-right::after {
  left: -7px;
}

.about-timeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.about-timeline-year {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.about-timeline-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.about-timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-team-card {
  text-align: center;
}

.about-team-photo-wrap {
  margin-bottom: 12px;
}

.about-team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: #e5e7eb;
}

.about-team-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
}

.about-team-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.about-team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-love {
  background: #fff;
  overflow: hidden;
}

.about-love-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.about-love-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--secondary);
}

.about-love-accent {
  color: var(--primary);
}

.about-love-copy > p {
  margin: 0 0 22px;
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  line-height: 1.7;
}

.about-love-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.about-love-cta:hover {
  background: var(--primary);
  color: #fff;
}

.about-love-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  align-items: center;
  min-height: 420px;
}

.about-love-photos {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  aspect-ratio: 3 / 4;
  justify-self: center;
}

.about-love-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e8edf3;
}

.about-love-photo[hidden] {
  display: none;
}

.about-love-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-love-photo.is-placeholder {
  display: grid;
  place-items: center;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(20, 120, 163, 0.55), rgba(15, 23, 42, 0.35)),
    linear-gradient(180deg, #dbe3ee, #c7d2e0);
}

.about-love-photo.is-placeholder[hidden] {
  display: none;
}

.about-love-card-wrap {
  position: relative;
  z-index: 2;
  margin-left: -18%;
  width: min(100%, 320px);
  justify-self: start;
}

.about-love-slides {
  position: relative;
}

.about-love-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 5px solid var(--primary);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 22px 20px 18px;
}

.about-love-card[hidden] {
  display: none;
}

.about-love-quote {
  margin: 0 0 14px;
  color: #3f3f46;
  font-size: 0.98rem;
  line-height: 1.65;
  font-style: italic;
}

.about-love-quote::before {
  content: "“";
}

.about-love-quote::after {
  content: "”";
}

.about-love-name {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-love-meta {
  margin: 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.92;
}

.about-love-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-left: 4px;
}

.about-love-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4d4d8;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.about-love-dot.is-active,
.about-love-dot:hover {
  background: var(--primary);
}

.about-love-dot.is-active {
  transform: scale(1.12);
}

.about-page .about-final-cta {
  padding-top: 0;
  padding-bottom: 0;
}

.about-page .about-final-cta .cta-block {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-right: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-page .about-final-cta .cta-block h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .about-mission-grid,
  .about-perspective-grid,
  .about-values-grid,
  .about-team-grid,
  .about-ceo-grid,
  .about-love-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-ceo-photo-wrap {
    justify-content: center;
  }

  .about-ceo-photo {
    width: 100%;
  }

  .about-love-visual {
    min-height: 0;
  }

  .about-love-card-wrap {
    margin-left: -12%;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-timeline::before {
    left: 12px;
    transform: none;
  }

  .about-timeline-item,
  .about-timeline-item.is-right {
    width: 100%;
    margin-left: 0;
    padding: 0 0 22px 34px;
  }

  .about-timeline-item::after,
  .about-timeline-item.is-right::after {
    left: 5px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 42px 0 64px;
  }

  .about-mission-grid,
  .about-perspective-grid,
  .about-values-grid,
  .about-team-grid,
  .about-stats-grid,
  .about-ceo-grid,
  .about-love-grid {
    grid-template-columns: 1fr;
  }

  .about-ceo {
    padding: 42px 0;
  }

  .about-ceo-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .about-ceo-photo-wrap {
    order: -1;
  }

  .about-perspective-card p,
  .about-love-copy > p {
    max-width: none;
  }

  .about-love-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .about-love-photos {
    width: min(100%, 320px);
  }

  .about-love-card-wrap {
    margin: -36px 0 0;
    width: min(100%, 340px);
  }

  .about-page .section {
    padding: 52px 0;
  }
}

/* Sales funnel lead-gen landing page */
.funnel-page {
  --funnel-accent: var(--primary);
}

.funnel-hero,
.funnel-final {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
}

.funnel-hero-bg,
.funnel-final-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78)),
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.28), transparent 42%);
}

.funnel-hero-grid,
.funnel-final-grid,
.funnel-experience-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.funnel-hero-copy h1,
.funnel-final-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.funnel-hero-copy p,
.funnel-final-copy p {
  margin: 0 0 18px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.funnel-hero-cta {
  background: var(--primary);
  color: #fff;
  border: 0;
}

.funnel-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.funnel-trust-badges span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.funnel-hero-form-card {
  background: #fff;
  color: var(--secondary);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.funnel-hero-form-card h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.funnel-form-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.funnel-hero-form-card label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.funnel-hero-form-card input,
.funnel-hero-form-card textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #f8fafc;
}

.funnel-hero-form-card button {
  width: 100%;
  margin-top: 14px;
}

.funnel-services-grid,
.funnel-portfolio-grid,
.funnel-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.funnel-service-card,
.funnel-tech-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
}

.funnel-service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft, rgba(20, 120, 163, 0.1));
  color: var(--primary);
  margin-bottom: 10px;
}

.funnel-service-card h3,
.funnel-tech-item h3,
.funnel-portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.funnel-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.funnel-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.funnel-service-tags span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.funnel-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.funnel-stat-card {
  background: var(--secondary);
  color: #fff;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}

.funnel-stat-card strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.funnel-stat-card span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.funnel-portfolio-card {
  background: var(--funnel-card-accent, var(--secondary));
  border-radius: 16px;
  padding: 18px 16px 14px;
  color: #fff;
}

.funnel-portfolio-screen {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.funnel-portfolio-screen img,
.funnel-portfolio-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.funnel-portfolio-placeholder {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
}

.funnel-process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.funnel-process-track li {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
}

.funnel-process-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}

.funnel-process-track strong {
  display: block;
  font-size: 0.92rem;
  color: var(--secondary);
}

.funnel-tech-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8fafc;
}

.funnel-tech-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.funnel-tech-icon.is-text span {
  font-weight: 800;
  color: var(--secondary);
}

.funnel-tech-item {
  text-align: center;
}

@media (max-width: 1024px) {
  .funnel-services-grid,
  .funnel-portfolio-grid,
  .funnel-tech-grid,
  .funnel-process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .funnel-hero-grid,
  .funnel-final-grid,
  .funnel-experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .funnel-services-grid,
  .funnel-portfolio-grid,
  .funnel-tech-grid,
  .funnel-process-track,
  .funnel-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Start a Project page */
.start-project-hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0;
}

.start-project-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.28), transparent 42%);
}

.start-project-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.start-project-hero-inner h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.start-project-hero-inner p {
  margin: 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.start-project-form-section {
  background: #fff;
}

.start-project-form-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.start-project-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.start-project-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.start-project-form label .req {
  color: var(--primary);
}

.start-project-form .phone-field {
  margin: 0;
}

.start-project-form .phone-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.phone-field-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.phone-field-country {
  flex: 0 0 auto;
  width: auto;
  min-width: 112px;
  max-width: 132px;
  padding-right: 28px;
}

.phone-field-number {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.contact-form .phone-field label {
  color: #27272a;
}

.contact-form .phone-field-hint {
  color: #64748b;
}

.contact-form .form-grid-phone {
  grid-column: 1 / -1;
}

.contact-form .phone-field-row .phone-field-country,
.contact-inquiry-form .phone-field-row .phone-field-country {
  width: auto;
}

.contact-form .phone-field-row .phone-field-number,
.contact-inquiry-form .phone-field-row .phone-field-number {
  width: auto;
}

.contact-form .phone-field-country,
.contact-inquiry-form .phone-field-country,
.contact-form .phone-field-number,
.contact-inquiry-form .phone-field-number {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
  color: var(--secondary);
}

.contact-form .phone-field-country:focus,
.contact-inquiry-form .phone-field-country:focus,
.contact-form .phone-field-number:focus,
.contact-inquiry-form .phone-field-number:focus {
  outline: 2px solid rgba(20, 120, 163, 0.18);
  border-color: rgba(20, 120, 163, 0.45);
}

@media (max-width: 640px) {
  .phone-field-row {
    flex-direction: column;
  }

  .phone-field-country {
    width: 100%;
    max-width: none;
  }
}

.start-project-form input,
.start-project-form select,
.start-project-form textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #f8fafc;
  color: var(--secondary);
}

.start-project-form input:focus,
.start-project-form select:focus,
.start-project-form textarea:focus {
  outline: 2px solid rgba(20, 120, 163, 0.18);
  border-color: rgba(20, 120, 163, 0.45);
  background: #fff;
}

.start-project-form .phone-field-row .phone-field-country {
  width: auto;
}

.start-project-form .phone-field-row .phone-field-number {
  width: auto;
}

.start-project-field-budget {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  .start-project-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .start-project-field-budget {
    grid-column: auto;
  }
}

.start-project-field-message {
  margin-top: 16px;
}

.start-project-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}

.start-project-consent input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.start-project-submit {
  margin-top: 18px;
  min-width: 180px;
}

.start-project-offices {
  background: var(--secondary);
  padding: clamp(40px, 6vw, 72px) 0;
}

.start-project-offices .contact-offices-wrap {
  margin: 0;
}

.start-project-offices .contact-offices-title {
  color: #fff;
}

.start-project-offices .contact-office-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.start-project-offices .contact-office-name,
.start-project-offices .contact-office-address,
.start-project-offices .contact-office-meta-item,
.start-project-offices .contact-office-meta-item span {
  color: #fff;
}

.start-project-offices .contact-office-meta-item {
  color: rgba(255, 255, 255, 0.92);
}

.start-project-offices .contact-office-meta-item .icon {
  color: var(--primary);
}

@media (max-width: 640px) {
  .start-project-form-grid {
    grid-template-columns: 1fr;
  }

  .start-project-submit {
    width: 100%;
  }
}

/* Talk to Expert page */
.talk-expert-page {
  background: #fff;
}

.talk-expert-hero {
  padding: clamp(40px, 6vw, 72px) 0;
}

.talk-expert-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.talk-expert-copy {
  border-radius: 32px;
  background: var(--secondary);
  color: #fff;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.18);
}

.talk-expert-eyebrow {
  color: var(--primary-light);
}

.talk-expert-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.talk-expert-lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.talk-expert-points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.talk-expert-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.talk-expert-points .point-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.talk-expert-contact-links {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.talk-expert-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
}

.talk-expert-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.talk-expert-note {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.talk-expert-alt-cta {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

.talk-expert-widget-wrap {
  min-width: 0;
}

.talk-expert-widget-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.talk-expert-widget-head {
  padding: 22px 22px 0;
}

.talk-expert-widget-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--secondary);
}

.talk-expert-widget-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.talk-expert-calendly {
  width: 100%;
}

.talk-expert-offices {
  background: var(--secondary);
  padding: clamp(40px, 6vw, 72px) 0;
}

.talk-expert-offices .contact-offices-wrap {
  margin: 0;
}

.talk-expert-offices .contact-offices-title {
  color: #fff;
}

.talk-expert-offices .contact-office-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.talk-expert-offices .contact-office-name,
.talk-expert-offices .contact-office-address,
.talk-expert-offices .contact-office-meta-item,
.talk-expert-offices .contact-office-meta-item span {
  color: #fff;
}

.talk-expert-offices .contact-office-meta-item {
  color: rgba(255, 255, 255, 0.92);
}

.talk-expert-offices .contact-office-meta-item .icon {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .talk-expert-layout {
    grid-template-columns: 1fr;
  }
}

/* Services page */
.services-page {
  --services-accent: var(--primary);
}

.services-hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding: clamp(48px, 7vw, 88px) 0;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.28), transparent 42%);
  pointer-events: none;
}

.services-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.services-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.services-hero-copy p {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
}

.services-hero-form {
  background: #fff;
  color: var(--secondary);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.services-hero-form h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.services-hero-form label {
  display: block;
  margin: 10px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.services-hero-form input,
.services-hero-form textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #f8fafc;
}

.services-hero-form button {
  width: 100%;
  margin-top: 14px;
}

.services-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.services-intro-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.services-intro-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-block {
  padding: clamp(36px, 6vw, 72px) 0;
}

.services-block:nth-child(even) {
  background: #f8fafc;
}

.services-block-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.services-block.is-reverse .services-block-grid {
  direction: rtl;
}

.services-block.is-reverse .services-block-grid > * {
  direction: ltr;
}

.services-block-copy {
  position: relative;
}

.services-block-index {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.08);
  margin-bottom: 8px;
}

.services-block-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.services-block-tagline {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.5;
}

.services-block-desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.services-block-list {
  margin: 0 0 18px;
  padding-left: 1.15rem;
  color: #334155;
  line-height: 1.7;
}

.services-block-list li + li {
  margin-top: 4px;
}

.services-block-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.services-block-cta:hover {
  text-decoration: underline;
}

.services-block-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8edf3;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.services-block-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-block-photo.is-placeholder {
  display: grid;
  place-items: center;
  color: var(--primary);
  background:
    linear-gradient(145deg, rgba(20, 120, 163, 0.12), rgba(15, 23, 42, 0.08)),
    #e8edf3;
}

.services-block-photo.is-placeholder .icon {
  width: 48px;
  height: 48px;
}

.tech-stack {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.tech-stack--home {
  background:
    radial-gradient(circle at 0% 40%, rgba(20, 120, 163, 0.04), transparent 28%),
    #fff;
}

.tech-stack-head {
  text-align: center;
  margin-bottom: 22px;
}

.tech-stack-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.tech-stack-accent {
  color: var(--primary);
}

.tech-stack-tabs,
.services-tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 0 0 28px;
}

.tech-stack-tab,
.services-tech-tab {
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-weight: 800;
  padding: 8px 4px 10px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tech-stack-tab.is-active,
.tech-stack-tab:hover,
.services-tech-tab.is-active,
.services-tech-tab:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tech-stack-grid,
.services-tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px 40px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px;
}

.tech-stack-item,
.services-tech-item {
  text-align: center;
  flex: 0 0 112px;
  width: 112px;
  max-width: 112px;
}

.tech-stack-item.is-hidden,
.services-tech-item.is-hidden {
  display: none;
}

.tech-stack-icon,
.services-tech-icon {
  width: 100%;
  min-height: 80px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-stack-icon img,
.services-tech-icon img,
.tech-stack-icon svg,
.services-tech-icon svg {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.tech-stack-icon.is-text,
.services-tech-icon.is-text {
  width: 80px;
  height: 80px;
  min-height: 80px;
  border-radius: 18px;
  background: #eef2f7;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tech-stack-icon.is-text span,
.services-tech-icon.is-text span {
  font-weight: 800;
  color: var(--secondary);
}

.tech-stack-item h3,
.services-tech-item h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.services-faq {
  background: var(--secondary);
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0;
}

.services-faq-head {
  text-align: center;
  margin-bottom: 24px;
}

.services-faq-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: #fff;
}

.services-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.services-faq-item {
  background: #fff;
  color: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
}

.services-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 700;
}

.services-faq-item summary::-webkit-details-marker {
  display: none;
}

.services-faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.services-faq-icon::before,
.services-faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
}

.services-faq-icon::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
}

.services-faq-icon::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.services-faq-item[open] .services-faq-icon::after {
  opacity: 0;
  transform: scaleY(0);
}

.services-faq-answer {
  padding: 0 18px 16px;
  color: #475569;
  line-height: 1.7;
}

.services-faq-answer p {
  margin: 0 0 8px;
}

.services-faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .services-hero-grid,
  .services-block-grid,
  .services-block.is-reverse .services-block-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .services-block.is-reverse .services-block-media {
    order: -1;
  }
}

@media (max-width: 900px) {
  .tech-stack-grid,
  .services-tech-grid {
    gap: 28px 28px;
  }

  .tech-stack-item,
  .services-tech-item {
    flex-basis: 100px;
    width: 100px;
    max-width: 100px;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding: 42px 0;
  }

  .tech-stack-grid,
  .services-tech-grid {
    gap: 24px 20px;
  }

  .tech-stack-item,
  .services-tech-item {
    flex-basis: 88px;
    width: 88px;
    max-width: 88px;
  }

  .tech-stack-icon,
  .services-tech-icon {
    min-height: 68px;
    margin-bottom: 10px;
  }

  .tech-stack-icon img,
  .services-tech-icon img,
  .tech-stack-icon svg,
  .services-tech-icon svg {
    width: 60px;
    height: 60px;
  }

  .tech-stack-icon.is-text,
  .services-tech-icon.is-text {
    width: 68px;
    height: 68px;
    min-height: 68px;
  }
}

/* Partnership page */
.partnership-page {
  --partnership-accent-soft: var(--primary-soft);
}

.partnership-hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  padding-top: 48px;
  padding-bottom: 64px;
}

.partnership-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.partnership-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.partnership-hero-copy h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.partnership-hero-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
}

.partnership-hero-badge {
  background: rgba(20, 120, 163, 0.14);
  border-color: rgba(20, 120, 163, 0.28);
  color: #fff;
}

.partnership-hero-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.partnership-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.partnership-preview-card {
  margin: 0;
}

.partnership-preview-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.partnership-stats {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.partnership-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.partnership-stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.partnership-stat span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.partnership-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partnership-benefit-card {
  border-radius: 20px;
  padding: 22px 20px;
}

.partnership-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--partnership-accent-soft);
  color: var(--primary);
  margin-bottom: 12px;
}

.partnership-benefit-icon .icon {
  width: 22px;
  height: 22px;
}

.partnership-benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.partnership-benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.partnership-models {
  background: var(--secondary);
  color: #fff;
}

.partnership-models-head h2,
.partnership-models-head p {
  color: #fff;
}

.partnership-models-head p {
  color: #d4d4d8;
}

.partnership-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.partnership-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 22px 20px 20px;
  min-height: 100%;
}

.partnership-tier-card.is-featured {
  background: #fff;
  color: var(--text);
  border-color: rgba(20, 120, 163, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.partnership-tier-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.partnership-tier-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.partnership-tier-subtitle {
  margin: 0 0 14px;
  color: #d4d4d8;
  font-size: 14px;
  line-height: 1.5;
}

.partnership-tier-card.is-featured .partnership-tier-subtitle {
  color: var(--muted);
}

.partnership-tier-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
}

.partnership-tier-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
}

.partnership-tier-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}

.partnership-tier-card:not(.is-featured) .partnership-tier-check {
  color: #fca5a5;
}

.partnership-tier-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.partnership-tier-card:not(.is-featured) .partnership-tier-cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.partnership-tier-card:not(.is-featured) .partnership-tier-cta:hover {
  background: rgba(255, 255, 255, 0.08);
}

.partnership-tier-card.is-featured .partnership-tier-cta {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.partnership-form-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.partnership-form-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.partnership-form-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.partnership-contact-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.partnership-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3f3f46;
  font-weight: 600;
}

.partnership-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--partnership-accent-soft);
  color: var(--primary);
}

.partnership-form-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.partnership-form-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .partnership-hero-grid,
  .partnership-form-layout {
    grid-template-columns: 1fr;
  }

  .partnership-benefits-grid,
  .partnership-tiers-grid,
  .partnership-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .partnership-hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .partnership-benefits-grid,
  .partnership-tiers-grid,
  .partnership-stats-grid {
    grid-template-columns: 1fr;
  }

  .partnership-page .section {
    padding: 52px 0;
  }
}

/* Help Center */
.help-page {
  --help-accent-soft: var(--primary-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-hero {
  position: relative;
  background: var(--secondary);
  color: #fff;
  padding: 48px 0 72px;
  overflow: hidden;
  text-align: center;
}

.help-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 120, 163, 0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.help-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.help-breadcrumb {
  margin-bottom: 14px;
}

.help-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.help-breadcrumb a:hover {
  color: #fff;
}

.help-breadcrumb-icon {
  transform: rotate(180deg);
  width: 14px;
  height: 14px;
}

.help-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.help-hero p {
  margin: 0 auto 22px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
}

.help-search-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.help-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.help-search-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 15px;
  padding: 14px 18px 14px 44px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.help-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.help-search-input:focus {
  border-color: rgba(20, 120, 163, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(20, 120, 163, 0.12);
}

.help-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.15);
  z-index: 1;
}

.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help-category-card {
  border-radius: 20px;
  padding: 20px 18px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-color: #eceff3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.help-category-card.is-hidden {
  display: none;
}

.help-category-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.help-category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--help-accent-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.help-category-icon .icon {
  width: 22px;
  height: 22px;
}

.help-category-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.help-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.help-category-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.help-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.help-category-link:hover {
  text-decoration: underline;
}

.help-category-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
}

.help-filter-active {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.help-filter-active button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.help-faq-panel {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.help-faq-item {
  border-bottom: 1px solid #eef0f3;
}

.help-faq-item:last-of-type {
  border-bottom: 0;
}

.help-faq-item.is-hidden {
  display: none;
}

.help-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 700;
  line-height: 1.45;
}

.help-faq-item summary::-webkit-details-marker {
  display: none;
}

.help-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--help-accent-soft);
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

.help-faq-item[open] summary::after {
  content: "−";
}

.help-faq-answer {
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.help-empty {
  margin: 0;
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

.help-cta {
  text-align: center;
}

.help-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.help-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

.help-cta p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .help-categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .help-hero {
    padding: 36px 0 64px;
  }

  .help-categories-grid {
    grid-template-columns: 1fr;
  }

  .help-page .section {
    padding: 52px 0;
  }

  .help-faq-item summary {
    padding: 14px 14px;
    font-size: 15px;
  }

  .help-faq-answer {
    padding: 0 14px 14px;
  }
}

.legal-box {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #f9fafb;
  padding: 26px;
}

.site-footer {
  margin-top: 0;
  background: var(--secondary);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  gap: 24px;
  padding: 56px 0 32px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
}

.footer-copy {
  color: #a1a1aa;
  font-size: 14px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #a1a1aa;
  font-size: 14px;
}

.footer-list li {
  list-style: none;
}

.footer-sub-list {
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  list-style: none;
  display: grid;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-sub-item > a {
  font-size: 13px;
  color: #8f97a6;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 22px;
}

.footer-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #71717a;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-social-top {
  padding: 4px 0 14px;
}

.footer-social {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 13px;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.footer-social-btn .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke-width: 2.2;
  opacity: 0.96;
}

.footer-social-btn span {
  line-height: 1;
}

.alert {
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-weight: 700;
}

.ok {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, #e5e7eb);
}

.err {
  background: var(--secondary-soft);
  color: var(--secondary);
  border: 1px solid color-mix(in srgb, var(--secondary) 20%, #e5e7eb);
}

.admin-wrap {
  --admin-sidebar-width: 272px;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
  color: var(--secondary);
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--admin-sidebar-width);
  background: var(--secondary);
  color: #e5e7eb;
  border-right: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  display: flex;
  flex-direction: column;
  z-index: 40;
  transition: transform 0.28s ease;
}

.admin-sidebar-head {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.admin-brand-sub {
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.03em;
}

.admin-sidebar-close {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: transparent;
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.admin-menu {
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  overflow-y: auto;
}

.admin-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-menu a:hover {
  color: #fff;
  background: rgba(148, 163, 184, 0.16);
  transform: translateX(2px);
}

.admin-menu a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 75%, var(--secondary)));
  box-shadow: 0 10px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  display: grid;
  gap: 8px;
}

.admin-quick-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.55);
}

.admin-quick-link:hover {
  background: rgba(30, 41, 59, 0.9);
}

.admin-logout-link {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.4);
}

.admin-content {
  margin-left: var(--admin-sidebar-width);
  min-height: 100vh;
}

.admin-headerbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(14px, 2.5vw, 28px);
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 18px;
}

.admin-page-title {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  color: #0f172a;
}

.admin-page-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748b;
}

.admin-global-search {
  flex: 1 1 220px;
  max-width: 360px;
  min-width: 0;
}

.admin-global-search input[type="search"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  background: #fff;
  color: #0f172a;
}

.admin-global-search input[type="search"]:focus {
  outline: none;
  border-color: var(--primary, #1478a3);
  box-shadow: 0 0 0 3px var(--primary-shadow, rgba(20, 120, 163, 0.12));
}

.admin-user-chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-main {
  padding: clamp(14px, 2.2vw, 26px);
}

.admin-main .card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  background: #fff;
}

.admin-main .btn {
  border-radius: 10px;
}

.admin-overlay {
  display: none;
}

@media (max-width: 980px) {
  .admin-content {
    margin-left: 0;
  }

  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: 18px 0 34px rgba(2, 6, 23, 0.38);
  }

  .admin-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 35;
  }

  .admin-wrap.admin-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-wrap.admin-menu-open .admin-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-user-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .admin-page-sub {
    display: none;
  }

  .admin-main {
    padding: 12px;
  }
}
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 14px;
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  background: #f9fafb;
}

@media (max-width: 1200px) {
  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .contact-layout,
  .two-col,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-6,
  .form-grid,
  .stat-grid,
  .mini-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Upgrade + Custom Page Builder */
.hero-premium .hero-inner {
  gap: 56px;
}

.hero-chip-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  padding: 7px 11px;
}

.hero-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-trust-note {
  margin-top: 14px;
  font-size: 14px;
  color: #52525b;
  font-weight: 600;
}

.hero-premium .mock-wrap {
  border-color: #d4d4d8;
  background: linear-gradient(180deg, #0b0b0f, #171717);
}

.hero-premium .dashboard-card {
  background: linear-gradient(145deg, var(--secondary) 0%, #18181b 100%);
}

.custom-block.theme-soft {
  background: #f8fafc;
}

.custom-block.theme-dark {
  background: #0b1020;
  color: #fff;
}

.custom-block.theme-dark .section-header h2,
.custom-block.theme-dark .custom-text-block h2,
.custom-block.theme-dark .custom-hero h1,
.custom-block.theme-dark .feature-card h3 {
  color: #fff;
}

.custom-block.theme-dark p,
.custom-block.theme-dark .section-header p,
.custom-block.theme-dark .custom-text-block p {
  color: #d1d5db;
}

.custom-hero {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.custom-hero h1 {
  margin: 10px 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
}

.custom-hero p {
  margin: 0;
  font-size: 18px;
  color: #52525b;
}

.custom-text-block h2 {
  margin-top: 0;
}

.custom-html {
  overflow: auto;
}

.custom-html > *:first-child {
  margin-top: 0;
}

.custom-html-full-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.custom-html-full-wrap:first-child,
main > .custom-html-full-wrap:first-child {
  margin-top: 0 !important;
}

.custom-html-full-wrap:last-child,
main > .custom-html-full-wrap:last-child {
  margin-bottom: 0 !important;
}

.custom-html-full {
  width: 100%;
  display: flow-root;
  overflow: auto;
}

.custom-html-full > *:first-child {
  margin-top: 0 !important;
}

.custom-html-full > *:last-child {
  margin-bottom: 0 !important;
}

.feature-card {
  border-style: dashed;
}

.builder-list {
  display: grid;
  gap: 10px;
}

.builder-item {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: grab;
}

.builder-item.dragging {
  opacity: 0.45;
  cursor: grabbing;
}

select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

.client-marquee {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}

.client-marquee-row {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.client-marquee-row.is-dragging {
  cursor: grabbing;
}

.client-marquee-row.is-controlled .client-marquee-track {
  animation: none !important;
}

.client-marquee-row.is-controlled .client-marquee-logo {
  pointer-events: none;
  -webkit-user-drag: none;
}

.client-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.client-marquee-row--left .client-marquee-track {
  animation: client-marquee-left 48s linear infinite;
}

.client-marquee-row--right .client-marquee-track {
  animation: client-marquee-right 48s linear infinite;
}

.client-marquee-row:hover .client-marquee-track {
  animation-play-state: paused;
}

.client-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  flex-shrink: 0;
  padding: 6px clamp(18px, 3vw, 36px);
}

.client-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-marquee-logo {
  display: block;
  width: auto;
  height: clamp(44px, 5vw, 64px);
  max-width: clamp(140px, 16vw, 220px);
  object-fit: contain;
  filter: grayscale(0.05);
  opacity: 0.92;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.client-marquee-row:hover .client-marquee-logo {
  opacity: 1;
  filter: grayscale(0);
}

.client-marquee-platforms-block {
  margin-top: clamp(28px, 5vw, 52px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid #e4e4e7;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.client-marquee-platforms-head {
  text-align: center;
}

.client-marquee-platforms-head .eyebrow {
  display: inline-block;
}

@keyframes client-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes client-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 700px) {
  .client-marquee {
    gap: 22px;
  }

  .client-marquee-platforms-block {
    margin-top: 24px;
    padding-top: 20px;
    gap: 16px;
  }

  .client-marquee-group {
    gap: 28px;
  }

  .client-marquee-logo {
    height: 40px;
    max-width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee-row--left .client-marquee-track,
  .client-marquee-row--right .client-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px 28px;
  }

  .client-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .client-marquee-row {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Our Clients page — honeycomb logo showcase */
.clients-page-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.clients-page-panel {
  border-radius: 28px;
  border: 1px solid #ececf3;
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 120, 163, 0.05), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(17, 24, 39, 0.05), transparent 40%),
    #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 36px) clamp(34px, 5vw, 56px);
}

.clients-page-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.clients-page-eyebrow {
  margin-bottom: 10px;
}

.clients-page-title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--secondary);
}

.clients-page-description {
  margin: 0 auto;
  max-width: 680px;
  color: #5b6474;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
}

.clients-honeycomb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.clients-honeycomb-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.clients-honeycomb-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 1.5vw, 16px);
}

.clients-hex-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.clients-hex-row--offset {
  padding-left: 34px;
}

.clients-honeycomb-col--right .clients-hex-row--offset {
  padding-left: 0;
  padding-right: 34px;
}

.clients-hex {
  --hex-w: 108px;
  width: var(--hex-w);
  height: calc(var(--hex-w) * 1.1547);
  position: relative;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.08));
}

.clients-hex--center {
  --hex-w: 168px;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.16));
}

.clients-hex-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.clients-hex--center .clients-hex-inner {
  background: linear-gradient(145deg, #1f2937 0%, #111827 55%, #0f172a 100%);
  padding: 22px;
}

.clients-hex-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.clients-hex-logo--brand {
  max-height: 64px;
}

@media (max-width: 980px) {
  .clients-honeycomb {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .clients-honeycomb-center {
    order: -1;
    margin-bottom: 4px;
  }

  .clients-honeycomb-col {
    gap: 12px;
  }

  .clients-hex-row--offset,
  .clients-honeycomb-col--right .clients-hex-row--offset {
    padding-left: 0;
    padding-right: 0;
  }

  .clients-hex {
    --hex-w: 96px;
  }

  .clients-hex--center {
    --hex-w: 140px;
  }
}

@media (max-width: 560px) {
  .clients-page-panel {
    border-radius: 20px;
    padding: 22px 14px 28px;
  }

  .clients-hex {
    --hex-w: 84px;
  }

  .clients-hex--center {
    --hex-w: 120px;
  }

  .clients-hex-logo {
    max-height: 34px;
  }

  .clients-hex-logo--brand {
    max-height: 48px;
  }
}

.brand-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-logo-img {
  height: 54px;
  max-width: 260px;
}

/* Responsive Brand Logo Fix */
.brand-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-logo-img {
  width: clamp(130px, 15vw, 188px);
  max-height: 46px;
}

.footer-logo-img {
  width: clamp(170px, 22vw, 250px);
  max-height: 62px;
}

@media (max-width: 1024px) {
  .header-logo-img {
    width: 150px;
    max-height: 40px;
  }

  .footer-logo-img {
    width: 190px;
    max-height: 54px;
  }
}

@media (max-width: 640px) {
  .brand-link {
    max-width: 68vw;
  }

  .header-logo-img {
    width: 132px;
    max-height: 38px;
  }

  .footer-logo-img {
    width: 160px;
    max-height: 46px;
  }
}

/* Force Smaller Header Logo */
.site-header .brand-link {
  max-width: 170px !important;
  overflow: hidden !important;
}

.site-header .brand-logo-img,
.site-header .header-logo-img {
  width: auto !important;
  max-width: 110px !important;
  height: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

.site-footer .footer-logo-img {
  width: auto !important;
  max-width: 120px !important;
  height: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .site-header .brand-link {
    max-width: 150px !important;
  }

  .site-header .brand-logo-img,
  .site-header .header-logo-img {
    width: auto !important;
    max-width: 86px !important;
    height: 44px !important;
    max-height: 44px !important;
  }

  .site-footer .footer-logo-img {
    width: auto !important;
    max-width: 96px !important;
    height: 52px !important;
    max-height: 52px !important;
  }
}

/* React-style Icon + Home Section Upgrade */
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon-xs {
  width: 16px;
  height: 16px;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-star {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  stroke: var(--primary);
}

.section-header.left {
  margin: 0 0 24px;
  text-align: left;
}

.section-header.left p {
  max-width: 700px;
}

.mini-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

.service-card {
  border-radius: 32px;
  background: #fafafa;
  transition: .2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid #e4e4e7;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-content h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.solutions-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.webtype-card {
  border-radius: 28px;
  transition: .2s ease;
}

.webtype-card:hover {
  box-shadow: 0 14px 26px rgba(0, 0, 0, .08);
}

.webtype-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.webtype-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(20, 120, 163, .08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.webtype-content h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.why-layout {
  align-items: start;
}

.why-left-panel {
  border-radius: 32px;
}

.why-feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.why-feature {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.why-feature span {
  color: #fff;
  display: inline-flex;
}

.why-feature strong {
  font-size: 13px;
  line-height: 1.3;
}

.point-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.point-icon {
  color: var(--primary);
  margin-top: 1px;
}

.testimonial-card {
  border-radius: 30px;
  background: #fafafa;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
}

.testimonial-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #e5e7eb;
}

.testimonial-meta-copy {
  min-width: 0;
}

.testimonial-meta-copy .testimonial-name {
  font-weight: 700;
}

.testimonial-company {
  color: #6b7280;
  font-size: 14px;
}

.testimonial-review-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.testimonial-review-link:hover {
  text-decoration: underline;
}

.faq-block-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-block-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px 18px;
  background: #fff;
}

.faq-block-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-block-item summary::-webkit-details-marker {
  display: none;
}

.faq-block-answer {
  margin-top: 10px;
  color: #4b5563;
  line-height: 1.6;
}

.local-landing-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.custom-image-block img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.roman-urdu-content,
.roman-urdu-content .blog-content {
  font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", Georgia, serif;
  line-height: 2;
  direction: rtl;
  text-align: right;
}

.roman-urdu-content h1,
.roman-urdu-content .blog-meta,
.roman-urdu-content .eyebrow {
  direction: ltr;
  text-align: left;
  font-family: inherit;
}

.admin-seo-vitals-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-seo-vitals-scores .admin-seo-score-ring {
  width: 88px;
  height: 88px;
  font-size: 12px;
}

.nd-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 12000;
  background: #111827;
  color: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  padding: 16px 18px;
}

.nd-consent-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.nd-consent-inner p {
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
  font-size: 14px;
}

.nd-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-bottom-main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-main a {
  color: #9ca3af;
  text-decoration: underline;
  font-size: 13px;
}

.input-error {
  border-color: #dc2626 !important;
}

.field-error {
  color: #dc2626;
  font-size: 13px;
  margin: 4px 0 0;
}

.cta-btn-white {
  background: #fff;
  color: #111827;
  border-color: #fff;
}

.cta-btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, .12);
}

@media (max-width: 1024px) {
  .solutions-layout,
  .two-col {
    grid-template-columns: 1fr;
  }

  .service-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 700px) {
  .solutions-grid,
  .why-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-row,
  .webtype-row {
    flex-direction: column;
  }
}

/* Home Motion System — intentional scroll reveals + hover polish */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.reveal-scale {
  transform: translate3d(0, 16px, 0) scale(0.96);
}

.reveal.reveal-left {
  transform: translate3d(-28px, 0, 0);
}

.reveal.reveal-right {
  transform: translate3d(28px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-stagger] > .reveal:nth-child(1) { --d: 0ms; }
[data-stagger] > .reveal:nth-child(2) { --d: 70ms; }
[data-stagger] > .reveal:nth-child(3) { --d: 140ms; }
[data-stagger] > .reveal:nth-child(4) { --d: 210ms; }
[data-stagger] > .reveal:nth-child(5) { --d: 280ms; }
[data-stagger] > .reveal:nth-child(6) { --d: 350ms; }
[data-stagger] > .reveal:nth-child(7) { --d: 420ms; }
[data-stagger] > .reveal:nth-child(8) { --d: 490ms; }
[data-stagger] > .reveal:nth-child(9) { --d: 560ms; }
[data-stagger] > .reveal:nth-child(10) { --d: 630ms; }
[data-stagger] > .reveal:nth-child(11) { --d: 700ms; }
[data-stagger] > .reveal:nth-child(12) { --d: 770ms; }

/* polish hover for interactive cards */
.webtype-card,
.service-card,
.testimonial-card,
.stat-card,
.why-feature,
.about-value-card,
.careers-job-card,
.blog-card,
.quote-card {
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.webtype-card:hover,
.service-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.about-value-card:hover,
.careers-job-card:hover,
.blog-card:hover,
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
}

.why-feature:hover {
  transform: translateY(-2px);
}

.nav-cta {
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), background-color 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(20, 120, 163, 0.34);
}

.site-header {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(229, 231, 235, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tech-stack-item,
.services-tech-item {
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.tech-stack-item:hover,
.services-tech-item:hover {
  transform: translateY(-3px);
}

.tech-stack-icon img,
.services-tech-icon img,
.tech-stack-icon svg,
.services-tech-icon svg {
  transition: transform 0.35s var(--ease-out);
}

.tech-stack-item:hover .tech-stack-icon img,
.tech-stack-item:hover .tech-stack-icon svg,
.services-tech-item:hover .services-tech-icon img,
.services-tech-item:hover .services-tech-icon svg {
  transform: scale(1.08);
}

.home-final-cta .cta-block {
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(0, 0, 0, 0.18), transparent 45%),
    var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-scale,
  .reveal.reveal-left,
  .reveal.reveal-right,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .webtype-card:hover,
  .service-card:hover,
  .testimonial-card:hover,
  .stat-card:hover,
  .about-value-card:hover,
  .careers-job-card:hover,
  .blog-card:hover,
  .quote-card:hover,
  .tech-stack-item:hover,
  .services-tech-item:hover,
  .btn:hover,
  .nav-cta:hover {
    transform: none;
  }

  .tech-stack-item:hover .tech-stack-icon img,
  .tech-stack-item:hover .tech-stack-icon svg,
  .services-tech-item:hover .services-tech-icon img,
  .services-tech-item:hover .services-tech-icon svg {
    transform: none;
  }
}

/* React Size Match: Why Section + Home Cards */
.why-layout {
  gap: clamp(32px, 5vw, 64px);
}

.why-layout .why-left-panel {
  padding: 32px;
  border-radius: 32px;
}

.why-layout .why-left-panel h2 {
  margin: 24px 0 12px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.why-layout .why-left-panel p {
  margin: 0;
  color: #d4d4d8;
  font-size: 16px;
  line-height: 1.9;
}

.why-layout .why-feature-grid {
  margin-top: 24px;
  gap: 14px;
}

.why-layout .why-feature {
  padding: 16px;
  border-radius: 16px;
  display: block;
  min-height: 110px;
}

.why-layout .why-feature span {
  display: inline-flex;
  margin-bottom: 10px;
}

.why-layout .why-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.why-layout .section-header.left {
  margin-bottom: 28px;
}

.why-layout .point-list {
  gap: 12px;
}

.why-layout .point-list li {
  padding: 16px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
}

.why-layout .point-list li span:last-child {
  font-size: 15px;
  line-height: 1.75;
}

.why-layout .point-icon {
  margin-top: 3px;
}

/* Card size tune to React scale */
.service-card {
  padding: 24px;
}

.service-content h3 {
  font-size: clamp(20px, 2.1vw, 24px);
}

.webtype-card {
  padding: 24px;
  border-radius: 28px;
}

.webtype-content h3 {
  font-size: 18px;
}

.testimonial-card {
  padding: 24px;
  border-radius: 32px;
}

@media (min-width: 640px) {
  .why-layout .why-left-panel {
    padding: 40px;
  }

  .service-card {
    padding: 32px;
  }
}

/* Home React Final Match (scoped) */
.home-react .section {
  padding: 64px 0;
}

.home-react .hero {
  padding-top: 56px;
  padding-bottom: 72px;
}

.home-react .hero-inner {
  gap: 64px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.home-react .badge {
  padding: 8px 16px;
  font-size: 14px;
}

.home-react .hero h1 {
  margin-top: 22px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.1vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 900px;
}

.home-react .hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.8;
  color: #52525b;
}

.home-react .hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.home-react .btn {
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 700;
}

.home-react .stat-grid {
  margin-top: 34px;
  gap: 14px;
}

.home-react .stat-card {
  border-radius: 24px;
  padding: 18px;
}

.home-react .stat-card strong {
  font-size: 32px;
  font-weight: 900;
}

.home-react .stat-card span {
  font-size: 13px;
  line-height: 1.5;
}

.home-react .mock-wrap {
  border-radius: 34px;
  padding: 10px;
}

.home-react .mock-inner {
  border-radius: 26px;
  padding: 20px;
}

.home-react .dashboard-card {
  border-radius: 24px;
  padding: 24px;
}

.home-react .metric {
  border-radius: 16px;
  padding: 14px;
}

.home-react .metric strong {
  font-size: 20px;
}

.home-react .mini-grid {
  margin-top: 16px;
  gap: 12px;
}

.home-react .mini-card {
  border-radius: 24px;
  padding: 18px;
  background: #fafafa;
}

.home-react .trusted-row {
  gap: 12px 32px;
  padding: 14px 0;
  font-size: 15px;
}

.home-react .section-header {
  margin-bottom: 46px;
}

.home-react .section-header h2 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.home-react .section-header p {
  font-size: 18px;
  line-height: 1.8;
  color: #52525b;
}

.home-react .client-marquee {
  gap: 32px;
}

.home-react .client-marquee-logo {
  height: clamp(48px, 5.2vw, 68px);
}

.hero-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--secondary);
  color: #fff;
  touch-action: pan-y;
}

.hero-slider-stage {
  position: relative;
  min-height: clamp(480px, 72vh, 760px);
}

.hero-slider-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-slide.is-active .hero-slide-image {
  animation: hero-slide-kenburns 9s ease forwards;
}

@keyframes hero-slide-kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.84) 0%, rgba(17, 24, 39, 0.58) 42%, rgba(17, 24, 39, 0.32) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.12) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(400px, 58vh, 600px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vh, 100px) 0 clamp(48px, 6vh, 64px);
}

.hero-slide-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
}

.hero-slide-inner {
  justify-content: center;
}

.hero-slide-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-slide-divider {
  width: 64px;
  height: 3px;
  margin: 18px auto 20px;
  background: var(--accent);
  border: none;
}

.hero-slide-copy p {
  margin-left: auto;
  margin-right: auto;
}

.hero-slide-actions {
  justify-content: center;
}

.hero-slide:not(.is-active) .hero-slide-copy {
  animation: none;
}

.hero-slide.is-active .hero-slide-copy {
  animation: hero-slide-copy-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

@keyframes hero-slide-copy-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-slide-copy h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-slide-copy p {
  margin: 0 auto;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.6;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-slide-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  display: none;
}

.hero-slide-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-slider-nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: none;
}

.hero-slider-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(17, 24, 39, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-slider-arrow:hover {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-slider-arrow-prev {
  left: 18px;
}

.hero-slider-arrow-next {
  right: 18px;
}

.hero-slider-arrow-prev .hero-slider-arrow-icon {
  display: inline-flex;
  transform: scaleX(-1);
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

/* Homepage hero stack: slider → stats → service strip (each its own block) */
.home-hero-stack {
  display: flex;
  flex-direction: column;
}

.home-hero-stats {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: clamp(18px, 3.5vw, 28px) 0;
  border-bottom: 1px solid #e4e4e7;
}

.home-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 14px);
}

.home-hero-stat-card {
  padding: clamp(14px, 2.8vw, 18px) clamp(12px, 2vw, 16px);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.home-hero-stat-card strong {
  display: block;
  color: var(--secondary);
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-hero-stat-card span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: clamp(12px, 2.8vw, 13px);
  line-height: 1.35;
}

.home-hero-stack .trusted-strip {
  margin-top: 0;
  flex-shrink: 0;
}

.home-hero-stack .hero-slider {
  flex-shrink: 0;
}

@media (min-width: 901px) {
  .hero-slider-nav {
    display: block;
  }

  .hero-slide-actions .hero-slide-btn-secondary {
    display: inline-flex;
  }

  .hero-slide-actions:not(:has(.btn-primary)) .hero-slide-btn-secondary {
    display: inline-flex;
  }
}

/* Mobile / tablet hero slider — compact layout */
@media (max-width: 900px) {
  .home-hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-slider.hero-slider--compact .hero-slider-nav,
  .hero-slider .hero-slider-nav,
  .hero-slider .hero-slider-arrow {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hero-slider-stage {
    min-height: clamp(460px, 68vh, 560px);
  }

  .hero-slide-inner {
    min-height: clamp(460px, 68vh, 560px);
    align-items: flex-end;
    justify-content: flex-end;
    padding: 64px 0 82px;
    box-sizing: border-box;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(17, 24, 39, 0.35) 0%, rgba(17, 24, 39, 0.72) 55%, rgba(17, 24, 39, 0.92) 100%);
  }

  .hero-slide-copy {
    width: 100%;
    max-width: none;
    padding-bottom: 4px;
  }

  .hero-slide-eyebrow {
    margin-bottom: 8px;
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .hero-slide-copy h1 {
    margin-bottom: 8px;
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.14;
  }

  .hero-slide-copy p,
  .hero-slide-desc {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-slide-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    margin-bottom: 0;
    width: 100%;
  }

  .hero-slide-actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .hero-slider.hero-slider--compact .hero-slide-btn-secondary,
  .hero-slide-actions .hero-slide-btn-secondary,
  .hero-slide-actions .btn-secondary.hero-slide-btn-secondary {
    display: none !important;
  }

  .hero-slide-actions:not(:has(.btn-primary)) .hero-slide-btn-secondary {
    display: inline-flex !important;
  }

  .hero-slider-dots {
    bottom: 16px;
    gap: 8px;
    padding: 0 16px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 6;
  }

  .hero-slider-dot {
    width: 8px;
    height: 8px;
  }

  .hero-slider-dot.is-active {
    transform: scale(1.2);
  }
}

@media (max-width: 640px) {
  .hero-slider-stage {
    min-height: clamp(420px, 64vh, 520px);
  }

  .hero-slide-inner {
    min-height: clamp(420px, 64vh, 520px);
    padding: 58px 0 78px;
  }

  .home-hero-stats {
    padding: 14px 0 16px;
  }

  .home-hero-stats-grid {
    gap: 8px;
  }

  .home-hero-stat-card {
    padding: 12px 10px;
    border-radius: 14px;
  }

  .home-hero-stat-card strong {
    font-size: 20px;
  }

  .home-hero-stat-card span {
    font-size: 11px;
  }

  .home-hero-stack .trusted-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px 20px;
    padding: 14px 0;
  }

  .home-hero-stack .trusted-row::-webkit-scrollbar {
    display: none;
  }

  .home-hero-stack .trusted-row span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .hero-slide-inner {
    padding: 52px 0 74px;
  }

  .hero-slide-eyebrow {
    display: none;
  }

  .hero-slide-copy h1 {
    font-size: clamp(22px, 6.8vw, 28px);
  }

  .hero-slide-copy p,
  .hero-slide-desc {
    -webkit-line-clamp: 2;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-image,
  .hero-slide-copy {
    transition: none;
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.home-react .service-card {
  border-radius: 32px;
  background: #fafafa;
  padding: 32px;
}

.home-react .service-content h3 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-react .service-content p {
  font-size: 16px;
  line-height: 1.8;
}

.home-react .chip {
  padding: 8px 12px;
  font-size: 13px;
}

.home-react .solutions-layout {
  gap: 50px;
  grid-template-columns: 0.85fr 1.15fr;
}

.home-react .webtype-card {
  border-radius: 28px;
  padding: 24px;
}

.home-react .webtype-content h3 {
  font-size: 20px;
  line-height: 1.3;
}

.home-react .webtype-content p {
  font-size: 15px;
  line-height: 1.75;
}

.home-react .why-layout {
  gap: 56px;
  align-items: start;
}

.home-react .why-left-panel {
  border-radius: 32px;
  padding: 40px;
}

.home-react .home-why-title {
  margin: 24px 0 12px;
  font-size: clamp(34px, 3.8vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.home-react .home-why-lead {
  font-size: 17px;
  line-height: 1.85;
  color: #d4d4d8;
}

.home-react .why-feature-grid {
  margin-top: 24px;
  gap: 12px;
}

.home-react .why-feature {
  border-radius: 16px;
  padding: 16px;
  display: block;
}

.home-react .why-feature span {
  display: inline-flex;
  margin-bottom: 10px;
}

.home-react .why-feature strong {
  font-size: 14px;
}

.home-react .point-list {
  gap: 12px;
}

.home-react .point-list li {
  border-radius: 16px;
  padding: 16px;
}

.home-react .point-list li span:last-child {
  font-size: 16px;
  line-height: 1.75;
}

.home-react .testimonial-card {
  border-radius: 32px;
  padding: 24px;
  background: #fafafa;
}

.home-react .cta-block {
  border-radius: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-right: max(24px, calc((100vw - min(1280px, 92vw)) / 2));
  padding-top: 84px;
  padding-bottom: 84px;
}

.home-react .cta-block h2 {
  font-size: clamp(36px, 5vw, 58px) !important;
  letter-spacing: -0.02em;
}

.home-react .cta-block p {
  font-size: 19px;
  line-height: 1.75;
  max-width: 900px;
}

@media (max-width: 1024px) {
  .home-react .hero {
    padding-top: 40px;
    padding-bottom: 54px;
  }

  .home-react .hero-inner,
  .home-react .solutions-layout,
  .home-react .why-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-react .service-content h3 {
    font-size: 26px;
  }

  .home-react .why-left-panel {
    padding: 32px;
  }

  .home-react .cta-block {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

@media (max-width: 700px) {
  .home-react .section {
    padding: 52px 0;
  }

  .home-react .hero h1 {
    font-size: clamp(34px, 10.8vw, 46px);
  }

  .home-react .hero p,
  .home-react .section-header p,
  .home-react .home-why-lead {
    font-size: 16px;
  }

  .home-react .service-row,
  .home-react .webtype-row {
    flex-direction: column;
  }

  .home-react .solutions-grid,
  .home-react .why-feature-grid,
  .home-react .grid-3,
  .home-react .grid-6,
  .home-react .grid-2,
  .home-react .stat-grid {
    grid-template-columns: 1fr;
  }

  .home-react .why-left-panel {
    padding: 24px;
  }
}

/* Why Right Header Font Match (React-like) */
.home-react .why-right-header {
  margin-bottom: 30px;
}

.home-react .why-right-header h2 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.home-react .why-right-header p {
  font-size: 18px;
  line-height: 1.82;
  color: #52525b;
}

@media (max-width: 700px) {
  .home-react .why-right-header h2 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .home-react .why-right-header p {
    font-size: 16px;
    line-height: 1.72;
  }
}


.home-react .home-final-cta {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}






/* About Page React-like Icon List */
.about-dark-panel .about-check-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.about-dark-panel .about-check-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-dark-panel .about-check-item .icon {
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-dark-panel .about-check-item > div {
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.75;
}


/* About React Match */
.about-react .about-react-top {
  padding-top: 70px;
  padding-bottom: 84px;
}

.about-react .about-intro-grid {
  margin-top: 48px;
}

.about-react .about-intro-card {
  border-radius: 28px;
  padding: 26px;
}

.about-react .about-intro-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 120, 163, 0.08);
  color: var(--primary);
  margin-bottom: 14px;
}

.about-react .about-intro-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-react .about-intro-card p {
  font-size: 15px;
  line-height: 1.8;
}

.about-react .about-react-bottom {
  padding-top: 72px;
  padding-bottom: 92px;
}

.about-react .about-two-col {
  gap: 56px;
  align-items: start;
}

.about-react .about-dark-panel {
  border-radius: 32px;
  padding: 40px;
}

.about-react .about-dark-panel h3 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-react .about-dark-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-react .about-dark-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px;
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.75;
}

.about-react .about-check-icon {
  color: #fff;
  margin-top: 2px;
  flex: 0 0 auto;
}

.about-react .about-right-title {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--secondary);
  font-weight: 900;
}

.about-react .about-right-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.82;
  color: #52525b;
}

.about-react .about-right-grid {
  margin-top: 24px;
  gap: 14px;
}

.about-react .about-right-card {
  border-radius: 24px;
  padding: 20px;
}

.about-react .about-right-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-react .about-right-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 120, 163, 0.08);
  color: var(--primary);
  flex: 0 0 auto;
}

.about-react .about-right-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

.about-react .about-right-card-desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: #52525b;
}

@media (max-width: 1024px) {
  .about-react .about-two-col,
  .about-react .about-intro-grid,
  .about-react .about-right-grid {
    grid-template-columns: 1fr;
  }

  .about-react .about-dark-panel {
    padding: 32px;
  }

  .about-react .about-intro-card h3 {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  .about-react .about-react-top,
  .about-react .about-react-bottom {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .about-react .about-dark-panel,
  .about-react .about-intro-card,
  .about-react .about-right-card {
    padding: 20px;
  }

  .about-react .about-dark-panel h3,
  .about-react .about-right-title {
    font-size: clamp(28px, 8.6vw, 36px);
  }

  .about-react .about-right-lead,
  .about-react .about-dark-list li,
  .about-react .about-right-card-desc,
  .about-react .about-intro-card p {
    font-size: 15px;
  }
}

.careers-board-section {
  background: #f3f4f6;
  padding: 28px 0 48px;
}

.careers-board-shell {
  width: min(920px, 94%);
}

.careers-board-brand {
  text-align: center;
  margin-bottom: 18px;
}

.careers-board-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.careers-photo-band {
  margin: 0 0 22px;
  border-radius: 18px;
  overflow: hidden;
  background: #e8edf3;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.careers-photo-band--interview {
  margin: 0 0 28px;
}

.careers-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
}

.careers-photo-band figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  border-top: 1px solid var(--border);
}

.careers-board-header {
  text-align: center;
  margin-bottom: 22px;
}

.careers-board-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.careers-board-header p {
  margin: 0 auto;
  max-width: 680px;
  color: #4b5563;
}

.careers-board-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.careers-board-panel > h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.careers-filters {
  margin-bottom: 14px;
}

.careers-search-wrap {
  display: block;
  position: relative;
  margin-bottom: 10px;
}

.careers-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.careers-search-wrap input {
  width: 100%;
  padding: 11px 12px 11px 38px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
}

.careers-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.careers-filter-grid select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: #374151;
}

.careers-job-rows {
  border-top: 1px solid #e5e7eb;
}

.careers-job-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1.8fr);
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.careers-job-row.is-hidden {
  display: none;
}

.careers-job-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.02rem;
}

.careers-job-title:hover {
  text-decoration: underline;
}

.careers-job-posted {
  margin-top: 4px;
  font-size: 0.86rem;
  color: #6b7280;
}

.careers-job-row-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.careers-empty {
  padding: 28px 12px;
  text-align: center;
  color: #6b7280;
}

.careers-show-more-wrap {
  text-align: center;
  margin-top: 18px;
}

.careers-show-more-btn {
  min-width: 160px;
  background: var(--primary);
  color: #fff;
  border: none;
}

.careers-board-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #6b7280;
}

.careers-board-footer-links a:hover {
  color: var(--primary);
}

.careers-back-link {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: #6b7280;
}

.careers-back-link:hover {
  color: var(--primary);
}

.careers-job-detail-header {
  text-align: center;
  margin-bottom: 8px;
}

.careers-job-detail-header h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.careers-job-detail-meta,
.careers-job-detail-location {
  margin: 0;
  color: #4b5563;
}

.careers-job-detail-location {
  margin-top: 4px;
}

.careers-tabs {
  display: flex;
  justify-content: center;
  gap: 28px;
  border-bottom: 1px solid #e5e7eb;
  margin: 18px 0 0;
}

.careers-tab {
  padding: 12px 2px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.careers-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.careers-job-detail-panel {
  margin-top: 16px;
}

.careers-job-share-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.careers-job-share-row h2 {
  margin: 0;
  font-size: 1.1rem;
}

.careers-share-btn {
  border: none;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.careers-job-lead {
  margin: 0 0 18px;
  color: #374151;
}

.careers-job-block {
  margin-bottom: 18px;
}

.careers-job-block h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.careers-job-block p {
  margin: 0;
  color: #374151;
}

.careers-job-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #374151;
}

.careers-job-list li {
  margin-bottom: 6px;
}

.careers-apply-cta,
.careers-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.careers-apply-panel h2 {
  margin: 0 0 6px;
}

.careers-apply-note {
  margin: 0 0 16px;
  color: #6b7280;
}

.careers-form-section {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.careers-form-section h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.careers-form-section label .req {
  color: var(--primary);
}

.careers-upload-drop {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  background: #f8fafc;
  text-align: center;
}

.careers-upload-drop input[type="file"] {
  display: block;
  margin: 0 auto 8px;
}

.careers-upload-drop p {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

.career-apply-wrap {
  margin-top: 10px;
}

.career-apply-intro {
  margin: 0 0 12px;
  color: #71717a;
}

.career-cover-row,
.career-file-row {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .careers-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-job-row {
    grid-template-columns: 1fr;
  }

  .careers-job-row-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-photo-img {
    aspect-ratio: 16 / 9;
  }

  .careers-photo-band,
  .careers-photo-band--interview {
    border-radius: 14px;
  }

  .careers-interview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .careers-filter-grid {
    grid-template-columns: 1fr;
  }

  .careers-board-panel {
    padding: 16px;
  }

  .careers-photo-band {
    margin-bottom: 16px;
  }

  .careers-photo-band--interview {
    margin-bottom: 20px;
  }

  .careers-photo-img {
    aspect-ratio: 4 / 3;
  }

  .careers-board-header h1 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .careers-interview-head h2 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }
}

.careers-interview {
  position: relative;
  overflow: hidden;
  background: #f4f6f9;
  padding: clamp(48px, 7vw, 84px) 0;
}

.careers-interview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(20, 120, 163, 0.06), transparent 34%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.06), transparent 36%);
}

.careers-interview > .container {
  position: relative;
  z-index: 1;
}

.careers-interview-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.careers-interview-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--secondary);
}

.careers-interview-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.careers-interview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.careers-interview-col h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--primary);
}

.careers-interview-col-intro {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.careers-interview-list {
  display: grid;
  gap: 12px;
}

.careers-interview-card {
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.careers-interview-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 800;
  line-height: 1.35;
}

.careers-interview-card summary::-webkit-details-marker {
  display: none;
}

.careers-interview-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  position: relative;
  flex-shrink: 0;
  margin-top: 1px;
}

.careers-interview-toggle::before,
.careers-interview-toggle::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}

.careers-interview-toggle::before {
  left: 5px;
  right: 5px;
  top: 9px;
  height: 2px;
}

.careers-interview-toggle::after {
  top: 5px;
  bottom: 5px;
  left: 9px;
  width: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.careers-interview-card[open] .careers-interview-toggle::after {
  opacity: 0;
  transform: scaleY(0);
}

.careers-interview-body {
  padding: 0 18px 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  font-weight: 400;
}

.careers-interview-body p {
  margin: 0 0 8px;
}

.careers-interview-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .careers-interview-grid {
    grid-template-columns: 1fr;
  }
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}


/* Careers/User requested: equal height for Why section columns */
.why-layout {
  align-items: stretch;
}

.why-layout > .reveal {
  height: 100%;
}

.why-layout > .reveal:first-child:not(.is-visible) {
  transform: translate3d(-24px, 12px, 0);
}

.why-layout > .reveal:last-child:not(.is-visible) {
  transform: translate3d(24px, 12px, 0);
}

.why-layout .why-left-panel {
  height: 100%;
}

.home-react .why-layout {
  align-items: stretch;
}

/* About page: equal height for left dark panel and right column */
.about-react .about-two-col {
  align-items: stretch;
}

.about-react .about-two-col > .reveal {
  height: 100%;
}

.about-react .about-dark-panel,
.about-react .about-right-copy {
  height: 100%;
}




/* Footer logo + description alignment */
.footer-grid {
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.footer-brand .footer-logo-img {
  margin: 0;
}

.footer-brand .footer-copy {
  margin: 0;
  max-width: 340px;
  line-height: 1.8;
}

/* Blog images */
.blog-index-section {
  padding-top: 48px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-excerpt {
  margin: 8px 0 0;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
}

.blog-card .btn {
  margin-top: 14px;
  align-self: flex-start;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
  display: block;
}

.blog-post-page {
  background: #f8fafc;
}

.blog-post-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: #111827;
}

.blog-post-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-hero--placeholder .blog-post-hero-image {
  object-fit: contain;
  padding: 48px;
  opacity: 0.18;
  filter: grayscale(1);
}

.blog-post-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 28, 0.25) 0%, rgba(10, 14, 28, 0.72) 55%, rgba(10, 14, 28, 0.91) 100%);
}

/* Plain image strip below hero — no text overlay */
.blog-post-image-strip {
  width: 100%;
  max-height: 460px;
  overflow: hidden;
  background: #0f172a;
}

.blog-post-image-strip img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.blog-post-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 36px;
}

.blog-post-hero-copy {
  max-width: 920px;
  color: #fff;
}

.blog-post-hero-copy .eyebrow {
  color: #fecaca;
}

.blog-post-hero-copy h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  color: #fff;
}

.blog-post-hero-meta {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.blog-post-shell {
  padding: 28px 0 56px;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.blog-post-main {
  padding: 28px 30px 32px;
}

.blog-post-lead {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.75;
  color: #374151;
  font-weight: 500;
}

.blog-post-aside {
  position: relative;
}

.blog-aside-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.blog-aside-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.blog-aside-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.blog-aside-note {
  margin: -4px 0 14px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.blog-aside-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-aside-service-list {
  display: grid;
  gap: 12px;
}

.blog-aside-service-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #eef2f7;
}

.blog-aside-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.blog-aside-service-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.blog-aside-service-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
}

.blog-aside-cta {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.blog-aside-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.blog-aside-related-link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #111827;
}

.blog-aside-related-link img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-aside-related-link span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.blog-aside-related-link:hover span {
  color: var(--primary);
}

.blog-service-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #e5e7eb);
  background: linear-gradient(135deg, rgba(20, 120, 163, 0.06), rgba(17, 24, 39, 0.03));
}

.blog-service-banner--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 20px;
}

.blog-service-banner--compact .blog-service-banner-icon {
  display: none;
}

.blog-service-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.blog-service-banner-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.blog-service-banner-copy h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.blog-service-banner-copy p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
}

.blog-service-banner-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #374151;
}

.blog-service-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 148px;
}

.blog-service-banner--compact .blog-service-banner-copy h3 {
  font-size: 18px;
}

.blog-post-footer-nav {
  margin-top: 18px;
}

.blog-post-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 0 16px;
  display: block;
}

.admin-blog-preview {
  margin-top: 8px;
}

.admin-blog-preview img {
  width: 180px;
  max-width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.admin-blog-featured {
  margin: 18px 0 22px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.admin-blog-featured-head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.admin-blog-featured-head .admin-backup-copy {
  margin: 0 0 12px;
}

.admin-blog-featured-drop {
  position: relative;
  min-height: 160px;
  padding: 18px;
  border-radius: 14px;
  border: 2px dashed #d1d5db;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-blog-featured-drop.has-image {
  cursor: default;
  border-style: solid;
  padding: 12px;
}

.admin-blog-featured-drop.is-dragover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.admin-blog-featured-drop.is-uploading {
  opacity: 0.7;
  pointer-events: none;
}

.admin-blog-featured-empty p {
  margin: 0 0 8px;
  color: #374151;
  font-weight: 600;
}

.admin-blog-featured-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: block;
}

.admin-blog-featured-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.blog-article .blog-meta {
  margin: 8px 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.blog-content {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-content.html-content h1,
.blog-content.html-content h2,
.blog-content.html-content h3,
.blog-content.html-content h4 {
  color: #111827;
  line-height: 1.3;
  margin: 1.4em 0 0.6em;
}

.blog-content.html-content p,
.blog-content.html-content ul,
.blog-content.html-content ol,
.blog-content.html-content blockquote {
  margin: 0 0 1em;
}

.blog-content.html-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.blog-content.html-content .blog-figure {
  margin: 1.5em 0;
}

.blog-content.html-content .blog-figure img {
  width: 100%;
  display: block;
}

.blog-content.html-content .blog-figure figcaption {
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.blog-content.html-content .blog-embed {
  margin: 1.75em 0;
}

.blog-content.html-content .blog-embed-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.12);
}

.blog-content.html-content .blog-embed-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-content.html-content .blog-embed-file video {
  width: 100%;
  max-height: 520px;
  border-radius: 16px;
  background: #000;
  display: block;
}

.admin-blog-media-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-blog-media-toolbar.is-plain-mode {
  opacity: 0.92;
}

.admin-backup-copy.is-plain-mode strong {
  color: var(--primary, #1478a3);
}

.admin-blog-media-toolbar .btn {
  padding: 8px 12px;
  font-size: 13px;
}

.blog-article {
  opacity: 1;
  transform: none;
}

.blog-related-wrap {
  margin-top: 36px;
}

.blog-related-wrap h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 32px);
}

@media (max-width: 1080px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-aside-sticky {
    position: static;
  }

  .blog-service-banner,
  .blog-service-banner--compact {
    grid-template-columns: 1fr;
  }

  .blog-service-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .blog-post-main {
    padding: 22px 18px 24px;
  }

  .blog-post-hero-inner {
    padding: 36px 0 24px;
  }

  .blog-post-lead {
    font-size: 18px;
  }

  .blog-engage-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-engage-comments-jump {
    margin-left: 0;
  }
}

.blog-engage {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.blog-engage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.blog-engage-like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.blog-engage-like:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-engage-like.is-liked {
  background: var(--primary-soft);
  border-color: color-mix(in srgb, var(--primary) 35%, #e5e7eb);
  color: var(--primary);
}

.blog-engage-like.is-loading {
  opacity: .7;
  pointer-events: none;
}

.blog-engage-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.blog-engage-share-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #374151;
}

.blog-engage-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.blog-share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-share-copy.is-copied {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.blog-engage-comments-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
}

.blog-engage-comments-jump:hover {
  color: var(--primary, #1478a3);
}

.blog-comments {
  margin-top: 28px;
}

.blog-comments h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.blog-comments-note,
.blog-comments-empty {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 14px;
}

.blog-comment-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.blog-comment-item {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.blog-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.blog-comment-head time {
  color: #9ca3af;
  font-size: 13px;
}

.blog-comment-item p {
  margin: 0;
  color: #374151;
  line-height: 1.7;
}

.blog-comment-form {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.blog-comment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.blog-comment-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.blog-comment-form input,
.blog-comment-form textarea {
  width: 100%;
}

.blog-comment-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .blog-engage-comments-jump {
    margin-left: 0;
  }

  .blog-comment-grid {
    grid-template-columns: 1fr;
  }
}

.admin-ai-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.admin-ai-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.admin-ai-panel-head h3 {
  margin: 0;
}

.admin-ai-panel-intro {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 14px;
}

.admin-ai-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-ai-stat {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 90px;
}

.admin-ai-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.admin-ai-stat span {
  color: #6b7280;
  font-size: 12px;
}

.admin-ai-tips {
  display: grid;
  gap: 10px;
}

.admin-ai-tip {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.admin-ai-tip h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.admin-ai-tip p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.admin-ai-tip-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-ai-tip-warn {
  border-color: #fde68a;
  background: #fffbeb;
}

.admin-ai-tip-info {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.admin-backup-layout {
  align-items: start;
}

.admin-backup-copy {
  margin: 0 0 12px;
  color: #6b7280;
  line-height: 1.55;
}

.admin-service-strip-rows {
  display: grid;
  gap: 10px;
}

.admin-service-strip-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-service-strip-remove {
  min-width: 42px;
  padding-inline: 12px;
  font-size: 20px;
  line-height: 1;
}

.admin-service-strip-preview-shell {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}

.admin-service-strip-preview .trusted-row {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-service-strip-preview-empty {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.admin-service-strip-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-service-strip-preset {
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .admin-service-strip-row {
    grid-template-columns: 1fr;
  }

  .admin-service-strip-remove {
    width: 100%;
  }
}

.admin-backup-list {
  margin: 0 0 14px 18px;
  color: #374151;
  font-size: 14px;
}

.admin-backup-list code {
  font-size: 12px;
  word-break: break-all;
}

.admin-role-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.admin-role-badge.is-pending {
  background: var(--primary-soft);
  color: var(--primary);
}

.admin-role-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
}

.admin-role-help {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.admin-users-layout {
  align-items: start;
}

.admin-role-matrix {
  display: grid;
  gap: 10px;
}

.admin-role-matrix-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
}

.admin-role-matrix-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-role-matrix-item summary::-webkit-details-marker {
  display: none;
}

.admin-role-matrix-item p {
  margin: 8px 0;
  color: #6b7280;
  font-size: 14px;
}

.admin-role-matrix-item ul {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  font-size: 14px;
}

.admin-roles-layout {
  align-items: start;
}

.admin-role-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.admin-role-list-item {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.admin-role-list-item:hover,
.admin-role-list-item.is-active {
  border-color: rgba(20, 120, 163, 0.35);
  box-shadow: 0 8px 20px rgba(9, 9, 11, 0.05);
}

.admin-role-list-meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.84rem;
}

.admin-perm-matrix-wrap {
  overflow: auto;
  border: 1px solid #eceff3;
  border-radius: 12px;
}

.admin-perm-matrix {
  margin: 0;
  min-width: 640px;
}

.admin-perm-matrix th,
.admin-perm-matrix td {
  text-align: center;
  vertical-align: middle;
}

.admin-perm-matrix th:first-child,
.admin-perm-matrix td:first-child {
  text-align: left;
  min-width: 180px;
}

.admin-perm-cell {
  width: 72px;
}

.admin-perm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-perm-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary, #1478a3);
}

.admin-role-perm-summary {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  gap: 24px;
}

@media (max-width: 900px) {
  .admin-role-perm-summary {
    columns: 1;
  }
}

.admin-user-sub {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

.admin-status-ok {
  color: var(--primary);
  font-weight: 700;
}

.admin-status-off {
  color: var(--secondary);
  font-weight: 700;
}

.admin-user-edit {
  margin-top: 4px;
}

.admin-user-edit summary {
  display: inline-block;
  cursor: pointer;
}

.admin-user-edit-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  min-width: 260px;
}

.admin-funnel-layout {
  align-items: start;
}

.admin-funnel-placeholders code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.5;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
}

.admin-funnel-steps {
  display: grid;
  gap: 12px;
}

.admin-funnel-step-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
}

.admin-funnel-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-funnel-preview {
  margin: 8px 0 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  max-height: 140px;
  overflow: auto;
}

.admin-seo-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-seo-score-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-seo-score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
    conic-gradient(var(--primary) calc(var(--score) * 1%), #e5e7eb 0);
  border: 1px solid #e5e7eb;
}

.admin-seo-score-ring strong {
  font-size: 1.2rem;
  line-height: 1;
}

.admin-seo-score-ring span {
  font-size: 0.68rem;
  color: #6b7280;
}

.admin-seo-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-seo-layout {
  align-items: start;
}

.admin-seo-checklist {
  display: grid;
  gap: 10px;
}

.admin-seo-check {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafafa;
}

.admin-seo-check strong {
  display: block;
  margin-bottom: 4px;
}

.admin-seo-check p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.admin-seo-check-ok {
  border-left: 4px solid var(--primary);
}

.admin-seo-check-warn {
  border-left: 4px solid var(--accent);
}

.admin-seo-check-info {
  border-left: 4px solid var(--secondary);
}

.admin-seo-url-box {
  margin-bottom: 12px;
}

.admin-seo-url-box code {
  display: block;
  margin-top: 4px;
  padding: 8px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  word-break: break-all;
}

.admin-seo-status-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.admin-seo-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.admin-seo-inline-form {
  margin-top: 14px;
}

.admin-seo-inline-row {
  display: flex;
  gap: 8px;
}

.admin-seo-inline-row input {
  flex: 1;
}

.admin-seo-preview {
  margin: 0;
  padding: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  max-height: 180px;
  overflow: auto;
}

.admin-seo-playbook {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-seo-playbook article {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: #fafafa;
}

.admin-seo-playbook p {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.admin-seo-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-seo-tool-card {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-seo-tool-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.admin-seo-tool-card span {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .admin-seo-playbook,
  .admin-seo-tools-grid {
    grid-template-columns: 1fr;
  }

  .admin-seo-inline-row {
    flex-direction: column;
  }
}

.admin-analytics-panel {
  margin-bottom: 16px;
}

.analytics-dashboard {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.analytics-dashboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px 0;
}

.analytics-dashboard-eyebrow {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.analytics-dashboard-title {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--secondary);
}

.analytics-dashboard-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.analytics-range-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
}

.analytics-range-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.analytics-range-tab.is-active,
.analytics-range-tab:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.analytics-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.analytics-stat-grid-compact {
  margin-bottom: 14px;
}

.analytics-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid #eceff3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 8px 24px rgba(9, 9, 11, 0.04);
}

.analytics-dashboard-compact .analytics-stat-card {
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
}

.analytics-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.analytics-stat-body {
  min-width: 0;
}

.analytics-stat-label {
  display: block;
  font-size: 0.84rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.analytics-stat-value {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--secondary);
}

.analytics-dashboard-compact .analytics-stat-value {
  font-size: 1.45rem;
}

.analytics-trend {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.analytics-trend-up {
  background: var(--primary-soft);
  color: var(--primary);
}

.analytics-trend-down {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.analytics-trend-neutral {
  background: #f3f4f6;
  color: #6b7280;
}

.analytics-chart-grid,
.analytics-mid-grid,
.analytics-bottom-grid {
  display: grid;
  gap: 16px;
}

.analytics-chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.analytics-mid-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.analytics-bottom-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.analytics-chart-card,
.analytics-table-card,
.analytics-funnel-card,
.analytics-embed-card,
.analytics-integrations-card {
  margin: 0;
}

.analytics-card-head {
  margin-bottom: 14px;
}

.analytics-card-head h3,
.analytics-side-panel h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--secondary);
}

.analytics-card-sub,
.analytics-dashboard-compact-sub {
  display: block;
  color: #6b7280;
  font-size: 0.86rem;
}

.analytics-chart-canvas-wrap {
  position: relative;
  height: 280px;
}

.analytics-chart-canvas-donut {
  height: 240px;
}

.analytics-chart-grid-compact {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: stretch;
}

.analytics-chart-card-inline {
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.analytics-side-panels {
  display: grid;
  gap: 12px;
}

.analytics-side-panel {
  border: 1px solid #eceff3;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.analytics-table-wrap {
  overflow: auto;
}

.analytics-table td,
.analytics-table th {
  vertical-align: middle;
}

.analytics-share-bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}

.analytics-share-bar span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.analytics-funnel {
  display: grid;
  gap: 14px;
}

.analytics-funnel-step-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.analytics-funnel-bar {
  height: 12px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.analytics-funnel-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, var(--secondary)) 100%);
  border-radius: 999px;
}

.analytics-funnel-step small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.78rem;
}

.analytics-funnel-total {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef0f3;
  color: #4b5563;
}

.admin-analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-analytics-kpi {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafafa;
}

.admin-analytics-kpi span {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
}

.admin-analytics-kpi strong {
  font-size: 1.25rem;
}

.admin-analytics-chart-wrap h4,
.admin-analytics-split h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.admin-analytics-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  min-height: 140px;
  padding: 8px 0 0;
}

.admin-analytics-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 130px;
  justify-content: flex-end;
}

.admin-analytics-bar {
  width: 100%;
  max-width: 28px;
  background: var(--primary);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
}

.admin-analytics-bar-col span {
  font-size: 0.62rem;
  color: #6b7280;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: 52px;
  overflow: hidden;
}

.admin-analytics-split {
  margin-top: 16px;
  align-items: start;
}

.admin-analytics-mini-table {
  font-size: 0.9rem;
}

.admin-analytics-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-analytics-source-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.admin-analytics-embed-wrap {
  margin-top: 16px;
}

.admin-analytics-embed {
  width: 100%;
  min-height: 420px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.admin-seo-integration-card p {
  margin: 8px 0 10px;
  color: #4b5563;
  font-size: 0.9rem;
}

.admin-seo-integration-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1100px) {
  .analytics-stat-grid,
  .analytics-chart-grid,
  .analytics-mid-grid,
  .analytics-bottom-grid,
  .analytics-chart-grid-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .admin-analytics-kpis,
  .analytics-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-analytics-chart {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .analytics-chart-canvas-wrap {
    height: 220px;
  }
}

/* Elementor-like Builder Workspace */
.builder-workspace {
  display: grid;
  gap: 14px;
  grid-template-columns: 240px minmax(0, 1fr) 360px;
  align-items: start;
}

.builder-panel {
  padding: 16px;
}

.builder-panel h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.builder-panel-note {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.builder-widget-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.builder-widget {
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.builder-widget strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
}

.builder-widget span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #64748b;
}

.builder-widget:hover {
  border-color: #fca5a5;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.1);
  transform: translateY(-1px);
}

.builder-clear-btn {
  margin-top: 12px;
  width: 100%;
}

.builder-canvas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.builder-order-form {
  margin: 0;
}

.builder-canvas-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding-right: 4px;
}

.builder-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.builder-canvas-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: grab;
}

.builder-canvas-item.dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.builder-canvas-item.is-editing {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.12);
}

.builder-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.builder-type-badge {
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 8px;
}

.builder-order {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.builder-item-title {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.35;
}

.builder-item-preview {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.builder-item-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-item-actions form {
  margin: 0;
}

.builder-inspector-form {
  margin-top: 10px;
}

.builder-inspector-help {
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

.builder-inspector-help strong {
  display: block;
  margin-bottom: 6px;
}

.builder-inspector-help p {
  margin: 4px 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1320px) {
  .builder-workspace {
    grid-template-columns: 220px minmax(0, 1fr) 340px;
  }
}

@media (max-width: 1120px) {
  .builder-workspace {
    grid-template-columns: 1fr;
  }

  .builder-canvas-list {
    max-height: none;
  }
}

/* Builder Pro Enhancements */
.builder-panel-left,
.builder-panel-right {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 108px);
  overflow: auto;
}

.builder-search-wrap {
  margin-top: 12px;
  display: block;
}

.builder-search-wrap span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.builder-search-wrap input {
  border-radius: 10px;
}

.builder-json-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.builder-theme-presets {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-theme-btn {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.builder-theme-btn:hover {
  border-color: #fca5a5;
}

.builder-dirty {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.builder-dirty.is-dirty {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.builder-preview-shell {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px;
}

.builder-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.builder-preview-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-device-btn {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.builder-device-btn.is-active,
.builder-device-btn:hover {
  border-color: #ef4444;
  color: #991b1b;
  background: #fee2e2;
}

.builder-preview-frame-wrap {
  margin-top: 10px;
  border-radius: 12px;
  background: #0f172a;
  padding: 14px;
  overflow: auto;
  display: flex;
  justify-content: center;
}

.builder-preview-frame-wrap iframe {
  border: 0;
  border-radius: 10px;
  background: #fff;
  height: 620px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.builder-preview-frame-wrap.is-desktop iframe {
  width: min(1100px, 100%);
}

.builder-preview-frame-wrap.is-tablet iframe {
  width: 820px;
}

.builder-preview-frame-wrap.is-mobile iframe {
  width: 420px;
}

@media (max-width: 1120px) {
  .builder-panel-left,
  .builder-panel-right {
    position: static;
    max-height: none;
  }

  .builder-preview-frame-wrap iframe,
  .builder-preview-frame-wrap.is-tablet iframe,
  .builder-preview-frame-wrap.is-mobile iframe {
    width: 100%;
  }
}

/* Builder Details Enhancements */
.builder-header-stats {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-stat-chip {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.builder-shortcuts {
  margin-top: 12px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 10px;
  background: #f8fafc;
}

.builder-shortcuts strong {
  display: block;
  margin-bottom: 4px;
}

.builder-shortcuts p {
  margin: 4px 0;
  font-size: 12px;
  color: #475569;
}

.builder-shortcuts kbd {
  border: 1px solid #cbd5e1;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  background: #fff;
}

.builder-canvas-tools {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.builder-filter-btn {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.builder-filter-btn:hover,
.builder-filter-btn.is-active {
  border-color: #ef4444;
  background: #fee2e2;
  color: #991b1b;
}

.builder-item-meta {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.builder-item-meta span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  color: #475569;
  background: #f8fafc;
}

.builder-json-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.builder-json-status.is-valid {
  color: #047857;
}

.builder-json-status.is-invalid {
  color: #b91c1c;
}

/* Admin Settings Page */
.admin-settings-card {
  padding: 24px;
}

.admin-settings-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.admin-settings-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.admin-settings-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.admin-settings-group:first-of-type {
  margin-top: 14px;
}

.admin-settings-group-head h3 {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
}

.admin-settings-group-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
}

.admin-settings-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-settings-field.is-wide {
  grid-column: 1 / -1;
}

.admin-settings-field input,
.admin-settings-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-settings-field input:focus,
.admin-settings-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-settings-logo-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-logo-box {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.admin-logo-box h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #0f172a;
}

.admin-logo-preview {
  min-height: 68px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  margin-bottom: 10px;
}

.admin-logo-preview.is-dark {
  background: #0f172a;
  border-color: #334155;
}

.admin-logo-preview img {
  max-width: 100%;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.admin-check-inline {
  margin-top: 10px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.admin-check-inline input {
  width: auto;
  margin: 0;
}

.admin-settings-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .admin-settings-grid,
  .admin-settings-logo-grid {
    grid-template-columns: 1fr;
  }

  .admin-settings-actions {
    justify-content: stretch;
  }

  .admin-settings-actions .btn {
    width: 100%;
  }
}

.admin-settings-shortcuts {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-settings-shortcut {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #fff;
}

.admin-settings-shortcut:hover {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fff1f2;
}


.admin-settings-field select {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-settings-field select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-settings-stacked-form {
  display: grid;
  gap: 12px;
}

.admin-settings-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
}

.admin-settings-form-card,
.admin-settings-side-card {
  padding: 20px;
}


.admin-settings-layout-single {
  grid-template-columns: 1fr;
}

.admin-manage-layout.admin-settings-layout-single {
  grid-template-columns: 1fr;
}
.admin-settings-side-stack {
  display: grid;
  gap: 10px;
}

.admin-settings-tip-tight {
  margin: 0;
}

.admin-settings-token-box p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 13px;
}

.admin-settings-token-box code {
  display: block;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #334155;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 1200px) {
  .admin-settings-layout {
    grid-template-columns: 1fr;
  }
}
/* Admin Manage Data Page */
.admin-manage-shell {
  padding: 22px;
}

.admin-manage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-manage-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.admin-manage-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.admin-manage-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-manage-meta span {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-resource-tabs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-resource-tab {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.admin-resource-tab strong {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.3;
}

.admin-resource-tab span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.admin-resource-tab:hover {
  border-color: #fca5a5;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(185, 28, 28, 0.12);
}

.admin-resource-tab.is-active {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fff1f2, #fee2e2);
}

.admin-manage-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  align-items: start;
}

.admin-manage-form-card,
.admin-manage-list-card {
  padding: 20px;
}

.admin-manage-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-manage-card-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-manage-counter {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.admin-manage-tip {
  margin: 0 0 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
}

.admin-manage-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-manage-field.is-wide {
  grid-column: 1 / -1;
}

.admin-manage-field input,
.admin-manage-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-manage-field input:focus,
.admin-manage-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-logo-upload-wrap {
  margin-top: 10px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.admin-logo-current {
  margin-top: 8px;
}

.admin-logo-current img {
  width: 120px;
  height: 72px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.admin-manage-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.admin-manage-table-wrap {
  overflow: auto;
}

.admin-manage-table th,
.admin-manage-table td {
  vertical-align: top;
}

.admin-item-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.admin-item-main strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-item-main small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.admin-item-thumb {
  width: 72px;
  height: 44px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  flex: 0 0 auto;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
}

.admin-status-chip.is-featured {
  color: #991b1b;
  border-color: #fecaca;
  background: #fee2e2;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-row-actions form {
  margin: 0;
}

.admin-btn-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.admin-btn-danger:hover {
  background: #fecaca;
}

.admin-empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
}

.admin-empty-state p {
  margin: 0;
  color: #64748b;
}

@media (max-width: 1200px) {
  .admin-manage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-manage-shell,
  .admin-manage-form-card,
  .admin-manage-list-card {
    padding: 16px;
  }

  .admin-row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-row-actions .btn,
  .admin-row-actions form,
  .admin-row-actions form button {
    width: 100%;
  }
}

/* Admin Dashboard (Professional) */
.admin-dashboard-shell {
  padding: 22px;
}

.admin-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-dashboard-hero h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
}

.admin-dashboard-hero p {
  margin: 8px 0 0;
  max-width: 720px;
  color: #64748b;
  font-size: 14px;
}

.admin-dashboard-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.admin-kpi-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: block;
  transition: all 0.2s ease;
}

.admin-kpi-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-kpi-card strong {
  display: block;
  margin-top: 8px;
  color: var(--secondary);
  font-size: 28px;
  line-height: 1;
}

.admin-kpi-card:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, #e2e8f0);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--primary) 12%, transparent);
}

.admin-dashboard-layout {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.admin-dashboard-panel {
  padding: 20px;
}

.admin-dashboard-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-dashboard-panel-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-dashboard-panel-head a {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.admin-dashboard-panel-head a:hover {
  text-decoration: underline;
}

.admin-shortcut-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-shortcut-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: block;
  transition: all 0.2s ease;
}

.admin-shortcut-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-shortcut-item span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.admin-shortcut-item:hover {
  border-color: #fca5a5;
  background: #fff7ed;
}

.admin-health-list {
  display: grid;
  gap: 10px;
}

.admin-health-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-health-item span {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

.admin-health-item strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
}

.admin-dashboard-table-wrap {
  overflow: auto;
}

.admin-dashboard-table td,
.admin-dashboard-table th {
  vertical-align: middle;
}

.admin-status-chip.is-good {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.admin-activity-stack h4 {
  margin: 10px 0 8px;
  color: #334155;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-activity-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-activity-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.admin-activity-item span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.admin-activity-meta {
  text-align: right;
}

.admin-activity-meta small {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
}

.admin-activity-empty {
  margin: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  padding: 12px;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .admin-shortcut-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-dashboard-shell,
  .admin-dashboard-panel {
    padding: 16px;
  }

  .admin-dashboard-hero h2 {
    font-size: 24px;
  }

  .admin-dashboard-hero-actions {
    width: 100%;
  }

  .admin-dashboard-hero-actions .btn {
    width: 100%;
  }

  .admin-activity-item {
    flex-direction: column;
  }

  .admin-activity-meta {
    text-align: left;
  }
}

/* Admin Content Manager */
.admin-content-shell {
  padding: 22px;
}

.admin-content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-content-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  color: #0f172a;
}

.admin-content-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  max-width: 760px;
}

.admin-content-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-content-meta span {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-content-links {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-content-links a {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.admin-content-links a:hover {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #991b1b;
}

.admin-content-nav {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.admin-content-nav a {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 8px 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.admin-content-nav a:hover {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #991b1b;
}

.admin-content-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.admin-content-group {
  padding: 20px;
}

.admin-content-group-head {
  margin-bottom: 10px;
}

.admin-content-group-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-content-group-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-content-field.is-wide {
  grid-column: 1 / -1;
}

.admin-content-field input,
.admin-content-field textarea {
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
}

.admin-content-field input:focus,
.admin-content-field textarea:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-content-image-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  background: #f8fafc;
}

.admin-content-image-preview {
  width: min(100%, 280px);
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid #dbe2ea;
}

.admin-content-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-content-image-empty {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.admin-content-image-hint {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.admin-content-image-box input[type="file"] {
  padding: 8px;
  background: #fff;
}

.admin-content-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-content-page-nav a {
  text-decoration: none;
}

.admin-content-page-pill,
.admin-content-page-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.admin-content-page-pill {
  background: #fff;
  color: #111827;
  border: 1px solid #dbe2ea;
}

.admin-content-page-nav a:hover .admin-content-page-pill {
  border-color: #ef4444;
  color: #b91c1c;
}

.admin-content-group-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-content-group-title-row h3 {
  margin: 0;
}

.admin-content-actions {
  padding: 14px;
  position: sticky;
  bottom: 12px;
  z-index: 12;
  border-color: #fecaca;
  background: #fff7ed;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-content-shell,
  .admin-content-group,
  .admin-content-actions {
    padding: 16px;
  }

  .admin-content-head h2 {
    font-size: 24px;
  }

  .admin-content-actions .btn {
    width: 100%;
  }
}

.admin-content-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-content-search input[type="search"] {
  flex: 1 1 260px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
}

.admin-content-search-meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.admin-content-field.is-highlight {
  outline: 2px solid var(--primary, #1478a3);
  outline-offset: 2px;
  border-radius: 12px;
}

.admin-site-search-shell {
  padding: clamp(16px, 2vw, 24px);
}

.admin-site-search-form {
  margin-bottom: 18px;
}

.admin-site-search-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-site-search-input-wrap input[type="search"] {
  flex: 1 1 280px;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

.admin-site-search-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #64748b;
}

.admin-site-search-meta {
  margin-bottom: 14px;
  font-size: 14px;
  color: #334155;
}

.admin-site-search-meta em {
  font-style: normal;
  color: var(--primary, #1478a3);
  font-weight: 700;
}

.admin-site-search-empty {
  padding: 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #475569;
}

.admin-site-search-category {
  margin: 18px 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.admin-site-search-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.admin-site-search-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.admin-site-search-section {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px 8px;
}

.admin-site-search-snippet {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.admin-site-search-edit {
  flex-shrink: 0;
}

.admin-site-search-starters h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

@media (max-width: 980px) {
  .admin-headerbar {
    flex-wrap: wrap;
  }

  .admin-global-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .admin-site-search-item {
    flex-direction: column;
  }

  .admin-site-search-edit {
    width: 100%;
  }
}

.admin-manage-tip-soft {
  background: #fef9c3;
  border-color: #fde68a;
  color: #854d0e;
}




/* Admin menu manager table responsive */
.admin-menu-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-menu-table {
  min-width: 940px;
}

.admin-menu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-menu-actions form {
  margin: 0;
}

@media (max-width: 760px) {
  .admin-menu-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }

  .admin-menu-table thead {
    display: none;
  }

  .admin-menu-table tbody {
    display: block;
  }

  .admin-menu-table tr {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .admin-menu-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px dashed #eef2f7;
    padding: 8px 0;
    font-size: 13px;
  }

  .admin-menu-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .admin-menu-table td::before {
    content: attr(data-label);
    flex: 0 0 88px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: .04em;
  }

  .admin-menu-table td[data-label="Action"] {
    display: block;
  }

  .admin-menu-table td[data-label="Action"]::before {
    display: block;
    margin-bottom: 8px;
  }

  .admin-menu-actions {
    gap: 8px;
  }

  .admin-menu-actions .btn {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Admin Nav Menu Polish */
.admin-nav-shell {
  padding: 20px;
}

.admin-nav-head {
  gap: 14px;
  align-items: stretch;
}

.admin-nav-summary {
  flex: 1;
  min-width: 320px;
}

.admin-nav-shell .admin-manage-head .admin-nav-summary p {
  margin: 0;
  max-width: none;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.admin-nav-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
}

.admin-nav-stat {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  padding: 7px 8px;
  min-width: 110px;
  display: grid;
  gap: 2px;
}

.admin-nav-stat small {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-nav-stat strong {
  font-size: 14px;
  line-height: 1.12;
  color: #0f172a;
  font-weight: 800;
}

.admin-nav-filter {
  margin-top: 12px;
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.admin-nav-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-nav-filter label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-nav-filter-help {
  font-size: 12px;
  color: #64748b;
}

.admin-nav-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.admin-nav-view-select {
  width: 100%;
  max-width: none;
  min-height: 40px;
  padding: 8px 38px 8px 12px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  background-color: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.admin-nav-view-select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.admin-nav-reset {
  white-space: nowrap;
  padding: 9px 12px;
  font-size: 12px;
  border-radius: 10px;
}

.admin-nav-layout {
  margin-top: 12px;
}

.admin-nav-list-table td[data-label="Label"] strong {
  color: #0f172a;
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .admin-nav-stat {
    min-width: 102px;
  }
}

@media (max-width: 700px) {
  .admin-nav-shell {
    padding: 16px;
  }

  .admin-nav-summary {
    min-width: 0;
  }

  .admin-nav-meta {
    width: 100%;
  }

  .admin-nav-stat {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .admin-nav-filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-nav-filter-row {
    grid-template-columns: 1fr;
  }

  .admin-nav-reset {
    width: 100%;
    text-align: center;
  }
}



/* Floating WhatsApp quick action (site-wide) */
.floating-whatsapp-btn {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 8px;
  background: #ffffff;
  border: 0.5px solid rgba(20, 120, 163, 0.24);
  color: #111827;
  box-shadow:
    0 0 0 1px rgba(20, 120, 163, 0.14),
    0 14px 30px rgba(2, 6, 23, 0.16),
    0 0 24px rgba(20, 120, 163, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 0.5px solid rgba(20, 120, 163, 0.24);
  border-bottom: 0.5px solid rgba(20, 120, 163, 0.24);
  transform: rotate(45deg);
  box-shadow: 4px 4px 10px rgba(20, 120, 163, 0.12);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(20, 120, 163, 0.2),
    0 18px 36px rgba(2, 6, 23, 0.22),
    0 0 34px rgba(20, 120, 163, 0.3);
}

.floating-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, #28d569 0%, #129e47 100%);
  color: #ffffff;
  border: 0.5px solid rgba(10, 120, 52, 0.55);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18), 0 4px 12px rgba(18, 158, 71, 0.36);
}

.whatsapp-fab-icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.25;
}

.floating-whatsapp-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.floating-whatsapp-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #111827;
}

.floating-whatsapp-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}

@media (max-width: 700px) {
  .floating-whatsapp-btn {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 8px 11px;
    gap: 8px;
    border-radius: 14px 14px 14px 7px;
    box-shadow:
      0 0 0 1px rgba(20, 120, 163, 0.16),
      0 12px 24px rgba(2, 6, 23, 0.18),
      0 0 20px rgba(20, 120, 163, 0.24);
  }

  .floating-whatsapp-btn::after {
    right: 10px;
    bottom: -5px;
    width: 10px;
    height: 10px;
  }

  .floating-whatsapp-icon {
    width: 34px;
    height: 34px;
  }

  .whatsapp-fab-icon {
    width: 20px;
    height: 20px;
  }

  .floating-whatsapp-title {
    font-size: 12px;
  }

  .floating-whatsapp-subtitle {
    font-size: 10px;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* Improve initial render by skipping deep offscreen layout work. */
main > section.section,
main .home-react > section.section,
main .about-react > section.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 850px;
}
main .home-react > section.hero {
  content-visibility: visible;
}




/* Core Services cards: refined professional style */
.service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e4e7ec;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1478a3, rgba(20, 120, 163, 0.35));
}

.service-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(20, 120, 163, 0.14), rgba(20, 120, 163, 0));
  pointer-events: none;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 120, 163, 0.28);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  border: 1px solid #fee2e2;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(20, 120, 163, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-icon-wrap .icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.1;
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.service-content h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 1.65vw, 26px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.service-content p {
  margin: 0;
  color: #475569;
  line-height: 1.75;
  font-size: 15px;
}

.service-card .chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card .chip {
  position: relative;
  border-color: #dbe3ea;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 7px 12px;
}

.home-react .service-card {
  padding: 30px;
}

.home-react .service-content h3 {
  font-size: clamp(22px, 1.8vw, 28px);
}

@media (max-width: 900px) {
  .service-card {
    padding: 22px;
    border-radius: 24px;
  }

  .home-react .service-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .service-row {
    gap: 12px;
  }

  .service-icon-wrap {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
  }

  .service-icon-wrap .icon {
    width: 20px;
    height: 20px;
  }

  .service-content h3 {
    font-size: 20px;
  }
}
/* Global Custom Cursor (safe + layout-independent) */
:root {
  --cursor-default: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%204L6%2024L11.5%2018.5L15.2%2027L18.4%2025.6L14.8%2017.2L22%2017.2Z%27%20fill%3D%27%230f172a%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271.1%27%2F%3E%3C%2Fsvg%3E") 6 4, auto;
  --cursor-pointer: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M6%204L6%2024L11.7%2018.3L15.7%2027.4L19%2025.9L15%2016.9L22.4%2016.9Z%27%20fill%3D%27%230b1220%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271.15%27%2F%3E%3C%2Fsvg%3E") 6 4, pointer;
  --cursor-grab: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M9%203.5c-.9%200-1.6.7-1.6%201.6V11h-.9V8.1c0-.9-.7-1.6-1.6-1.6S3.3%207.2%203.3%208.1V13.2c0%201%20.4%202%201.2%202.6l3.7%203v5.7h10v-7l1.5-3.3c.4-.9%200-1.9-.8-2.3s-1.9%200-2.3.8l-.6%201.2V6.3c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6V11h-.8V5.1c0-.9-.7-1.6-1.6-1.6z%27%20fill%3D%27%23111827%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E") 9 5, grab;
  --cursor-grabbing: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2732%27%20height%3D%2732%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M7.8%204.2c-.9%200-1.6.7-1.6%201.6v3.6H5.3c-.9%200-1.6.7-1.6%201.6v2.7c0%201%20.4%201.9%201.1%202.5l3.6%203.1v5.1h10.4v-6.6l1.4-2.9c.4-.8.1-1.8-.7-2.3s-1.8-.2-2.3.6l-.8%201.2V8.1c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6v3H12V7.2c0-.9-.7-1.6-1.6-1.6s-1.6.7-1.6%201.6V11h-.9V5.8c0-.9-.7-1.6-1.6-1.6z%27%20fill%3D%27%230b1220%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%2F%3E%3C%2Fsvg%3E") 9 5, grabbing;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: var(--cursor-default);
  }

  a,
  button,
  .btn,
  .chip,
  .footer-social-btn,
  .nav-cta,
  .nav-toggle,
  .admin-menu a,
  .admin-quick-link,
  input[type="submit"],
  input[type="button"],
  input[type="checkbox"],
  input[type="radio"],
  select,
  summary,
  [role="button"],
  [tabindex]:not([tabindex="-1"]) {
    cursor: var(--cursor-pointer) !important;
  }

  .builder-item,
  .builder-canvas-item,
  .admin-manage-sortable tbody tr,
  [draggable="true"] {
    cursor: var(--cursor-grab) !important;
  }

  .builder-item.dragging,
  .builder-canvas-item.dragging,
  .is-dragging,
  [aria-grabbed="true"] {
    cursor: var(--cursor-grabbing) !important;
  }

  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  textarea,
  [contenteditable="true"] {
    cursor: text !important;
  }
}
/* Animated red-dot cursor trail (professional micro-motion) */
.cursor-dot-follow {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1478a3;
  opacity: 0;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate3d(-120px, -120px, 0);
  box-shadow: 0 0 0 2px rgba(20, 120, 163, 0.16), 0 7px 18px rgba(20, 120, 163, 0.34);
  transition: opacity .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease;
  will-change: transform;
}

.cursor-dot-follow.is-visible {
  opacity: 1;
}

.cursor-dot-follow.is-pointer {
  box-shadow: 0 0 0 3px rgba(20, 120, 163, 0.22), 0 10px 24px rgba(20, 120, 163, 0.42);
}

.cursor-dot-follow.is-drag {
  background: #cf0500;
  box-shadow: 0 0 0 3px rgba(20, 120, 163, 0.26), 0 12px 26px rgba(20, 120, 163, 0.48);
}

.cursor-dot-follow.is-pressed {
  filter: saturate(1.08) brightness(0.95);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot-follow {
    display: none !important;
  }
}


.admin-smtp-section {
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.admin-smtp-head {
  align-items: center;
  margin-bottom: 8px;
}

.admin-smtp-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.admin-smtp-status.is-enabled {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.admin-smtp-status.is-disabled {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.admin-smtp-tools {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.admin-smtp-readiness,
.admin-smtp-test {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.admin-smtp-readiness h4,
.admin-smtp-test h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  color: #0f172a;
}

.admin-smtp-test p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
}

.admin-smtp-readiness ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.admin-smtp-readiness li {
  display: grid;
  grid-template-columns: auto minmax(120px, 150px) 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 8px 10px;
}

.admin-smtp-readiness .state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #334155;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.admin-smtp-readiness li.is-ok .state {
  color: #166534;
  border-color: #bbf7d0;
  background: #dcfce7;
}

.admin-smtp-readiness li.is-bad .state {
  color: #991b1b;
  border-color: #fecaca;
  background: #fee2e2;
}

.admin-smtp-readiness .name {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.admin-smtp-readiness .detail {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  word-break: break-word;
}

.admin-smtp-last-error {
  margin-top: 10px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  padding: 10px;
  font-size: 12px;
  color: #991b1b;
  line-height: 1.5;
}

.admin-smtp-last-error.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.admin-smtp-test label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #334155;
  font-size: 12px;
}

.admin-smtp-test input {
  margin-bottom: 10px;
  border-radius: 12px;
}

@media (max-width: 980px) {
  .admin-smtp-tools {
    grid-template-columns: 1fr;
  }

  .admin-smtp-readiness li {
    grid-template-columns: auto 1fr;
  }

  .admin-smtp-readiness .detail {
    grid-column: 1 / -1;
  }
}

/* Dedicated 404 page styling */
.notfound-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
.notfound-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.notfound-card {
  text-align: center;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.notfound-code {
  font-size: clamp(56px, 10vw, 110px);
  line-height: 1;
  font-weight: 900;
  color: #1478a3;
  letter-spacing: -0.03em;
}
.notfound-card h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.1;
}
.notfound-card p {
  max-width: 620px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

/* SMTP Professional Polish */
.admin-smtp-section {
  position: relative;
  overflow: hidden;
  border: 1px solid #fbcaca;
  background: linear-gradient(180deg, #fff 0%, #fff6f6 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.admin-smtp-section::before {
  content: "";
  position: absolute;
  top: -56px;
  right: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 120, 163, 0.14) 0%, rgba(20, 120, 163, 0) 70%);
  pointer-events: none;
}

.admin-smtp-head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-smtp-head h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1478a3;
  box-shadow: 0 0 0 5px rgba(20, 120, 163, 0.16);
}

.admin-smtp-tools {
  gap: 16px;
}

.admin-smtp-readiness,
.admin-smtp-test {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-smtp-help {
  margin-top: 10px;
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
}

.admin-smtp-help-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.admin-smtp-help ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.admin-smtp-help li {
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}

.admin-smtp-help.is-critical {
  border-color: #fecaca;
  background: #fff5f5;
}

.admin-smtp-help.is-critical .admin-smtp-help-title {
  color: #991b1b;
}

.admin-smtp-provider-note {
  margin: 0 0 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
}

.admin-smtp-test .btn {
  width: 100%;
  justify-content: center;
}

.nd-rt-debug {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(320px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(20, 120, 163, 0.25);
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  font-size: 13px;
  line-height: 1.45;
  color: #111827;
}

.nd-rt-debug strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary, #1478a3);
}

.nd-rt-debug ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.nd-rt-debug li.ok {
  color: #166534;
}

.nd-rt-debug li.warn {
  color: #92400e;
}

.nd-rt-debug p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
}

.maintenance-body {
  min-height: 100vh;
  margin: 0;
  color: #111827;
  background: #ffffff;
  overflow-x: hidden;
}

.maintenance-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.maintenance-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 78%);
}

.maintenance-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: maintenance-float 14s ease-in-out infinite;
}

.maintenance-orb-a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
  background: color-mix(in srgb, var(--primary) 28%, #fecaca);
}

.maintenance-orb-b {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 18%;
  background: #bfdbfe;
  animation-delay: -4s;
}

.maintenance-orb-c {
  width: 240px;
  height: 240px;
  left: 35%;
  bottom: -80px;
  background: #bbf7d0;
  animation-delay: -8s;
}

@keyframes maintenance-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}

.maintenance-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 32px;
}

.maintenance-shell {
  width: min(760px, 100%);
  text-align: center;
}

.maintenance-header {
  margin-bottom: 28px;
}

.maintenance-logo {
  max-width: 200px;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
}

.maintenance-hero {
  margin-bottom: 8px;
}

.maintenance-word-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 0 8px;
}

.maintenance-word {
  margin: 0;
  font-size: clamp(42px, 11vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: capitalize;
  background: linear-gradient(135deg, #111827 0%, #4b5563 45%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: maintenance-shimmer 5s ease-in-out infinite;
}

.maintenance-word-shine {
  position: absolute;
  inset: -8px -16px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 72%);
  animation: maintenance-pulse 3.2s ease-in-out infinite;
}

@keyframes maintenance-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

@keyframes maintenance-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.maintenance-hero h1 {
  margin: 0 auto 14px;
  max-width: 18ch;
  font-size: clamp(22px, 4.2vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
}

.maintenance-lead {
  margin: 0 auto 22px;
  max-width: 52ch;
  color: #6b7280;
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 1.75;
}

.maintenance-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(8px);
}

.maintenance-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: maintenance-dot-bounce 1.2s ease-in-out infinite;
}

.maintenance-status-dot:nth-child(2) { animation-delay: 0.15s; }
.maintenance-status-dot:nth-child(3) { animation-delay: 0.3s; }

.maintenance-status-text {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

@keyframes maintenance-dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.maintenance-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 12px auto 22px;
}

.maintenance-plug-scene {
  width: min(500px, 100%);
  margin: 0 auto;
  padding: 10px 0 6px;
}

.maintenance-plug-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

.maint-stage {
  transform-box: view-box;
  transform-origin: 250px 80px;
}

/* Loop: unplugged → plug in → power blink → unplug → repeat */
.maint-plug-group {
  transform-box: fill-box;
  transform-origin: 250px 80px;
  animation: maint-plug-slide 5.5s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}

.maint-sparks {
  transform-box: view-box;
  transform-origin: 250px 80px;
  animation: maint-sparks-cycle 5.5s ease-in-out infinite;
}

.maint-sparks line {
  transform-box: view-box;
  transform-origin: 250px 80px;
  animation: maint-spark-pulse 5.5s ease-in-out infinite;
}

.maint-sparks line:nth-child(2) { animation-delay: 0.08s; }
.maint-sparks line:nth-child(3) { animation-delay: 0.16s; }
.maint-sparks line:nth-child(4) { animation-delay: 0.12s; }
.maint-sparks line:nth-child(5) { animation-delay: 0.2s; }
.maint-sparks line:nth-child(6) { animation-delay: 0.04s; }

.maint-power-ring,
.maint-power-core {
  transform-box: view-box;
  transform-origin: 250px 80px;
  opacity: 0;
  animation: maint-power-glow 5.5s ease-in-out infinite;
}

.maint-power-core {
  filter: url(#maintGlow);
  animation-name: maint-power-core;
}

.maint-lightning {
  transform-box: fill-box;
  transform-origin: 310px 80px;
  animation: maint-lightning-blink 5.5s ease-in-out infinite;
}

@keyframes maint-plug-slide {
  0%, 14%, 86%, 100% { transform: translateX(0); }
  26%, 74% { transform: translateX(-76px); }
}

@keyframes maint-sparks-cycle {
  0%, 12%, 84%, 100% { opacity: 1; }
  22%, 78% { opacity: 0; }
}

@keyframes maint-spark-pulse {
  0%, 12%, 84%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  6%, 90% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

@keyframes maint-power-glow {
  0%, 24%, 76%, 100% {
    opacity: 0;
    transform: scale(0.6);
  }
  30%, 70% {
    opacity: 0.85;
    transform: scale(1);
  }
  38%, 48%, 58%, 68% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  43%, 53%, 63% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes maint-power-core {
  0%, 24%, 76%, 100% {
    opacity: 0;
    transform: scale(0.4);
  }
  30%, 70% {
    opacity: 0.95;
    transform: scale(1);
  }
  38%, 48%, 58%, 68% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  43%, 53%, 63% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes maint-lightning-blink {
  0%, 24%, 76%, 100% {
    fill: #fff;
    opacity: 0.35;
    filter: none;
  }
  30%, 70% {
    fill: #fbbf24;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
  }
  38%, 48%, 58%, 68% {
    fill: #fff;
    opacity: 0.4;
    filter: none;
  }
  43%, 53%, 63% {
    fill: #fde047;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(253, 224, 71, 1));
  }
}

.maintenance-svg {
  width: 100%;
  height: auto;
  display: block;
}

.maintenance-cta {
  margin-bottom: 8px;
}

.maintenance-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding-inline: 22px;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 28%, transparent);
}

.maintenance-alert {
  margin: 16px auto 0;
  max-width: 520px;
  text-align: left;
}

.maintenance-form-wrap {
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(10px);
}

.maintenance-form-wrap h2 {
  margin: 0 0 6px;
  font-size: 22px;
  text-align: center;
}

.maintenance-form-note {
  margin: 0 0 16px;
  color: #6b7280;
  text-align: center;
}

.maintenance-form {
  display: grid;
  gap: 14px;
}

.maintenance-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.maintenance-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.maintenance-form input,
.maintenance-form textarea {
  width: 100%;
}

.maintenance-footer {
  margin-top: 34px;
}

.maintenance-footer-rule {
  height: 1px;
  margin: 0 auto 22px;
  max-width: 640px;
  background: linear-gradient(90deg, transparent, #d1d5db 20%, #d1d5db 80%, transparent);
}

.maintenance-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.maintenance-footer-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.maintenance-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.maintenance-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.maintenance-footer-link:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.maintenance-footer-address {
  cursor: default;
}

.maintenance-footer-address:hover {
  color: #111827;
  transform: none;
}

.maintenance-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.maintenance-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.maintenance-social-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 35%, #e5e7eb);
  color: var(--primary);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.maintenance-reveal {
  animation: maintenance-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.maintenance-reveal-delay-1 { animation-delay: 0.08s; }
.maintenance-reveal-delay-2 { animation-delay: 0.16s; }
.maintenance-reveal-delay-3 { animation-delay: 0.24s; }
.maintenance-reveal-delay-4 { animation-delay: 0.32s; }
.maintenance-reveal-delay-5 { animation-delay: 0.4s; }
.maintenance-reveal-delay-6 { animation-delay: 0.48s; }
.maintenance-reveal-delay-7 { animation-delay: 0.56s; }
.maintenance-reveal-delay-8 { animation-delay: 0.64s; }

@keyframes maintenance-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.maintenance-admin-banner {
  position: sticky;
  top: 0;
  z-index: 9998;
  background: #111827;
  color: #fff;
  border-bottom: 3px solid var(--primary);
}

.maintenance-admin-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 10px 0;
  font-size: 14px;
}

.maintenance-admin-banner a {
  color: #fecaca;
  font-weight: 700;
}

.maintenance-admin-card-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.maintenance-admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.maintenance-admin-card-on {
  border-color: color-mix(in srgb, var(--primary) 35%, #e5e7eb);
  background: linear-gradient(180deg, rgba(20, 120, 163, 0.05), #fff);
}

@media (max-width: 720px) {
  .maintenance-page {
    padding: 28px 16px 24px;
  }

  .maintenance-hero h1 {
    max-width: none;
  }

  .maintenance-lead {
    font-size: 16px;
  }

  .maintenance-form-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-form-wrap {
    padding: 18px 16px;
  }

  .maintenance-footer-contacts {
    flex-direction: column;
    gap: 12px;
  }

  .maintenance-footer-link {
    justify-content: center;
  }

  .maintenance-orb-a,
  .maintenance-orb-b,
  .maintenance-orb-c {
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance-orb,
  .maintenance-word,
  .maintenance-word-shine,
  .maintenance-status-dot,
  .maint-plug-group,
  .maint-sparks,
  .maint-sparks line,
  .maint-power-ring,
  .maint-power-core,
  .maint-lightning,
  .maintenance-reveal {
    animation: none !important;
  }

  .maint-sparks {
    opacity: 0.7;
  }

  .maint-plug-group {
    transform: translateX(-38px);
  }
}

/* =========================================================
   Diamond Tiles theme additions — topbar, gallery, polish
   ========================================================= */

.topbar {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.88);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 13px;
}

.topbar-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.topbar-item .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex: 0 0 auto;
}

a.topbar-item:hover {
  color: #fff;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
}

.topbar-social a:hover {
  color: var(--accent);
}

.topbar-social .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 860px) {
  .topbar-hours {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-social {
    display: none;
  }

  .topbar-info {
    gap: 14px;
  }

  .topbar-item span {
    display: none;
  }

  .topbar-item .icon {
    width: 16px;
    height: 16px;
  }
}

/* Gallery page */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-filter-btn.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(10, 16, 22, 0.86), rgba(10, 16, 22, 0));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.gallery-tile:hover figcaption,
.gallery-tile:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.gallery-tile-title {
  font-size: 14px;
  font-weight: 700;
}

.gallery-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 12, 16, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-figure {
  margin: 0;
  max-width: min(920px, 90vw);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gallery-lightbox-figure img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-figure figcaption {
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0.85;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: var(--accent);
  color: #201a08;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-lightbox-nav:hover {
  background: var(--accent);
  color: #201a08;
}

.gallery-lightbox-prev {
  left: 20px;
}

.gallery-lightbox-next {
  right: 20px;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-tile figcaption {
    opacity: 1;
    transform: none;
    position: static;
    background: none;
    color: var(--secondary);
    padding: 10px 2px 0;
  }

  .gallery-tile-cat {
    color: var(--primary);
  }
}

/* Cart icon in header */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--secondary);
  flex: 0 0 auto;
}

.cart-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-link-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #201a08;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Products grid */
.gallery-filter-btn-sm {
  padding: 7px 16px;
  font-size: 12px;
}

.products-category-bar {
  margin-top: -18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: 0.25s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 16, 22, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-card-body {
  padding: 18px 20px 20px;
}

.product-card-cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.product-card-body h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.product-card-body h3 a {
  color: var(--secondary);
}

.product-card-price {
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.product-card-price span {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.product-card-btn {
  width: 100%;
}

/* Product detail */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.product-detail-main-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 3.3;
}

.product-detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-detail-thumb {
  width: 76px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: none;
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumb.is-active {
  border-color: var(--primary);
}

.product-detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 6px 0 18px;
}

.product-detail-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.product-detail-desc p {
  color: var(--muted);
  margin: 0 0 12px;
}

.product-add-form {
  margin: 22px 0 10px;
}

.product-add-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
}

.product-qty-row {
  display: flex;
  gap: 12px;
}

.product-qty-row input {
  width: 90px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 15px;
}

.product-detail-note {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 18px;
}

/* Cart / checkout */
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr 90px 110px;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
}

.cart-item-media {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--soft);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-item-info strong {
  font-size: 15px;
}

.cart-item-info span {
  font-size: 13px;
  color: var(--muted);
}

.cart-item-qty {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
}

.cart-item-total {
  font-weight: 800;
  text-align: right;
}

.cart-summary {
  padding: 26px;
  position: sticky;
  top: 100px;
}

.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 12px 0 6px;
}

.cart-summary-total strong {
  color: var(--primary);
  font-size: 20px;
}

.cart-summary-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}

.cart-checkout-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 6px;
}

.cart-checkout-form input,
.cart-checkout-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
}

.cart-checkout-form textarea {
  min-height: 70px;
  resize: vertical;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cart-item {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "media info" "qty total";
    row-gap: 10px;
  }

  .cart-item-media {
    grid-area: media;
    width: 56px;
    height: 56px;
  }

  .cart-item-info {
    grid-area: info;
  }

  .cart-item-qty {
    grid-area: qty;
    width: 80px;
  }

  .cart-item-total {
    grid-area: total;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Tile Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.calc-form-card {
  padding: 28px;
  position: sticky;
  top: 100px;
}

.calc-form-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 14px 0 6px;
}

.calc-form-card select,
.calc-form-card input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
}

.calc-dim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}

.calc-results-card {
  padding: 28px;
}

.calc-results-title {
  text-align: center;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.calc-row span {
  color: var(--muted);
}

.calc-row-strong strong {
  color: var(--primary);
}

.calc-lead-form {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 2px dashed var(--border);
}

.calc-lead-intro {
  font-weight: 700;
  margin: 0 0 12px;
}

.calc-lead-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.calc-lead-fields input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
}

@media (max-width: 1024px) {
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .calc-form-card {
    position: static;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Calculator print result */
.calc-print-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.calc-print-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.calc-print-letterhead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--secondary);
  margin-bottom: 24px;
}

.calc-print-letterhead img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.calc-print-letterhead-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}

.calc-print-letterhead-info strong {
  font-size: 17px;
  color: var(--secondary);
}

.calc-print-title {
  text-align: center;
  color: var(--primary);
  letter-spacing: 0.1em;
  font-size: 22px;
  margin: 0 0 22px;
}

.calc-print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.calc-print-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.calc-print-row span {
  color: var(--muted);
}

.calc-print-row-strong strong {
  color: var(--primary);
}

.calc-print-disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.calc-print-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .whatsapp-float,
  .no-print {
    display: none !important;
  }

  .calc-print-page {
    padding: 0;
  }

  .calc-print-sheet {
    border: none;
  }
}

@media (max-width: 640px) {
  .calc-print-grid {
    grid-template-columns: 1fr;
  }
}

.calc-promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--soft);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 24px;
  font-weight: 700;
}

.calc-promo-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Homepage product category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.25s var(--ease-out);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

.category-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.category-card:hover .category-card-media img {
  transform: scale(1.07);
}

.category-card-icon {
  position: absolute;
  bottom: -22px;
  left: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  color: #201a08;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.category-card-body {
  padding: 34px 22px 22px;
}

.category-card-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--secondary);
}

.category-card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Add-to-cart confirmation popup */
.cart-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 16, 22, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-popup-overlay[hidden] {
  display: none;
}

.cart-popup {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.cart-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.cart-popup-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-popup-check .icon {
  width: 28px;
  height: 28px;
}

.cart-popup h3 {
  margin: 0 0 18px;
  font-size: 19px;
}

.cart-popup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--soft);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 20px;
}

.cart-popup-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-popup-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-popup-item strong {
  font-size: 14px;
}

.cart-popup-item span {
  font-size: 12px;
  color: var(--muted);
}

.cart-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-popup-actions .btn {
  width: 100%;
}
