/* ============================================
   Linker IT - Index Page Styles
   ============================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #7c3aed;
  --accent-light: #a855f7;

  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;

  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-muted: #f1f5f9;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --header-height: 72px;
  --topbar-height: 48px;
  --chrome-offset: calc(var(--header-height) + var(--topbar-height));

  --transition: 0.25s ease;
}

html.topbar-collapsed {
  --chrome-offset: var(--header-height);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--chrome-offset) + 20px);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-dark .section-label {
  color: var(--primary-light);
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-desc {
  color: var(--text-light);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--dark);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.section-dark .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Top Bar */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: #fff;
  overflow: visible;
}

.top-bar {
  position: relative;
  top: auto;
  z-index: 1;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  height: var(--topbar-height);
  max-height: var(--topbar-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Faster collapse reduces mid-animation layout thrash */
  transition: max-height 0.2s ease, opacity 0.18s ease;
  opacity: 1;
  will-change: max-height, opacity;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.top-bar-offer {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(58%, 560px);
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  color: #fbbf24;
  line-height: 1.2;
  animation: none !important;
  transform: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.top-bar-offer:hover,
.top-bar-offer:focus-visible {
  color: #fde68a;
  text-decoration: underline;
  outline: none;
}

.top-bar-offer[hidden] {
  display: none !important;
}

.top-bar-offer-track,
.top-bar-offer-text {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  animation: none !important;
  transform: none !important;
  padding-left: 0 !important;
  will-change: auto !important;
}

/* Kill any legacy marquee styles */
.offer-bar,
.offer-bar-track,
.offer-bar-text {
  display: none !important;
  animation: none !important;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-left: auto;
}

.top-bar-client-review {
  font-weight: 600;
  color: #fff;
}

.top-bar-client-review:hover {
  color: #fbbf24;
}

.top-bar-item[hidden] {
  display: none !important;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.top-bar-item:hover {
  color: #fff;
}

.top-bar-item svg {
  flex-shrink: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .top-bar {
    height: var(--topbar-height);
    padding: 0;
  }

  .top-bar-offer {
    max-width: 50%;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
  }

  .top-bar-contacts {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .top-bar-item[href^="mailto:"],
  .top-bar-client-review,
  .top-bar-item.help-line-2 {
    display: none !important;
  }

  .top-bar-item {
    font-size: 0.75rem;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Header */
.header {
  position: relative;
  top: auto;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  overflow: visible;
}

.header.scrolled,
.site-chrome.is-scrolled .header {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

html.topbar-collapsed .top-bar,
.site-chrome.topbar-collapsed .top-bar {
  max-height: 0;
  height: 0;
  opacity: 0;
  border: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Header logo fills full bar height (no top/bottom gap) */
.header .logo:not(.footer-logo):not(.auth-logo),
.header-inner > .logo {
  align-self: stretch;
  height: 100%;
  max-height: var(--header-height);
  display: flex;
  align-items: stretch;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-sm);
}

.logo-img {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.header .logo-img,
a.logo:not(.footer-logo):not(.auth-logo) .logo-img {
  height: 100%;
  max-height: var(--header-height);
  width: auto;
  max-width: min(320px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.footer-logo .logo-img {
  height: 80px;
  max-width: 320px;
}

.auth-logo .logo-img {
  height: 52px;
  max-width: 220px;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
}

/* Uploaded logo replaces text brand mark */
a.logo.has-logo-img .logo-text,
a.logo:has(img.logo-img) .logo-text,
html.brand-has-logo a.logo .logo-text,
html.brand-has-logo a.logo .logo-icon {
  display: none !important;
}

/* Hide default mark until branding resolves (stops site-name blink) */
html.brand-booting a.logo .logo-text,
html.brand-booting a.logo .logo-icon {
  visibility: hidden;
}

html.brand-booting a.logo {
  min-width: 140px;
}

html.brand-booting .header a.logo {
  min-height: var(--header-height);
}

.logo-accent {
  color: var(--primary);
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.nav-link:hover,
.nav-dropdown:hover > .nav-link {
  color: #fff;
  background: #000;
}

.nav-link:hover svg,
.nav-dropdown:hover > .nav-link svg {
  stroke: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 480px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  pointer-events: none;
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 0 0 12px;
  padding: 0;
}

.dropdown-col h4:not(:first-child) {
  margin-top: 20px;
}

.dropdown-col a {
  display: block;
  padding: 6px 10px;
  margin: 0 -10px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.dropdown-col a:hover {
  color: #fff;
  background: #000;
}

.dropdown-menu.dropdown-single {
  min-width: 220px;
  grid-template-columns: 1fr;
  padding: 8px;
  gap: 2px;
}

.dropdown-menu.dropdown-single .dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-menu.dropdown-single .dropdown-col h4 {
  margin: 0;
  padding: 6px 12px 4px;
  line-height: 1.3;
}

.dropdown-menu.dropdown-single .dropdown-col h4:not(:first-child) {
  margin-top: 6px;
}

.dropdown-menu.dropdown-single a {
  display: block;
  padding: 7px 12px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.dropdown-menu.dropdown-single a:hover {
  color: #fff;
  background: #000;
  padding-left: 12px;
}

.dropdown-menu.dropdown-services {
  min-width: 520px;
  grid-template-columns: 1fr 1fr;
  padding: 20px 24px;
}

.header-cta {
  flex-shrink: 0;
}

/* Avoid Login → avatar flash on reload while session is checked */
html:not(.auth-ready) .header-cta {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

html.auth-ready .header-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: static;
  width: auto;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cart {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  background: #f1f5f9;
  border: 1px solid var(--border);
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cart:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.15);
}

.header-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.header-cart-badge.is-empty,
.header-cart-badge[hidden] {
  display: none;
}

.header-user {
  position: relative;
  flex-shrink: 0;
}

.header-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 999px;
}

.header-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  border: 2px solid #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-user-btn:hover .header-user-avatar,
.header-user.is-open .header-user-avatar {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.header-user-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-user-initial {
  line-height: 1;
}

.header-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 10px;
  z-index: 1200;
}

.header-user-meta {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.header-user-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}

.header-user-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  word-break: break-all;
}

.header-user-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.header-user-menu a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
  background: #0a1628;
  color: #fff;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.75) 45%, rgba(10, 22, 40, 0.35) 100%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 820px;
}

.hero-title {
  font-size: clamp(1.55rem, 3.6vw, 2.55rem);
  font-weight: 800;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  color: #fff;
  max-width: 640px;
}

.hero-title-slider {
  display: grid;
  align-items: start;
  min-height: 3.4em;
}

.hero-title-slider .hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    visibility 0.7s ease;
  pointer-events: none;
}

.hero-title-slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-line {
  display: block;
  color: #fff;
}

.hero-highlight-green {
  color: #4ade80;
}

.hero-highlight-yellow {
  color: #facc15;
}

.hero-cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  min-width: 240px;
  min-height: 56px;
}

.hero-cta-border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  z-index: 2;
}

.hero-cta-border-rect {
  fill: none;
  stroke: url(#heroCtaBorderGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  animation: heroCtaBorderTrace 2.5s linear infinite;
}

@keyframes heroCtaBorderTrace {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -100;
  }
}

.hero-cta {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #0a1628;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.hero-cta:hover {
  background: #0f1f38;
  color: #fff;
}

.hero-cta-text {
  display: block;
}

/* Welcome / About */
.welcome {
  background: #fff;
  overflow: hidden;
}

.welcome-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px 56px;
  align-items: center;
}

.welcome-content {
  max-width: 500px;
}

.welcome-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #dc2626;
  line-height: 1.3;
  margin-bottom: 28px;
}

.welcome-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 0.9375rem;
  text-align: justify;
}

.welcome-desc p:last-child {
  margin-bottom: 24px;
}

.btn-welcome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 14px 28px;
  background: #dc2626;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-welcome:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  color: #fff;
}

.welcome-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: auto;
  padding-right: 0;
}

.welcome-rings {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
}

.welcome-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 50%;
}

.welcome-rings span:nth-child(1) { width: 100%; height: 100%; }
.welcome-rings span:nth-child(2) { width: 78%; height: 78%; }
.welcome-rings span:nth-child(3) { width: 56%; height: 56%; }
.welcome-rings span:nth-child(4) { width: 34%; height: 34%; }

.welcome-video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  background: #000;
}

.welcome-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Services */
.services {
  background: #fff;
}

.services-header {
  margin-bottom: 44px;
}

.services-header .section-label {
  color: var(--primary);
  margin-bottom: 10px;
}

.services-header .section-desc {
  max-width: 560px;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.services-grid--hover {
  gap: 28px 24px;
  overflow: visible;
  padding-left: 12px;
}

/* Farait-style: dark cover layer → hover slides art to left side */
.service-card--hover {
  --svc-accent: #dc2626;
  position: relative;
  display: block;
  height: 300px;
  min-height: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.service-card--hover:hover {
  border-color: var(--svc-accent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  transform: translateY(-4px);
}

.svc-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px 28px 108px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease 0.05s, visibility 0.35s ease 0.05s;
}

.service-card--hover:hover .svc-body {
  opacity: 1;
  visibility: visible;
}

.svc-body h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.svc-body p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.65;
}

.svc-btn {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--svc-accent);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.svc-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.svc-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0b1220;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.service-card--hover:hover .svc-cover {
  background: transparent;
  overflow: visible;
  pointer-events: none;
}

.svc-cover-art {
  position: relative;
  z-index: 3;
  width: min(72%, 180px);
  height: min(58%, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
}

.svc-cover-art.has-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 54px 16px;
}

.svc-cover-art.has-photo::after {
  display: none;
}

.svc-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  transition: width 0.45s ease, height 0.45s ease, object-fit 0.3s ease, filter 0.3s ease;
}

.svc-cover-art.has-photo img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  z-index: 0;
}

.svc-cover-art svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: width 0.45s ease, height 0.45s ease;
}

.service-card--hover:hover .svc-cover-art {
  position: absolute;
  left: -18px;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translateY(-50%);
  background: var(--svc-accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  pointer-events: auto;
  overflow: hidden;
}

.service-card--hover:hover .svc-cover-art.svg-only,
.service-card--hover:hover .svc-cover-art:not(.has-photo) {
  background: var(--svc-accent);
}

.service-card--hover:hover .svc-cover-art.has-photo {
  position: absolute;
  inset: auto;
  left: -18px;
  top: 50%;
  width: 92px;
  height: 92px;
  transform: translateY(-50%);
  background: #fff;
  padding: 5px;
  border: 2px solid var(--svc-accent);
  border-radius: 8px;
}

.service-card--hover:hover .svc-cover-art.has-photo::after {
  opacity: 0;
}

.service-card--hover:hover .svc-cover-art svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.service-card--hover:hover .svc-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.service-card--hover:hover .svc-cover-art.has-photo img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.svc-cover-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  z-index: 4;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.service-card--hover:hover .svc-cover-title {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

@media (hover: none) {
  .service-card--hover {
    height: auto;
    min-height: 280px;
    border-color: var(--svc-accent);
    overflow: hidden;
  }

  .svc-body {
    opacity: 1;
    visibility: visible;
    padding: 24px 20px 24px 20px;
    padding-top: 120px;
  }

  .svc-cover {
    inset: 0 0 auto 0;
    height: 110px;
    background: #0b1220;
    overflow: hidden;
    pointer-events: none;
  }

  .svc-cover-art {
    width: 64px;
    height: 64px;
    background: var(--svc-accent);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .svc-cover-art svg {
    width: 28px;
    height: 28px;
  }

  .svc-cover-title {
    left: 96px;
    right: 16px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card--hover,
  .svc-body,
  .svc-cover,
  .svc-cover-art,
  .svc-cover-title {
    transition: none;
  }
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease;
  overflow: hidden;
}

.service-icon--photo {
  padding: 0;
  background: #e2e8f0;
}

.service-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card:hover .service-icon:not(.service-icon--photo) {
  background: var(--primary);
  color: #fff;
}

/* Services page ? full catalog layout */
.services-page {
  padding-top: 56px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 35%);
}

.services-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.services-page-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.services-page-count {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 8px 14px;
  border-radius: 999px;
}

.services-page-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services-catalog-group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 16px;
}

.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services-catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 24px;
  min-height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services-catalog-card.has-image {
  padding-top: 0;
}

.services-catalog-media {
  margin: 0 -24px 16px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.services-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.services-catalog-card:hover .services-catalog-media img {
  transform: scale(1.04);
}

.services-catalog-cat--overlay {
  align-self: flex-start;
  margin-bottom: 10px;
}

.services-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.services-catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.services-catalog-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #eff6ff, #e0f2fe);
  color: #2563eb;
  transition: background 0.3s ease, color 0.3s ease;
}

.services-catalog-card:hover .services-catalog-icon {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}

.services-catalog-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 999px;
}

.services-catalog-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.35;
}

.services-catalog-card p {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.services-catalog-card p.services-catalog-excerpt,
#serversPageGrid .services-catalog-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3.4em;
  flex: 0 0 auto;
}

.services-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.services-catalog-link:hover {
  color: #1d4ed8;
  gap: 12px;
}

.services-page-empty {
  text-align: center;
  color: #64748b;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .services-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-catalog-grid {
    grid-template-columns: 1fr;
  }

  .services-page-toolbar {
    align-items: flex-start;
  }
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 0;
}

.service-card p {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease, color var(--transition);
}

.service-link::after {
  content: "?";
  transition: transform 0.2s ease;
}

.service-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

.service-link:hover::after {
  transform: translateX(2px);
}

/* Clients Banner */
.clients-banner {
  background: var(--gradient);
  color: #fff;
  text-align: center;
}

.clients-banner-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.clients-banner-title .text-gradient {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clients-banner-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  opacity: 0.92;
  line-height: 1.7;
}

/* Comprehensive Web Development */
.dev-services {
  background: #05071a;
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
  position: relative;
}

.dev-services-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px 80px;
  align-items: center;
}

.dev-services-title {
  font-size: clamp(1.5rem, 2.9vw, 2.125rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.32;
  margin-bottom: 24px;
  color: #fff;
}

.dev-services-desc {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  text-align: justify;
}

.dev-tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.dev-tech-badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.dev-tech-badge:hover {
  transform: translateY(-3px);
}

.dev-tech-badge span {
  line-height: 1;
}

.dev-tech-wp { background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; font-size: 1.375rem; }
.dev-tech-php { background: #8993be; color: #fff; font-size: 0.8125rem; font-weight: 700; text-transform: lowercase; }
.dev-tech-laravel { background: #f8fafc; color: #ef4444; font-size: 1.5rem; }
.dev-tech-node { background: #fff; color: #16a34a; font-size: 0.5625rem; font-weight: 700; }
.dev-tech-react { background: #0f172a; color: #38bdf8; font-size: 0.5rem; font-weight: 700; }
.dev-tech-next { background: #000; color: #fff; font-size: 0.5rem; font-weight: 700; border: 1px solid #333; }
.dev-tech-js { background: #facc15; color: #0f172a; font-size: 1rem; }
.dev-tech-html { background: #ea580c; color: #fff; font-size: 1.375rem; }

.dev-services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 2px;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.dev-services-btn:hover {
  background: #fff;
  color: #05071a;
}

.dev-services-side-tab {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #dc2626;
  color: #fff;
  padding: 18px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease;
}

.dev-services-side-tab:hover {
  background: #b91c1c;
  color: #fff;
}

.dev-services-content {
  position: relative;
  z-index: 2;
}

.dev-services-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-wheel {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
}

.dev-wheel-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.5));
}

.dev-wheel-svg text {
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .dev-wheel-svg animateTransform {
    display: none;
  }
}

/* Why Choose Us */
.why-choose {
  background: #fff;
  padding: 96px 0;
}

.why-choose .section-desc {
  max-width: 620px;
  margin: 12px auto 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-choose-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-choose-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.why-choose-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-choose-icon svg {
  width: 22px;
  height: 22px;
}

.why-choose-card h3 {
  font-size: 1.0625rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.why-choose-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* Stats & Experience */
.stats-experience {
  background: #05071a;
  padding: 80px 0 64px;
  overflow: hidden;
}

.stats-experience-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.7fr);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  min-height: 420px;
}

.stats-panel {
  background: #f1f3f5;
  padding: 40px 36px;
  display: flex;
  align-items: center;
}

.stats-experience .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
}

.stats-experience .stats-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 28px 22px;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.stats-experience .stats-item:nth-child(2n) {
  border-right: none;
}

.stats-experience .stats-item:nth-child(n + 3) {
  border-bottom: none;
}

.stats-card {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  background: linear-gradient(160deg, #f43f4a 0%, #c8101a 100%);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 8px;
  box-shadow: 0 12px 28px rgba(200, 16, 26, 0.28);
}

.stats-card-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-card-label {
  margin-top: 7px;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}

.stats-copy {
  min-width: 0;
  flex: 1;
}

.stats-copy h3 {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  margin-bottom: 8px;
  white-space: nowrap;
  line-height: 1;
}

.stats-copy p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.experience-panel {
  background: linear-gradient(165deg, #e11d26 0%, #b91018 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 36px;
  text-align: center;
  position: relative;
}

.experience-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.12), transparent 50%);
  pointer-events: none;
}

.experience-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.experience-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.45;
  color: #fff;
  max-width: 220px;
  margin: 0;
}

.experience-badge {
  position: relative;
  z-index: 1;
  width: 152px;
  height: 152px;
  transform: rotate(45deg);
  background: linear-gradient(145deg, #2b8fd4 0%, #155a94 100%);
  border: 4px solid #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-badge-inner {
  transform: rotate(-45deg);
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.experience-badge-top {
  display: flex;
  justify-content: center;
}

.experience-badge-icon {
  width: 42px;
  height: 32px;
}

.experience-badge-band {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f2d4d;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.experience-badge-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.experience-badge-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
}

.experience-badge-bottom strong {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experience-badge-bottom span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-number {
  display: inline;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  display: inline;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin: 12px 0 8px;
}

.stat-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Portfolio */
.portfolio {
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
  border-color: transparent;
}

.page-featured-image {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.page-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.page-main h2:not(.section-title) {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: #0f172a;
}

.page-main p {
  margin-bottom: 16px;
  color: #475569;
  line-height: 1.8;
  font-size: 1.0625rem;
  text-align: justify;
  hyphens: auto;
}

.page-main ul {
  margin: 0 0 18px 1.25rem;
  color: #475569;
}

.page-main li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.portfolio-img {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

.portfolio-img.has-photo {
  background: #0f172a;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Multi-image hover: seamless bottom ? top loop inside the card frame */
.portfolio-img.has-marquee {
  display: block;
  container-type: size;
  container-name: portfolio-frame;
}

.portfolio-marquee {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portfolio-marquee-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.portfolio-marquee-track img {
  width: 100%;
  height: 100cqh;
  flex: 0 0 100cqh;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

.portfolio-card--multi:hover .portfolio-marquee-track {
  animation: portfolio-marquee-up var(--marquee-duration, 8s) linear infinite;
}

@keyframes portfolio-marquee-up {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -50%, 0);
  }
}

@media (hover: none) {
  .portfolio-card--multi:hover .portfolio-marquee-track {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card--multi:hover .portfolio-marquee-track {
    animation: none;
  }
}

/* Fallback when container query units unsupported */
@supports not (height: 100cqh) {
  .portfolio-marquee-track img {
    height: auto;
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
  }
}

.portfolio-info {
  padding: 20px 24px;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 8px;
}

.portfolio-info h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
}

/* Why Hire Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-hire.section-dark .why-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.why-hire.section-dark .why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.why-hire.section-dark .why-card h4 {
  color: #fff;
}

.why-hire.section-dark .why-card p {
  color: rgba(226, 232, 240, 0.72);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Client Logos */
.client-logos {
  background: #fff;
  overflow: hidden;
  padding-top: 56px;
  padding-bottom: 64px;
}

.client-logos-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: scroll-logos var(--logos-duration, 60s) linear infinite;
  width: max-content;
  padding: 12px 0;
}

.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  width: 240px;
  height: 130px;
  padding: 24px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.logo-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.logo-item img {
  display: block;
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .logo-item {
    width: 200px;
    height: 112px;
    padding: 20px;
  }

  .logo-item img {
    max-height: 64px;
  }
}

/* Team image slider (homepage) */
.team-logos {
  background: #f8fafc;
  overflow: hidden;
  padding-top: 56px;
  padding-bottom: 64px;
}

.team-logos-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
}

.team-logos-slider {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.team-logos-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 8px 0 16px;
  animation: scroll-team-ltr var(--team-logos-duration, 50s) linear infinite;
}

.team-logos-slider:hover .team-logos-track {
  animation-play-state: paused;
}

.team-logo-item {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.team-logo-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scroll-team-ltr {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .team-logo-item {
    width: 112px;
    height: 112px;
  }

  .team-logos {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .team-logos-title {
    margin-bottom: 28px;
  }

  .team-logos-track {
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* CTA */
.cta {
  background: var(--bg-light);
}

.cta-inner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cta .btn-primary:hover {
  background: var(--bg-light);
}

.cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr minmax(220px, 1.15fr);
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: stretch;
}

.footer-col--location {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.footer-col:has(.footer-social) {
  display: flex;
  flex-direction: column;
}

.footer-map {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.footer-map-fallback {
  display: block;
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.55;
  text-decoration: none;
}

.footer-map-fallback:hover {
  color: #fff;
}

.footer-map-fallback strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-desc {
  margin: 16px 0 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 24px;
}

.footer-social:empty,
.footer-social[hidden] {
  display: none;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-payments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-content: start;
  gap: 8px;
  margin-top: 10px;
  padding-top: 0;
  width: 100%;
  max-width: 280px;
}

.footer-payments-heading {
  margin: 18px 0 0;
  padding: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.footer-pay-icon {
  display: inline-flex;
  width: 100%;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.footer-pay-icon img,
.footer-pay-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 2px;
  box-sizing: border-box;
}

.footer-col ul a {
  display: inline-block;
  padding: 4px 0;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-mobiles,
.footer-emails,
.footer-contact-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35em;
}

.footer-mobile-label,
.footer-email-label,
.footer-contact-label {
  flex: 0 0 auto;
}

.footer-mobile-list,
.footer-email-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-services-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #0f172a;
}

.footer-sitemap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 0 0 16px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-sitemap-btn:hover,
.footer-map-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #0f172a;
}

.footer-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 0 0 16px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-col--location .footer-payments {
  margin-top: 0;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.welcome-tagline {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light, #94a3b8);
  line-height: 1.4;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.modal-overlay.active {
  display: flex;
  pointer-events: auto;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  width: 100%;
  max-width: 480px;
  max-height: min(90vh, 720px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  z-index: 5;
  background: #fff;
}

.modal-close:hover {
  background: var(--bg-muted);
  color: var(--dark);
}

.modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  flex-shrink: 0;
  padding: 32px 48px 8px 40px;
  background: #fff;
}

.modal > p:not(.modal-alt) {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9375rem;
  flex-shrink: 0;
  padding: 0 40px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.consultation-form {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 40px 0;
  display: flex;
  flex-direction: column;
}

.consultation-form > .form-group {
  flex-shrink: 0;
}

.consultation-form > .btn-full,
.consultation-form > button[type="submit"] {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: auto;
  margin-bottom: 0;
  background: var(--gradient);
  box-shadow:
    0 -14px 20px #fff,
    0 8px 18px rgba(37, 99, 235, 0.22);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group label .req,
.auth-terms .req {
  color: #dc2626;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Smart service dropdown (consultation modal) */
.smart-select {
  position: relative;
  width: 100%;
}

.smart-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.smart-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.smart-select-trigger:hover {
  border-color: #cbd5e1;
}

.smart-select.is-open .smart-select-trigger,
.smart-select-trigger:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.smart-select.is-invalid .smart-select-trigger {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.smart-select-label.is-placeholder {
  color: var(--text-muted);
}

.smart-select-caret {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.smart-select.is-open .smart-select-caret {
  transform: rotate(180deg);
  color: var(--primary);
}

.smart-select.is-locked .smart-select-trigger {
  cursor: not-allowed;
  opacity: 0.92;
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: none;
  pointer-events: none;
}

.smart-select.is-locked .smart-select-caret {
  opacity: 0.35;
}

.smart-select-panel {
  margin: 0;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.14);
  -webkit-overflow-scrolling: touch;
}

.smart-select-panel.is-ported {
  position: fixed;
  z-index: 4000;
}

.smart-select-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dark);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.smart-select-option:hover,
.smart-select-option:focus {
  outline: none;
  background: #eff6ff;
  color: var(--primary-dark);
}

.smart-select-option.is-selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
  color: var(--primary-dark);
}

.smart-select-option-title {
  min-width: 0;
}

.smart-select-option-cat {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.smart-select-option.is-selected .smart-select-option-cat {
  color: var(--primary);
}

.modal-alt {
  text-align: center;
  margin: 0;
  flex-shrink: 0;
  padding: 12px 40px 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: #fff;
  border-top: 1px solid var(--border);
}

.modal-alt a {
  color: var(--primary);
  font-weight: 600;
}

.modal-alt a:hover {
  text-decoration: underline;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  right: auto;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: all var(--transition);
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
}

.floating-cta svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Floating WhatsApp — right side */
.floating-whatsapp {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  z-index: 998;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe57;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.floating-whatsapp[hidden] {
  display: none !important;
}

.floating-whatsapp svg {
  display: block;
}

/* Auth / Login Page */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 60%),
    var(--bg-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 88px 24px 40px;
  position: relative;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.auth-brand {
  background: var(--gradient);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-logo .logo-text {
  color: #fff;
}

.auth-logo .logo-accent {
  color: rgba(255, 255, 255, 0.85);
}

.auth-brand h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.auth-brand > p {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-features li {
  font-size: 0.875rem;
  padding-left: 24px;
  position: relative;
  opacity: 0.92;
}

.auth-features li::before {
  content: "?";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.auth-card {
  padding: 40px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-muted);
  padding: 6px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.auth-tab.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.phone-smart {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.phone-smart select {
  width: 118px;
  flex-shrink: 0;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  background: #fff;
  font-weight: 600;
  color: var(--dark, #0f172a);
  cursor: pointer;
}

.phone-smart input {
  flex: 1;
  min-width: 0;
}

.phone-smart-hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-light, #94a3b8);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  transition: color var(--transition);
}

.password-toggle:hover {
  color: var(--primary);
}

.email-field {
  position: relative;
}

.email-field input {
  padding-right: 88px;
}

.email-field.is-verified input {
  padding-right: 100px;
  border-color: #10b981;
}

.email-verify-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.15s, transform 0.15s;
}

.email-verify-btn[hidden],
.email-verified-badge[hidden],
.email-verify-hint[hidden] {
  display: none !important;
}

.email-verify-btn:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-50%) scale(1.02);
}

.email-verify-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.email-verified-badge {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  pointer-events: none;
}

.email-field.is-verified .email-verified-badge {
  display: inline-flex;
}

.email-field.is-verified .email-verify-btn {
  display: none !important;
}

.email-verify-hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.email-verify-hint.is-ok {
  color: #059669;
}

.email-verify-hint.is-err {
  color: #dc2626;
}

/* Email OTP quick view */
.email-otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.email-otp-overlay[hidden] {
  display: none !important;
}

.email-otp-modal {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  position: relative;
  text-align: center;
}

.email-otp-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
}

.email-otp-modal h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #0f172a;
}

.email-otp-modal p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.email-otp-modal strong {
  color: #0f172a;
  word-break: break-all;
}

.email-otp-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.email-otp-inputs input {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
}

.email-otp-inputs input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.email-otp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-otp-actions .email-otp-confirm,
.email-otp-actions #emailOtpSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 12px;
  box-sizing: border-box;
}

.email-otp-status {
  min-height: 1.25em;
  font-size: 0.8125rem;
  margin: 0 0 8px;
  color: #64748b;
}

.email-otp-status.is-err {
  color: #dc2626;
}

.email-otp-status.is-ok {
  color: #059669;
}

.email-otp-resend {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 6px;
}

.email-otp-resend:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.forgot-step-copy {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.forgot-step-copy strong {
  color: var(--dark);
  word-break: break-all;
}

.forgot-otp-inputs {
  margin-bottom: 16px;
}

#forgotOtpResend {
  display: block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 4px;
}

.auth-tabs[hidden] {
  display: none !important;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--primary);
}

.auth-terms {
  margin-bottom: 24px;
}

.auth-terms a {
  color: var(--primary);
  font-weight: 500;
}

.auth-terms a:hover {
  text-decoration: underline;
}

.auth-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-link-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}

.auth-link-btn:hover {
  text-decoration: underline;
}

.auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 10px 24px;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.auth-back {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.auth-back:hover {
  color: var(--primary);
}

/* Inner Pages ? premium layout */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(14, 165, 233, 0.18), transparent 50%),
    linear-gradient(135deg, #06101f 0%, #0f2744 48%, #163a5f 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: left;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  /* Same container width as header + Overview ? keeps left edges aligned */
  max-width: var(--container);
}

.page-hero .section-label {
  color: #93c5fd;
  letter-spacing: 0.14em;
}

.page-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin: 14px 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-hero-desc {
  max-width: 540px;
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.page-content.section {
  padding-top: 64px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.sitemap-heading {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-list li {
  margin: 0 0 8px;
}

.sitemap-list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.975rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.sitemap-list a:hover {
  color: #2563eb;
}

@media (max-width: 900px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}

.page-content-inner,
.page-content-inner--split {
  display: grid;
  /* Content grows on left; image sits on the right edge */
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  grid-template-areas: "main media";
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  /* Keep .container max-width so Overview aligns with logo + page title */
  width: 100%;
}

.page-content-inner--split {
  align-items: start;
}

.page-content-inner--single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "main";
  gap: 0;
  align-items: start;
  width: 100%;
}

.page-content-inner--single .page-main {
  max-width: 720px;
}

.page-media[hidden] {
  display: none !important;
}

.page-main {
  grid-area: main;
  min-width: 0;
  max-width: none;
  align-self: start;
  justify-self: stretch;
}

.page-content-inner--split > .page-main {
  align-self: start;
}

.page-main .section-title {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 14px;
  text-align: left;
}

.page-main .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.page-media {
  grid-area: media;
  position: sticky;
  /* Sit below sticky site chrome, with a small breathing gap */
  top: calc(var(--chrome-offset) + 20px);
  width: 100%;
  max-width: 420px;
  justify-self: end;
  align-self: start;
  margin-top: 0;
  z-index: 1;
}

.page-content-inner--split > .page-media {
  align-self: start;
  margin-top: 0;
}

.page-media-frame {
  position: relative;
  border-radius: 14px;
  padding: 3px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.02),
    0 16px 36px rgba(15, 23, 42, 0.08),
    0 32px 64px rgba(37, 99, 235, 0.07);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.page-media-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.1),
    0 40px 80px rgba(37, 99, 235, 0.1);
}

.page-media-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.4), transparent 42%, rgba(14, 165, 233, 0.28));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.page-media .page-featured-image {
  display: block;
  border-radius: 11px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: #0f172a;
  aspect-ratio: 16 / 11;
}

.page-media .page-featured-image img {
  min-height: 0;
  max-height: none;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-feature-cards {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(8px, 1.5vw, 16px);
  clear: both;
  width: 100%;
}

.page-feature-cards .page-mail-plans.purchase-plans {
  align-items: stretch;
}

.page-feature-cards .page-mail-plans[data-count="1"] {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.page-feature-cards .page-mail-plans[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin-inline: auto;
}

.page-mail-second-desc {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: none;
  margin-inline: 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

@media (max-width: 900px) {
  .page-feature-cards .page-mail-plans.purchase-plans,
  .page-feature-cards .page-mail-plans[data-count="1"],
  .page-feature-cards .page-mail-plans[data-count="2"] {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: 0;
  }
}

.page-media-frame:hover .page-featured-image img {
  transform: scale(1.035);
}

.page-media-placeholder {
  aspect-ratio: 16 / 11;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 28%, rgba(56, 189, 248, 0.22), transparent 48%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.28), transparent 45%),
    linear-gradient(145deg, #0f172a, #1e3a5f);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-main p {
  color: #475569;
  margin: 0 0 16px;
  line-height: 1.8;
  font-size: 1.0625rem;
  text-align: justify;
  hyphens: auto;
}

.page-main a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-main a:hover {
  color: #1d4ed8;
}

.page-content-loading,
.page-content-empty {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.page-content-loading {
  padding: 8px 0;
}

.news-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-post-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.news-post-card:has(.news-post-cover) {
  padding-top: 0;
}

.news-post-cover {
  margin: 0 -22px 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.news-post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.28);
}

.news-post-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.news-post-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--dark);
}

.news-post-excerpt {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.news-post-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #2563eb;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}

.news-post-readmore::after {
  content: "→";
  transition: transform 0.2s ease;
}

.news-post-readmore:hover {
  color: #1d4ed8;
  gap: 10px;
}

.news-post-readmore:hover::after {
  transform: translateX(2px);
}

/* Blog quick view */
.blog-qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.55);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.blog-qv-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.blog-qv-open {
  overflow: hidden;
}

.blog-qv-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(860px, calc(100dvh - 32px));
  margin: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  padding: 28px 0 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.blog-qv-overlay.is-open .blog-qv-modal {
  transform: translateY(0);
}

.blog-qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-qv-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.blog-qv-date {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 28px 10px;
  padding-right: 36px;
}

.blog-qv-title {
  flex-shrink: 0;
  margin: 0 28px 14px;
  padding-right: 36px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  color: #0f172a;
}

.blog-qv-cover {
  flex-shrink: 0;
  margin: 0 28px 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}

.blog-qv-cover img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.blog-qv-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 28px 32px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.blog-qv-body h2,
.blog-qv-body h3 {
  color: #0f172a;
  margin: 1.25em 0 0.5em;
  line-height: 1.35;
}

.blog-qv-body p {
  margin: 0 0 0.9em;
}

.blog-qv-body ul,
.blog-qv-body ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.blog-qv-body li {
  margin-bottom: 0.35em;
}

.blog-qv-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .news-posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-qv-modal {
    max-height: calc(100dvh - 24px);
    padding-top: 22px;
  }

  .blog-qv-date,
  .blog-qv-title,
  .blog-qv-cover {
    margin-left: 18px;
    margin-right: 18px;
  }

  .blog-qv-body {
    padding: 0 18px 26px;
  }
}

.page-hero-desc[hidden] {
  display: none !important;
}

.service-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.service-detail-badge {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 999px;
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-top: 0;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.service-detail-back:hover {
  color: #2563eb;
}

/* Service single page layout */
.page-hero--service {
  padding: 36px 0 28px;
}

.page-hero--service .page-hero-title[hidden] {
  display: none !important;
}

.page-hero--service .section-label {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.page-hero--service .section-label a {
  color: #93c5fd;
  text-decoration: none;
}

.page-hero--service .section-label a:hover {
  color: #fff;
}

.page-hero--service .section-label span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.service-detail {
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
}

.service-detail-layout {
  position: relative;
  max-width: 1100px;
}

.service-detail-layout::after {
  content: "";
  display: table;
  clear: both;
}

.service-detail-layout--no-image {
  max-width: 760px;
}

.service-detail-layout > .service-detail-badge {
  display: inline-flex;
  margin-bottom: 14px;
}

.service-detail-title {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}

.service-detail-desc {
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.8;
  text-align: justify;
  hyphens: auto;
}

.service-detail-desc2 {
  padding-top: 8px;
}

.service-detail-desc--secondary,
.server-detail-desc--secondary {
  max-width: none;
  margin: 0;
  width: 100%;
  text-align: left;
}

.service-detail-desc a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.service-detail-desc a:hover {
  color: #1d4ed8;
}

.service-detail-desc > p:first-of-type {
  font-size: 1.125rem;
  color: #334155;
  line-height: 1.75;
}

.service-detail-desc p {
  margin: 0 0 16px;
}

.service-detail-desc p:last-child {
  margin-bottom: 0;
}

.service-detail-desc h2,
.service-detail-desc h3,
.service-detail-desc h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 28px 0 12px;
  line-height: 1.35;
}

.service-detail-desc p > strong:only-child {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
  line-height: 1.35;
}

.service-detail-desc h2:first-child,
.service-detail-desc h3:first-child {
  margin-top: 8px;
}

.service-detail-desc ul,
.service-detail-desc ol {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  clear: both;
  text-align: left;
}

.service-detail-desc ol {
  counter-reset: service-item;
}

.service-detail-desc li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 40px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 500;
}

.service-detail-desc ul li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23eff6ff'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%232563eb' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.service-detail-desc ol li {
  counter-increment: service-item;
}

.service-detail-desc ol li::before {
  content: counter(service-item);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
}

.service-detail-desc li:last-child {
  margin-bottom: 0;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-detail-media {
  float: right;
  width: min(42%, 420px);
  margin: 0 0 28px 36px;
  shape-outside: margin-box;
}

.service-detail-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.02),
    0 18px 40px rgba(15, 23, 42, 0.1);
}

.service-detail-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

.service-detail-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-detail-frame:hover .service-detail-figure img {
  transform: scale(1.03);
}

.service-detail-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.22), transparent 50%),
    linear-gradient(145deg, #0f172a, #1e3a5f);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-related {
  padding: 56px 0 88px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.service-related-head {
  margin-bottom: 28px;
}

.service-related-title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-related-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.service-related-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
}

.service-related-card:hover .service-related-icon {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}

.service-related-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.service-related-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.35;
}

.service-related-body p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .service-detail-media {
    float: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 24px;
  }

  .service-detail-desc {
    text-align: left;
  }

  .service-detail-desc ul,
  .service-detail-desc ol {
    grid-template-columns: 1fr;
  }

  .service-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .service-detail-desc ul,
  .service-detail-desc ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .service-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== Server single page ========== */
body.is-server-detail .header {
  border-bottom-color: transparent;
}

.page-hero--server {
  padding: 36px 0 28px;
}

.page-hero--server .page-hero-title[hidden] {
  display: none !important;
}

.page-hero--server .section-label {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.page-hero--server .section-label a {
  color: #93c5fd;
  text-decoration: none;
}

.page-hero--server .section-label a:hover {
  color: #fff;
}

.page-hero--server .section-label span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.server-detail {
  margin: 0;
  padding: 0;
}

.server-detail-showcase {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(ellipse 55% 60% at 90% 10%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(14, 165, 233, 0.08), transparent 50%),
    linear-gradient(180deg, #f1f5f9 0%, #ffffff 55%);
}

.server-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.server-detail-copy {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.server-detail.is-ready .server-detail-copy {
  opacity: 1;
  transform: none;
}

.server-detail-back {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.server-detail-back:hover {
  color: var(--primary);
}

.server-detail-badge {
  display: inline-flex;
  max-width: 100%;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.server-detail-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.server-detail-desc {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  color: #475569;
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 38rem;
}

.server-detail-desc a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.server-detail-desc a:hover {
  color: #1d4ed8;
}

.server-detail-desc p {
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-word;
}

.server-detail-desc p:last-child {
  margin-bottom: 0;
}

.server-detail-media {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.server-detail.is-ready .server-detail-media {
  opacity: 1;
  transform: none;
}

.server-detail-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(155deg, #0f172a 0%, #1e3a5f 55%, #0c4a6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.12),
    0 28px 56px rgba(15, 23, 42, 0.18);
}

.server-detail-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #020617;
}

.server-detail-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.server-detail-frame:hover .server-detail-figure img {
  transform: scale(1.04);
}

.server-detail-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(56, 189, 248, 0.25), transparent 50%),
    linear-gradient(160deg, #0b1220, #12304f);
  color: rgba(226, 232, 240, 0.7);
}

.server-detail-rack {
  width: min(72%, 220px);
  display: grid;
  gap: 8px;
}

.server-detail-rack span {
  display: block;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.55));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}

.server-detail-rack span::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
}

.server-detail-placeholder p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.server-detail-plans {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 70%);
  border-top: 1px solid #e2e8f0;
}

.server-detail-plans .server-detail-features-head {
  margin-bottom: 28px;
}

.server-detail-plan-grid.purchase-plans {
  margin-top: 0;
}

.server-detail-features {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px);
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.server-detail-features-head {
  margin-bottom: 28px;
  max-width: 36rem;
}

.server-detail-features-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.server-detail-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.server-detail-feature {
  padding: 22px 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.server-detail-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  background: #fff;
}

.server-detail-feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.server-detail-feature p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.55;
}

.server-related {
  background: #f8fafc;
}

@media (max-width: 900px) {
  .server-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .server-detail-media {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .server-detail-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .server-detail-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .server-detail-copy,
  .server-detail-media,
  .server-detail-figure img {
    transition: none !important;
  }

  .server-detail-copy,
  .server-detail-media {
    opacity: 1;
    transform: none;
  }
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-start;
}

.page-sidebar {
  display: none !important;
}

@media (max-width: 900px) {
  .page-hero {
    text-align: center;
    padding: 56px 0 48px;
  }

  .page-hero .container {
    max-width: var(--container);
  }

  .page-hero-desc {
    margin: 0 auto;
  }

  .page-content-inner,
  .page-content-inner--split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "media";
    gap: 28px;
    align-items: stretch;
  }

  .page-content-inner--single {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
    gap: 0;
  }

  .page-main {
    max-width: none;
    justify-self: stretch;
  }

  .page-media {
    max-width: 520px;
    width: 100%;
    justify-self: center;
    position: relative;
    top: auto;
    align-self: stretch;
  }

  .page-main .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-main .section-title {
    text-align: center;
  }

  .page-main p {
    text-align: justify;
  }

  .page-actions {
    justify-content: center;
  }
}

.page-sidebar h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.page-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.page-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.page-feature-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.page-sidebar-cta {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.page-sidebar-cta p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dev-services-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .dev-services-side-tab {
    display: none;
  }

  .dev-wheel {
    max-width: 360px;
  }

  .stats-experience {
    padding: 48px 0 32px;
  }

  .stats-experience-shell {
    grid-template-columns: 1fr;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-panel {
    padding: 32px 24px;
  }

  .experience-panel {
    padding: 48px 24px;
  }

  .experience-title {
    max-width: 320px;
  }

  .welcome-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .welcome-content {
    max-width: none;
  }

  .welcome-media {
    min-height: auto;
    justify-content: center;
  }

  .welcome-rings {
    width: 360px;
    height: 360px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .welcome-video {
    max-width: 100%;
    margin-left: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col--location {
    grid-column: 1 / -1;
  }

  .footer-map iframe {
    height: 220px;
  }
}

/* Tablet + phone: hamburger navigation */
@media (max-width: 1024px) {
  /* backdrop-filter traps position:fixed nav inside the header — remove on small screens */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    z-index: 1003;
  }

  body.no-scroll .header {
    z-index: 1005;
  }

  body.no-scroll .top-bar {
    z-index: 1006;
  }

  .header-inner {
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
  }

  .header .logo:not(.footer-logo):not(.auth-logo),
  .header-inner > .logo {
    align-self: center;
    height: auto;
    max-height: var(--header-height);
    align-items: center;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header-cart,
  .header-user-avatar {
    width: 40px;
    height: 40px;
  }

  .mobile-toggle {
    display: flex;
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-actions .mobile-toggle {
    margin-left: 2px;
  }

  .header .logo-img,
  a.logo:not(.footer-logo):not(.auth-logo) .logo-img {
    max-width: min(180px, 42vw);
  }

  .header-cta {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.8125rem;
  }

  .nav {
    position: fixed;
    top: var(--chrome-offset);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1004;
    box-shadow: none;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    background: transparent;
  }

  .nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
  }

  /* Disable desktop black hover/sticky-hover on phone menu */
  .nav-link:hover,
  .nav-dropdown:hover > .nav-link,
  .nav-dropdown:focus-within > .nav-link {
    color: var(--text);
    background: transparent;
  }

  .nav-link.active:hover,
  .nav-dropdown.open > .nav-link,
  .nav-dropdown.open > .nav-link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
  }

  .nav-link:hover svg,
  .nav-dropdown:hover > .nav-link svg,
  .nav-dropdown:focus-within > .nav-link svg {
    stroke: currentColor;
  }

  .nav-dropdown.open > .nav-link svg {
    stroke: var(--primary);
    transform: rotate(180deg);
  }

  .dropdown-menu,
  .dropdown-menu.dropdown-single,
  .dropdown-menu.dropdown-services {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    padding: 6px 8px 10px !important;
    margin: 0 0 4px !important;
    border: none !important;
    box-shadow: none !important;
    background: #f1f5f9 !important;
    border-radius: 12px;
    z-index: auto !important;
  }

  .nav-dropdown.open > .dropdown-menu {
    display: grid !important;
  }

  /* Never open submenu from hover/focus on touch layouts */
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    display: none !important;
  }

  .nav-dropdown.open > .dropdown-menu,
  .nav-dropdown.open:hover > .dropdown-menu,
  .nav-dropdown.open:focus-within > .dropdown-menu {
    display: grid !important;
  }

  .dropdown-menu a,
  .dropdown-col a,
  .dropdown-menu.dropdown-single a {
    padding: 12px 14px !important;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    color: #0f172a !important;
    background: transparent !important;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
  }

  .dropdown-menu a:hover,
  .dropdown-col a:hover,
  .dropdown-menu.dropdown-single a:hover {
    background: #fff !important;
    color: var(--primary) !important;
  }

  .dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .dropdown-col h4,
  .dropdown-menu.dropdown-single .dropdown-col h4 {
    margin: 0;
    padding: 10px 14px 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.3;
  }

  .nav-dropdown::after {
    display: none;
  }

  body.no-scroll .floating-cta,
  body.no-scroll .floating-whatsapp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header .logo-img,
  a.logo:not(.footer-logo):not(.auth-logo) .logo-img {
    height: 40px;
    max-height: 40px;
    max-width: min(120px, 34vw);
  }

  .header-actions {
    gap: 6px;
  }

  .header-cart,
  .header-user-avatar {
    width: 38px;
    height: 38px;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .why-choose {
    padding: 72px 0;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-panel {
    padding: 24px 16px;
  }

  .stats-experience .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-experience .stats-item {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 20px 12px;
  }

  .stats-experience .stats-item:last-child {
    border-bottom: none;
  }

  .stats-card {
    width: 88px;
    height: 88px;
  }

  .stats-card-num {
    font-size: 1.375rem;
  }

  .stats-copy h3 {
    font-size: 0.75rem;
  }

  .experience-title {
    max-width: 280px;
  }

  .section {
    padding: 60px 0;
  }

  .top-bar-inner {
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .hero-title {
    margin-bottom: 28px;
  }

  .hero-cta {
    white-space: normal;
    text-align: center;
    letter-spacing: 0.04em;
    padding: 14px 20px;
    font-size: 0.8125rem;
  }

  .hero-cta-wrap {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .welcome-rings {
    width: 280px;
    height: 280px;
    right: -30%;
  }

  .services-grid,
  .features-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card--hover {
    height: 280px;
  }

  .stats-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-col ul a {
    padding: 10px 0;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .footer-payments {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-pay-icon {
    height: 42px;
  }

  .footer-map iframe {
    height: 200px;
  }

  .logo-item {
    width: 168px;
    height: 100px;
    padding: 16px;
  }

  .logo-item img {
    max-height: 56px;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .floating-cta span {
    display: none;
  }

  .floating-cta {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-cta svg {
    width: 22px;
    height: 22px;
  }

  .modal-overlay {
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    align-items: flex-end;
  }

  .modal {
    max-height: min(92vh, 720px);
    border-radius: var(--radius-lg) var(--radius-lg) 12px 12px;
  }

  .modal h3 {
    padding: 28px 52px 8px 24px;
  }

  .modal > p:not(.modal-alt) {
    padding: 0 24px 14px;
  }

  .consultation-form {
    padding: 16px 24px 8px;
  }

  .modal-alt {
    padding: 12px 24px 20px;
  }

  .page-media {
    position: static;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header .logo-img,
  a.logo:not(.footer-logo):not(.auth-logo) .logo-img {
    height: 36px;
    max-height: 36px;
    max-width: min(108px, 32vw);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .hero-cta-wrap {
    max-width: 100%;
  }

  .top-bar {
    font-size: 0.75rem;
  }

  .top-bar-offer {
    max-width: 46%;
    font-size: 0.75rem !important;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-suffix {
    font-size: 1.5rem;
  }

  .auth-wrapper {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    padding: 32px 24px;
  }

  .auth-brand h1 {
    margin-top: 20px;
    font-size: 1.5rem;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-content-inner,
  .page-content-inner--split,
  .page-content-inner--single {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "media";
  }

  .page-sidebar {
    position: static;
  }

  .footer-payments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   Contact Us ? premium page form
   ============================================ */

.page-hero--contact {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
}

.page-hero--contact .page-hero-desc {
  max-width: 36rem;
  margin: 0;
  text-align: left;
  color: rgba(226, 232, 240, 0.85);
}

.contact-premium {
  position: relative;
  padding-top: 64px;
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 100%);
  overflow: hidden;
}

.contact-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.contact-premium-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-premium-heading {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  color: var(--dark);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.contact-premium-lead {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 28rem;
}

.contact-premium-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-premium-channels li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-premium-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.contact-premium-channels strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-premium-channels a,
.contact-premium-channels span {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
}

.contact-channel-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-channel-stack a,
.contact-channel-stack span {
  display: block;
  line-height: 1.4;
}

.contact-premium-channels a:hover {
  color: var(--primary);
}

.contact-premium-hours {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-premium-hours-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-premium-hours p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-premium-panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 32px 32px 28px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px -20px rgba(15, 23, 42, 0.18);
  transform: translateY(12px);
  opacity: 0;
  animation: contactPanelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.contact-premium-info {
  transform: translateY(12px);
  opacity: 0;
  animation: contactPanelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes contactPanelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-premium-panel-head {
  margin-bottom: 24px;
}

.contact-premium-panel-head h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--dark);
}

.contact-premium-panel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-premium-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-premium-form .form-group {
  margin-bottom: 16px;
}

.contact-premium-form input,
.contact-premium-form select,
.contact-premium-form textarea {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-premium-form input:focus,
.contact-premium-form select:focus,
.contact-premium-form textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.contact-premium-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  border-radius: 12px;
}

.contact-premium-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-premium-status {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-premium-status.is-ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.contact-premium-status.is-err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

@media (max-width: 900px) {
  .contact-premium-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-premium-panel {
    padding: 26px 22px 22px;
  }

  .contact-premium-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Purchase ? plan cards + cart
   ============================================ */

.page-hero--purchase .page-hero-desc {
  max-width: 36rem;
  margin: 0;
  text-align: left;
  color: rgba(226, 232, 240, 0.85);
}

.offer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.offer-filter {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.offer-filter:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.offer-filter.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.offer-page .purchase-toolbar {
  margin-bottom: 20px;
}

.offer-page {
  padding-top: 56px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.28);
}

.offer-card-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.offer-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

.offer-card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--dark);
}

.offer-card-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.offer-card-desc p {
  margin: 0 0 0.7em;
}

.offer-card-desc p:last-child {
  margin-bottom: 0;
}

.offer-card-claim {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 720px) {
  .offer-cards {
    grid-template-columns: 1fr;
  }
}

.purchase-page {
  padding-top: 56px;
  padding-bottom: 88px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
}

.purchase-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.purchase-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.purchase-sub {
  margin: 0;
  color: var(--text-muted);
}

.purchase-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.purchase-cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.purchase-cart-badge.is-empty {
  background: #94a3b8;
}

.purchase-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.purchase-plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.purchase-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(37, 99, 235, 0.28);
  border-color: rgba(37, 99, 235, 0.35);
}

.purchase-plan.is-featured {
  border-color: rgba(37, 99, 235, 0.45);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, #2563eb, #0ea5e9) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 48px -18px rgba(37, 99, 235, 0.35);
}

.purchase-plan-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.purchase-plan-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.purchase-plan h3 {
  font-size: 1.25rem;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.purchase-plan-price {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.purchase-plan-price strong {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.purchase-plan-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.purchase-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.85;
}

.purchase-plan-features li.purchase-plan-more {
  padding-left: 0;
  margin-top: 4px;
}

.purchase-plan-features li.purchase-plan-more::before {
  display: none;
}

.btn-see-more-features {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px dashed rgba(37, 99, 235, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-see-more-features:hover {
  background: var(--primary);
  color: #fff;
  border-style: solid;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Quick View Modal */
.plan-quick-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.plan-quick-view-overlay.is-open,
.plan-quick-view-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

.plan-quick-view-modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: min(100%, 540px);
  height: min(85vh, 650px);
  max-height: 85vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  pointer-events: auto !important;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-quick-view-overlay.is-open .plan-quick-view-modal {
  transform: scale(1);
}

.plan-quick-view-head {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
}

.plan-quick-view-head .modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.6rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s ease;
}

.plan-quick-view-head .modal-close:hover {
  color: var(--dark);
}

.plan-quick-view-head h3 {
  font-size: 1.35rem;
  margin: 6px 0 10px;
  color: var(--dark);
}

.plan-quick-view-head .purchase-plan-price {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.plan-quick-view-body {
  padding: 20px 28px;
  overflow-y: auto !important;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.plan-quick-view-body::-webkit-scrollbar {
  width: 6px;
}

.plan-quick-view-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.plan-quick-view-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.plan-quick-view-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.plan-quick-view-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.plan-quick-view-body .full-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.plan-quick-view-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-shrink: 0;
}

.purchase-plan-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.purchase-plan-actions .purchase-btn,
.purchase-plan-actions .btn,
.server-plan-card .purchase-btn,
.server-plan-card .btn {
  width: 100%;
  min-height: 52px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-sizing: border-box;
}

.purchase-btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.purchase-btn svg {
  flex-shrink: 0;
}

.purchase-btn-cart {
  background: #f8fafc;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.purchase-btn-cart:hover {
  background: #fff;
  border-color: #2563eb;
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.45);
}

.purchase-btn-buy {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #0ea5e9 100%);
  color: #fff;
  box-shadow:
    0 12px 28px -10px rgba(37, 99, 235, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.purchase-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px -10px rgba(37, 99, 235, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.purchase-btn:active {
  transform: translateY(0);
}

.purchase-plan.is-featured .purchase-btn-buy {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #0284c7 100%);
}

.purchase-plan-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.purchase-plan-link:hover {
  text-decoration: underline;
}

.purchase-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.purchase-cart-overlay.is-show {
  opacity: 1;
  pointer-events: auto;
}

.purchase-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #fff;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 48px rgba(15, 23, 42, 0.18);
}

.purchase-cart-drawer.is-open {
  transform: translateX(0);
}

.purchase-cart-shop {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.purchase-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.purchase-cart-head h3 {
  margin: 0;
  flex: 1;
  font-size: 1.15rem;
}

.purchase-cart-back {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  color: #0f172a;
}

.purchase-cart-back:hover {
  background: #e2e8f0;
}

.purchase-cart-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}

.purchase-cart-body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.purchase-cart-checkout {
  flex: 1;
  overflow: auto;
  padding: 16px 20px 22px;
}

.purchase-checkout-summary {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.purchase-order-form .form-group {
  margin-bottom: 12px;
}

.purchase-order-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.purchase-order-form .optional {
  font-weight: 500;
  color: #94a3b8;
}

.purchase-order-form input,
.purchase-order-form select,
.purchase-order-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-order-form input:focus,
.purchase-order-form select:focus,
.purchase-order-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.purchase-order-form textarea {
  resize: vertical;
  min-height: 80px;
}

.purchase-order-form #confirmOrderBtn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0ea5e9 100%);
  box-shadow:
    0 14px 28px -12px rgba(37, 99, 235, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.purchase-order-form #confirmOrderBtn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.purchase-cart-empty {
  color: var(--text-muted);
  padding: 24px 0;
}

.purchase-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.purchase-cart-item strong {
  display: block;
  margin-bottom: 4px;
}

.purchase-cart-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.purchase-cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.purchase-cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.purchase-cart-remove {
  border-color: #fecaca !important;
  color: #b91c1c;
}

.purchase-cart-foot {
  padding: 16px 20px 22px;
  border-top: 1px solid var(--border);
}

.purchase-cart-foot .btn,
.purchase-cart-foot #placeOrderBtn {
  width: 100%;
  min-height: 54px;
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0ea5e9 100%);
  box-shadow:
    0 14px 28px -12px rgba(37, 99, 235, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.purchase-cart-foot .btn:hover,
.purchase-cart-foot #placeOrderBtn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px -12px rgba(37, 99, 235, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.purchase-cart-foot .btn:active,
.purchase-cart-foot #placeOrderBtn:active {
  transform: translateY(0);
}

.purchase-cart-foot .btn:disabled,
.purchase-cart-foot #placeOrderBtn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.purchase-cart-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.45;
}

.purchase-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1300;
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

@media (max-width: 980px) {
  .purchase-plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ========== Our Team page ========== */
.team-page {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 55%);
}

.team-page-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.team-page-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 14px;
}

.team-page-label::before,
.team-page-label::after {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.team-page-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: #1e3a5f;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.team-page-desc {
  margin: 0;
  color: #64748b;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.team-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.team-card-photo {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(145deg, #1e3a5f, #2563eb);
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-card-info {
  position: relative;
  margin: -42px 16px 18px;
  padding: 18px 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.team-card-name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.team-card-role {
  display: block;
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #2563eb;
}

.team-card-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.team-card-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.team-card-social:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.team-card-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.team-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  padding: 40px 16px;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .team-page {
    padding: 48px 0 72px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ========== Customer Reviews page ========== */
.reviews-page {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(37, 99, 235, 0.07), transparent 62%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 58%);
}

.reviews-page-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.reviews-page-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 14px;
}

.reviews-page-label::before,
.reviews-page-label::after {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.reviews-page-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: #1e3a5f;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.reviews-page-desc {
  margin: 0;
  color: #64748b;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.reviews-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  margin: 0;
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a5f, #2563eb, #60a5fa);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.review-card-quote {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.08);
  pointer-events: none;
  user-select: none;
}

.review-card-stars {
  display: flex;
  gap: 2px;
  color: #d4d4d8;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.review-star.is-on {
  color: #eab308;
}

.review-card-text {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.7;
  flex: 1;
}

.review-card-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  margin: 8px 0 4px;
}

.review-card-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.review-card--video {
  padding-bottom: 18px;
}

.review-card--video .review-card-author {
  border-top: 0;
  padding-top: 10px;
  margin-top: 4px;
}

.review-card--video .review-card-quote,
.review-card--video .review-card-text,
.review-card--video .review-card-photo {
  display: none !important;
}

.review-card-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.review-card-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #1e3a5f, #2563eb);
}

.review-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.review-card-meta {
  min-width: 0;
}

.review-card-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.3;
}

.review-card-company {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: #64748b;
}

@media (max-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .reviews-page {
    padding: 48px 0 72px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ========== Our Clients page ========== */
.clients-page {
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(37, 99, 235, 0.07), transparent 62%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 55%);
}

.clients-page-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.clients-page-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 14px;
}

.clients-page-label::before,
.clients-page-label::after {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

.clients-page-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: #1e3a5f;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.2;
}

.clients-page-desc {
  margin: 0;
  color: #64748b;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.clients-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.clients-page-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  margin: 0;
}

.clients-page-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 20px 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: clientsCardIn 0.45s ease both;
  animation-delay: var(--card-delay, 0ms);
}

@keyframes clientsCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.clients-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.22);
}

.clients-page-card-logo {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.clients-page-card-logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.15);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.clients-page-card:hover .clients-page-card-logo img {
  filter: none;
  transform: scale(1.04);
}

.clients-page-card-fallback {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e3a5f, #2563eb);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.clients-page-card-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e3a5f;
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .clients-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .clients-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .clients-page-card {
    padding: 20px 14px 16px;
  }

  .clients-page-card-logo {
    height: 72px;
  }
}

@media (max-width: 640px) {
  .clients-page {
    padding: 48px 0 72px;
  }
}

/* ============================================
   Domain page — hero search
   ============================================ */
.page-hero--domain {
  text-align: center;
  padding: 64px 0 56px;
}

.page-hero--domain .domain-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-hero--domain .section-label {
  display: inline-block;
}

.page-hero--domain .page-hero-title {
  margin: 12px 0 10px;
}

.domain-hero-desc {
  max-width: 560px !important;
  margin: 0 auto 28px !important;
  color: rgba(255, 255, 255, 0.85);
}

.domain-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.domain-search-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.domain-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px 0 16px;
  color: #64748b;
  flex-shrink: 0;
}

.domain-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 16px 12px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #0f172a;
  background: transparent;
}

.domain-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.domain-search-tld {
  border: 0;
  border-left: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  min-width: 96px;
}

.domain-search-btn {
  border-radius: 0 !important;
  padding: 0 28px !important;
  font-weight: 700;
  white-space: nowrap;
  min-height: 100%;
}

.domain-search-hint {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.domain-search-hint strong {
  color: #bfdbfe;
  font-weight: 600;
}

.domain-search-status {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: #bfdbfe;
}

.domain-search-status.is-err {
  color: #fecaca;
}

.domain-results {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.domain-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.domain-result-card.is-available {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.35);
}

.domain-result-card.is-taken {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(252, 165, 165, 0.28);
}

.domain-result-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.domain-result-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.domain-result-card.is-available .domain-result-badge {
  color: #6ee7b7;
}

.domain-result-card.is-taken .domain-result-badge {
  color: #fca5a5;
}

.domain-result-actions {
  flex-shrink: 0;
}

.domain-result-actions .btn {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.domain-tlds {
  background: #f8fafc;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.domain-tlds-head {
  text-align: center;
  margin-bottom: 24px;
}

.domain-tlds-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 8px;
}

.domain-tlds-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.domain-tld-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.domain-tld-chip {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.domain-tld-chip:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.domain-page-content {
  padding-top: 48px;
}

@media (max-width: 720px) {
  .page-hero--domain {
    padding: 48px 0 40px;
  }

  .domain-search-bar {
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .domain-search-icon {
    display: none;
  }

  .domain-search-input {
    width: 100%;
    flex: 1 1 100%;
    padding: 14px 16px;
  }

  .domain-search-tld {
    flex: 1;
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    min-height: 48px;
  }

  .domain-search-btn {
    flex: 1.2;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    min-height: 48px;
    padding: 12px 16px !important;
  }

  .domain-result-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .domain-result-actions {
    width: 100%;
  }

  .domain-result-actions .btn {
    width: 100%;
  }
}

.footer-map-open {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.footer-map-open:hover {
  text-decoration: underline;
}

.domain-result-card.is-unknown {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(252, 211, 77, 0.35);
}
.domain-result-card.is-unknown .domain-result-badge {
  color: #fde68a;
}
